2 Linear Time-Invariant Systems
2 Linear Time-Invariant Systems
(LTI Systems)
Linear Time-Invariant Systems
• A system is said to be Linear Time-Invariant (LTI) if it possesses the basic system properties of linearity and
time-invariance.
• The input-output relationship for LTI systems is described in terms of a convolution operation.
DT Signal Decomposition in terms of shifted unit impulses 𝑥𝑛 𝑦𝑛
LTI System
𝑥𝑛
𝑥2
𝑥2 𝑥 −1 𝑥1
𝑥 −1 𝑥 1 𝑥 −2 𝑥0
𝑥 −2 𝑥0 ∙∙∙ + ∙∙∙
+ + +
−2 −1 0 1 2
𝑥 −2 𝛿[𝑛 + 2] 𝑥 −1 𝛿[𝑛 + 1] 𝑥 0 𝛿[𝑛] 𝑥 1 𝛿[𝑛 − 1] 𝑥 2 𝛿[𝑛 − 2]
−2 −1 0 1 2 𝑡
∞ 𝛽 𝛿 𝑛 − 𝑘 𝛽 ℎ 𝑛 − 𝑘
Convolution
input
Find output
𝑦 𝑛 = 𝑥 0 ℎ 𝑛 − 0 + 𝑥 1 ℎ 𝑛 − 1 = 0.5ℎ 𝑛 + 2 ℎ[𝑛 − 1]
Convolution 2
Example:
3 𝑛=0 3 𝑛=0
𝑥𝑛 = 2 𝑛=1
ℎ𝑛 = 1 𝑛=1
1 𝑛=2 2 𝑛=2
0 𝑒𝑙𝑠𝑒𝑤ℎ𝑒𝑟𝑒 0 𝑒𝑙𝑠𝑒𝑤ℎ𝑒𝑟𝑒
Length =3 Length =3
Solution:
Convolution Length = 𝑁1 + 𝑁2 − 1 = 3 + 3 − 1 = 5
Convolution 3
Example: Find the output of an LTI system having a unit impulse response ℎ 𝑛 = 𝑢[𝑛], for the input 𝑥 𝑛 =∝𝑛 𝑢 𝑛
Thus, for 𝑛 ≥ 0,
𝑛
𝑛≥0 1−∝𝑛+1
𝑦𝑛 = ∝𝑘 =
1 −∝
𝑘=0
𝑛<0
Thus, for all 𝑛,
𝑛
1−∝𝑛+1 𝑠 = ∝𝑘 = 1 +∝ +∝2 + ⋯ +∝𝑛
𝑦𝑛 = 𝑢[𝑛]
1 −∝ 𝑘=0
∝ 𝑠 = ∝ +∝2 + ⋯ +∝𝑛+1 𝑠 −∝ 𝑠 = 1−∝𝑛+1
The Representation of Continuous-Time Signals in Terms of Impulses
𝑥(𝑡) is approximated in
𝑥(𝑡)
terms of pulses or staircase Defining:
1ൗ 0≤𝑡≤Δ
𝛿Δ 𝑡 = ൝ Δ
0 𝑜𝑡ℎ𝑒𝑟𝑤𝑖𝑠𝑒
𝑡 1 0≤𝑡≤Δ
Δ𝛿Δ 𝑡 = ቊ
0 𝑜𝑡ℎ𝑒𝑟𝑤𝑖𝑠𝑒
𝑥ො 𝑡 : the approximation of 𝑥(𝑡)
At 𝑡 = 0 Δ𝛿Δ 𝑡 has a unit amplitude
𝑥(0) 0 ≤ 𝑡 ≤ Δ
𝑥ො 0 = 𝑥(0)Δ𝛿Δ 𝑡 = ቊ
0 𝑜𝑡ℎ𝑒𝑟𝑤𝑖𝑠𝑒
The complete pulse/staircase approximation of
𝑥(𝑡)is the sum
At 𝑡 = Δ
𝑥(Δ) Δ ≤ 𝑡 ≤ 2Δ
𝑥ො Δ = 𝑥(Δ)Δ𝛿Δ 𝑡 − Δ = ቊ 𝑥ො 𝑡 =∙∙∙ +𝑥ො −Δ + 𝑥ො 0 + 𝑥ො Δ +∙∙∙
0 𝑜𝑡ℎ𝑒𝑟𝑤𝑖𝑠𝑒
∞
In general 𝑥ො 𝑡 = 𝑥(𝑘Δ)𝛿Δ 𝑡 − 𝑘Δ Δ
At 𝑡 = 𝑘Δ
𝑘=−∞
𝑥(𝑘Δ) 𝑘Δ ≤ 𝑡 ≤ (𝑘 + 1)Δ
𝑥ො 𝑘Δ = 𝑥(𝑘Δ)Δ𝛿Δ 𝑡 − 𝑘Δ = ቊ
0 𝑜𝑡ℎ𝑒𝑟𝑤𝑖𝑠𝑒
The Representation of CT Signals in Terms of Impulses2
If we let Δ approach 0 𝑥ො 𝑡 becomes closer and closer and equals 𝑥(𝑡) in the limit of 0
Δ → 0; 𝛿Δ 𝑡 → 𝛿(𝑡)
∞
∞ ∞
∙∙∙ Δ → න ∙∙∙ 𝑑𝜏 Consequently: 𝑥 𝑡 =න 𝑥 𝜏 𝛿 𝑡 − 𝜏 𝑑𝜏
𝜏=−∞ 𝜏=−∞
𝑘=−∞
The Convolution Integral
• The impulse response ℎ(𝑡) of a continuous-time LTI system 𝑆 𝛿(𝑡) ℎ(𝑡)
CT LTI System
ℎ 𝑡 = 𝑆{𝛿 𝑡 } Sum (Integral) of weighted shifted impulses
∞ linearity ∞
𝑦 𝑡 =𝑆 𝑥 𝑡 =𝑆 න 𝑥 𝜏 𝛿 𝑡 − 𝜏 𝑑𝜏 = න 𝑥 𝜏 𝑆{𝛿 𝑡 − 𝜏 } 𝑑𝜏
For the input 𝑥(𝑡): 𝜏=−∞ 𝜏=−∞
weight impulse
• Since the system is time-invariant: ∞
Time-invariance 𝑦 𝑡 =න 𝑥 𝜏 ℎ 𝑡 − 𝜏 𝑑𝜏 = 𝑥(𝑡) ∗ ℎ(𝑡)
𝑆 𝛿 𝑡−𝜏 = ℎ(𝑡 − 𝜏)
𝜏=−∞
Example 1
Let, the input x(t) to an LTI system with unit impulse
response ℎ 𝑡 be given as 𝑥 𝑡 = 𝑒 −𝑎𝑡 𝑢(𝑡) for 𝑎 > 0
and ℎ 𝑡 = 𝑢(𝑡). Find the output 𝑦 𝑡 of the system.
∞
𝑦 𝑡 = 𝑥(𝑡) ∗ ℎ(𝑡) = න 𝑥 𝜏 ℎ 𝑡 − 𝜏 𝑑𝜏 𝑥 𝑡 ≠ 0 𝑓𝑜𝑟 𝑡 ≥ 0
∞ 𝜏=−∞ ℎ 𝑡 = 𝑢(𝑡).
= න 𝑒 −𝑎𝜏 ℎ 𝑡 − 𝜏 𝑑𝜏 𝑓𝑜𝑟 𝑡 > 0 ℎ 𝑡−𝜏 =ቊ
1 0<𝜏<𝑡
0 𝜏>𝑡
0 Thus, for all t, we can write
𝑡 𝑡
1 −𝑎𝜏 1 1
= න 𝑒 −𝑎𝜏 𝑑𝜏 = 𝑒 ቤ = 1 − 𝑒 −𝑎𝑡 𝑦 𝑡 = 1 − 𝑒 −𝑎𝑡
0 −𝑎 0
𝑎 𝑎
The Convolution Integral2
Example 2 𝑥 𝜏 = 𝑒 2𝑡 𝑢(−𝜏)
𝑥 𝑡 = 𝑒 2𝑡 𝑢(−𝑡)
Find 𝑦 𝑡 = 𝑥(𝑡) ∗ ℎ(𝑡) , where
ℎ 𝑡 = 𝑢(𝑡 − 3)
∞
The system response is 𝑦 𝑡 = =𝜏−∞ 𝑥 𝜏 ℎ 𝑡 − 𝜏 𝑑𝜏
these two signals have regions of nonzero overlap 𝜏
0 𝑦 𝑡
1
𝑦 𝑡 = න 𝑒 2𝜏 𝑑𝜏 = For 𝑡 ≥ 3
−∞ 2
1 2(𝑡−3)
𝑒 For 𝑡 ≤ 3
𝑦 𝑡 =൞ 2
1ൗ For 𝑡 ≥ 3 𝑡
2
𝑦 𝑡 =න
∞
𝑥 𝜏 ℎ 𝑡 − 𝜏 𝑑𝜏
The Convolution Integral3
𝜏=−∞
Convolution
Shift ℎ 𝑡 − 𝜏
𝒕<𝟎 No overlapping
𝑦 𝑡 =0
𝑡
𝑦 𝑡 = න 2 ∙ 1 𝑑𝜏 0<𝜏<𝑡
0 𝟎<𝒕<𝟐
𝟎<𝒕<𝟐 𝑡
𝑦 𝑡 = 2 𝜏ቚ
0
𝑦 𝑡 = 2𝑡
The Convolution Integral4
𝟐<𝒕<𝟒
𝟒<𝒕<𝟔
No-overlap 𝑦 𝑡 = 0
𝒕>𝟔
𝟎 𝟏 𝟐 𝟑 𝟒 𝟓 𝟔 𝟕
𝒕−𝟒 𝒕
Properties of LTI Systems
• The characteristics of an LTI system are completely determined by its impulse response. This property holds in
general only for LTI systems only.
• The unit impulse response of a nonlinear system does not completely characterize the behavior of the system.
There is only one such LTI system for the given h[n].
However, there are many nonlinear systems with the same response, h[n]. Two different Non-Linear systems
with same impulse response
2 1, 𝑛 = 0,1
ℎ 𝑛 = 𝛿 𝑛 +𝛿 𝑛−1 ℎ 𝑛 =ቊ
0, 𝑜𝑡ℎ𝑒𝑟𝑤𝑖𝑠𝑒
1, 𝑛 = 0,1
ℎ 𝑛 = 𝑀𝑎𝑥 𝛿 𝑛 , 𝛿 𝑛 − 1 ℎ 𝑛 =ቊ
0, 𝑜𝑡ℎ𝑒𝑟𝑤𝑖𝑠𝑒
1 Commutative Property
Put 𝑟 = 𝑛 − 𝑘 ⇒ 𝑘 = 𝑛 − 𝑟
𝑥 𝑛 ∗ ℎ1 𝑛 + 𝑥 𝑛 ∗ ℎ2 𝑛
in continuous time
Example:
and
x[n] in nonzero for entire n, so direct convolution is difficult. Therefore, we will use commutative property.
1𝑓𝑜𝑟 𝑘 ≥ 0 1𝑓𝑜𝑟 𝑘 ≤ 𝑛
𝑙 = −𝑘 𝑙 =𝑚−𝑛
𝑛 ∞ 𝑙 ∞ 𝑚−𝑛 ∞ 𝑚
𝑘
1 1 𝑛
1
2 = = =2 = 2𝑛+1
𝑘=−∞ 𝑙=−𝑛 2 𝑚=0 2 𝑚=0 2
1𝑓𝑜𝑟 𝑘 ≤0 1𝑓𝑜𝑟 𝑘 ≤ 𝑛
3 Associative Property
in continuous time
In discrete time
Proof:
4 LTI Systems With and Without Memory
A system is memory-less if its output at any time depends only on the value of the input at that same time.
Example:
𝑡0 > 0 delay
Consider the LTI system consisting of a pure time shift 𝑦 𝑡 = 𝑥(𝑡 − 𝑡0 ) 𝑡0 < 0 advance
The impulse response for the system (for 𝑥 𝑡 = 𝛿(𝑡)): ℎ 𝑡 = 𝛿(𝑡 − 𝑡0 ) impulse response 𝑥(𝑡) = 𝛿(t)
To recover the input from the output (invert the system), all that is required is to shift the output back.
∞ 𝑛
Response of this system (convolution sum): 𝑦 𝑛 = 𝑥 𝑘 𝑢[𝑛 − 𝑘] 𝑦 𝑛 = 𝑥𝑘
𝑘=−∞ 𝑘=−∞
first difference equation
𝑛−1
Inverse system
𝑦 𝑛 =𝑥 𝑛 + 𝑥𝑘 𝑦 𝑛 = 𝑥 𝑛 + 𝑦[𝑛 − 1] 𝑥 𝑛 = 𝑦 𝑛 − 𝑦[𝑛 − 1] 𝑦 𝑛 = 𝑥 𝑛 − 𝑥[𝑛 − 1]
𝑘=−∞
Verification: ℎ 𝑛 ∗ ℎ1 𝑛 = 𝛿 𝑛
ℎ 𝑛 ∗ ℎ1 𝑛 = 𝑢[𝑛] ∗ 𝛿 𝑛 − 𝛿[𝑛 − 1]
= 𝑢[𝑛] ∗ 𝛿 𝑛 − 𝑢[𝑛] ∗ 𝛿[𝑛 − 1]
ℎ 𝑛 ∗ ℎ1 𝑛 = 𝛿 𝑛
= 𝑢[𝑛] − 𝑢[𝑛 − 1]
=𝛿 𝑛 the impulse responses are inverses of each other
6 Causality of LTI Systems
• The output of a causal system depends only on the present and past values of the input to the system.
∞
Therefore, for a discrete-time LTI system to be causal: 𝑥 𝑘 ℎ 𝑛 − 𝑘 = 0 for 𝑘 > 𝑛 ℎ 𝑛 − 𝑘 = 0 for 𝑘 > 𝑛
𝑓𝑜𝑟 𝑘 > 𝑛 → 𝑛 − 𝑘 < 0 ℎ 𝑛 =0 for 𝑛 < 0
Causality for LTI system is equivalent to the condition of initial rest (output must be 0 before applying the input)
𝑓𝑜𝑟 𝑘 > 𝑛 ℎ 𝑛 − 𝑘 = 0 𝑓𝑜𝑟 𝑘 < 0 ℎ 𝑘 = 0
Suppose that we apply this to the LTI system with impulse response h[n].
We take 𝑥 𝑛 = 𝐵
Example:
Therefore, if
An LTI system with pure time shift is stable.
Example1:
consider a first-order differential equation
Example2:
1
Find 𝑦 𝑛 of the system with the difference equation 𝑦 𝑛 − 𝑦 𝑛 − 1 = 𝑥[𝑛]
2
1
We have the output 𝑦 𝑛 = 𝑥 𝑛 + 𝑦 𝑛−1
2
Consider the input 𝑥 𝑛 = 𝑘 𝛿[𝑛] and initial condition 𝑦 −1 = 0 (rest)
1
𝑦 0 = 𝑥 0 + 𝑦 −1 = 𝑘
2
1 1 Setting 𝑘 = 1 we obtain the impulse response for the system
𝑦 1 =𝑥 1 + 𝑦 0 = 𝑘 𝑛
2 2 2 1
1 1 ℎ𝑛 = 𝑢[𝑛]
𝑦 2 =𝑥 2 + 𝑦 1 = 𝑘 2
2 2
⋮ 𝑛 impulse response with infinite duration
1 1
𝑦 𝑛 =𝑥 𝑛 + 𝑦 𝑛−1 = 𝑘 infinite impulse response ( IIR) systems.
2 2
Block Diagram Representations of Systems
systems described by linear constant -coefficient difference and differential equations can be represented in terms
of block diagram interconnections of elementary operations (adder, scaler, unit delay).
adder scaler
unit delay
Example:
Consider the causal system described Consider the causal continuous−time system
by the first-order difference equation described by a first−order differential equation
𝑦 𝑛 + 𝑎 𝑦 𝑛 − 1 = 𝑏 𝑥[𝑛] 𝑑𝑦 𝑡
+ 𝑎𝑦 𝑡 = 𝑏 𝑥(𝑡)
𝑑𝑡