Midterm Solutions 2014
Midterm Solutions 2014
Midterm
Name: SOLUTION
Student ID number:
• Write all answers in this booklet. Answers written elsewhere will not be graded. Both
Korean and English are allowed.
• This is a closed-book exam except for three A4 sheets that are allowed.
• A correct answer does not guarantee full credit and a wrong answer does not guarantee
loss of credit. You should concisely indicate your reasoning and show all relevant work.
The grade on each problem is based on our judgement of your level of understanding
as reflected by what you have written.
Problem Score
#1 /30
#2 /20
#3 /20
#4 /30
Total /100
1
Problem M.1
(a) Compute and simplify δ[n − 1] ∗ δ[n − 3] ∗ δ[n − 5] ∗ (−1)n u[n] ∗ δ[n + 8] + (−1)n u[n].
(b) Consider a continuous-time LTI system with ∫impulse response h(t) such that
∞
H(j(−ω)) = H(jω) for all ω, where H(jω) = −∞ h(t)e−jωt dt. Show that cos ω0 t
is an eigenfunction of this LTI system. Find an LTI system where cos ω0 t is not an
eigenfunction.
Answer:
= δ[n]
2
(b) x(t) = cos ω0 t = 21 ejω0 t + 21 e−jω0 t
= H(jω0 ) cos ω0 t
1n
(c) h(n) = 2
u[n], x(n) = αn u[n], y(n) = x[n] ∗ h[n]
∑n
i > α ̸= 21 , y[n] = k=0 αk ( 21 )n−k
∑n ∑n
= ( 12 )n k=0 αk 2k = ( 21 )n k=0 (2α)
k
n+1
= ( 21 )n 1−(2α)
1−2α
= 1
( 1 )n
1−2α 2
− 2α
1−2α
αn
∑n
ii > α = 12 , y[n] = 1 n
k=0 ( 2 ) = ( 12 )n (n + 1)
3
Problem M.2
∑
∞
y[n] = x[k]g[n + k]
k=−∞
between its input x[n] and its output y[n] for g[n] = ( 21 )n u[n]. Is this system linear ?
Is this system TI ?
∑
∞
y[n] = x[k]g[−n + k]
k=−∞
between its input x[n] and its output y[n] for some g[n]. Is this system linear ? Is
this system TI ?
Answer:
∑
∞
x2 [n] → y2 [n] = x2 [k]g[n + k]
k=−∞
∑
∞
ax1 [n] + bx2 [n] = x3 [n] → y3 [n] = x3 [k]g[n + k]
k=−∞
∑∞
= (ax1 [k] + bx2 [k])g[n + k]
k=−∞
∑∞
= (ax1 [k]g[n + k] + bx2 [k]g[n + k])
k=−∞
∑∞ ∑
∞
=a x1 [k]g[n + k] + b x2 [k]g[n + k]
k=−∞ k=−∞
4
To check the time invariance, assume x[n] = δ[n]. Then,
∑
∞
x1 [n] = δ[n] → y1 [n] = δ[k]g[n + k]
k=−∞
= g[n]
∑
∞
x2 [n] = x1 [n − 1] = δ[n − 1] → y2 [n] = δ[k − 1]g[n + k]
k=−∞
= g[n + 1]
̸= y1 [n − 1]
Note that y1 [n − 1] = g[n − 1]. Thus, the system is time variant. (5 points)
(b) (10 points)
Let h[n] := g[−n] so that g[−n + k] = h[n − k]. Then
∑
∞ ∑
∞
y[n] = x[k]g[−n + k] = x[k]h[n − k]
k=−∞ k=−∞
Since the right side of the above formula is a convolution of x[n] and h[n], it is
straightforward to conclude that the system is LTI. (10 point)
Alternatively, the linearity and time invariance can also be checked in a step-by-step
way. We first check the linearity as follows:
∑
∞
x1 [n] → y1 [n] = x1 [k]h[n − k]
k=−∞
∑∞
x2 [n] → y2 [n] = x2 [k]h[n − k]
k=−∞
∑
∞
ax1 [n] + bx2 [n] = x3 [n] → y3 [n] = x3 [k]h[n − k]
k=−∞
∑∞
= (ax1 [k] + bx2 [k])h[n − k]
k=−∞
∑∞
= (ax1 [k]h[n − k] + bx2 [k]h[n − k])
k=−∞
∑∞ ∑
∞
=a x1 [k]h[n − k] + b x2 [k]h[n − k]
k=−∞ k=−∞
5
Thus, the system is linear. (5 points)
We check the time invariance as follows:
∑
∞
x1 [n] → y1 [n] = x1 [k]h[n − k]
k=−∞
∑
∞
x1 [n − n0 ] = x2 [n] → y2 [n] = x2 [k]h[n − k]
k=−∞
∑∞
= x1 [k − n0 ]h[n − k]
k=−∞
∑∞
= x1 [k1 ]h[n − n0 − k1 ]
k=−∞
= y1 [n − n0 ]
6
Problem M.3
Answer:
∑
∞ ∑
∞ ∑
∞
y[n] = x[k] h[n − k] (+3 points)
n=−∞ n=−∞ k=−∞
∑∞ ∑∞ ∑
∞ ∑
∞
= x[k] h[n − k], since x[n], h[n] are finite,
k=−∞ n=−∞ n=−∞ n=−∞
∑∞ ∑∞
= x[k] h[n − k]
k=−∞ n=−∞
∑∞ ∑∞
= x[k] h[m], by letting m = n − k,
k=−∞ m=−∞
∑∞
= x[k] = 1. (+10 points)
k=−∞
- Any resonable arguments for the commutative relation get full points.
7
Problem M.4
We have a series interconnection of four LTI systems as shown in the figure below.
The four LTI systems, S1 , S2 , S3 , and S4 , have the corresponding impulse responses
h1 (t), h2 (t), h3 (t), and h4 (t), where each system has the following characteristic:
∫∞
• S4 : The eigenvalue H4 (jω) = −∞ h4 (t)e−jωt dt for the eigenfunction ejωt is given by
{
1, |w| > 3π
16
H4 (jω) =
0, otherwise
(b) Now consider a periodic square wave with fundamental period T which is defined
over one period as {
1, |t| < T1
x(t) =
0, T1 < |t| < T /2,
and determine the corresponding system output y(t), when T = 16 and T1 = 2 for
the input x(t).
8
Answer:
(a)
(b) ∑ ∑∞
h1 ∗ h3 = ∞ k=0 (−0.1) δ(t − k) + 0.1
k
k=0 (−0.1) δ(t − k − 1)
k
= δ(t)
if 3π
16
< |kw0 | < 5π
16
H2 (jkw0 )H4 (jkw0 ) = 1
otherwise 0
∴ y(t) = ( π1 )cos( π4 t)