4.3 SOLUTION OF DIFFERENTIAL AND [INTEGRO-DIFFERENTIAL](#page-10-0) EQUATIONS
β Back to LINEAR SYSTEMS AND SIGNALS Overview
4.3 SOLUTION OF DIFFERENTIAL AND INTEGRO-DIFFERENTIAL EQUATIONS
The time-differentiation property of the Laplace transform has set the stage for solving linear differential (or integro-differential) equations with constant coefficients. Because dky/dtk ββ skY(s), the Laplace transform of a differential equation is an algebraic equation that can be readily
| Operation | x(t) | X(s) |
|---|---|---|
| Addition | x1(t)+x2(t) | X1(s)+X2(s) |
| Scalar multiplication | kx(t) | kX(s) |
| Time differentiation | dx(t) dt | sX(s)βx(0β) |
| d2x(t) dt2 | s2X(s)βsx(0β)β Λx(0β) | |
| d3x(t) dt3 | s3X(s)βs2x(0β)βsxΛ(0β)β Β¨x(0β) | |
| dnx(t) dtn | %n snX(s)β snβkx(kβ1) (0β) k=1 | |
| Time integration | # t x(Ο )dΟ 0β | 1 X(s) s |
| # t x(Ο )dΟ | # 0β 1 1 X(s)+ x(t)dt s s | |
| Time shifting | ββ x(t βt0)u(t βt0) | ββ X(s)eβst0 t0 β₯ 0 |
| Frequency shifting | x(t)es0t | X(sβs0) |
| Frequency differentiation | βtx(t) | dX(s) ds |
| Frequency integration | x(t) t | # β X(z)dz s |
| Scaling | x(at),a β₯ 0 | s 1 X a a |
| Time convolution | x1(t) β x2(t) | X1(s)X2(s) |
| Frequency convolution | x1(t)x2(t) | 1 X1(s) β X2(s) 2Οj |
| Initial value | x(0+) | sX(s) (n > m) lim |
| Final value | x(β) | sββ sX(s) [poles of sX(s) in LHP] lim sβ0 |
TABLE 4.2 Unilateral Laplace Transform Properties
solved for Y(s). Next we take the inverse Laplace transform of Y(s) to find the desired solution y(t). The following examples demonstrate the Laplace transform procedure for solving linear differential equations with constant coefficients.
EXAMPLE 4.12 Laplace Transform to Solve a Second-Order Linear Differential Equation
Solve the second-order linear differential equation
for the initial conditions y(0β) = 2 and yΛ(0β) = 1 and the input x(t) = eβ4*t u*(t). 362 CHAPTER 4 CONTINUOUS-TIME SYSTEM ANALYSIS
The equation is
\n(4.22)
Let
Then from Eq. (4.15),
and
Moreover, for x(t) = eβ4*t u*(t),
Taking the Laplace transform of Eq. (4.22), we obtain
Collecting all the terms of Y(s) and the remaining terms separately on the left-hand side, we obtain
(4.23)
Therefore,
and
Expanding the right-hand side into partial fractions yields
The inverse Laplace transform of this equation yields
\n(4.24)
Example 4.12 demonstrates the ease with which the Laplace transform can solve linear differential equations with constant coefficients. The method is general and can solve a linear differential equation with constant coefficients of any order.
ZERO-INPUT AND ZERO-STATE COMPONENTS OF RESPONSE
The Laplace transform method gives the total response, which includes zero-input and zero-state components. It is possible to separate the two components if we so desire. The initial condition terms in the response give rise to the zero-input response. For instance, in Ex. 4.12, the terms attributable to initial conditions y(0β) = 2 and yΛ(0β) = 1 in Eq. (4.23) generate the zero-input response. These initial condition terms are β(2s + 11), as seen in Eq. (4.23). The terms on the right-hand side are exclusively due to the input. Equation (4.23) is reproduced below with the proper labeling of the terms
so that
Therefore,
Taking the inverse transform of this equation yields
4.3-1 Comments on Initial Conditions at 0β and at 0+
The initial conditions in Ex. 4.12 are y(0β) = 2 and yΛ(0β) = 1. If we let t = 0 in the total response in Eq. (4.24), we find y(0) = 2 and yΛ(0) = 2, which is at odds with the given initial conditions. Why? Because the initial conditions are given at t = 0β (just before the input is applied), when only the zero-input response is present. The zero-state response is the result of the input x(t) applied at t = 0. Hence, this component does not exist at t = 0β. Consequently, the initial conditions at t = 0β are satisfied by the zero-input response, not by the total response. We can readily verify in this example that the zero-input response does indeed satisfy the given initial conditions at t = 0β. It is the total response that satisfies the initial conditions at t = 0+, which are generally different from the initial conditions at 0β.
There also exists a L+ version of the Laplace transform, which uses the initial conditions at t = 0+ rather than at 0β (as in our present Lβ version). The L+ version, which was in vogue till the early 1960s, is identical to the Lβ version except the limits of Laplace integral [Eq. (4.7)] are from 0+ to β. Hence, by definition, the origin t = 0 is excluded from the domain. This version, still used in some math books, has some serious difficulties. For instance, the Laplace transform of Ξ΄(t) is zero because Ξ΄(t) = 0 for t β₯ 0+. Moreover, this approach is rather clumsy in the theoretical study
364 CHAPTER 4 CONTINUOUS-TIME SYSTEM ANALYSIS
of linear systems because the response obtained cannot be separated into zero-input and zero-state components. As we know, the zero-state component represents the system response as an explicit function of the input, and without knowing this component, it is not possible to assess the effect of the input on the system response in a general way. The L+ version can separate the response in terms of the natural and the forced components, which are not as interesting as the zero-input and the zero-state components. Note that we can always determine the natural and the forced components from the zero-input and the zero-state components [e.g., Eq. (2.44) from Eq. (2.43)], but the converse is not true. Because of these and some other problems, electrical engineers (wisely) started discarding the L+ version in the early 1960s.
It is interesting to note the time-domain duals of these two Laplace versions. The classical method is the dual of the L+ method, and the convolution (zero-input/zero-state) method is the dual of the Lβ method. The first pair uses the initial conditions at 0+, and the second pair uses those at t = 0β. The first pair (the classical method and the L+ version) is awkward in the theoretical study of linear system analysis. It was no coincidence that the Lβ version was adopted immediately after the introduction to the electrical engineering community of state-space analysis (which uses zero-input/zero-state separation of the output).
DR ILL 4.7 Laplace Transform to Solve a Second-Order Linear Differential Equation
Solve
for the input x(t) = u(t). The initial conditions are y(0β) = 1 and yΛ(0β) = 2.
ANSWER
y(t) = 1 3 (1+9eβt β7eβ3*t* )u(t)
EXAMPLE 4.13 Laplace Transform to Solve an Electric Circuit
In the circuit of Fig. 4.7a, the switch is in the closed position for a long time before t = 0, when it is opened instantaneously. Find the inductor current y(t) for t β₯ 0.
When the switch is in the closed position (for a long time), the inductor current is 2 amperes and the capacitor voltage is 10 volts. When the switch is opened, the circuit is equivalent to that depicted in Fig. 4.7b, with the initial inductor current y(0β) = 2 and the initial capacitor voltage vC(0β) = 10. The input voltage is 10 volts, starting at t = 0, and, therefore, can be represented by 10u(t).
Figure 4.7 Analysis of a network with a switching action.
The loop equation of the circuit in Fig. 4.7b is
\n(4.25)
If
y(t) ββ Y(s)
then
and [see Eq. (4.16)]
Because y(t) is the capacitor current, the integral $ 0β ββ y(Ο )dΟ is qC(0β), the capacitor charge at t = 0β, which is given by C times the capacitor voltage at t = 0β. Therefore,
and
366 CHAPTER 4 CONTINUOUS-TIME SYSTEM ANALYSIS
Using these results, the Laplace transform of Eq. (4.25) is
or
\[s+2+\frac{5}{s}\]Y(s) = 2and
To find the inverse Laplace transform of Y(s), we use pair 10c (Table 4.1) with values A = 2, B = 0, a = 1, and c = 5. This yields
, and
Therefore,
This response is shown in Fig. 4.7c.
Comment. In our discussion so far, we have multiplied input signals by u(t), implying that the signals are zero prior to t = 0. This is needlessly restrictive. These signals can have any arbitrary value prior to t = 0. As long as the initial conditions at t = 0 are specified, we need only the knowledge of the input for t β₯ 0 to compute the response for t β₯ 0. Some authors use the notation 1(t) to denote a function that is equal to u(t) for t β₯ 0 and that has arbitrary value for negative t. We have abstained from this usage to avoid needless confusion caused by the introduction of a new function, which is very similar to u(t).
4.3-2 Zero-State Response
Consider an Nth-order LTIC system specified by the equation
or
(4.26)
We shall now find the general expression for the zero-state response of an LTIC system. Zero-state response y(t), by definition, is the system response to an input when the system is initially relaxed (in zero state). Therefore, y(t) satisfies Eq. (4.26) with zero initial conditions
= = = = = 0
Moreover, the input x(t) is causal so that
Let
and
Because of zero initial conditions,
Therefore, the Laplace transform of Eq. (4.26) yields
or
But we have shown in Eq. (4.18) that Y(s) = H(s)X(s). Consequently,
This is the transfer function of a linear differential system specified in Eq. (4.26). The same result has been derived earlier in Eq. (2.41) using an alternate (time-domain) approach.
We have shown that Y(s), the Laplace transform of the zero-state response y(t), is the product of X(s) and H(s), where X(s) is the Laplace transform of the input x(t) and H(s) is the system transfer function [relating the particular output y(t) to the input x(t)].
INTUITIVE INTERPRETATION OF THE LAPLACE TRANSFORM
So far we have treated the Laplace transform as a machine that converts linear integro-differential equations into algebraic equations. There is no physical understanding of how this is accomplished or what it means. We now discuss a more intuitive interpretation and meaning of the Laplace transform.
In Ch. 2, Eq. (2.38), we showed that LTI system response to an everlasting exponential est is H(s)est. If we could express every signal as a linear combination of everlasting exponentials of the form est, we could readily obtain the system response to any input. For example, if
the response of an LTIC system to such input x(t) is given by
368 CHAPTER 4 CONTINUOUS-TIME SYSTEM ANALYSIS
Unfortunately, the class of signals that can be expressed in this form is very small. However, we can express almost all signals of practical utility as a sum of everlasting exponentials over a continuum of frequencies. This is precisely what the Laplace transform in Eq. (4.2) does.
\n(4.28)
Invoking the linearity property of the Laplace transform, we can find the system response y(t) to input x(t) in Eq. (4.28) asβ
(4.29)
Clearly,
Y(s) = X(s)H(s)
We can now represent the transformed version of the system, as depicted in Fig. 4.8a. The input X(s) is the Laplace transform of x(t), and the output Y(s) is the Laplace transform of (the zero-input response) y(t). The system is described by the transfer function H(s). The output Y(s) is the product X(s)H(s).
Recall that s is the complex frequency of est. This explains why the Laplace transform method is also called the frequency-domain method. Note that X(s),Y(s), and H(s) are the frequency-domain representations of x(t), y(t), and h(t), respectively. We may view the boxes marked L and Lβ1 in Fig. 4.8a as the interfaces that convert the time-domain entities into the corresponding frequency-domain entities, and vice versa. All real-life signals begin in the time domain, and the final answers must also be in the time domain. First, we convert the time-domain input(s) into the frequency-domain counterparts. The problem itself is solved in the frequency domain, resulting in the answer Y(s), also in the frequency domain. Finally, we convert Y(s) to y(t). Solving the problem is relatively simpler in the frequency domain than in the time domain. Henceforth, we shall omit the explicit representation of the interface boxes L and Lβ1, representing signals and systems in the frequency domain, as shown in Fig. 4.8b.
Figure 4.8 Alternate interpretation of the Laplace transform.
β Recall that H(s) has its own region of validity. Hence, the limits of integration for the integral in Eq. (4.28) are modified in Eq. (4.29) to accommodate the region of existence (validity) of X(s) as well as H(s).
EXAMPLE 4.14 Laplace Transform to Find the Zero-State Response
Find the response y(t) of an LTIC system described by the equation
if the input x(t) = 3eβ5*t u*(t) and all the initial conditions are zero; that is, the system is in the zero state.
The system equation is
Therefore,
Also,
and
=
The inverse Laplace transform of this equation is
EXAMPLE 4.15 Laplace Transform to Find System Transfer Functions
Show that the transfer function of:
- (a) an ideal delay of T seconds is eβsT
- (b) an ideal differentiator is s
- (c) an ideal integrator is 1/s
(a) Ideal Delay. For an ideal delay of T seconds, the input x(t) and output y(t) are related by
y(t) = x(t βT) and Y(s) = X(s)eβsT [see Eq. (4.12)]
370 CHAPTER 4 CONTINUOUS-TIME SYSTEM ANALYSIS
Therefore,
\n(4.30)
(b) Ideal Differentiator. For an ideal differentiator, the input x(t) and the output y(t) are related by
The Laplace transform of this equation yields
and
\n(4.31)
(c) Ideal Integrator. For an ideal integrator with zero initial state, that is, y(0β) = 0,
Therefore,
DR ILL 4.8 Differential Equation and Zero-State Response from a System Transfer Function
For an LTIC system with transfer function,
- (a) Describe the differential equation relating the input x(t) and output y(t).
- (b) Find the system response y(t) to the input x(t) = eβ2*t u*(t) if the system is initially in zero state.
ANSWERS
(a)
(b)
4.3-3 Stability
Equation (4.27) shows that the denominator of H(s) is Q(s), which is apparently identical to the characteristic polynomial Q(Ξ») defined in Ch. 2. Does this mean that the denominator of H(s) is the characteristic polynomial of the system? This may or may not be the case, since if P(s) and Q(s) in Eq. (4.27) have any common factors, they cancel out, and the effective denominator of H(s) is not necessarily equal to Q(s). Recall also that the system transfer function H(s), like h(t), is defined in terms of measurements at the external terminals. Consequently, H(s) and h(t) are both external descriptions of the system. In contrast, the characteristic polynomial Q(s) is an internal description. Clearly, we can determine only external stability, that is, BIBO stability, from H(s). If all the poles of H(s) are in LHP, all the terms in h(t) are decaying exponentials, and h(t) is absolutely integrable [see Eq. (2.45)].β Consequently, the system is BIBO-stable. Otherwise the system is BIBO-unstable.
Beware of right half-plane poles!
So far, we have assumed that H(s) is a proper function, that is, M β€ N. We now show that if H(s) is improper, that is, if M > N, the system is BIBO-unstable. In such a case, using long division, we obtain H(s) = R(s) + H (s), where R(s) is an (M β N)th-order polynomial and H (s) is a proper transfer function. For example,
As shown in Eq. (4.31), the term s is the transfer function of an ideal differentiator. If we apply step function (bounded input) to this system, the output will contain an impulse (unbounded output). Clearly, the system is BIBO-unstable. Moreover, such a system greatly amplifies noise because differentiation enhances higher frequencies, which generally predominate in a noise signal. These
β Values of s for which H(s) is β are the poles of H(s). Thus, poles of H(s) are the values of s for which the denominator of H(s) is zero.
372 CHAPTER 4 CONTINUOUS-TIME SYSTEM ANALYSIS
are two good reasons to avoid improper systems (M > N). In our future discussion, we shall implicitly assume that the systems are proper, unless stated otherwise.
If P(s) and Q(s) do not have common factors, then the denominator of H(s) is identical to Q(s), the characteristic polynomial of the system. In this case, we can determine internal stability by using the criterion described in Sec. 2.5. Thus, if P(s) and Q(s) have no common factors, the asymptotic stability criterion in Sec. 2.5 can be restated in terms of the poles of the transfer function of a system, as follows:
-
- An LTIC system is asymptotically stable if and only if all the poles of its transfer function H(s) are in the LHP. The poles may be simple or repeated.
-
- An LTIC system is unstable if and only if either one or both of the following conditions exist: (i) at least one pole of H(s) is in the RHP; (ii) there are repeated poles of H(s) on the imaginary axis.
-
- An LTIC system is marginally stable if and only if there are no poles of H(s) in the RHP and some unrepeated poles on the imaginary axis.
The locations of zeros of H(s) have no role in determining the system stability.
EXAMPLE 4.16 BIBO and Asymptotic Stability
Figure 4.9a shows a cascade connection of two LTIC systems S1 followed by S2. The transfer functions of these systems are H1(s) = 1/(s β 1) and H2(s) = (s β 1)/(s + 1), respectively. Determine the BIBO and asymptotic stability of the composite (cascade) system.
Figure 4.9 Distinction between BIBO and asymptotic stability.
If the impulse responses of S1 and S2 are h1(t) and h2(t), respectively, then the impulse response of the cascade system is h(t) = h1(t)βh2(t). Hence, H(s) = H1(s)H2(s). In the present case,
The pole of S1 at s = 1 cancels with the zero at s = 1 of S2. This results in a composite system having a single pole at s = β1. If the composite cascade system were to be enclosed inside a black box with only the input and the output terminals accessible, any measurement from these external terminals would show that the transfer function of the system is 1/(s+1), without any hint of the fact that the system is housing an unstable system (Fig. 4.9b).
The impulse response of the cascade system is h(t) = eβt u(t), which is absolutely integrable. Consequently, the system is BIBO-stable.
To determine the asymptotic stability, we note that S1 has one characteristic root at 1, and S2 also has one root at β1. Recall that the two systems are independent (one does not load the other), and the characteristic modes generated in each subsystem are independent of the other. Clearly, the mode et will not be eliminated by the presence of *S*2. Hence, the composite system has two characteristic roots, located at Β±1, and the system is asymptotically unstable, though BIBO-stable.
Interchanging the positions of S1 and S2 makes no difference in this conclusion. This example shows that BIBO stability can be misleading. If a system is asymptotically unstable, it will destroy itself (or, more likely, lead to saturation condition) because of unchecked growth of the response due to intended or unintended stray initial conditions. BIBO stability is not going to save the system. Control systems are often compensated to realize certain desirable characteristics. One should never try to stabilize an unstable system by canceling its RHP pole(s) with RHP zero(s). Such a misguided attempt will fail, not because of the practical impossibility of exact cancellation but for the more fundamental reason, as just explained.
DR ILL 4.9 BIBO and Asymptotic Stability
Show that an ideal integrator is marginally stable but BIBO-unstable.
4.3-4 Inverse Systems
If H(s) is the transfer function of a system S, then Si, its inverse system has a transfer function Hi(s) given by
This follows from the fact the cascade of S with its inverse system Si is an identity system, with impulse response Ξ΄(t), implying H(s)Hi(s) = 1. For example, an ideal integrator and its inverse, an ideal differentiator, have transfer functions 1/s and s, respectively, leading to H(s)Hi(s) = 1.