Vize
Vize
Vize
Name:__SOLUTIONS_________________
Total 1 2 3
Midterm Exam
ID:_____________________ Gr:____ 100 30 40 30
Date: Apr. 28, 2022
a) (10 pts.) Graphically compute and plot the even and odd parts of 𝑥1 (𝑡)
𝑡−1
𝑦(𝑡) = 2 ∫ sin(3𝜏) 𝑥(𝜏)𝑑𝜏
−∞
b) (20 pts.) For another LTI system with the impulse response of
find its step response (to the input 𝑥(𝑡) = 𝑢(𝑡)) using the convolution integral
a) Linear?
𝑡−1 𝑡−1 𝑡−1
𝑦(𝑡) = 2 ∫ sin(3𝜏) [𝑥1 (𝜏) + 𝑎𝑥2 (𝜏)]𝑑𝜏 = 2 ∫ sin(3𝜏) 𝑥1 (𝜏)𝑑𝜏 + 𝑎 ⋅ 2 ∫ sin(3𝜏) 𝑥2 (𝜏)𝑑𝜏 = 𝑦1 + 𝑎𝑦2 (𝑡)
−∞ −∞ −∞
So, it is linear.
Time-invariant?
Is the delayed output
𝑡−𝑇−1
𝑦(𝑡 − 𝑇) = 2 ∫ sin(3𝜏) 𝑥(𝜏)𝑑𝜏 (∗)
−∞
Equals to the delayed input response
𝑡−1
2∫ sin(3𝜏) 𝑥(𝜏 − 𝑇)𝑑𝜏
−∞
For clarity, define a change of variable 𝜏 − 𝑇 = 𝜆 when 𝜏 = 𝑡 − 1 then 𝜆 = 𝑡 − 1 − 𝑇 and 𝑑𝜏 = 𝑑𝜆, thus
𝑡−1−𝑇
2∫ sin(3(𝜆 + 𝑇)) 𝑥(𝜆)𝑑𝜏
−∞
sin(3𝑡) is not equal to sin(3(𝑡 + 𝑇)) ∀𝑇 ≠ 2𝜋𝑘/3 𝑓𝑜𝑟 𝑘 = 0 ± 1 ± 2 ….
So, time varying. Or, pick 𝑥(𝑡) = 𝑢(𝑡) and 𝑇 = 1 and show this counter example to prove it is time varying.
BIBO Stable?
Let |𝑥(𝑡)| < 𝐵1 ∀𝑡, then
𝑡−1
2𝐵1 4𝐵1
𝑦(𝑡) ≤ |2 ∫ sin(3𝜏) 𝐵1 𝑑𝜏| = | cos(3𝜏)|𝑡−1
∞ |< <∞
−∞ 3 3
So, BIBO stable.
Causal?
For 𝑥 = 0 → 𝑦 = 0 and the output at time 𝑡 depends only on the past inputs, so, causal.
𝑅2 = {𝜎 < 0} is the ROC of the anti-causal part and can’t include any (a.c.) poles. So, the pole 0 are a.c. pole.
3(𝑠+1)−3
𝐻𝑐 (𝑠) = (𝑠+1)2 → Inverse Laplace transform thru the Table ℎ𝑐 (𝑡) = 3𝑒 −𝑡 [cos 𝑡 − sin 𝑡]𝑢(𝑡)
+1
2
Only 𝐺(𝑠) = 𝐻𝑎𝑐 (−𝑠) = − 𝑠 Inverse transform may be obtained thru the Table as 𝑔(𝑡) = −2𝑢(𝑡). Thus,
𝑑𝑢
= 𝛿(𝑡).
𝑑𝑡
𝑡 𝑡
𝑢(𝑡) = ∫−∞ 𝛿(𝑎)𝑑𝑎 ⇒ ∫𝑡 2 𝛿(𝑎 − 1)𝑑𝑎 = 𝑢(𝑡2 − 1) − 𝑢(𝑡1 − 1) .
1
𝑡 𝑡
𝑟(𝑡) = 𝑡𝑢(𝑡) = ∫−∞ 𝑢(𝑎)𝑑𝑎 ⇒ ∫𝑡 2 𝑢(𝑎 − 1)𝑑𝑎 = 𝑟(𝑡2 − 1) − 𝑟(𝑡1 − 1).
1
Laplace Transform
∞
𝑋(𝑠) = ∫−∞ 𝑥(𝑡)𝑒 −𝑠𝑡 𝑑𝑡, 𝑠 ∈ 𝑅𝑂𝐶.
Fourier series
𝑥(𝑡) = ∑∞
𝑘=−∞ 𝑋𝑘 𝑒
𝑗𝛺𝑜 𝑘𝑡
with 𝑋𝑘 =
1 𝑡𝑜 +𝑇𝑜
∫
𝑇𝑜 𝑡𝑜
𝑥(𝑡)𝑒 −𝑗𝑘𝛺𝑜 𝑡 𝑑𝑡 or 𝑋𝑘 =
1
𝑋 (𝑠)|𝑠=𝑗𝛺𝑜 𝑘
𝑇0 1
Fourier Transform
∞
𝑋(𝛺) = ∫−∞ 𝑥(𝑡)𝑒 −𝑗𝛺𝑡 𝑑𝑡 or 𝑋(𝛺) =
𝑋(𝑠)|𝑠=𝑗𝛺 if 𝑠 = 𝑗𝛺 exists in ROC
Some Integrals:
1 1
∫ sin2 𝑤𝑡 𝑑𝑡 = 𝑡 − sin (2𝑤𝑡)
2 4𝑤
1 1
∫ cos2 𝑤𝑡 𝑑𝑡 = 𝑡 + sin (2𝑤𝑡)
2 4𝑤
1
∫ 𝑒 𝑎𝑡 sin 𝑤𝑡 𝑑𝑡 = 2 𝑒 𝑎𝑡 [𝑎 sin 𝑤𝑡 − 𝑤 cos 𝑤𝑡]
𝑎 + 𝑤2
1
∫ 𝑒 𝑎𝑡 cos 𝑤𝑡 𝑑𝑡 = 2 𝑒 𝑎𝑡 [𝑤 sin 𝑤𝑡 + 𝑎 cos 𝑤𝑡]
𝑎 + 𝑤2