Description and Properties

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

1.

Description and Properties of Signals


and Systems

1.1. Introduction
Generally, a signal is a function of one or more independent variables.
However, we will consider the signals having one independent variable only;
furthermore, this variable will be restricted to time.
Examples of signals include: time depending voltages and currents in an
electric circuit, the variation in a gross national product, music waveforms, the
variation of atmospheric temperature.
If a signal is represented at all instants of time, it is said to be a continuous-
time signal or simply a continuous signal. A signal which is specified at discrete
instants of time is said to be a discrete-time signal or simply a discrete signal.
Discrete signals occur either due to the nature of the process, e.g. the variation in
the number of cars crossing the border every day, or due to the sampling process.
Examples of continuous and discrete signals are shown in Fig.1.1.
x(t) x(nT S )

t -T S 0 TS 2T S 3T S 4T S 5T S
nT S
(a) (b)
Fig. 1.1. Examples of continuous and discrete signals
10

For the discrete signal, time can only take discrete values; therefore we write
x(nTS ) , where TS is the time between samples and n is the number of the sample.
However, not all discrete signals are formed by the sampling of the continuous
signal and in such a case the signal is usually written x(n ) . Also with sampled
signals, in general, we will omit the TS and write x(n ) . Sometimes the sampling
interval is not constant and changes from one step to another, but such a case will
not be considered in this book.

1.2. Some properties of signals


In this section we will discuss some properties of both continuous and discrete
signals.

Reflection

Let us consider a signal x(t ) ; the reflected signal is described by x(− t ) . Thus,
the reflected signal assumes at time –t the value of the original signal that occurs
at time t. This is illustrated in Fig.1.2.
x(t), x(-t)

x(-t) x(t)

-t1 -t -t0 0 t0 t t1 t

Fig. 1.2. The reflection operation of continuous signal x(t )

We define reflection for discrete signals similarly (see Fig.1.3).


x(n) x(-n)

-2 -1 0 1 2 3 n -3 -2 -1 0 1 2 n
(a) (b)

Fig. 1.3. The reflection operation of discrete signal x(n )


11

Shifting

Let x(t ) be an original signal. To obtain the shifted signal, for a shift t0, the value
of the original signal that took place at t must now occur at t + t 0 . If t0 is positive,
the shifted signal is called a delayed signal (see Fig.1.4)
x ( t) , x ( t-t 0 )
t0> 0
x ( t) x ( t-t 0 )

0 t0 t

Fig. 1.4. The shifting operation of continuous signal x(t )

The shifted signal is specified by x(t − t 0 ) . The shifting property can be directly
applied to discrete signals. This is illustrated in Fig.1.5.
x(n), x(n-n0)

x(n) x(n-n0)

0 1 2 3 n0 n0+1 n0+2 n0+3 n

Fig. 1.5. The shifting operation of discrete signal x(n )

Periodicity

A continuous signal x(t ) is said to be periodic if there exists such a time interval
T that

x(t + T ) = x(t ) for all t . (1.1)

The smallest time T is known as the period. It should be noted that if a signal is
periodic with the period T, it is also periodic for any integer multiple of T.
12

Similarly, a discrete signal x(n ) is said to be periodic if there exists such a


number N that

x(n + N ) = x(n ) for all n (1.2)

The smallest number N is known as the period. Examples of continuous and


discrete periodic signals are shown in Fig.1.6.

x(t) x(n)

-T 0 T 2T 3T t 0 N n

(a) (b)
Fig. 1.6. Examples of periodic signals

1.3. Sinusoidal and exponential signals


1.3.1. Sinusoidal signal

The most important periodic signal is the sinusoidal signal. It is justified since
the voltages generated by alternators in power systems have a sinusoidal
waveform, a sinusoid has convenient mathematical properties, a periodic signal
can be expressed as a sum of sinusoidal terms. The sine and the cosine signals
can be represented as follows:

x(t ) = Asinωt y (t ) = Acosωt

where A is the amplitude and ω is the angular frequency. The period T


corresponds to angle 2π , hence, the equation

ωT = 2π
or

ω= = 2π f
T
13

holds, where f is the frequency. Although there is a difference between ω and f,


usually we omit the adjective angular and call ω frequency.
A general sinusoidal signal has the form

x(t ) = Acos(ωt + α ) (1.3)

where α is known as the phase.


A discrete sinusoidal signal can be described by the relationship

x(n ) = Acos(nωTS + α ) . (1.4)

This signal is obtained by sampling the continuous signal

x(t ) = Acos(ωt + α )

with the sampling interval TS. Since the sinusoid is a periodic function then

x(n ) = Acos(nωTS + α ) = Acos(n(ωTS + 2πk ) + α ) =


⎛ ⎛ 2πk ⎞ ⎞ (1.5)
= Acos⎜⎜ n ⎜⎜ ω + ⎟⎟ TS + α ⎟

⎝ ⎝ TS ⎠ ⎠

where k is an integer. The discrete sinusoid on the right hand side of (1.5) can be
considered as the sampled continuous sinusoid with the sampling interval TS and
angular frequency

2πk
ω+ = ω + kωS = 2π ( f + kf S )
TS

where fS is the sampling frequency. Thus, the discrete signal (1.4), sampling a
sinusoid with angular frequency ω, will also be a sampling signal of any sinusoid
with angular frequency ω + kωS where k is an integer. Hence, there are infinitely
many continuous sinusoidal signals corresponding to the discrete signal (1.4).
This leads to the conclusion that having the sampled signal (1.4) it is not possible
to determine which of the continuous sinusoids is represented by these samples.
Thus, there is an ambiguity between the sinusoid with the frequency ω and the
sinusoids with the frequencies ω + kω S . Consequently, the possibility of
identifying the original signal by examining the sampled signal is lost. This effect
is known as aliasing.
To illustrate the aliasing effect, we consider a sinusoidal signal having the
frequency f = 100Hz . This signal is sampled with the frequency f S = 700Hz .
Using these samples, an ambiguity arises between this signal and a signal of
14

frequency f + kf S = 100 + k 700 , where k is an arbitrary integer. The aliasing


effect for k = 1 ( f + kf S = 800Hz ) is illustrated in Fig.1.7.
x(t)

Fig. 1.7. Illustration of the aliasing effect

1.3.2. Exponential signal

Let us consider an exponential signal of the form

x(t ) = Ae j(ωt +α ) . (1.6)

Using Euler’s identity we obtain


x(t ) = Acos(ωt + α ) + jAsin (ωt + α ) . (1.7)

Thus, the equations

(
Acos(ωt + α ) = Re Ae j(ωt +α ) ) (1.8)

and

(
Asin (ωt + α ) = Im Ae j(ωt +α ) ) (1.9)

hold.
15

Thus, sinusoidal signals can be expressed in terms of the complex exponential


signal.
A discrete exponential signal has the form

x(n ) = Ae j(nωTS +α ) . (1.10)

Applying the Euler expression we find

x(n ) = Acos(nωTS + α ) + jA sin (nωTS + α ) . (1.11)

Equation (1.11) implies that the discrete sinusoidal signals can be expressed in
terms of the discrete complex exponential as follows:

(
Acos(nωTS + α ) = Re Ae j(nωTS +α ) ) (1.12)

(
Asin (nωTS + α ) = Im Ae j(nωTS +α ) . ) (1.13)

1.4. The unit step and the unit impulse


Our objective in this section is to define and analyze commonly used signals:
the unit step and the unit impulse in the continuous time and the unit step
sequence and the unit sample sequence in the discrete time.
The unit step function is defined as follows:

u (t ) = 0 for t<0
. (1.14)
u (t ) = 1 for t >0

At t = 0 a discontinuity occurs. A plot of u (t ) is shown in Fig.1.8.

u(t)

0 t

Fig. 1.8. Continuous-time unit step function


16

To define the unit impulse we consider a rectangular pulse function as depicted


in Fig.1.9.

Δε (t )
1
ε

0 ε t

Fig. 1.9. Rectangular pulse function Δ ε (t )

This function is described by the relationship

⎧0 if t<0
⎪1
Δε (t ) = ⎨ if 0<t <ε . (1.15)
⎪ε if t >ε
⎩0

Note that the area under Δε (t ) is


1
∫ Δε (t )dt = ε ⋅ ε =1. (1.16)
−∞

As ε decreases, the width of the rectangle decreases, the height increases in such
a manner that the area remains the same (see Fig.1.10).
Δ ε (t )
1
ε

0 ε t

Fig. 1.10. Rectangular pulse function Δε (t ) for ε smaller than in Fig. 1.9
17

As ε → 0 , the pulse function becomes the unit impulse or the Dirac delta
function

⎧ 0 for t≠0
δ (t ) = ⎨ (1.17)
⎩singular at t =0

with
a

∫ δ (t )dt = 1 (1.18)
−a

for any real a > 0.


Thus, the following relation holds
t
⎧1 for t > 0⎫
∫ δ (τ )dτ = ⎨⎩0 for
⎬ = u (t ) .
t < 0⎭
−∞

We know from the mathematical analysis that


t
d
g (τ ) dτ = g (t ) .
dt ∫a

Applying this rule to the integral that defines u (t ) above, we obtain

d u (t ) d
t
δ (τ ) dτ = δ (t ) .
dt −∫∞
= (1.19)
dt

A comment is important at this stage. We do not have any formal rule, on the
ground of mathematical analysis, of deriving the equation in this way because the
unit impulse is not a function in the classical sense. The unit step has a
discontinuity point at the origin and the classical derivative does not exist. So we
have derived this equation in an intuitive way. The validity of this operation can
be strictly proved using the distribution theory, which is a branch of mathematics.
An extremely important feature of the unit impulse is its behavior as a
combination with another function, as below

∫ f (t )δ (t − t0 )dt
−∞

where t 0 is any positive or negative real number.


18

Since δ (t − t0 ) = 0 for all t ≠ t 0 then

f (t )δ (t − t0 ) = f (t0 )δ (t − t0 ) .

Furthermore, relationship (1.18) implies

∫ δ (t − t0 ) = 1.
−∞

Using the above equations we obtain

∫ f (t )δ (t − t0 )dt = f (t0 ) . (1.20)


−∞

The counterparts of the unit step and the unit impulse in the discrete time are
the unit step sequence called also the discrete-time unit step function and the unit
sample sequence called also the unit pulse function or the Kronecker delta
function, respectively. The unit step sequence u (n ) is defined as follows:

u (n ) = 0 for n<0
. (1.21)
u (n ) = 1 for n≥0

This is illustrated in Fig.1.11.


u(n)

-2 -1 0 1 2 3 4 n

Fig. 1.11. Unit-step sequence u (n )

The unit sample sequence δ (n ) is defined by the relationship:

δ (n ) = 0 for n≠0
. (1.22)
δ (n ) = 1 for n=0
19

This is illustrated in Fig.1.12.

δ (n)

-3 -2 -1 0 1 2 3 n

Fig. 1.12. Unit sample δ (n )

The unit sample can be expressed in terms of the unit step

δ (n ) = u (n ) − u (n − 1) (1.23)

and conversely the unit step can be expressed in terms of the unit sample

n
u (n ) = ∑ δ (m ) . (1.24)
m = −∞

1.5. Continuous and discrete signal representation


1.5.1. Continuous signal representation

Consider the continuous signal x(t ) as shown by a smooth line in Fig.1.13.


x(t)

t0 t1 t2 0 tk tk+1 tk+2 t
Fig. 1.13. Signal x(t ) and its approximation
20

This signal can be approximated, in the time interval [t 0 , ∞ ) as a staircase


function consisting of rectangles with heights x(t k ) and identical width ε, where

ε = tk +1 − tk k = 0,1, 2 , " .

Using the rectangular pulse function, depicted in Fig.1.9 and specified by


equation (1.15), we describe k-th rectangle by expression

x(tk )εΔε (t − tk )

where εΔε (t − tk ) is a shifted by t k function εΔε (t ) (see Fig.1.14).

(
εΔε t − t k )
1

0 tk tk+1 t

Fig. 1.14. Signal εΔε (t ) shifted by t k

Hence, the step approximation of the function x(t ) is


∑ x(tk )εΔε (t − tk ) . (1.25)
k =0

If ε → 0 the step approximation becomes the actual signal x(t ) , Δε (t ) → δ (t ) ,


and the sum (1.25) becomes an integral as follows


x(t ) = ∫ x(τ )δ (t − τ ) dτ t > t0 . (1.26)
t0

Letting t 0 → −∞ we have
21


x(t ) = ∫ x(τ )δ (t − τ )dτ . (1.27)
−∞

If we consider the signal x(t ) for a positive t only, then


x(t ) = ∫ x(τ )δ (t − τ ) dτ . (1.28)
0

Furthermore, the upper limit of integration can be replaced by t because


δ (t − τ ) = 0 for τ > t

t
x(t ) = ∫ x(τ )δ (t − τ ) dτ . (1.29)
0

Expression on the right hand side of (1.27) is known as the convolution integral
formula. The convolution will be discussed in detail in Section 1.8.

1.5.2. Discrete signal representation

Let us consider an example of a discrete signal shown in Fig.1.15. This signal


can be represented by the weighted sum of shifted unit samples

x(n ) = −δ(n + 1) + δ(n ) + 2δ(n − 1) + 3δ(n − 2) (1.30)

x(n)

-2 -1 0 1 2 3 n
-1
Fig. 1.15. An example of a discrete signal
22

Expression (1.30) can be rewritten in the form

x(n ) = x(− 1)δ (n + 1) + x(0 )δ (n ) + x(1)δ (n − 1) + x(2)δ (n − 2 ) =


2
= ∑ x(k )δ (n − k ) .
k = −1

Generalizing this result we obtain the following expression for any discrete
signal

x(n ) = ∑ x(k )δ (n − k ) . (1.31)
k = −∞

If we consider the signal x(n ) for a positive n only, then


x(n ) = ∑ x(k )δ (n − k ) .
k =0

Furthermore, the upper limit of summation can be replaced by n because


δ (n − k ) = 0 for k > n .
The expression on the right hand side of (1.31) is known as the convolution
summation formula.

1.6. Classification of systems


1.6.1. Introduction

A system is a mathematical mapping that transforms the input signal into the
output signal. Thus, a system is a process in which one signal is transformed into
another signal. Usually, the physical system is made as an interconnection of
some components.
A system is called continuous-time if both input signal and output signal are
continuous-time signals (see Fig.1.16a). A system is called discrete-time if both
input signal and output signal are discrete-time signals (see Fig.1.16b).
(a) (b)

f (⋅) f (⋅)
x(t) y(t) x(n) y(n)

Fig. 1.16. Examples of continuous-time and discrete-time systems


23

The relationship between the input and output signals can be expressed in terms
of a function, as a set of equations or as a set of all possible inputs and outputs
summarized in a table.
For example a continuous-time system can be specified by the formula

t
y (t ) = k ∫ x (τ ) dτ
0

and a discrete-time system can be specified by the formula

) )
y (n ) = x (n + x (n − 1 .
2

1.6.2. System properties

In this section we will study some fundamental properties of both continuous-


time and discrete-time systems.

Additivity

A system is said to be additive if the response due to a sum of inputs is equal to


the sum of the responses due to each of the inputs acting alone, i.e.:

f (x1 (t ) + x 2 (t ) ) = f (x1 (t )) + f (x 2 (t ) )

or

f (x1 (n) + x 2 (n) ) = f (x1 (n) ) + f (x 2 (n) ) .

Homogeneity

A system is said to be homogenous if multiplying the input by a constant results


in multiplying the output by the same constant, i.e.:

f (kx(t ) ) = kf (x(t ) )

or

f (kx(n) ) = kf (x(n) ) .
24

Linearity

A system is said to be linear if it is both additive and homogeneous, i.e.:

f (k1 x1 (t ) + k 2 x 2 (t )) = k1 f 1 (x1 (t )) + k 2 f 2 (x 2 (t ) )

or

f (k1 x1 (n ) + k 2 x 2 (n )) = k1 f 1 (x1 (n) ) + k 2 f 2 (x 2 (n) ) .

A system which is not linear is said to be nonlinear.

Example 1.1

Let us consider the continuous-time system described by the equation

t
y (t ) = c ∫ x(τ ) dτ
0

where c is a constant. Let y1 (t ) and y2 (t ) be the responses of the system due to


the input x1 (t ) and x 2 (t ) , respectively, that is:

t
y1 (t ) = c ∫ x1 (τ ) dτ
0

t
y2 (t ) = c ∫ x2 (τ ) dτ .
0

The response of this system due to the input x(t ) = k1 x1 (t ) + k 2 x 2 (t ) is

t t
y (t ) = c ∫ x(τ ) dτ = c ∫ (k1 x1 (τ ) + k 2 x2 (τ ) ) dτ =
0 0
t t
= k1c ∫ x1 (τ ) dτ + k 2 c ∫ x2 (τ ) dτ = k1 y1 (t ) + k 2 y2 (t ) .
0 0

According to the foregoing relationship the system is linear.


25

Example 1.2

Consider the discrete-time system specified by the equation

y (n ) = 3 x(n ) − 5 x(n − 2) .

The responses of this system to the inputs x1 (n ) and x 2 (n ) are:

y1 (n ) = 3 x1 (n ) − 5 x1 (n − 2)

y 2 (n ) = 3 x 2 (n ) − 5 x 2 (n − 2) .

The response of the system to the input x(n ) = k1 x1 (n ) + k 2 x 2 (n ) is

y (n ) = 3(k1 x1 (n ) + k 2 x 2 (n )) − 5(k1 x1 (n − 2) + k 2 x 2 (n − 2)) =


= k1 (3 x1 ( n) − 5 x1 (n − 2) ) + k 2 (3 x 2 (n) − 5 x 2 (n − 2) ) =
= k1 y1 (n ) + k 2 y 2 (n ) .

Thus, the system is linear.

Example 1.3

Consider a continuous-time system described by the equation

y (t ) = 0.5(x(t )) .
2

Let y1 (t ) and y 2 (t ) be the responses to the inputs x1 (t ) and x 2 (t ) , respectively,


i.e.:

y1 (t ) = 0.5(x1 (t ) )
2

y 2 (t ) = 0.5(x 2 (t )) .
2

The response y (t ) of this system due to the input

x(t ) = k1 x1 (t ) + k 2 x 2 (t )

is

y (t ) = 0.5(k1 x1 (t ) + k 2 x 2 (t ) ) = 0.5k12 (x1 (t ) ) + 0.5k 22 (x 2 (t ) ) +


2 2 2

+ k1 k 2 x1 (t )x 2 (t ) .
26

Since the expression on the right hand side is different than

k1 y1 (t ) + k 2 y 2 (t ) = k1 0.5(x1 (t ) ) + k 2 0.5( x 2 (t ) )
2 2

we conclude that the system is nonlinear.

Example 1.4

The system shown in Fig.1.17, including an ideal operational amplifier, is


specified by the function v out = f (v in ) represented by the plot shown in Fig.1.18.

R2

v in R1 v out

Fig. 1.17. System for Example 1.4

v out

E sat

1 R1
slope = β =
β R1 + R 2

-E satβ 0 E satβ v in

-E sat

Fig. 1.18. Representation of the system shown in Fig. 1.17


27

Note that the response of this system to vin > Esat β is vout = E sat . Hence, for
vin > Esat β and k > 1 the response of the system to the input kvin is
vout = E sat ≠ kE sat .
For this reason the system is not homogeneous and, the more so it is not linear.
However, if vin belongs to the interval [− Esat β , Esat β ] , then the system is
described by equation

1
vout = vin .
β

In such a case the response of the system to the input kvin will be kvout as long as
− Esat β < kvin < Esat β . Therefore, under this restriction the system can be
considered as homogeneous. Furthermore, for the signals (vin )1 and (vin )2 such
that (vin )1 , (vin )2 , and (vin )1 + (vin )2 belong to the interval [− Esat β , Esat β ] the
system is additive. According to the foregoing discussion, for a restricted range
of input, the system can be considered as linear.

Time invariance

Let y (t ) be the response of a continuous-time system to an input x(t ) . The


system is said to be time-invariant if an input signal x(t − h ) causes an output
y (t − h ) for all t and arbitrary h. This property states that a shift in time of an
input signal results in the same time shift in the output signal.
A system which is linear and time-invariant is known as a linear time-
invariant or LTI system. A system which is not time-invariant is said to be time-
varying.

Example 1.5

Let us consider the system specified by the equation

y (t ) = 2 x(t ) − x(t − 3) .

The response of this system to the input x(t − h ) is

2 x(t − h ) − x(t − h − 3)

and equals y (t − h ) . Thus, the system is time-invariant.


28

Example 1.6

The system described by the equation

y (t ) = 3 x(t ) cos (ω 0 t + α )

is not time invariant because generally

3x(t − h ) cos (ω0t + α ) ≠ 3x(t − h ) cos (ω0 (t − h) + α ) .

A similar property, called shift-invariance (or time-invariance), can be


formulated for discrete-time systems.
Let y (n ) be the response of a discrete-time system due to an input x(n ) . The
system is said to be shift-invariant (or time-invariant) if an input signal x(n − N )
causes an output y (n − N ) for all n and arbitrary integer N. A discrete-time
system which is both linear and shift-invariant is known as a linear shift-invariant
(LSI) or a linear time-invariant (LTI) system.

Example 1.7

Consider the discrete-time system specified by the equation

y (n ) = x(n ) + 2( x(n) ) + 5(x(n) ) .


2 3

The response of this system due to the input x(n − N ) is

x(n − N ) + 2(x( n − N ) ) + 5( x(n − N ) )


2 3

and is equal to y (n − N ) . Thus, the system is time-invariant. However, this


system is nonlinear and consequently it is not an LTI system.

Instantaneousness

A continuous-time system is said to be instantaneous if the output in this system


at any instant of time depends on the input at that instant only. Otherwise, the
system is called non-instantaneous.

Example 1.8
A system specified by the equation
t
y (t ) = ∫ x(τ ) dτ
0
29

is non-instantaneous because its response at instant t depends on all time from 0


to t.
Since the responses of non-instantaneous systems depend on previous instants
they are said to have a memory. Consequently, instantaneous systems are termed
memoryless systems.
Similar properties hold for discrete-time systems. A discrete-time system is
said to be instantaneous if the output of this system at any n depends on the input
at that n only. Otherwise the system is said to be non-instantaneous.

Example 1.9

The discrete-time system specified by equation

y (n ) = 2 x(n ) + x(n − 1)

is non-instantaneous because its response at n depends on the previous input at


n − 1.

Example 1.10

The discrete-time system described by the equation

y (n ) = 5(x(n) )
3

is instantaneous.

Causality

A continuous-time system is said to be causal if the response of this system, at


any instant of time t 0 , depends only on the input up to time t 0 .
A discrete-time system is said to be causal if the response of this system at
any n 0 depends on the input up to n = n0 .
A general property of causal system is that changes in the output cannot
precede changes in the input.

Example 1.11

The system described by the equation

y (n ) = 2 x(n ) + 0.5 x(n + 1)

is noncausal because the output at n = n0 depends on the input at n0 + 1 .


In this book we will study the causal systems only.
30

Stability

In many applications it is required for a system to produce a bounded output


whenever the input is bounded. A system with this property is said to be stable in
the bounded input-bounded output sense.
To be technical, we consider a continuous-time system with input x(t ) and
output y (t ) . By definition, the system is said to be stable if any bounded input
signal x(t ) , i.e. such that x(t ) < K x for all t, produces a bounded output signal
y (t ) , i.e. such that y (t ) < K y for all t, where K x and K y are positive constants.
The above defined stability is known as bounded-input bounded-output (BIBO)
stability.

Example 1.12

Let us consider a system specified by the equation

1
y (t ) = .
1 − x(t )

Using the bounded input

( )
x(t ) = 1 − e − t u (t )

we obtain unbounded output y (t ) . Thus, the system is not BIBO stable.


Similarly as for continuous systems, we define BIBO stability for discrete-time
systems. A discrete system is said to be stable if any bounded input signal x(n ) ,
i.e. such that x(n ) < K x for all n, produces a bounded output signal y (n ) , i.e.
such that y (n ) < K y for all n, where K x and K y are positive numbers.

1.7. Response of LTI continuous-time and discrete-time


systems
1.7.1. Response of continuous-time LTI systems

Let us consider an LTI system whose response due to the unit impulse δ (t ) is
given. The response will be labeled h(t ) and termed the unit impulse response.
This characterizes the system and plays a very important role in system theory.
31

Let an input signal x(t ) be applied to the system. In Section 1.5 it is shown
that the signal x(t ) can be approximated by a step function (1.25) repeated below
for the reader’s convenience

∑ x(tk )ε Δε (t − tk ) . (1.32)
k =0

Let hΔ (t ) be the response of the system to the rectangular pulse Δε (t ) . Since the
system is LTI, its response due to the signal (1.32) is

∑ x(tk )ε hΔ (t − tk ) . (1.33)
k =0

Letting ε → 0 we have: Δε (t ) → δ (t ) , consequently hΔ (t ) → h(t ) , and the sum


becomes integral. Hence, expression (1.33) becomes the response y (t ) to the
input x(t ) and assumes the form

y (t ) = ∫ x(τ ) h (t − τ ) dτ . (1.34)
t0

Generally, t 0 → −∞ and we may write



y (t ) = ∫ x(τ ) h (t − τ )dτ . (1.35)
−∞

We recognize the expression on the right hand side of (1.35) as the convolution
integral formula.
If x(t ) = 0 for t < 0 , then


y (t ) = ∫ x(τ ) h (t − τ ) dτ . (1.36)
0

Furthermore, for any causal system h(t − τ ) = 0 for t < τ because h(t ) is the
response to δ (t ) which appears at t = 0 and h(t − τ ) , where t − τ < 0 , is the
response which would precede the input. Hence, we have
t
y (t ) = ∫ x(τ ) h (t − τ ) dτ . (1.37)
0
32

1.7.2. Response of discrete-time LTI systems

Let us consider a discrete-time LTI system in which the response due to the unit
sample δ (n ) is given. The response will be labeled h(n ) and termed the unit
sample response or the unit pulse response. This characterizes the system and
plays a very important role in system theory. Section 1.5 shows that the signal
x(n ) can be expressed in the form (1.31) repeated below


x(n ) = ∑ x(k )δ (n − k ) . (1.38)
k = −∞

Since the system is LTI, its response due to x(k )δ (n − k ) is x(k ) h (n − k ) and the
response due to x(n ) is


y (n ) = ∑ x(k )h(n − k ) . (1.39)
k = −∞

We recognize expression (1.39) as the convolution summation formula. It


constitutes the sum of responses of the system to all the terms of the signal
(1.38).

Example 1.13

Let us consider a discrete LTI system whose response to a unit sample is h(n ) as
shown in Fig.1.19.

h(n)
2

n
-2 -1 0 1 2 3

-1

Fig. 1.19. Unit sample response of a discrete LTI system


33

We wish to determine the response of this system to the signal x(n ) depicted in
Fig.1.20.

x(n)
2

n
-2 -1 0 1 2 3

-1

Fig. 1.20. Input signal x(n )

The signal x(n ) can be represented using expression (1.38)


x(n ) = ∑ x(k )δ (n − k ) = −δ (n + 1) + δ (n − 1) + 2δ (n − 2) .
k = −∞

Hence, we compute the responses of the system due to the signals


− δ (n + 1) , δ(n − 1) , and 2δ (n − 2) ( see Fig.1.21).

(a) -δ(n+1) (b) -h(n+1)

n n
-1 0 1 -2 -1 0 1
-1 -1
-2 -2
34

(c) δ(n-1) (d) h(n-1)


2 2
1 1
n n
0 0 1 2 3
1
2h(n-2)

(f) 4
(e) 2δ(n-2) 3
2 2
1 1
n n
0 1 2 0 1 2 3
Fig. 1.21. Response of the system due to signals − δ (n + 1) , δ (n − 1) , and
2δ (n − 2)

The response y (n ) given by equation

y (n ) = −h(n + 1) + h(n − 1) + 2h(n − 2)

is shown in Fig.1.22.
y(n)

5
4
3
2
1
n
-3 -2 -1 0 1 2 3 4
-1
-2
Fig. 1.22. Response y (n ) of the system considered in Example 1.13
35

The method applied in the above example requires computing the response of the
system due to each term of the signal representation (1.38) and summarizing the
results. An alternative approach is to consider the graphical interpretation of the
convolution summation as it will be explained in Section 1.8.

1.8. Convolution
Section 1.7 shows that the convolution plays a very important role in the
analysis and description of both the continuous-time and discrete-time LTI
systems. Therefore, in this section we will discuss some properties of the
convolution and techniques of performing convolution.
Generally, convolution is a mathematical operation applied to two functions
producing a third function. If the two functions are continuous-time functions we
refer to convolution as continuous convolution. If they are discrete-time
functions we refer to convolution as discrete convolution.

1.8.1. Continuous convolution

Let us consider the functions f 1 (t ) and f 2 (t ) . The continuous bilateral


convolution or simply continuous convolution of f 1 (t ) and f 2 (t ) written as

f (t ) = f 1 (t ) ∗ f 2 (t )

is given by

f (t ) = ∫ f1 (τ ) f 2 (t − τ )dτ (1.40)
−∞

where τ is a dummy integration variable. Continuous convolution is


commutative, i.e.

f 1 (t ) ∗ f 2 (t ) = f 2 (t ) ∗ f 1 (t ) . (1.41)

To prove this property we can use the definition formula


f1 (t ) ∗ f 2 (t ) = ∫ f1 (τ ) f 2 (t − τ )dτ
−∞

and perform a change of variables by letting t − τ = v . Then τ = t − v , dτ = −dv ,


v → ∞ as τ → −∞ , and v → −∞ as τ → ∞ . As a result we obtain
36

−∞ ∞
f 1 (t ) ∗ f 2 (t ) = − ∫ f 1 (t − v ) f 2 (v ) dv = ∫ f (v) f (t − v) dv = f (t ) ∗ f (t ) .
2 1 2 1
∞ −∞

Hence the property.


Applying this property to the result of Section 1.7 we conclude that the response
of an LTI system, specified by the unit impulse response h(t ) , due to an input
x(t ) can be determined either using equation (1.35) repeated below


y (t ) = ∫ x(τ ) h (t − τ ) dτ (1.42)
−∞

or using the equation



y (t ) = ∫ h(τ ) x (t − τ )dτ . (1.43)
−∞

Thus, for computing y (t ) we can apply this expression which leads to simpler
integration.
In Section 1.6.2 we defined BIBO stability of continuous-time systems. We
now relate this property to the impulse response h(t ) of LTI systems with a
bounded input x(t ) , i.e. such that x (t ) < K x for all t. Using the convolution
equation (1.43) we obtain
∞ ∞ ∞
y (t ) = ∫ h (τ ) x (t − τ )dτ ≤ ∫ h (τ ) x (t − τ ) dτ ≤ K x ∫ h (τ ) dτ .
−∞ −∞ −∞

Hence, if

∫ h (τ ) dτ < K h < ∞
−∞

then the system is BIBO stable. Thus, we have proved that a sufficient condition
which guarantees BIBO stability of an LTI system is that its impulse response is
absolutely integrable.
As a matter of fact, this condition is also necessary, which can be
demonstrated as follows. Suppose that the impulse response were not absolutely
integrable, but the system were BIBO stable. Let us consider the input such that
for a fixed t x(t − τ ) = −1 if h(τ ) < 0 and x(t − τ ) = 1 if h(τ ) > 0 . Then the output
is
37


y (t ) = ∫ h (τ ) dτ
−∞

which is not bounded by the assumption. This is a contradiction showing that the
condition is also necessary.
Note that for an LTI causal system h(t ) = 0 for t < 0 and the criterion for
BIBO stability reduces to

∫ h (τ ) dτ < K h < ∞ .
0

Graphical interpretation of continuous convolution

The convolution operation can be performed in four steps: folding, translating,


multiplying, and integrating.
We explain the operations via an example. Let us consider the signals f 1 (t ) and
f 2 (t ) as shown in Fig.1.23

f1(t) f2(t)

0 1 2 3 4 t 0 1 2 3 4 5 t
(a) (b)
Fig. 1.23. Signals f 1 (t ) and f 2 (t )

We wish to determine

f (t ) = f1 (t ) ∗ f 2 (t ) = ∫ f1 (τ ) f 2 (t − τ )dτ (1.44)
−∞

by its graphical interpretation.


Since f 1 (t ) = 0 for t < 0 , the lower limit of integration can be replaced by 0
38


f (t ) = ∫ f1 (τ ) f 2 (t − τ ) dτ .
0

At first we consider the signals f1(τ) and f2(τ) ( see Fig.1.24 ).

f1(τ) f2(τ)

0 1 2 3 4 τ 0 1 2 3 4 5 τ
(a) (b)
Fig. 1.24. Signals f1(τ) and f2(τ)

Now we take into account the signal f2(-τ). It is obtained by folding (reflecting)
f2(τ) about the line τ = 0 as depicted in Fig.1.25

f2(-τ) = g(τ)

-5 -4 -3 -2 -1 0 1 2 3 τ

Fig. 1.25. Signal g (τ ) = f 2 (− τ ) obtained by folding signal f2(τ)


39

The next step is creating f 2 (t − τ ) for some fixed value of t, say t = 4 . Let us
denote g (τ ) = f 2 (− τ ) , then f 2 (t − τ ) = f 2 (− ( τ − t )) = g (τ − t ) . Hence, the signal
f 2 (t − τ ) is obtained by translation (shifting) the signal g(τ) shown in Fig.1.25 by
t = 4 (see Fig.1.26).
f2(t-τ)

t=4

-3 -2 -1 0 1 2 3 4 τ
Fig. 1.26. Signal f 2 (t − τ) obtained by translating signal g(τ) by t = 4

Now we perform multiplication f1 (τ ) f 2 (t − τ ) for t = 4 . The result is shown in


Fig.1.27

f1(τ) f2(t-τ)

t=4

0 1 2 3 4 τ

Fig. 1.27. Product of signals f1 (τ ) and f 2 (t − τ )

The last step is integration


∞ 4
f (4 ) = ∫ f1 (τ ) f 2 (4 − τ ) dτ = ∫ f1 (τ ) f 2 (4 − τ ) dτ = 7.5 .
0 0
40

Thus, the convolution at t=4 is equal to 7.5 and this is a point on the curve f (t ) .
Selecting another t and repeating the above procedure we obtain the
corresponding point of the characteristic f (t ) . This is shown in Figs.1.28-1.33
for t = 0 , t = 1, t = 2 , t = 3, t = 5, t = 6 .

(a) (b) f1(τ) f2(t-τ)


f2(-τ)
t=0
3
f(t)=0

-5 -4 -3 -2 -1 0 1 τ -2 -1 0 1 2 τ
Fig. 1.28. Finding the convolution f 1 (t ) ∗ f 2 (t ) at t = 0
(a) (b)
f2(t-τ) f1(τ) f2(t-τ)
t=1
3

f(t)=0.5
1 1

-4 -3 -2 -1 0 1 2 τ -1 0 1 2 τ

Fig. 1.29. Finding the convolution f 1 (t ) ∗ f 2 (t ) at t = 1


(a) f2(t-τ) (b) f1(τ) f2(t-τ)
t=2
3

2 2
f(t)=2

-3 -2 -1 0 1 2 3 τ 0 1 2 3 τ

Fig. 1.30. Finding the convolution f 1 (t ) ∗ f 2 (t ) at t = 2


41

(a) (b)
f2 (t-τ) f1(τ) f2(t-τ)

t=3
3 3

f(t)=4.5

-3 -2 -1 0 1 2 3 4 τ 0 1 2 3 τ

Fig. 1.31. Finding the convolution f 1 (t ) ∗ f 2 (t ) at t = 4

(a) (b)
f2 (t-τ) f1 (τ) f2 (t-τ)

3 t=5 3
f(t)=10.5

-1 0 1 2 3 4 5 6 τ 0 1 2 3 4 5 6 τ

Fig. 1.32. Finding the convolution f 1 (t ) ∗ f 2 (t ) at t = 5

(a) (b)
f2 (t-τ) f1 (τ) f2 (t-τ)

3 t=6 3
f(t)=10.5

0 1 2 3 4 5 6 τ 0 1 2 3 4 5 6 τ

Fig. 1.33. Finding the convolution f 1 (t ) ∗ f 2 (t ) at t = 6


42

Note that for t > 5 the convolution f (t ) is constant and equal to 10.5. The
results of the computation are summarized in Table 1.1.

t negative 0 1 2 3 4 5 greater than 5

f(t) 0 0 0.5 2 4.5 7.5 10.5 10.5

Table 1.1. The results of computation for Example 1.13

The plot of f (t ) is shown in Fig.1.34.

f(t)

12

10

-2 -1 0 1 2 3 4 5 6 t

Fig. 1.34. Plot of the convolution f (t ) = f 1 (t ) ∗ f 2 (t )

The graphical method, described above, is effective if multiplication and


integration of the signals can be easily performed. Generally, these operations
need to be accomplished using a numerical approach. To find the convolution
numerically we take into account an approximation of the convolution integral,
similarly as in Section 1.7. We replace the integration by summation and the
convolution is approximately given by
43


f (t ) ≅ ∑ f (t ) ε f (t − t )
k = −∞
1 k 2 k (1.45)

where we assume that ε is sufficiently small.


To illustrate the above procedure we consider the following example.

Example 1.14

Let us consider signals f 1 (t ) and f 2 (t ) shown in Figs. 1.35 and 1.36.

f1 (t) f2 (t)

1 1

0 0.5 1 t 0 1 t

Fig. 1.35. Signal f 1 (t ) Fig. 1.36. Signal f 2 (t )

We wish to compute the convolution of f 1 (t ) and f 2 (t ) at t = 0.5 using the


approximate formula (1.45). We choose ε = 0.05 and tabulate the values
tk = k ⋅ ε , f1 (kε ) , and f 2 (0.5 − kε ) where k = 0, 1, " , 10 . Next we compute the
product f1 (kε ) f 2 (t − kε ) at any k. Finally, we add together the results and
multiply by ε = 0.05 . Note that the procedure is terminated at k = 10 (t k = 0.5)
because for t k > 0.5 0.5 − t k < 0 holds, which implies f 2 (0.5 − t k ) = 0 . The
results of the computation process are summarized in Table 1.2.

k 0 1 2 3 4 5 6 7 8 9 10

tk 0 0.05 0.10 0.15 0.20 0.25 0.30 0.35 0.40 0.45 0.50

f1(tk) 0 0.10 0.20 0.30 0.40 0.50 0.60 0.70 0.80 0.90 1.00

f2(0.5-tk) 1 0.55 0.60 0.65 0.70 0.75 0.80 0.85 0.90 0.95 1.00

f1(tk)f2(0.5-tk) 0 0.055 0.120 0.194 0.280 0.374 0.480 0.594 0.720 0.854 1.00

Table 1.2. The results of computation for Example 1.14


44

We add together all numbers of the last row finding 4.670 and multiply by
ε = 0.05 . As a result we obtain f (0.5) ≅ 0.233 whereas the correct value is
f (0.5) = 0.208 . To obtain more accurate values smaller ε should be chosen.

1.8.2. Discrete convolution

Definition

Let us consider the discrete-time functions f 1 (n ) and f 2 (n ) . The discrete


convolution of f 1 (n ) and f 2 (n ) written as

f (n ) = f 1 (n ) ∗ f 2 (n )

is given by


f (n ) = ∑ f (k ) f (n − k ) .
k = −∞
1 2 (1.46)

Discrete convolution is commutative, i.e.

f 1 (n ) ∗ f 2 (n ) = f 2 (n ) ∗ f 1 (n ) .

To prove this property we apply formula (1.46)


f 1 (n ) ∗ f 2 (n ) = ∑ f (k ) f (n − k )
k = −∞
1 2

and perform a change of variables by letting n − k = m , then k = n − m , m → ∞


as k → −∞ , and m → −∞ as k → ∞ . Hence, we obtain

−∞ ∞
f 1 (n ) ∗ f 2 (n ) = ∑
m =∞
f 1 (n − m ) f 2 (m ) = ∑ f (m) f (n − m) = f (n) ∗ f (n) .
m = −∞
2 1 2 1

Applying this property to the results of Section 1.7 we state that the response of
an LTI system specified by the unit sample response h(n ) , due to an input x(n )
can be either determined using equation (1.38) repeated below
45


y (n ) = ∑ x(k )h (n − k )
k = −∞

or using the equation


y (n ) = ∑ h(k ) x (n − k ) .
k = −∞
(1.47)

In Section 1.6.2 we defined BIBO stability of discrete-time systems. We now


relate this property to the unit pulse response h(n ) on LTI systems with a
bounded input x(n ) , i.e. such that x (n ) < K x for all n. Using equation (1.47)
we obtain

∞ ∞
y (n ) = ∑
k = −∞
h (k ) x (n − k ) ≤ ∑ h (k ) x (n − k ) ≤
k = −∞

≤ Kx ∑ h (k )
k = −∞

Hence, if

∑ h (k ) < K
k = −∞
h <∞

then the system is BIBO stable. Thus, we have proved that a sufficient condition
for BIBO stability of an LTI discrete system is that its unit pulse response is
absolutely summable.
It can be demonstrated that this condition is also necessary. Suppose that the
unit pulse response were not absolutely summable, but the system were BIBO
stable. Let us consider the input such that for a fixed n x(n − k ) = −1 if h(k ) < 0
and x(n − k ) = 1 if h(k ) > 0 . Then, the output


y (n ) = ∑ h (k )
k = −∞

is not bounded by the assumption. This is a contradiction showing that the


condition is also necessary.
Note that for a causal LTI system the criterion for BIBO stability reduces to
46

∑ h (k ) < K
k =0
h <∞.

Graphical interpretation of discrete convolution

Similarly as in the case of continuous convolution the discrete convolution


can be performed in four steps: folding, translating, multiplying, and adding.

We will explain these operations via an example.

Example 1.15

Let us consider the convolution of the signals shown in Fig.1.37.

f2(n)
f1(n) 3
2
1 1
n n
0 1 2 3 0 1 2 3 4
4

Fig. 1.37. Discrete signals f 1 (n ) and f 2 (n )

The convolution is given by (1.46) repeated below


f (n ) = ∑ f (k ) f (n − k ) .
k = −∞
1 2 (1.48)

We create the signal f 2 (− k ) by folding the signal f 2 (k ) about the line k = 0


(see Fig. 1.38).
47

f2(-k)
3
2
1
k
-3 -2 -1 0 1 2
Fig. 1.38. Signal f 2 (− k ) obtained by folding signal f 2 (k )

The next step is translating of f 2 (− k ) for some fixed value of n, say n = 2 . It is


shown in Fig.1.39
f2(n-k) n=2
3
2
1
k
-1 0 1 2 3
Fig. 1.39. Signal f 2 (n − k ) obtained by translating signal f 2 (− k ) by n = 2

Now we perform multiplication f 1 (k ) f 2 (n − k ) , where n = 2 (see Fig.1.40)

f1(k) f2(n-k) n=2


3
2
1
k
0 1 2 3
Fig. 1.40. Product of signals f 1 (k ) and f 2 (n − k ) for n = 2

Finally, the summation is made



f (n ) = ∑ f (k ) f (n − k )
k = −∞
1 2

where n = 2 .
48

In this way we obtain f (n ) = 6 for n = 2 . Selecting another n and repeating the


above procedure we determine corresponding f (n ) . Fig.1.41 shows f 2 (n − k )
for n = 0 , 1, 3, 4 and Fig.1.42 shows the corresponding products f 1 (k ) f 2 (n − k ) .

f2(n-k) f2(n-k) n=1


n=0

3 3
2 2
1 1
k k
-3 -2 -1 0 1 2 0 1
-2 -1 2

(a) (b)

f2(n-k) n=3 f2(n-k) n=4

3 3
2 2
1 1

k k
-1 0 1 2 3 0 1 2 3 4

(c) (d)
Fig. 1.41. Plot of f 2 (n − k ) for n = 0,1, 3, 4

f1(k) f2(n-k) f1(k) f2(n-k)

3 n=0 3 n=1
2 2
1 1

k k
-1 0 1 -1 0 1 2

(a) (b)
49

f1(k) f2(n-k) n=3 f1(k) f2(n-k) n=4

3 3
2 2
1 1

k k
-1 0 1 2 3 0 1 2 3 4

(c) (d)
Fig. 1.42. Products of f 1 (k ) and f 2 (n − k ) for n = 0,1, 3, 4

On the basis of Fig.1.42 we obtain f (0) = 3, f (1) = 5, f (3) = 3, f (4) = 1 . It is


obvious that f (n ) = 0 for n < 0 and n > 4 . The convolution f (n ) is shown in
Fig.1.43.

f(n)

6
5
4
3
2
1
n
-1 0 1 2 3 4 5 6

Fig. 1.43. Plot of the convolution f (n ) = f 1 (n ) ∗ f 2 (n )

Note

The discrete convolution can be also found by direct evaluating the sum given by
(1.46). To illustrate this approach we consider again the discrete signals shown in
Fig.1.37. Using equation (1.46) we obtain:
50

f (0) = f 1 (0) f 2 (0) + f 1 (1) f 2 (− 1) + f 1 (2) f 2 (− 2) = 3


f (1 ) = f 1 (0) f 2 (1) + f 1 (1) f 2 (0) + f 1 (2) f 2 (− 1) = 5
f (2) = f 1 (0) f 2 (2) + f 1 (1) f 2 (1) + f 1 (2) f 2 ( 0) = 6
f (3) = f 1 (0) f 2 (3) + f 1 (1) f 2 (2) + f 1 (2) f 2 ( 1) = 3
f (4) = f 1 (0) f 2 (4) + f 1 (1) f 2 (3) + f 1 (2) f 2 ( 2) = 1

Furthermore, it is obvious that f (n ) = 0 for n < 0 and for n > 4 .

You might also like