Professional Documents
Culture Documents
Part 2/2
Problem 3.5-4 Solve the following equation recursively (first three terms only):
Solution:
Write the difference equation as follows.
Setting n = −1 and substituting y[0] = −12, y[−1] = 3, x[−1] = 0, x[0] = 1, x[1] = 31 = 3, yields
y[2] = −3y[1] − 2y[0] + x[2] + 3x[1] + 3x[0] = −3(36) − 2(−12) + (32 ) + 3(3) + 3(1) = −63
Page 1 of 10
from which we have c1 = −3, c2 = −2 and
γ 2 − 2γ + 2 = (γ − 1 − j1)(γ − 1 + j1) = 0
√
from which we have the roots γ1,2 = 1 ± j1 = 2e± jπ /4 , thus
√ π
y[n] = c( 2)n cos( n + θ )
4
Setting n = −1 and n = −2 and substituting initial conditions yields
{
y[−1] = √c2 cos(− π4 + θ ) = √c2 ( √12 cos θ + √12 sin θ ) = 1
y[−2] = 2c cos(− π2 + θ ) = 2c sin θ = 0
Problem 3.7-3 Find the unit impulse response h[n] of the system
Page 2 of 10
The general form of h[n] can be written as
A0 (δ [n + 2] − 6δ [n + 1] + 25δ [n]) = 2δ [n + 2] − 4δ [n + 1]
Setting n = 0 yields A0 = 0.
To determine c and θ in (4), we need to find two values of h[n] (not initial conditions sice h[n] is defined
in n ≥ 0, however, by using iterative procedure we can derive two auxiliary conditions h[0] and h[1].)
Setting n = −2 in equation (3) yields
Problem 3.7-4 (a) For the general Nth-order difference equation, letting
a0 = a1 = · · · = aN−1 = 0
Solution:
(a) The characteristic equation is γ N = 0. Hence, all the characteristic roots are zero. We use a direct
method to find h[n] by realizing that h[n] is the response to unit impulse input.
Setting x[n] = δ [n], and y[n] = h[n] yields
N
h[n] = b0 δ [n] + b1 δ [n − 1] + · · · + bN−1 δ [n − N + 1] + bN δ [n − N] = ∑ bi δ [n − i]
i=0
Page 3 of 10
(b) From the result in part (a), we can immediately have
h[n] = 3δ [n] − 5δ [n − 1] − 2δ [n − 3]
Observe that the impulse response has only a finite (N) number of nonzero elements. For this reason,
such systems are called finite-impulse response (FIR) systems. For a general recursive case, the impulse
response has an infinite number of nonzero elements, and such systems are called infinite-impulse response
(IIR) systems.
Problem 3.8-2 Find the (zero-state) response y[n] of an LTID system if the input is x[n] = 3n−1 u[n + 2] and
1
h[n] = [δ [n − 2] − (−2)n+1 ]u[n − 3]
2
Solution:
1 1 1 1
h[n] = [δ [n − 2] − (−2)n+1 ]u[n − 3] = δ [n − 2]u[n − 3] − (−2)n+1 u[n − 3] = − (−2)n+1 u[n − 3]
2 2 2 2
Another solution:
1
y[n] = x[n] ∗ h[n] = (− (−2)n+1 u[n − 3]) ∗ (3n−1 u[n + 2])
2
Let us advance the first term by 3 units and delay the second term by 2 units, the resulting convolution
yields y[n + 1]. Hence
1 8
y[n + 1] = (− (−2)n+4 u[n]) ∗ (3n−3 u[n]) = − (−2)n ∗ 3n u[n]
2 27
From convolution Table, we obtain
[ ]
8 (−2)n+1 − 3n+1 8 [ ]
y[n + 1] = − u[n] = (−2)n+1 − 3n+1 u[n]
27 −2 − 3 135
Thus
8
y[n] = [(−2)n − 3n ] u[n]
135
Page 4 of 10
Problem 3.8-10 Find the total response specified by the equation
γ + 2 = 0 ⇒ γ = −2
A0 δ [n + 1] + 2A0 δ [n] = δ [n + 1]
Setting n = 0 yields A0 = 0
Setting n = −1 in (5) yields
h[0] + 2h[−1] = δ [0] ⇒ h[0] = 1
Substituting h[0] = 1 into (6) yields
h[0] = c0 (−2)0 = 1 ⇒ c0 = 1
Therefore
h[n] = (−2)n u[n]
The zero-state response is
Page 5 of 10
The above convolution can be found using the convolution Table to be
[ ]
e −(n+1) 1 −n 2e
y[n] = [e − (−2) ]u[n] =
n+1
(e) + n
(−2) u[n]
2e + 1 2e + 1 2e + 1
Problem 3.8-19 Using the slide-tape algorithm, find x[n] ∗ g[n] for the signals shown in Fig. P3.8-19
Figure 1: Fig3.8-19
Solution: From Fig. P3.8-19, we obtain the x tape and g tape. Then we rotate the g tape about the vertical
axis, as shown in the figure. We observe that:
n = 0, y[n] = 0 + 1 + 2 + 3 + 4 + 5 = 15
n = 1, y[n] = 1 + 2 + 3 + 4 + 5 = 15
n = 2, y[n] = 2 + 3 + 4 + 5 = 14
n = 3, y[n] = 3 + 4 + 5 = 12
n = 4, y[n] = 4 + 5 = 9
n = 5, y[n] = 5
n = 6, y[n] = 0
n ≥ 6, y[n] = 0
n < 0, y[n] = 15
Page 6 of 10
Figure 2: Solution of Fig3.8-19
with the input x[n] = (3)n and the auxiliary conditions y[0] = 1, y[1] = 3.
(b) Repeat part (a) for auxiliary conditions y[−1] = y[−2] = 1.
Solution:
(E 2 + 3E + 2) y[n] = (E 2 + 3E + 3) x[n]
| {z } | {z }
Q[E] P[E]
21
C(3)n+2 + 3C(3)n+1 + 2C(3)n = (3)n+2 + 3(3)n+1 + 3(3)n ⇒ C =
20
Thus, the total response is
21 n
y[n] = C1 (−1)n +C2 (−2)n + (3) , n ≥ 0
20
(a) Setting n = 0, 1 and substituting y[0] = 1, y[1] = 3, yields
{
y[0] = C1 (−1)0 +C2 (−2)0 + 21 0
20 (3) = 1
21
y[1] = C1 (−1) +C2 (−2) + 20 (3)1 = 3
1 1
Page 7 of 10
Therefore
1 1 21
y[n] = − (−1)n + (−2)n + (3)n , n ≥ 0
4 5 20
(b) We solve system equation iteratively to find y[0] and y[1] using the given auxiliary conditions y[−1] =
y[−2] = 1.
Setting n = −2, we obtain
Problem 3.10-2 Each of the following equations specifies an LTID system, Determine weather each of
these systems is BIBO stable or unstable. Determine weather each of these systems is asymptotically stable,
unstable, or marginally stable.
(a) y[n + 2] + 0.6y[n + 1] − 0.16y[n] = x[n + 1] − 2x[n]
(b) y[n] + 3y[n − 1] + 2y[n − 2] = x[n − 1] + 2x[n − 2]
(c) (E − 1)2 (E + 12 )y[n] = x[n]
(d) y[n] + 2y[n − 1] + 0.96y[n − 2] = x[n]
(e) y[n] + y[n − 1] − 2y[n − 2] = x[n] + 2x[n − 1]
(f) (E 2 − 1)(E 2 + 1)y[n] = x[n]
Solution:
(a) The characteristic polynomial is
The characteristic roots are 0.2 and -0.8. Both are inside the unit circle. The system is BIBO stable and
asymptotically stable.
(b) The characteristic polynomial is
γ 2 + 3γ + 2 = (γ + 2)(γ + 1)
The characteristic roots are -1 and -2. One root lies outside the unit circle. Thus, the system is BIBO
unstable and asymptotically unstable.
Page 8 of 10
(c) The characteristic polynomial is
1
(γ − 1)2 (γ + )
2
The characteristic roots are 1 (repeated twice) and − 12 . Repeated roots on the unit circle. Thus, the
system is BIBO unstable and asymptotically unstable.
(d) The characteristic polynomial is
The characteristic roots are -0.8 and -1.2. One root lies outside the unit circle. Thus, the system is BIBO
unstable and asymptotically unstable.
(e) The characteristic polynomial is
The characteristic roots are 0.5 ± j 1.5. Both roots lie outside the unit circle. Thus, the system is BIBO
unstable and asymptotically unstable.
(f) The characteristic polynomial is
The characteristic roots are ±1 and ± j 1. All roots are simple and on the unit circle. Thus, the system is
BIBO unstable and marginally stable.
Problem 3.10-3 Consider two LTIC systems in cascade, as illustrated in Fig.3.23. The impulse response of
the system S1 is h1 [n] = 2n u[n] and the impulse response of the system S2 is h2 [n] = δ [n] − 2δ [n − 1]. Is the
cascade system asymptotically stable or unstabl? Determine the BIBO stability of the composite system.
Figure 3: Fig3.23
Solution:
For system S1 , since
∞
∑ |h1 [n]| → ∞
n=−∞
Thus, S2 is BIBO stable. However, the asymptotical stability is inconclusive. Please note that we cannot
draw conclusion about internal (asymptotical) stability of a system from just its impulse response or from
external (BIBO) stability, due to possible pole-zero cancellation.
Page 9 of 10
If the two systems are cascaded, the impulse response of the composite system is
h[n] = h1 [n] ∗ h2 [n] = 2n u[n] ∗ (δ [n] − 2δ [n − 1]) = 2n u[n] − 2(2)n−1 u[n − 1] = δ [n]
Therefore, the composite system is BIBO stable. However, the system S1 will eventually burn out (or
saturate) because its output contains the signal of the form 2n which has unbounded characteristic response
generated by intended or intended initial conditions.
Page 10 of 10