Assignment 01 - Solutions
Assignment 01 - Solutions
(a) x(-t)
x(-t)
0.5
-12 -6
-24 -15 0 t
-1
(b) x(t+6)
x(t+6)
0.5
0 6 9 18 t
-1
(c) x(3t)
x(3t)
0.5
2
0 5 8 t
-1
(d) x(t/2)
x(t/2)
0.5
t
0 12 30 48
-1
Problem 2: Consider the system whose input-output relationship is given by the linear equation
𝑦(𝑡) = 𝑎𝑥(𝑡) + 𝑏
where x(t) and y(t) are input and output of the system, respectively, and a and b are constants. Is
this system linear? If not, under what condition that the system will become linear?
Solution:
Hence additive property is not satisfied. We can conclude that the system is not linear. For your
interest, let’s check the homogenous property.
Solution:
# ! (%)
Let 𝑦 = 𝑀[𝑥(𝑡)] = '#⁄'%
"
𝑐-𝑥 (𝑡 ).
𝑐𝑀[𝑥(𝑡)] =
𝑑𝑥(𝑡)⁄𝑑𝑡
Clearly 𝑀[𝑥! (𝑡) + 𝑥" (𝑡)] ≠ 𝑀[𝑥! (𝑡)] + 𝑀[𝑥" (𝑡)]. So additive property is not satisfied and the
system is not linear
Solution:
(1)
When 𝑎 > 1, the output 𝑦(𝑡) is obtained by time compression of the input by factor 𝑎. Hence,
the output can start before the input (see figure below), and the system is not causal.
𝑦(𝑡)
𝑥(𝑡)
𝑡! 𝑡" 𝑡" 𝑡
𝑡!
𝑎 𝑎
When 𝑎 < 1, the output 𝑦(𝑡) is obtained by time expansion of the input by factor 𝑎. Hence, the
output can start before the input (see figure below), and the system is not causal
𝑥(𝑡)
𝑦(𝑡)
𝑡! 𝑡! 𝑡" 𝑡" 𝑡
𝑎 𝑎
(2)
Consider an arbitrary input 𝑥! (𝑡). The corresponding output is 𝑦! (𝑡) = 𝑥! (𝑎𝑡). Output is
obtained by replacing 𝑡 in the input with 𝑎𝑡.
Consider a second input 𝑥" (𝑡) = 𝑥! (𝑡 − 𝑡) ). The corresponding output is
𝑡)
𝑦" (𝑡) = 𝑥" (𝑎𝑡) = 𝑥! (𝑎𝑡 − 𝑡) ) = 𝑥! =𝑎 >𝑡 − ?@
𝑎
Also note that
𝑦! (𝑡 − 𝑡) ) = 𝑥-𝑎(𝑡 − 𝑡) ). ≠ 𝑦" (𝑡)
Therefore, the system is not time-invariant.
Solution:
(a)
0 𝑡<0
𝑥! (𝑡) → 𝑦! (𝑡) = A ( )
𝑥! 𝑡 − 𝑥! (𝑡 − 2) 𝑡 ≥ 0
If the input is 𝑥" (𝑡) = 𝑐𝑥! (𝑡), the new output is
0 𝑡<0
𝑦" (𝑡) = A ( ) = 𝑐𝑦! (𝑡)
𝑐𝑥! 𝑡 − 𝑐𝑥! (𝑡 − 2) 𝑡 ≥ 0
Hence homogeneous property is satisfied.
0 𝑡<0
𝑥! (𝑡) → 𝑦! (𝑡) = A ( )
𝑥! 𝑡 − 𝑥! (𝑡 − 2) 𝑡 ≥ 0
0 𝑡<0
𝑥" (𝑡) → 𝑦" (𝑡) = A ( )
𝑥" 𝑡 − 𝑥" (𝑡 − 2) 𝑡 ≥ 0
0 𝑡<0
𝑥! (𝑡) + 𝑥" (𝑡) → 𝑦* (𝑡) = A (𝑡) (𝑡 (𝑡
𝑥! + 𝑥" (𝑡) − 𝑥! − 2) − 𝑥" − 2) 𝑡 ≥ 0
= 𝑦! (𝑡) + 𝑦" (𝑡)
Hence additive property is satisfied.
(b)
Consider an arbitrary input 𝑥! (𝑡). The corresponding output is
0 𝑡<0
𝑦! (𝑡) = A ( )
𝑥! 𝑡 − 𝑥! (𝑡 − 2) 𝑡 ≥ 0
Consider a second input 𝑥" (𝑡) = 𝑥! (𝑡 − 𝑡) ). The corresponding output is
0 𝑡<0
𝑦" (𝑡) = A ( )
𝑥" 𝑡 − 𝑥" (𝑡 − 2) 𝑡 ≥ 0
0 𝑡<0
=A (
𝑥! 𝑡 − 𝑡) ) − 𝑥! (𝑡 − 𝑡) − 2) 𝑡 ≥ 0
Note that
0 𝑡 − 𝑡) < 0
𝑦! (𝑡 − 𝑡) ) = A
𝑥! (𝑡 − 𝑡) ) − 𝑥! (𝑡 − 𝑡) − 2) 𝑡 − 𝑡) ≥ 0
Since 𝑦" (𝑡) ≠ 𝑦! (𝑡 − 𝑡) ), the system is not time-invariant.
Problem 7:
Given input signal 𝑥! (𝑡), the output of an LTI system is 𝑦! (𝑡). Plots of 𝑥! (𝑡) and 𝑦! (𝑡) are
shown below. Let 𝑦" (𝑡) be the new output corresponding to input of 𝑥" (𝑡). Determine and
sketch the responses of the system 𝑦" (𝑡). (refer to example 5 of lecture 4 for help)
1.5 2.5
x1(t) y1(t)
2
1
1.5
0.5 1
0.5
0
0
-0.5 -0.5
-2 0 2 4 6 -2 0 2 4 6
2.5
x2(t)
2
1.5
1
0.5
0
-0.5
-2 -1 0 1 2 3 4
Solution:
Input 𝑥" (𝑡) can be expressed using input 𝑥! (𝑡), i.e.
𝑥" (𝑡) = 𝑥! (𝑡) + 𝑥! (𝑡 + 1)
Since this is a LTI system, thus output 𝑦* (𝑡) is
𝑦* (𝑡) = 𝑦! (𝑡) + 𝑦! (𝑡 + 1)
Sketch of 𝑦" (𝑡) is shown below.
2.5
y2(t)
2
1.5
1
0.5
0
-0.5
-2 -1 0 1 2 3 4 5 6