HW 1
HW 1
UCI
Nasser M. Abbasi
Contents
1 Problem 2.2 1
2 Problem 2.3 2
3 Problem 2.5 4
3.1 part 1 . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 4
3.2 part 2 . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 5
3.3 part 3 . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 5
1 Problem 2.2
The impulse response of an ideal lowpass filter is given by
sin 2ω (t − t0 )
g (t) = 2ω
2ω (t − t0 )
for all t, where ω,t0 are constants. Is the ideal lowpass filter causal? Is it possible to build the
filter in the real world?
Answer
A system is causal when its output measured at time t depends only on its the input at time t
and possibly input before that.
Equivalently we can say that a system is causal if its impulse response is always zero when
observed at any time before the time of applying the impulse itself.
For the above case, assume that the impulse to the lowpass filter was applied at time t0 and let
us observe the response of the system at some t < t0 , The output of the system must be zero for all
time before t0 for it to be a causal system. (Otherwise we are observing a response before applying
the input).
But we can find at least one t < t0 such that g (t) 6= 0, hence not causal
Since it is not causal, it is not possible to build in real world . That is why it is called ideal.
For example, assume t0 = 5 and let t = 4 then we get
1
which is not zero unless ω was zero. Since we found at least one time instance before the
application of the impulse where the output is not zero, this system is not causal.
2 Problem 2.3
Consider a system whose input u (t) and y (t) are related by
u (t)
t≤α
y (t) = Pα (u (t)) =
0
t>α
2
(a w (t) + b v (t))
t≤α
Pα (a w (t) + b v (t)) =
0 t>α
a w (t)
t≤α b v (t)
t≤α
= +
0 t>α 0 t>α
w (t)
t≤α v (t)
t≤α
=a +b
0
t>α 0
t>α
= aPα (w (t)) + b Pα (v (t))
3
3 Problem 2.5
Consider a system with input u and output y. 3 experiments are performed on the system using
the input u1 , u2 , u3 for t ≥ 0. In each case the initial state x (0) time time t = 0 is the same. The
corresponding output are denoted by y1 , y2 , y3 . which is of the following statements are correct if
x (0) 6= 0?
1. if u3 = u1 + u2 then y3 = y1 + y2
3. if u3 = u1 − u2 then y3 = y1 − y2
3.1 part 1
when u3 = u1 + u2 , since system is linear then
Now is y3 = y1 + y2 ?
y3 = y1 + y2 ?
Z + Y3,zsr = (Z + Y1,zsr ) + (Z + Y2,zsr ) ?
Z + Y3,zsr = 2Z + Y1,zsr + Y2,zsr ? (2)
substitute (1) into (2) we obtain that Z = 2Z . Now when x (0) 6= 0 then Z 6= 0, hence we can
divide by Z and obtain that 1 = 2 which is not correct. Hence (1) is not correct if x (0) 6= 0
4
3.2 part 2
When u3 = 0.5 (u1 + u2 ) , and since system is linear then
is y3 = 0.5 (y1 + y2 ) ?
y3 = 0.5 (y1 + y2 )
Z + Y3,zsr = 0.5 (Z + Y1,zsr + Z + Y2,zsr )
Z + Y3,zsr = Z + 0.5 (Y1,zsr + Y2,zsr ) (4)
subtract Z from each side, we see that (4) is the same as (3) Hence (2) is correct if x (0) 6= 0
3.3 part 3
When u3 = u1 − u2 , and since system is linear then
is y3 = y1 − y2 ?
y3 = y1 − y2
Z + Y3,zsr = (Z + Y1,zsr ) − (Z + Y2,zsr )
Z + Y3,zsr = (Y1,zsr − Y2,zsr ) (6)
If x (0) 6= 0 then Z 6= 0 hence Hence (3) is not correct if x (0) 6= 0 but if x (0) = 0 then
Z = 0 hence it is correct in that case.