ECE 3620 Lecture 5 - Zero-Input Solution of Differential Equations
ECE 3620 Lecture 5 - Zero-Input Solution of Differential Equations
Differential equations.
Mathematicians usually treat the solution of differential equations by finding the
homogeneous solution and the forced solution. We often break the solution into the
“zero-input” response and the “zero-state” response.
Zero-input response The response of the system when there is no input forcing
function. The output resulting is due to initial conditions of the system. (For
example, charge on a capacitor.)
Zero-state response When a system is in zero-state, it is assumed that the initial
conditions are all zero (the “zero state”). Thus, the response of the system is
due to some kind of external input.
The output is the sum of the zero-input response and the zero-state response, be-
cause we are dealing with linear systems:
dn y dn−1 y dy dm f dm−1 f df
n
+an−1 n−1 +· · ·+a1 +a0 y(t) = bm m +bm−1 m−1 +· · ·+b1 +b0 f (t)
dt dt dt dt dt dt
In operator notation
Let
Q(D) = Dn + an−1 Dn−1 + · · · + a1 D + a0
P (D) = bm Dm + bm−1 Dm−1 + · · · + b1 D + b0
Then
Q(D)y(t) = P (D)f (t)
Usually we will have m ≤ n.
ECE 3620: Lecture 5 – Zero-input solution of differential equations 2
Let y0 (t) be the zero-input response, i.e., the response when f (t) = 0. Let
yz−s (t) be the zero-state response, when f (t) 6≡ 0 but the initial conditions are zero.
Let us start with yz−i (t). That is, the input f (t) is assumed to be zero, so we
have
Q(D)y(t) = 0
or
Q(D)y0 (t) = 0
(y0 (t) is what the book uses as the zero-input response.) Take a simple example:
(RL circuit)
(D + a0 )y0 (t) = 0
Dy0 = −a0 y0
This is the key equation: the derivative of the solution has the same form as the
solution.
dy0
= −a0 dt
y0
Integrate:
ln y0 (t) = −a0 t + k
y0 (t) = ek e−a0 t = Ce−a0 t
Observe that in general if
y0 (t) = Ceλt
that
dy0
= Cλeλt
dt
So all we have to do is to match coefficients.
What is C? We must have some extra information to tell us — some specific
value of the solution at some time. This is often the initial condition. We must
know, for example, the initial current on the inductor. (Plot some examples.) If
y0 (0) is known, then we have
y0 (0) = C
More generally, take Q(D)y0 (t) = 0, or
y0 (t) = ceλt
This provides the total solution, provided that we can find all of the constants
c1 , c2 , . . . , cn .
Recap: Assume solution, substitute in the DE, then find roots to equation and
combine together. Don’t lose sight of the fact that there is a physical system behind
all this.
The equation
Q(λ) = 0
is called the characteristic equation. Recall from the example we did on linear
algebra that we have the same denominator in all solutions. It turns out that this
denominator is also the characteristic equation.
The overall system behavior of the system is determined by the char-
acteristic equation. The values of λ that are the roots are known as the modes or
natural frequencies or eigenmodes or eigenvalues or characteristic values
of the system.
Example 1 A simple 2nd-order system
λ2 + λ = 0
y0 (t) = c1 + c2 e−t
Assume we have initial conditions y0 (0) = 1 and ẏ0 (0) = 1 given.
1 = c1 + c2
1 = −c2
y0 (t) = 2 − e−t
2
Example 2
A 2nd-order system with complex roots:
λ2 + 4λ + 40 = (λ + 2 − j6)(λ + 2 + j6)
y0 (t) = c1 e(−2+j6)t + c2 e(−2−j6)t
This is a little yucky. Let us suppose that the constants are complex conjugates:
c jθ c −jθ
c1 = e c2 = e
2 2
Then y0 (t) is real. Then (work through)
Observe: damping comes from real part; frequency comes from imaginary part.
Plot poles on complex plane, and discuss placement. 2
This example with complex roots is true in general. If we have a 2nd order
system so that
y0 (t) = c1 e(α+jβ)t + c2 e(α−jβ)t
that is real, then c1 and c2 must be conjugates; let
c jθ c −jθ
c1 = e c2 = e
2 2
Then
y0 (t) = ceαt cos(βt + θ)
Discuss. Plot some pole locations and discuss. Stability...
Example 3 Repeated roots. Things become somewhat more complicated when the
characteristic equation has repeated roots. For example, suppose
Q(λ) = λ2 + 6λ + 9 = (λ + 3)2 .
(D − λ)2 y0 (t) = 0
then
y0 (t) = (c1 + c2 t)eλt
satisfies the DE. If there is a repeated root
(D − λ)r y0 (t) = 0
then
y0 (t) = (c1 + c2 t + c3 t2 + · · · + cr tr−1 )eλt
satisfies the DE. The corresponding characteristic modes are eλt , teλt , . . . , tr−1 eλt .
dy
=2
dt
then the best we can say is
y(t) = 2t + c
We do not know the position. However, if we knew the position at some time t0 ,
we could use this:
y(t0 ) = 2t0 + c
c = y(t0 ) − 2t0
ECE 3620: Lecture 5 – Zero-input solution of differential equations 5
We have
y0 (t) = c1 e−t + c2 e−2t
Need to derive initial condition (of y) from initial conditions of the circuit. Remove
voltage source (since finding y0 (t)). Initial condition on inductor → y0 (0) = 0. Now
write loop equation (w/o source):
0 = c1 + c2
−5 = −c1 − 2c2 .
For these equations, it is always possible to put them in a matrix form. (The
exception is for complex roots, when some trig usually becomes involved.) Write as
1 1 c1 0
=
−1 −2 c2 −5
c1 = −5 c2 = 5
y0 (t) = −5e−t + 5e−2t
2
As you work with larger DEs, being able to express in matrix form and using a
matrix tool will be beneficial to you.
In the general case, with n DEs you will need n initial conditions to obtain the
solution unambiguously.
Recap:
4. Solve for the initial conditions of the equation from the initial conditions of
the circuit (requires going back to the circuit analysis usually).
5. Using these initial conditions, solve for the variables in the solution.
Example 5
(D2 + 4D + 40)y0 (t) = 0
with initial conditions y0 (0) = 2 and ẏ0 (0) = 16.78. We saw before that
At t = 0:
y0 (0) = 2 = c cos θ
ẏ0 (0) = 16.78 = −2c cos θ − 6c sin θ
c sin θ = −(16.78 + 4)/6 = −3.463
tan θ = −3.463/2
θ = −π/3
c=4
2