3.7 THE UNIT IMPULSE [RESPONSE](#page-9-0) h[n]
← Back to LINEAR SYSTEMS AND SIGNALS Overview
3.6 SYSTEM RESPONSE TO INTERNAL CONDITIONS: THE ZERO-INPUT RESPONSE
The zero-input response y0[n] is the solution of Eq. (3.20) with x[n] = 0; that is,
or
\n(3.21)
Although we can solve this equation systematically, even a cursory examination points to the solution. This equation states that a linear combination of y0[n] and advanced y0[n] is zero, not for some values of n, but for all n. Such a situation is possible if and only if y0[n] and advanced y0[n] have the same form. Only an exponential function γ n has this property, as the following equation indicates:
This expression shows that γ n advanced by k units is a constant (γ k) times γ n. Therefore, the solution of Eq. (3.21) must be of the form†
To determine c and γ , we substitute this solution in Eq. (3.21). Since Eky0[n] = y0[n+k] = cγ n+k, this produces
For a nontrivial solution of this equation,
\n(3.23)
or
Q[γ ] = 0
Our solution cγ n [Eq. (3.22)] is correct, provided γ satisfies Eq. (3.23). Now, Q[γ ] is an Nth-order polynomial and can be expressed in the factored form (assuming all distinct roots):
Clearly, γ has N solutions γ1, γ2, … , γ*N* and, therefore, Eq. (3.21) also has N solutions c1γ n 1 , c2γ n 2 , … , cnγ n N. In such a case, we have shown that the general solution is a linear combination
† A signal of the form nmγ n also satisfies this requirement under certain conditions (repeated roots), discussed later.
3.6 System Response to Internal Conditions: The Zero-Input Response 271
of the N solutions (see the footnote on page 153). Thus,
where γ1, γ2, … , γ*n* are the roots of Eq. (3.23) and c1, c2, … , cn are arbitrary constants determined from N auxiliary conditions, generally given in the form of initial conditions. The polynomial Q[γ ] is called the characteristic polynomial of the system, and Q[γ ] = 0 [Eq. (3.23)] is the characteristic equation of the system. Moreover, γ1, γ2, … , γN, the roots of the characteristic equation, are called characteristic roots or characteristic values (also eigenvalues) of the system. The exponentials γ n i (i = 1, 2,…,N) are the characteristic modes or natural modes of the system. A characteristic mode corresponds to each characteristic root of the system, and the zero-input response is a linear combination of the characteristic modes of the system.
EXAMPLE 3.13 Zero-Input Response of a Second-Order System with Real Roots
The LTID system described by the difference equation
has input x[n] = 4−nu[n] and initial conditions y[−1] = 0 and y[−2] = 25/4. Determine the zero-input response y0[n]. The zero-state response of this system is considered later, in Ex. 3.21.
The system equation in operator notation is
The characteristic polynomial is
The characteristic equation is
The characteristic roots are γ1 = −0.2 and γ2 = 0.8. The zero-input response is
To determine arbitrary constants c1 and c2, we set n = −1 and −2 in Eq. (3.24), then substitute y0[−1] = 0 and y0[−2] = 25/4 to obtain†
\begin{array}{c}\n0 = -5c_1 + \frac{5}{4}c_2 \\ \frac{25}{4} = 25c_1 + \frac{25}{16}c_2\n\end{array}\n\right\} \quad \Longrightarrow \quad c_1 = \frac{1}{5}\n
† The initial conditions y[−1] and y[−2] are the conditions given on the total response. But because the input does not start until n = 0, the zero-state response is zero for n < 0. Hence, at n = −1 and −2 the total response consists of the zero-input component only so that y[−1] = y0[−1] and y[−2] = y0[−2].
272 CHAPTER 3 TIME-DOMAIN ANALYSIS OF DISCRETE-TIME SYSTEMS
Therefore,
The reader can verify this solution by computing the first few terms using the iterative method (see Exs. 3.11 and 3.12).
DR ILL 3.11 Zero-Input Response of First-Order Systems
Find and sketch the zero-input response for the systems described by the following equations:
- (a) y[n+1] −0.8y[n] = 3x[n+1]
- (b) y[n+1] +0.8y[n] = 3x[n+1]
In each case the initial condition is y[−1] = 10. Verify the solutions by computing the first three terms using the iterative method.
ANSWERS
- (a) 8(0.8)n
- (b) −8(−0.8)n
DR ILL 3.12 Zero-Input Response of a Second-Order System with Real Roots
Find the zero-input response of a system described by the equation
The initial conditions are y0[−1] = 1 and y0[−2] = 33. Verify the solution by computing the first three terms iteratively.
ANSWER
y0[n] = (0.2)n +2(−0.5)n
Section 3.5-1 introduced the method of recursion to solve difference equations. As the next example illustrates, the zero-input response can likewise be found through recursion. Since it does not provide a closed-form solution, recursion is generally not the preferred method of solving difference equations.
REPEATED ROOTS
So far we have assumed the system to have N distinct characteristic roots γ1, γ2, … , γ*N* with corresponding characteristic modes γ n 1 , γ n 2 , … , γ n N. If two or more roots coincide (repeated roots), the form of characteristic modes is modified. Direct substitution shows that if a root γ repeats r times (root of multiplicity r), the corresponding characteristic modes for this root are γ n, nγ n, n2γ n, … , nr−1γ n. Thus, if the characteristic equation of a system is
then the zero-input response of the system is
EXAMPLE 3.15 Zero-Input Response of a Second-Order System with Repeated Roots
Consider a second-order difference equation with repeated roots:
Determine the zero-input response y0[n] if the initial conditions are y0[−1]=−1/3 and y0[−2]=−2/9.
The characteristic polynomial is γ 2 +6γ +9 = (γ +3)2, and we have a repeated characteristic root at γ = −3. The characteristic modes are (−3)n and n(−3)n. Hence, the zero-input response is
y0[n] = (c1 +c2n)(−3) n
Although we can determine the constants c1 and c2 from the initial conditions following a procedure similar to Ex. 3.13, we instead use MATLAB to perform the needed calculations.
c = inv([(-3)^(-1) -1*(-3)^(-1);(-3)^(-2) -2*(-3)^(-2)])*[-1/3;-2/9] c=4 3
Thus, the zero-input response is
COMPLEX ROOTS
As in the case of continuous-time systems, the complex roots of a discrete-time system will occur in pairs of conjugates if the system equation coefficients are real. Complex roots can be treated exactly as we would treat real roots. However, just as in the case of continuous-time systems, we can also use the real form of solution as an alternative.
First we express the complex conjugate roots γ and γ ∗ in polar form. If |γ | is the magnitude and β is the angle of γ , then
and
The zero-input response is given by
For a real system, c1 and c2 must be conjugates so that y0[n] is a real function of n. Let
Then
\n(3.25)
where c and θ are arbitrary constants determined from the auxiliary conditions. This is the solution in real form, which avoids dealing with complex numbers.
EXAMPLE 3.16 Zero-Input Response of a Second-Order System with Complex Roots
Consider a second-order difference equation with complex-conjugate roots:
Determine the zero-input response y0[n] if the initial conditions are y0[−1] = 2 and y0[−2] = 1.
The characteristic polynomial is (γ 2 − 1.56γ + 0.81) = (γ − 0.78 − j0.45)(γ − 0.78 + j0.45). The characteristic roots are 0.78 ± j0.45; that is, 0.9e±j(π/6) . We could immediately write the solution as
Setting n = −1 and −2 and using the initial conditions y0[−1] = 2 and y0[−2] = 1, we find c = 1.1550−j0.2025 = 1.1726e−j0.1735 and c∗ = 1.1550+j0.2025 = 1.1726ej0.1735.
gamma = roots([1 -1.56 0.81]); >> c = inv([gamma(1)^(-1) gamma(2)^(-1);gamma(1)^(-2) gamma(2)^(-2)])*[2;1] c = 1.1550 - 0.2025i 1.1550 + 0.2025i
Alternately, we could also find the unknown coefficient by using the real form of the solution, as given in Eq. (3.25). In the present case, the roots are 0.9e±j(π/6) . Hence, |γ | = 0.9 and β = π/6, and the zero-input response, according to Eq. (3.25), is given by
To determine the constants c and θ, we set n = −1 and −2 in this equation and substitute the initial conditions y0[−1] = 2 and y0[−2] = 1 to obtain
or
These are two simultaneous equations in two unknowns ccos θ and csin θ. Solution of these equations yields
Dividing csin θ by ccos θ yields
Substituting θ = −0.17 radian in ccos θ = 2.308 yields c = 2.34 and
Observe that here we have used radian units for both β and θ. We also could have used the degree unit, although this practice is not recommended. The important consideration is to be consistent and to use the same units for both β and θ.
DR ILL 3.13 Zero-Input Response of a Second-Order System with Complex Roots
Find the zero-input response of a system described by the equation
The initial conditions are y0[−1]=−1/(2 √2) and *y*0[−2] = 1/(4 √ 2). Verify the solution by computing the first three terms iteratively.
ANSWER
y0[n] = (2)n cos π 2 n− 3π 4
3.7 THE UNIT IMPULSE RESPONSE h[n]
Consider an nth-order system specified by the equation
or
The unit impulse response h[n] is the solution of this equation for the input δ[n] with all the initial conditions zero; that is,
subject to initial conditions
Equation (3.26) can be solved to determine h[n] iteratively or in a closed form. The following example demonstrates the iterative solution.