Week5 Practice Problems
Week5 Practice Problems
Week5 Practice Problems
5.3 (a) 𝜋 𝜋
𝑥[𝑛] = sin( 𝑛 + )
3 4
2𝜋 2𝜋
𝑥[𝑛]𝑖𝑠𝑝𝑒𝑟𝑖𝑜𝑑𝑖𝑐𝑤𝑖𝑡ℎ𝑁 = = 𝜋 =6
𝜔0
3
1 𝑗(𝜋𝑛+𝜋) 𝜋𝑛 𝜋
−𝑗( + )
𝑥[𝑛] = [𝑒 3 4 − 𝑒 3 4 ]
2𝑗
𝜋 𝜋
𝑒 𝑗 4 𝑗𝜋𝑛 𝑒 −𝑗 4 −𝑗𝜋𝑛
= 𝑒 3 − 𝑒 3
2𝑗 2𝑗
𝜋 𝜋
𝑒 𝑗4 𝑗
𝜋𝑛
−𝑗
𝜋𝑛 𝑒 −𝑗 4
= 𝜋𝑒 + 𝜋𝑒3 3
𝑗 −𝑗
2𝑒 2 2𝑒 2
1 −𝑗𝜋 𝑗𝜋𝑛 1 𝑗𝜋 −𝑗𝜋𝑛
= 𝑒 4𝑒 3 + 𝑒 4𝑒 3
2 2
= ∑ 𝑎𝑘 𝑒 𝑗𝑘𝜋𝑛/3
𝑘=<𝑁>
Hence,
𝜋 𝜋
1 1
𝑎1 = 𝑒 −𝑗 4 , and 𝑎−1 = 𝑒 𝑗 4
2 2
∞
𝑗𝜔
𝑋(𝑒 ) = ∑ 2𝜋𝑎𝑘 𝛿(𝜔 − 𝑘𝜔0 )
𝑘=−∞
𝜋 𝜋
= 2𝜋𝑎1 𝛿 (𝜔 − ) + 2𝜋𝑎−1 𝛿 (𝜔 + )
3 3
−𝑗
𝜋 𝜋 𝑗
𝜋 𝜋
= 𝜋𝑒 4 𝛿 (𝜔 − ) + 𝜋𝑒 4 𝛿 (𝜔 + )
3 3
𝑋(𝑒 𝑗𝜔 ) is periodic with period 2π.
EEE203
Dr. Chao Wang Practice Problems Week 5 Solutions Page 2 of 10
∞
5.4 (a) 𝜋 𝜋
𝑗𝜔
𝑋(𝑒 ) = ∑ {2𝜋𝛿(𝜔 − 2𝜋𝑘) + 𝜋𝛿 (𝜔 − − 2𝜋𝑘) + 𝜋𝛿 (𝜔 + − 2𝜋𝑘)}
2 2
𝑘=−∞
Differentiation in frequency –
𝐹 𝑑𝑋(𝑒 𝑗𝜔 )
𝑛𝑥[𝑛] ↔ 𝑗 (𝑇𝑎𝑏𝑙𝑒5.1: 𝑑𝑖𝑓𝑓𝑒𝑟𝑒𝑛𝑡𝑖𝑎𝑡𝑖𝑜𝑛𝑖𝑛𝑓𝑟𝑒𝑞𝑢𝑒𝑛𝑐𝑦)
𝑑𝜔
Further differentiation in frequency:
𝑗𝑑𝑋(𝑒 𝑗𝜔 )
𝑑(
𝐹 𝑑𝜔 ) 𝑑2 𝑋(𝑒 𝑗𝜔 ) 𝑑2 𝑋(𝑒 𝑗𝜔 )
2
𝑛 𝑥[𝑛] ↔ 𝑗 = 𝑗2 = −
𝑑𝜔 𝑑𝜔 2 𝑑𝜔 2
Hence,
𝐹 𝑑2 𝑋(𝑒 𝑗𝜔 ) 𝑑𝑋(𝑒 𝑗𝜔 )
𝑥3 [𝑛] ↔ − − 2𝑗 + 𝑋(𝑒 𝑗𝜔 )(𝑇𝑎𝑏𝑙𝑒5.1:𝑙𝑖𝑛𝑒𝑎𝑟𝑖𝑡𝑦)
𝑑𝜔 2 𝑑𝜔
5.13 1 𝑛
ℎ1 [𝑛] = ( ) 𝑢[𝑛]
3
ℎ[𝑛] = ℎ1 [𝑛] + ℎ2 [𝑛](ℎ1 [𝑛]𝑎𝑛𝑑ℎ2 [𝑛]𝑖𝑛𝑝𝑎𝑟𝑎𝑙𝑙𝑒𝑙)
𝐻(𝑒 𝑗𝜔 ) = 𝐻1 (𝑒 𝑗𝜔 ) + 𝐻2 (𝑒 𝑗𝜔 )(𝑇𝑎𝑏𝑙𝑒5.1:𝑙𝑖𝑛𝑒𝑎𝑟𝑖𝑡𝑦)
1 𝑛 𝐹 1 3
ℎ1 [𝑛] = ( ) 𝑢[𝑛] ↔ 𝐻1 (𝑒 𝑗𝜔 ) = = (𝑇𝑎𝑏𝑙𝑒5.2)
3 1 −𝑗𝜔
1 − 𝑒 −𝑗𝜔 3 − 𝑒
3
𝐻2 (𝑒 𝑗𝜔 ) = 𝐻(𝑒 𝑗𝜔 ) − 𝐻1 (𝑒 𝑗𝜔 )
−12 + 5𝑒 −𝑗𝜔 3
= −𝑗𝜔 −2𝑗𝜔
−
12 − 7𝑒 +𝑒 3 − 𝑒 −𝑗𝜔
1 −12 + 5𝑒 −𝑗𝜔
= ( − 3)
3 − 𝑒 −𝑗𝜔 4 − 𝑒 −𝑗𝜔
1 −12 + 5𝑒 −𝑗𝜔 − 12 + 3𝑒 −𝑗𝜔
=
3 − 𝑒 −𝑗𝜔 4 − 𝑒 −𝑗𝜔
−24 + 8𝑒 −𝑗𝜔
=
(3 − 𝑒 −𝑗𝜔 )(4 − 𝑒 −𝑗𝜔 )
8
= −
(4 − 𝑒 −𝑗𝜔 )
2
= − (𝑇𝑎𝑏𝑙𝑒5.2)
1
(1 − 4 𝑒 −𝑗𝜔 )
1 𝑛
ℎ2 [𝑛] = −2 ( ) 𝑢[𝑛]
4
5.20 (a) 4 𝑛 𝐹 1
𝑥[𝑛] = ( ) 𝑢[𝑛] ↔ 𝑋(𝑒 𝑗𝜔 ) =
5 4
1 − 𝑒 −𝑗𝜔
5
4 𝑛 𝐹 𝑑𝑋(𝑒 𝑗𝜔 )
𝑦[𝑛] = 𝑛 ( ) 𝑢[𝑛] = 𝑛𝑥[𝑛] ↔ 𝑌(𝑒 𝑗𝜔 ) = 𝑗
5 𝑑𝜔
EEE203
Dr. Chao Wang Practice Problems Week 5 Solutions Page 4 of 10
𝑑𝑋(𝑒 𝑗𝜔 )
𝑌(𝑒 𝑗𝜔 ) = 𝑗
𝑑𝜔
𝑑 1 1 ′ 𝑢′
= 𝑗 ( )[( ) = − 2 ]
𝑑𝜔 1 − 4 𝑒 −𝑗𝜔 𝑢 𝑢
5
4
−𝑗 (− ) (−𝑗)𝑒 −𝑗𝜔
= 5
2
4
(1 − 𝑒 −𝑗𝜔 )
5
4 −𝑗𝜔
𝑒
= 5
2
4
(1 − 𝑒 −𝑗𝜔 )
5
𝑌(𝑒 𝑗𝜔 )
𝐻(𝑒 𝑗𝜔 ) =
𝑋(𝑒 𝑗𝜔 )
4 −𝑗𝜔
𝑒
= 5
4
1 − 𝑒 −𝑗𝜔
5
5.20 (b) 4 4
𝑌(𝑒 𝑗𝜔 ) (1 − 𝑒 −𝑗𝜔 ) = 𝑋(𝑒 𝑗𝜔 ) 𝑒 −𝑗𝜔
5 5
𝐹
−𝑗𝜔𝑛 𝑗𝜔
𝑥[𝑛 − 𝑛0 ] ↔ 𝑒 0 𝑋(𝑒 )(𝑇𝑎𝑏𝑙𝑒5.1:𝑡𝑖𝑚𝑒𝑠ℎ𝑖𝑓𝑡𝑖𝑛𝑔)
4 4
𝑦[𝑛] − 𝑦[𝑛 − 1] = 𝑥[𝑛 − 1]
5 5
4 4
𝑦[𝑛] = 𝑦[𝑛 − 1] + 𝑥[𝑛 − 1]
5 5
5.33 (a) 1
𝑦[𝑛] + 𝑦[𝑛 − 1] = 𝑥[𝑛]
2
1
𝑌(𝑒 ) + 𝑒 −𝑗𝜔 𝑌(𝑒 𝑗𝜔 ) = 𝑋(𝑒 𝑗𝜔 )(𝑇𝑎𝑏𝑙𝑒5.1: 𝑡𝑖𝑚𝑒𝑠ℎ𝑖𝑓𝑡𝑖𝑛𝑔)
𝑗𝜔
2
𝑌(𝑒 𝑗𝜔 ) 1
𝐻(𝑒 𝑗𝜔 ) = =
𝑗𝜔 1
𝑋(𝑒 ) 1 + 𝑒 −𝑗𝜔
2
5.33 (b) 1 𝑛 1
𝑥[𝑛] = ( ) 𝑢[𝑛] ↔ 𝑋(𝑒 𝑗𝜔 ) =
(i) 2 1
1 − 2 𝑒 −𝑗𝜔
EEE203
Dr. Chao Wang Practice Problems Week 5 Solutions Page 5 of 10
5.33 (b) 1
𝑥[𝑛] = 𝛿[𝑛] − 𝛿[𝑛 − 1]
(iv) 2
1
𝑋(𝑒 𝑗𝜔 ) = 1 − 𝑒 −𝑗𝜔
2
1
1 − 2 𝑒 −𝑗𝜔 2
𝑗𝜔 𝑗𝜔 𝑗𝜔
𝑌(𝑒 ) = 𝑋(𝑒 )𝐻(𝑒 ) = = −1 +
1 −𝑗𝜔 1 −𝑗𝜔
1 + 2𝑒 1 + 2𝑒
1 𝑛
𝑦[𝑛] = −𝛿[𝑛] + 2 (− 2) 𝑢[𝑛] (𝑇𝑎𝑏𝑙𝑒5.2)
5.33 (c) 1
1 + 2 𝑒 −𝑗𝜔
(ii) 𝑋(𝑒 𝑗𝜔 ) =
1
1 − 4 𝑒 −𝑗𝜔
1
1 + 𝑒 −𝑗𝜔 1 1
𝑌(𝑒 𝑗𝜔
) = 𝑋(𝑒 𝑗𝜔
)𝐻(𝑒 𝑗𝜔
)= 2 = (𝑇𝑎𝑏𝑙𝑒5.2)
1 1 1
1 − 4 𝑒 −𝑗𝜔 1 + 2 𝑒 −𝑗𝜔 1 − 4 𝑒 −𝑗𝜔
1 𝑛
𝑦[𝑛] = ( ) 𝑢[𝑛]
4
𝐻(𝑒 𝑗𝜔 )𝐺(𝑒 𝑗𝜔 ) = 1
5.36 (b) 1
𝑦[𝑛] = 𝑥[𝑛] − 𝑥[𝑛 − 1]
(i) 4
1
𝑌(𝑒 ) = 𝑋(𝑒 ) − 𝑒 −𝑗𝜔 𝑋(𝑒 𝑗𝜔 )
𝑗𝜔 𝑗𝜔
4
𝑗𝜔
𝑌(𝑒 ) 1
𝐻(𝑒 𝑗𝜔 ) = 𝑗𝜔
= 1 − 𝑒 −𝑗𝜔
𝑋(𝑒 ) 4
Inverse system –
1 1
𝐺(𝑒 𝑗𝜔 ) = =
𝑗𝜔
𝐻(𝑒 ) 1 − 𝑒 −𝑗𝜔 1
4
1 𝑛
𝑔[𝑛] = ( ) 𝑢[𝑛]
4
To get difference equation,
1 𝑌(𝑒 𝑗𝜔 )
𝐺(𝑒 𝑗𝜔 ) = =
1 𝑗𝜔
1 − 4 𝑒 −𝑗𝜔 𝑋(𝑒 )
1
𝑌(𝑒 𝑗𝜔 ) (1 − 𝑒 −𝑗𝜔 ) = 𝑋(𝑒 𝑗𝜔 )
4
1
𝑦[𝑛] − 𝑦[𝑛 − 1] = 𝑥[𝑛]
4
7.2 (a) Because x(t) is obtained at the output of an ideal lowpass filter,
(b) |𝑋(𝑗𝜔)| = 0𝑓𝑜𝑟|𝜔| > 𝜔𝑐 = 1000𝜋
(c) Hence,
𝜔𝑀 < 𝜔𝑐 = 1000𝜋
Hence,
𝜔𝑀 = 4000𝜋 ⇒ 𝑁𝑦𝑞𝑢𝑖𝑠𝑡𝑟𝑎𝑡𝑒 = 2𝜔𝑀 = 8000𝜋𝑟𝑎𝑑/ sec = 4000𝐻𝑧
𝑡 < −2 : 𝑦(𝑡) = 0
−2 ≤ 𝑡 < 0 : 𝑦(𝑡) = 𝑡 + 2
0≤𝑡<2 : 𝑦(𝑡) = 2 − 𝑡
𝑡≥2 : 𝑦(𝑡) = 0
Hence,
EEE203
Dr. Chao Wang Practice Problems Week 5 Solutions Page 8 of 10
Because 𝜔𝑀 = 𝜔0 /2 for x(t), suppose X(jω) looks like the following figure:
3𝜔0
𝜔𝑀 = 𝑓𝑜𝑟𝑌(𝑗𝜔)
2
𝐻𝑒𝑛𝑐𝑒, 𝑁𝑦𝑞𝑢𝑖𝑠𝑡𝑟𝑎𝑡𝑒𝑖𝑠3𝜔0
7.9 2
𝑠𝑖 𝑛(50𝜋𝑡)
𝑥(𝑡) = ( )
𝜋𝑡
= 75 ∑ 𝑋(𝑗(𝜔 − 𝑘𝜔𝑠 ))
𝑘=−∞
2𝜋 1
𝐻𝑒𝑟𝑒, 𝜔𝑠 = 150𝜋, 𝑇𝑠 = =
𝜔𝑠 75