Download as pdf or txt
Download as pdf or txt
You are on page 1of 10

Imperial College London

Department of Electrical and Electronic Engineering






Signals and Systems
2
nd
Year EE and ISE

PART 1
Signals and Systems: Mathematical Preliminaries


Academic responsible
Dr. Tania STATHAKI
Room 811b
Ext. 46229
Email: t.stathaki@ic.ac.uk
http://www.commsp.ee.ic.ac.uk/~tania/







1

SIGNALS and SYSTEMS: MATHEMATICAL PRELIMINARIES

What is a signal?

The concept of signal refers to the time, space or other types of variations in the physical state of an object,
phenomenon, entity etc. The quantification of this state is used to represent, store or transmit a message. The course is
not about the message but about the properties of the signal.

Continuous-time and discrete-time signals

Examples and mathematical representation

Signals are met in diverse fields, such as:
Elec. Eng. e.g. voltages/currents in a circuit
speech signals
image signals
Physics e.g. radiation
Mech. Eng. e.g. vibration studies
Astronomy e.g. (2-D) pulsars, distant stars
Biomedicine e.g. EEG, ECG, retinoscopy, MRI
Seismology e.g. tectonic plate movement, earthquake prediction
Economics e.g. level of trading in stock market

Signals are represented mathematically as functions of one or more independent variables. In this course we focus our
attention on signals involving a single independent variable. For convenience, we will usually refer to this variable as
time.

We will be considering two basic types of signals.
Continuous-time signals. In this case the independent variable is continuous, i.e., these signals are defined for a
continuum of values of the independent variable.
Discrete-time signals. In this case the independent variable takes a discrete set of values, i.e., these signals are
defined only at discrete times.

0 10 20 30 40 50 60
-10
-5
0
5
10
Observed signal x(t)
continuous time
0 10 20 30 40 50 60
-10
-5
0
5
10
discrete time
Observed signal x[n]


2

In the figure above you can see a continuous and a discrete sinewave described by the following equations, respectively.
Continuous case: ) cos( ) (
0
+ = t A t x
Discrete case: ) cos( ] [
0
+ = n A n x

Elementary transformations of the independent variable

In this section we focus on a class of elementary signal transformations that involve simple modifications of the
independent variable, i.e., the time axis. These transformations allow us to introduce several basic properties of signals
and systems. We consider the following.
Time shift. Starting from the signal ) (t x in continuous time, time shift refers to the operation that gives us either
the signal 0 ), (
0 0
> t t t x that is a delayed version of ) (t x or the signal ) (
0
t t x + that is an advanced version of
) (t x . For discrete time signals we would have ] [ ], [ ], [
0 0
n n x n n x n x + , respectively.
Time reversal. Starting from the signal ) (t x in continuous time, time reversal refers to the operation that gives us
the signal ) ( t x , that is a reflection of ) (t x about 0 = t . For discrete time signals we would have ] [ and ] [ n x n x
respectively.
Time scaling. Starting from the signal ) (t x in continuous time, time scaling refers to the operation that gives us the
signal ) ( t x that is (i) linearly stressed if 1 < , (ii) linearly compressed if 1 > and also (iii) reversed in time if
0 < . For discrete time signals we would have ] [ and ] [ n x n x respectively.

Fundamental classes of signals

Deterministic and random signals

The following classification can be made in real life signals.
If the value of a signal at some specific time is determined exactly by its model then we have a deterministic signal.
If the value of the signal cannot be determined but only some statistical properties of it, e.g., probability of
occurrence of a certain value at some specific time, then we have a random or stochastic signal.


Random binary signal x[n]
0
20 40 60 80 100
-1
-0.5
0
0.5
1
Random signal ) (t x
time
0 20 40 60 80 100
-1
-0.5
0
0.5
1



3

Periodic and non-periodic signals

For a continuous signal, if we can find a number
0
T such that ) ( ) (
0
t x T t x = + for all t , then the signal is periodic.
In the case of a discrete signal we have ] [ ] [
0
n x N n x = + for all n .
If there are no such numbers
0
T or
0
N the signal is non-periodic.

Periodic signal x[n]
0 10 20 30 40 50 60 70 80
-4
-2
0
2
4
time
0 10 20 30 40 50 60 70 80
-4
-2
0
2
4
Periodic signal x(t)


Even and odd signals

For a continuous signal, if ) ( ) ( t x t x = for all t , then the signal is even. In the case of a discrete signal we have
] [ ] [ n x n x = for all n .
For a continuous signal, if ) ( ) ( t x t x = for all t , then the signal is odd. In the case of a discrete signal we have
] [ ] [ n x n x = for all n . An odd signal is 0 at 0 = t or 0 = n , since 0 ) 0 ( ) 0 ( ) 0 ( = = x x x .
Any signal can be broken into a sum of two signals, one of which is even and one of which is odd. This is because
)] ( ) ( [
2
1
)] ( ) ( [
2
1
) (
2
1
) (
2
1
) (
2
1
) (
2
1
) (
2
1
) (
2
1
) (
2
1
) (
2
1
) (
2
1
) (
2
1
) ( ) (
t x t x t x t x t x t x t x t x
t x t x t x t x t x t x t x t x
+ + = + + =
= + + = + =

where )] ( ) ( [
2
1
t x t x + is even signal (why?) and )] ( ) ( [
2
1
t x t x is odd signal (why?).

Causal signal models

If
0
for , 0 ) ( t t t x < = or for discrete signals
0
for , 0 ] [ n n n x < = then we have causal signals. The starting point
0 0
or n t
is very often taken to be the origin.

Special signal models

The sinusoid

Continuous case ) cos( ) (
0
+ = t A t x

4

Discrete case ) cos( ] [
0
+ = n A n x
where A is the amplitude,
0
is the radian frequency,

2
0
0
= is the normalised frequency and , are the phase
shifts.


The causal real exponential signal

Continuous case 0 , ) ( > =

t Ae t x
t
. An example is shown in the figure below with 0 > .
Discrete case 0 , ] [ = n B n x
n
. An example is shown in the figure below with real and 1 < .

5 1 0 1 5 2 0
0
0 . 1
0 . 2
0 . 3
0 . 4
0 . 5
0 . 6
0 . 7
0 . 8
0 . 9
1
E x p o n e n t i a l s i g n a l x ( t )
t i m e
5 1 0 1 5 2 0
0
0 . 1
0 . 2
0 . 3
0 . 4
0 . 5
0 . 6
0 . 7
0 . 8
0 . 9
1
E x p o n e n t i a l s i g n a l x [ n ]

0 10 20 30 40 50 60
-10
-5
0
5
10
Observed signal ) (t x
continuous time
0 10 20 30 40 50 60
-10
-5
0
5
10
discrete time
Observed signal x[n]


5

The general complex exponential signal

Continuous case
t
A t x

= ) ( where A and are, in general complex numbers and is real.
Discrete case
n
A n x

= ] [ with A, and as in the continuous case.
A very important class of complex exponentials is obtained by constraining to be purely imaginary. Specifically
consider the signal
t j
e t x
0
) (

= . This is periodic with period
0
2

= T . Throughout this course we will deal with this


type of signal very frequently.

The delta function or unit impulse function ) (t

This is a signal that is everywhere equal to zero except at the origin. This is defined as

= +

=
0
0 0
) (
t
t
t
It is conveniently defined as assigning the value ) ( x to the signal ) (t x at the instant = t through the integral
) ( ) ( ) ( ) ( ) ( x dt t t x dt t t x

+

+

= + =
In discrete time the equivalent function is defined as

=
0 1
0 0
] [
n
n
n
and the following relationships hold.
] [ ] [ ] [ ] [ ] [ k x n k n x k n n x
n
n
n
n
= + =

+ =
=
+ =
=


An important property
The relationship 1 ) ( ) (

+

+

= = dt t dt t holds.
Thus, ) (t may be interpreted as the pulse (not unique) in the limit as 0 (see following figure).


Comment
Observe that other functions have this property. For example consider the function
) (
1
) (
2 2
t
t x
+
=


with real. The area under the curve is 1 ) tan
1
(
1
1
2 2
= =
+
+


t
dt
t
.
This is independent of . As this parameter tends to zero we have a delta function.
) (t
AREA=1
1

2


2


t

6

There are many other functions we encounter for instance in Systems Theory, Communications etc., such as

2 2
/
0
1
lim ) (

t
e t

=
t
t
t

) / sin(
lim ) (
0


The unit step function ) (t u

This is defined as

<
=
0 1
0 0
) (
t
t
t u
The unit step function can be related to the unit impulse function as follows.


=
t
d t u ) ( ) (
You can easily show (how?) that
dt
t du
t u t
) (
) ( ) ( = =
In discrete time the equivalent function is defined as

<
=
0 1
0 0
] [
n
n
n u
and the following relationships hold.

+
= =
= =
0
] [ ] [ ] [
k
n
k
k n k n u
] 1 [ ] [ ] [ = n u n u n

Signal energy and power

Periodic Signals

We define the power of a periodic signal to be the mean of the square of its values over one period, i.e.,

=
2 /
2 /
2
) (
1
T
T
dt t x
T
E
Thus, if for example ) (t x represents a voltage signal, E represents the power dissipated in a resistor of 1.
Examples
1. ) sin( ) (
0
+ = t A t x then
0
2 /
2 /
0
2 2
2
where ) ( sin
1

= + =

T dt t A
T
E
T
T
or equivalently

= + =
2 /
2 /
2
0
2
2
)] 2 2 cos( 1 [
2
T
T
A
dt t
T
A
E
2. ) 2 cos( ) cos( ) (
2 0 2 1 0 1
+ + + = t A t A t x then [ ]

+ + + =
2 /
2 /
2
2 0 2 1 0 1
) 2 cos( ) cos(
1
T
T
dt t A t A
T
E or
2
)] 2 ( cos ) 2 cos( ) cos( 2 ) ( cos [
1
2
2
2
1
2 0
2 2
2 2 0 1 0 2 1 1 0
2
2 /
2 /
2
1
A A
dt t A t t A A t A
T
E
T
T
+
= + + + + + + =


Question: What would the answer be when
3. ) cos( ) cos( ) (
2 2 2 1 1 1
+ + + = t A t A t x with
2 1
and unrelated or
4. ) cos( ) 2 cos( ) cos( ) (
0 2 0 2 1 0 1 n n
t n A t A t A t x + + + + + + = K

In the discrete time the energy of a periodic signal may be defined as

=
period a
within
samples
2
] [
1
n x
N
E


7

Non-periodic signals

It is more convenient in this case to define the signal energy as

+

= dt t x E
2
) (
For example if

<

=

0 , 0
0 ,
) (
t
t e
t x
t

then

2
1
0
2

= =

dt e E
t

Signals for which E is finite are called "energy signals", or, in mathematical terms square-integrable.
Also the energy expended over the time interval
2 1
t t t may be defined as

=
2
1
2
) (
t
t
dt t x E
In the discrete time the total energy of a non-periodic signal may be defined as

+ =
=
=
n
n
n x E
2
] [
or the energy expended over the time interval
2 1
n n n as

=
=
=
2
1
2
] [
n n
n n
n x E

Continuous-time and discrete-time systems

Definition of system

A system operates on a signal (the input) to modify, transform or re-express it in another form (the output) which may be
more desirable.

Example of system
The input voltage ) (t E produces an output voltage ) (
0
t V .













A continuous-time system is a system in which continuous-time input signals are applied and result in continuous-time
output signals. A discrete-time system is a system in which discrete-time input signals are applied and result in discrete-
time output signals.

Interconnection of systems

Series or cascade interconnection. The output of System 1 is the input to System 2.


Parallel interconnection. The same input signal is applied to Systems 1 and 2.
C
) (t E
R
input
output
) (
0
t V
Output
System 1 System 2
Input

8



Combination of both cascade and parallel interconnection.


Feedback interconnection. The output of System 2 is fed back and added to the external input to produce the
actual input to System 1.





Basic system properties

Systems with and without memory

The following classification can be made.
Memoryless systems. The output at instant t for continuous-time systems or at instant n for discrete-time systems
depends only on the value of input at the same instant t or n . For example ] [ ] [ n x n y = or ) ( ) ( t x t y = .
Systems with memory. The output at instant t for continuous-time systems or at instant n for discrete-time systems
depends not only on the value of input at the same instant t or n , but also on past or future values of the input. For
example ] 1 [ ] [ ] [ + = n x n x n y .

Invertible and non-invertible systems

The following classification can be made.
Invertible systems. A system is called invertible, if another system exists that is called inverse that, when cascaded
with the original system, yields an output equal to the input to the first system.

Examples
1. Consider the memoryless system described by the input-output relationship 0 ], [ ] [ = n x n y . This is
invertible with inverse ] [
1
] [ n y n x

= .
Input
+
System 1
System 2
Output
Input
+
System 2
System 3
Output
System 4
System 1
Input
+
System 1
System 2
Output

9

2. Consider the system with memory

=
=
n
k
k x n y ] [ ] [ , which is called accumulator or summer. This is invertible
with inverse ] 1 [ ] [ ] [ = n y n y n x . This is because ] 1 [ ] [ ] [ ] [ ] [ ] [ ] [
1
= + = =


= =
n y n y n x n x k x k x n y
n
k
n
k
.
Non-invertible systems. A system is called non-invertible, if no system exists that, when cascaded with the original
system, yields an output equal to the input to the first system.
Examples
1. Consider the memoryless system described by the input-output relationship 0 ] [ = n y . This is non-invertible.
2. Consider the memoryless system ] [ ] [
2
n x n y = . This is non-invertible, since from knowledge of the output we
cannot determine the sign of the input.

Obviously a system is invertible if distinct inputs lead to distinct outputs.

Causal and non-causal systems

The following classification can be made.
Causal or non-anticipative systems. The output at instant t for continuous-time systems or at instant n for discrete-
time systems depends on the value of input at the same instant t or n and on past values of the input but not on
future values of the input. For example ] 1 [ ] [ ] [ + = n x n x n y .
Non-causal or anticipative systems. The output at instant t for continuous-time systems or at instant n for discrete-
time systems depends on future values of the input. For example ] 1 [ ] [ ] [ + + = n x n x n y .

Stable and unstable systems

Stable systems. A stable system is one in which all bounded inputs lead to bounded outputs. For example consider
the system
] [
] [
n x
e n y = . Let B be an arbitrary positive number, and let ] [n x an arbitrary signal bounded by B ,
i.e., B n x < ] [ or B n x B < < ] [ for all n . In that case
B n x B
e e e < <
] [
, i.e., it is guaranteed that if the input is
bounded by a positive number B , the output is bounded by a positive number
B
e . Thus, the system is stable.
Unstable systems. An unstable system is one in which not all bounded inputs lead to bounded outputs. For example
consider the system ] [ ) 1 ( ] [ ] [ n u n k u n y
n
k
+ = =

=
, with ] [n u the unit step function. In that case the input 1 ] [ = n u
but the output ] [n y increases without bound as n increases.

Time-invariant and time-varying systems

Time-invariant (TI) systems. A TI system is one in which if ] [n y is the output when the input ] [n x is applied, then
] [
0
n n y is the output when ] [
0
n n x is applied. For continuous-case we would have the signals
) ( ), ( ), ( ), (
0 0
t t x t t y t x t y respectively. Conceptually, a system is TI if the behaviour and the characteristics of
the system are fixed over time. For example the system ] [ ] [ n x n y = .
Time-varying systems. A time-varying system is one in which if ] [n y is the output when the input ] [n x is applied,
then ] [
0
n n y is not necessarily the output when ] [
0
n n x is applied. For example consider the system
] [ ] [ n nx n y = . In that case if ] [
1
n y is the output to the input ] [
1
n x , then the output to the input ] [ ] [
0 1 2
n n x n x =
is ] [ ] [ ) ( ] [ ] [ ] [
0 1 0 1 0 0 1 2 2
n n y n n x n n n n nx n nx n y = = = . Thus, the system is not time-invariant.

Linear and non-linear systems

Linear systems. A linear system is one that possesses the property of superposition, i.e., if the input consists of the
weighted sum of several signals, then the output is the weighted sum of the responses of the system to each of those
signals. Thus, a linear system possesses the following two properties.
1. Additivity property. If the response to ) (
1
t x is ) (
1
t y and the response to ) (
2
t x is ) (
2
t y then the response to
the signal ) ( ) (
2 1
t x t x + is ) ( ) (
2 1
t y t y + .
2. Homogeneity property. If the response to ) (
1
t x is ) (
1
t y , then the response to the signal ) (
1
t x is ) (
1
t y .
Non-linear systems. At least one of the above properties does not hold.

You might also like