Lecture 5 Lecture 2 Signal and Systems
Lecture 5 Lecture 2 Signal and Systems
Lecture 5 Lecture 2 Signal and Systems
𝑥ො 𝑡 = 𝑥(𝑘𝛥) 𝛥 𝛿𝛥 (𝑡 − 𝑘𝛥)
𝑘= −∞
𝑥 𝑘∆
𝑡
(𝑘 − 1)∆ 𝑘∆ (𝑘 + 1)∆
Representation (cont’d)
▪ Now, take the limit as 𝛥 → 0, then
– the Riemann sum becomes an integral, such that 𝛥 → 𝑑𝜏
– the discrete dummy variable 𝑘𝛥 → continuous dummy variable 𝜏
– 𝑥 𝑘𝛥 → 𝑥 𝜏 , and
– 𝛿𝛥 (𝑡 − 𝑘𝛥) → 𝛿(𝑡 − 𝜏)
▪ Therefore, we have
𝑥 𝑡 = lim𝛥→0 𝑥ො 𝑡
∞
= lim𝛥→0 𝑥 𝑘𝛥 𝛿𝛥 𝑡 − 𝑘𝛥 𝛥
𝑘=−∞
∞
=න 𝑥(𝜏) 𝛿(𝑡 − 𝜏) 𝑑𝜏
−∞
Linear Time-Invariant Systems
▪ Let’s use linearity and time-invariance together
LTI
𝛿 𝑡 System ℎ 𝑡
ℎ 𝑡
LTI
𝛿 𝑡−𝜏 System ℎ 𝑡−𝜏
ℎ 𝑡
∞ ∞
𝑥(𝑡) = න 𝑥(𝜏)𝛿(𝑡 − 𝜏) 𝑑𝜏 LTI 𝑦(𝑡) = න 𝑥 𝜏 ℎ(𝑡 − 𝜏) 𝑑𝜏
−∞ System −∞
ℎ 𝑡
Convolution Integral
▪ 1) Represent an arbitrary input signal x(t) as a continuum sum (integral) of
weighted and shifted impulse signals.
∞
𝑥(𝑡) = න 𝑥(𝜏)𝛿(𝑡 − 𝜏) 𝑑𝜏
−∞
(This also follows from the sifting property of the unit impulse.)
▪ The output of a causal system depends only on the present and past
values of the input. Hence, the convolution integral becomes
𝑡
𝑦(𝑡) = න 𝑥(𝜏)ℎ(𝑡 − 𝜏)𝑑𝜏
−∞
▪ Now, using the change of variables, 𝛼 = 𝑡 − 𝜏
0 ∞
𝑦(𝑡) = න ℎ(𝛼)𝑥(𝑡 − 𝛼)(−𝑑𝛼) = න ℎ(𝛼)𝑥(𝑡 − 𝛼)𝑑𝛼
∞ 0
which implies that for a causal LTI system ℎ(𝑡) = 0, 𝑡 < 0
Let 𝛼 = 𝑡 − 𝜏 ; 𝜏 = 𝑡 − 𝛼
𝑦(𝑡) = න𝑥(𝑡 − 𝛼)ℎ(𝛼)𝑑𝛼 = නℎ(𝛼)𝑥(𝑡 − 𝛼)𝑑𝛼 = ℎ(𝑡) ∗ 𝑥(𝑡)
LTI LTI
𝑥 𝑡 ℎ 𝑡 𝑦 𝑡 ≡ ℎ 𝑡
𝑥 𝑡
𝑦 𝑡
Associativity
▪ Convolution integral is associative.
𝑥(𝑡) ∗ ℎ1 (𝑡) ∗ ℎ2 (𝑡) = 𝑥(𝑡) ∗ ℎ1 (𝑡) ∗ ℎ2 (𝑡) = 𝑥(𝑡) ∗ ℎ1 (𝑡) ∗ ℎ2 (𝑡)
LTI LTI
𝑥(𝑡) 𝑦(𝑡)
ℎ1 (𝑡) ℎ2 (𝑡)
LTI LTI
𝑥(𝑡) 𝑦(𝑡)
ℎ2 (𝑡) ℎ1 (𝑡)
LTI
𝑥(𝑡) 𝑦(𝑡)
ℎ1 (𝑡) ∗ ℎ2 (𝑡)
Distributivity over addition
▪ Convolution integral is distributive over addition.
𝑦(𝑡) = 𝑥(𝑡) ∗ ℎ1 (𝑡) + ℎ2 (𝑡) = 𝑥(𝑡) ∗ ℎ1 (𝑡) + 𝑥(𝑡) ∗ ℎ2 (𝑡)
LTI
𝑥(𝑡) 𝑦(𝑡)
ℎ1 (𝑡) + ℎ2 (𝑡)
More Properties
▪ 1) The area under the convolution 𝑦(𝑡) = 𝑥(𝑡) ∗ ℎ(𝑡) is equal to the
product of the areas under the two signals 𝑥(𝑡) and ℎ(𝑡).
▪ Proof:
∞ ∞ ∞ ∞ ∞
න 𝑦(𝑡)𝑑𝑡 = න න 𝑥(𝜏)ℎ(𝑡 − 𝜏)𝑑𝜏 𝑑𝑡 = න 𝑥(𝜏) න ℎ(𝑡 − 𝜏)𝑑𝑡 𝑑𝜏
−∞ −∞ −∞ −∞ −∞
▪ 4) Derivative Property:
∞
𝑑𝛿(𝑡) 𝑑
𝑦(𝑡) = 𝑥(𝑡) ∗ = න 𝑥(𝜏) 𝛿(𝑡 − 𝜏) 𝑑𝜏
𝑑𝑡 −∞ 𝑑𝑡
interchanging the order of integration and differentiation
𝑑 ∞
= න 𝑥(𝜏)𝛿(𝑡 − 𝜏)𝑑𝜏
𝑑𝑡 −∞
𝑑
= 𝑥(𝑡)
𝑑𝑡
Evaluation: Special Examples
▪ 1) Special case: If 𝑥(𝑡) = 0, for 𝑡 < 0, then
∞ ∞
𝑥(𝑡) ∗ ℎ(𝑡) = න 𝑥(𝜏)ℎ(𝑡 − 𝜏)𝑑𝜏 = න 𝑥(𝜏)ℎ(𝑡 − 𝜏)𝑑𝜏
−∞ 0
▪ 2) Evaluate 𝑥(𝑡) ∗ 𝛿(𝑡) and 𝑥 𝑡 ∗ 𝛿 𝑡 − 𝑡0
∞ ∞
𝑥 𝑡 ∗ 𝛿 𝑡 = න 𝑥 𝜏 𝛿 𝑡 − 𝜏 𝑑𝜏 = 𝑥 𝑡 න 𝛿 𝑡 − 𝜏 𝑑𝜏 = 𝑥 𝑡
−∞ −∞
∞ ∞
𝑥 𝑡 ∗ 𝛿 𝑡 − 𝑡0 = න 𝑥 𝜏 𝛿 𝑡 − 𝑡0 − 𝜏 𝑑𝜏 = 𝑥 𝑡 − 𝑡0 න 𝛿 𝑡 − 𝑡0 − 𝜏 𝑑𝜏
−∞ −∞
= 𝑥 𝑡 − 𝑡0
▪ 3) Evaluate 𝑥(𝑡) ∗ 𝑢(𝑡)
∞
𝑥(𝑡) ∗ 𝑢(𝑡) = න 𝑥(𝜏)𝑢(𝑡 − 𝜏)𝑑𝜏
−∞
We note that 𝑢(𝑡 − 𝜏) = 1 only if 𝑡 − 𝜏 > 0 or 𝜏 < 𝑡. Therefore,
𝑡
𝑥(𝑡) ∗ 𝑢(𝑡) = න 𝑥(𝜏)𝑑𝜏
−∞
This is called an integrator.
Evaluation of Convolution Integral
▪ Calculation of 𝑥(𝑡) ∗ ℎ(𝑡) can be facilitated by its graphical interpretation
when one or both of the signals is defined in a piecewise fashion.
▪
▪ Step 1: Break the time axis into a number of intervals 𝑡𝑖−1 ≤ 𝑡 ≤ 𝑡𝑖 ,
where each interval 𝑡𝑖−1 , 𝑡𝑖 is chosen such that the product 𝑥(𝜏)ℎ(𝑡 − 𝜏)
has the same analytical form.
▪
▪ Step 2: For an arbitrary but fixed value of 𝑡 in the interval [𝑡𝑖−1 , 𝑡𝑖 ],
plot 𝑥(𝜏), ℎ(𝑡 − 𝜏) and the product 𝑥(𝜏)ℎ(𝑡 − 𝜏). Note that ℎ(𝑡 − 𝜏) is
obtained by reflecting ℎ(𝜏) about the origin ( = 0) and then
appropriately shifting the reflected signal.
𝜏 0 < 𝜏 < 2𝑇
ℎ(𝜏) = ቊ 𝜏
0 otherwise
▪ Interval 1 𝑡<0
𝑦(𝑡) = 0 since 𝑥(𝜏) and ℎ(𝑡 − 𝜏) do not overlap for 𝑡 < 0.
𝑥(𝜏)
h(𝑡 − 𝜏) 𝜏
𝜏
𝑡 − 2𝑇 𝑡
Example 2 (cont’d)
▪ Interval 2 0<𝑡<𝑇
𝑡−𝜏 0 < 𝑡 − 𝜏 < 2𝑇 𝑡−𝜏
𝑡 − 2𝑇 < 𝜏 < 𝑡
ℎ 𝑡−𝜏 =൜ =ቊ
0 otherwise 0 otherwise
∞ 𝑡 𝑡
1 2 1 2
𝑦(𝑡) = න 𝑥(𝜏)ℎ(𝑡 − 𝜏)𝑑𝜏 = න (𝑡 − 𝜏)𝑑𝜏 = 𝑡𝜏 − 𝜏 = 𝑡
−∞ 0 2 0
2
𝑥(𝜏)
h(𝑡 − 𝜏)
𝜏
𝑡 − 2𝑇 0 𝑡
Example 2 (cont’d)
▪ Interval 3 𝑇 < 𝑡 < 2𝑇
∞ 𝑇
1 2
𝑦(𝑡) = න 𝑥(𝜏)ℎ(𝑡 − 𝜏)𝑑𝜏 = න (𝑡 − 𝜏)𝑑𝜏 = 𝑇𝑡 − 𝑇
−∞ 0 2
𝑥(𝜏)
𝜏
Example 2 (cont’d)
▪ Interval 4 2𝑇 < 𝑡 < 3𝑇
𝑇 1 3
𝑦(𝑡) = න (𝑡 − 𝜏)𝑑𝜏 = − 𝑡 2 + 𝑇𝑡 + 𝑇 2
𝑡−2𝑇 2 2
𝑥(𝜏)
h(𝑡 − 𝜏)
𝜏
0 𝑡 − 2𝑇 𝑡
Example 2 (cont’d) 𝑥(𝜏)
▪ Interval 5 𝑡 > 3𝑇
𝑦(𝑡) = 0
h(𝑡 − 𝜏)
0 𝑡 − 2𝑇 𝑡
▪ Final Solution:
0 𝑡<0
1 2
𝑡 0 < t < T
2
1
𝑦(𝑡) = 𝑇𝑡 − 𝑇 2 T < t < 2T
2
1 2 3 2
− 𝑡 + 𝑇𝑡 + 𝑇 2T < t < 3T
2 2
0 𝑡 > 3T
Try Yourself
▪ Convolve
𝑥(𝑡)
2
𝑡
-1 0 2
and
ℎ 𝑡 = 𝑢 𝑡 + 3 − 𝑢(𝑡 − 1)