Case III. Complex conjugate roots are of minor practical importance, and we discuss the derivation of real solutions from complex ones just in terms of a typical example
Case 2. Damped Forced Oscillations
4.6 Nonhomogeneous Linear Systems of ODEs
13.
14. TEAM PROJECT. Self-sustained oscillations.
(a) Van der Pol equation.Determine the type of the
critical point at ( ) when .
(b) Rayleigh equation. Show that the Rayleigh equation5
also describes self-sustained oscillations and that by differentiating it and setting one obtains the van der Pol equation.
(c) Duffing equation.The Duffing equation is where usually is small, thus characterizing a small deviation of the restoring force from linearity.
and are called the cases of a hard spring and a soft spring, respectively. Find the equation of the trajectories in the phase plane. (Note that for all these curves are closed.)
b⬎0 b⬍0
b⬎0 ƒbƒ
ys⫹v02y⫹by3⫽0
y⫽Yr
Ys⫺(1⫺ 13Yr2)Yr⫹Y⫽0 (⬎0)
⬎0, ⫽0, ⬍0 0, 0
ys⫹sin y⫽0 15. Trajectories. Write the ODE as a
system, solve it for as a function of , and sketch or graph some of the trajectories in the phase plane.
y1 y2
ys⫺4y⫹y3⫽0
y2
c = 5
c = 4
c = 3
–2 2
y1
Fig. 98. Trajectories in Problem 15
undetermined coefficients and the method of the variation of parameters; these have counterparts for a single ODE, as we know from Secs. 2.7 and 2.10.
Method of Undetermined Coefficients
Just as for a single ODE, this method is suitable if the entries of A are constants and the components of g are constants, positive integer powers of t, exponential functions, or cosines and sines. In such a case a particular solution is assumed in a form similar to g; for instance, if g has components quadratic in t, with u,v, w to be determined by substitution into (1). This is similar to Sec. 2.7, except for the Modification Rule. It suffices to show this by an example.
E X A M P L E 1 Method of Undetermined Coefficients. Modification Rule Find a general solution of
(3) .
Solution. A general equation of the homogeneous system is (see Example 1 in Sec. 4.3)
(4) .
Since is an eigenvalue of A, the function on the right side also appears in , and we must apply the Modification Rule by setting
(rather than ).
Note that the first of these two terms is the analog of the modification in Sec. 2.7, but it would not be sufficient here. (Try it.) By substitution,
.
Equating the -terms on both sides, we have . Hence u is an eigenvector of A corresponding to
; thus [see (5)] with any . Equating the other terms gives
thus .
Collecting terms and reshuffling gives
.
By addition, , and then , say, , thus,
We can simply choose . This gives the answer
(5) .
For other k we get other v; for instance, gives , so that the answerbecomes
(5*) y⫽c1 c1 , etc. 䊏
1d eⴚ2t⫹c2 c 1
⫺1d eⴚ4t⫺ 2 c1
1d teⴚ2t⫹ c⫺2
2d eⴚ2t
v⫽[⫺2 2]T k⫽ ⫺2
y⫽y(h)⫹y(p)⫽c1 c1
1d eⴚ2t⫹ c2 c 1
⫺1d eⴚ4t⫺2 c1
1d teⴚ2t⫹c0
4d eⴚ2t
k⫽0
v⫽[k k⫹4]T. v1⫽k, v2⫽k⫹4
v2⫽v1⫹4 0⫽ ⫺2a⫺4, a⫽ ⫺2
⫺v1⫹v2⫽ ⫺a⫹2 v1⫺v2⫽ ⫺a⫺6
ca
ad ⫺c2v2v1
2d ⫽c⫺3vv1⫹ v2
1⫺3v2d⫹ c⫺6
2d
u⫺2v⫽Av⫹c⫺6
2d
a⫽0 u⫽a[1 1]T
l⫽ ⫺2
⫺2u⫽Au teⴚ2t
y(p)r⫽ueⴚ2t⫺2uteⴚ2t⫺2veⴚ2t⫽Auteⴚ2t⫹Aveⴚ2t⫹g
ueⴚ2t y(p)⫽uteⴚ2t⫹veⴚ2t
y(h) eⴚ2t
l⫽ ⫺2
y(h)⫽c1c1
1d eⴚ2t⫹ c2c 1
⫺1d eⴚ4t
yr⫽Ay⫹g⫽c⫺3 1
1 ⫺3d y⫹c⫺6
2d eⴚ2t y(p)⫽u⫹vt⫹wt2
y(p)
SEC. 4.6 Nonhomogeneous Linear Systems of ODEs 161
Method of Variation of Parameters
This method can be applied to nonhomogeneous linear systems (6)
with variable and general . It yields a particular solution of (6) on some open interval J on the t-axis if a general solution of the homogeneous system
on Jis known. We explain the method in terms of the previous example.
E X A M P L E 2 Solution by the Method of Variation of Parameters Solve (3) in Example 1.
Solution. A basis of solutions of the homogeneous system is and . Hence the general solution (4) of the homogeneous system may be written
(7) .
Here, is the fundamental matrix (see Sec. 4.2). As in Sec. 2.10 we replace the constant vector cby a variable vector u(t) to obtain a particular solution
. Substitution into (3) gives
(8)
Now since and are solutions of the homogeneous system, we have
, , thus .
Hence , so that (8) reduces to
. The solution is ;
here we use that the inverse of Y(Sec. 4.0) exists because the determinant of Yis the Wronskian W, which is not zero for a basis. Equation (9) in Sec. 4.0 gives the form of ,
. We multiply this by g, obtaining
Integration is done componentwise (just as differentiation) and gives
(where comes from the lower limit of integration). From this and Yin (7) we obtain
. Yu⫽ceⴚ2t eⴚ4t
eⴚ2t ⫺eⴚ4td c ⫺2t
⫺2e2t⫹2d⫽ c⫺2teⴚ2t⫺2eⴚ2t⫹2eⴚ4t
⫺2teⴚ2t⫹2eⴚ2t⫺2eⴚ4td ⫽c⫺2t⫺2
⫺2t⫹2d eⴚ2t⫹c 2
⫺2d eⴚ4t
⫹ 2
u(t)⫽
冮
0tc⫺⫺4e22t~d d~t ⫽c⫺2e⫺2t2t⫹2dur⫽Yⴚ1g⫽1
2ce2t e2t
e4t ⫺e4td c⫺6eⴚ2t
2eⴚ2td ⫽12c ⫺4
⫺8e2td ⫽c ⫺2
⫺4e2td.
Yⴚ1⫽ 1
⫺2eⴚ6tc⫺eⴚ4t ⫺eⴚ4t
⫺eⴚ2t eⴚ2td ⫽12ce2t e2t
e4t ⫺e4td
Yⴚ1 Yⴚ1
ur⫽Yⴚ1g Yur⫽g
Yru⫽AYu
Yr⫽AY y(2)r⫽Ay(2)
y(1)r⫽Ay(1) y(2)
y(1)
Yru⫹Yur⫽AYu⫹g.
yr⫽Ay⫹g
y(p)⫽Y(t)u(t) Y(t)⫽[y(1) y(2)]T
y(h)⫽ ceⴚ2t eⴚ4t
eⴚ2t ⫺eⴚ4td cc1
c2d ⫽Y(t)c
[eⴚ4t ⫺eⴚ4t]T [eⴚ2t eⴚ2t]T
y
r
⫽A(t)yy(p) g(t)
A⫽A(t)
y
r
⫽A(t)y⫹g(t)The last term on the right is a solution of the homogeneous system. Hence we can absorb it into . We thus obtain as a general solution of the system (3), in agreement with .
(9) y⫽c1 c1 . 䊏
1d eⴚ2t⫹c2 c 1
⫺1d eⴚ4t⫺2 c1
1d teⴚ2t⫹c⫺2
2d eⴚ2t
(5*)
y(h)
SEC. 4.6 Nonhomogeneous Linear Systems of ODEs 163
1. Prove that (2) includes every solution of (1).
2–7 GENERAL SOLUTION
Find a general solution. Show the details of your work.
2.
3.
4.
5.
6.
7.
8. CAS EXPERIMENT. Undetermined Coefficients.
Find out experimentally how general you must choose , in particular when the components of g have a different form (e.g., as in Prob. 7). Write a short report, covering also the situation in the case of the modification rule.
9. Undetermined Coefficients. Explain why, in Example 1 of the text, we have some freedom in choosing the vector v.
10–15 INITIAL VALUE PROBLEM Solve, showing details:
10.
11.
12.
13.
14.
y1(0)⫽1, y2(0)⫽0 yr2⫽ ⫺y1⫺20eⴚt
yr1⫽4y2⫹5et
y1(0)⫽5, y2(0)⫽2 y2r⫽ ⫺4y1⫹17 cos t
y1r⫽y2⫺5 sin t
y1(0)⫽2, y2(0)⫽ ⫺1 y2r⫽y1⫹y2⫺t2⫹t⫺1
y1r⫽y1⫹4y2⫺t2⫹6t
y1(0)⫽1, y2(0)⫽0 y2r⫽y1⫺e2t
y1r⫽y2⫹6e2t
y1(0)⫽19, y2(0)⫽ ⫺23 y2r⫽5y1⫹6y2⫺6et
y1r⫽ ⫺3y1⫺4y2⫹5et
y(p)
y2r⫽5y1⫹6y2⫹3eⴚt⫺15t⫺20
yr1⫽ ⫺3y1⫺4y2⫹11t⫹15
y2r⫽4y1⫺16t2⫹2
y1r⫽4y2
y2r⫽2y1⫹3y2⫺2.5t
y1r⫽4y1⫹y2⫹0.6t
y2r⫽2y1⫺6y2⫹cosh t⫹2 sinh t
y1r⫽4y1⫺8y2⫹2 cosh t
y2r⫽y1⫺3e3t
y1r⫽y2⫹e3t
y2r⫽3y1⫺y2⫺10 sin t
y1r⫽y1⫹y2⫹10 cos t
15.
16. WRITING PROJECT. Undetermined Coefficients.
Write a short report in which you compare the application of the method of undetermined coefficients to a single ODE and to a system of ODEs, using ODEs and systems of your choice.
17–20 NETWORK
Find the currents in Fig. 99 (Probs. 17–19) and Fig. 100 (Prob. 20) for the following data, showing the details of your work.
17.
18. Solve Prob. 17 with and the other data as before.
19. In Prob. 17 find the particular solution when currents and charge at t⫽0are zero.
E⫽440 sin t V
E⫽200 V C⫽0.5 F,
L⫽1 H, R2⫽8 ⍀,
R1⫽2 ⍀,
y1(0)⫽1, y2(0)⫽ ⫺4 yr2⫽ ⫺y2⫹1⫹t
yr1⫽y1⫹2y2⫹e2t⫺2t
P R O B L E M S E T 4 . 6
Switch E
L
R1 R2
C
I1 I2
Fig. 99. Problems 17–19
E R1
R2
I1 I2
L1 L2
Fig. 100. Problem 20 20.
I1(0)⫽I2(0)⫽0 E⫽100 V,
L2⫽1 H, L1⫽0.8 H,
R2⫽1.4 ⍀, R1⫽1 ⍀,
1. State some applications that can be modeled by systems of ODEs.
2. What is population dynamics? Give examples.
3. How can you transform an ODE into a system of ODEs?
4. What are qualitative methods for systems? Why are they important?
5. What is the phase plane? The phase plane method? A trajectory? The phase portrait of a system of ODEs?
6. What are critical points of a system of ODEs? How did we classify them? Why are they important?
7. What are eigenvalues? What role did they play in this chapter?
8. What does stability mean in general? In connection with critical points? Why is stability important in engineering?
9. What does linearization of a system mean?
10. Review the pendulum equations and their linearizations.
11–17 GENERAL SOLUTION. CRITICAL POINTS Find a general solution. Determine the kind and stability of the critical point.
11. 12.
13. 14.
15. 16.
17.
18–19 CRITICAL POINT
What kind of critical point does have if Ahas the eigenvalues
18. 4 and 2 19.
20–23 NONHOMOGENEOUS SYSTEMS Find a general solution. Show the details of your work.
20.
21.
22.
23.
y2r⫽y1⫹y2⫺cos t⫹sin t
y1r⫽y1⫹4y2⫺2 cos t
y2r⫽4y1⫹y2
y1r⫽y1⫹y2⫹sin t
y2r⫽4y1⫹32t2
y1r⫽4y2
y2r⫽ ⫺2y1⫺3y2⫹et
y1r⫽2y1⫹2y2⫹et
2⫹3i, 2⫺3i
⫺
yr⫽Ay
y2r⫽ ⫺2y1⫺y2
y1r⫽ ⫺y1⫹2y2
y2r⫽ ⫺4y1
y2r⫽ ⫺2y1⫺3y2
y1r⫽4y2
y1r⫽ ⫺3y1⫺2y2
y2r⫽3y1⫹2y2
y2r⫽ ⫺y1⫺6y2
y1r⫽3y1⫹4y2
y1r⫽ ⫺2y1⫹5y2
y2r⫽y2
y2r⫽8y1
y1r⫽5y1
y1r⫽2y2
24. Mixing problem. Tank in Fig. 101 initially contains 200 gal of water in which 160 lb of salt are dissolved.
Tank initially contains 100 gal of pure water. Liquid is pumped through the system as indicated, and the mixtures are kept uniform by stirring. Find the amounts of salt and in y1(t) y2(t) T1and T2, respectively.
T2
T1
C H A P T E R 4 R E V I E W Q U E S T I O N S A N D P R O B L E M S
T1 Water,
10 gal/min
T2 6 gal/min
16 gal/min
Mixture, 10 gal/min
Fig. 101. Tanks in Problem 24
25. Network. Find the currents in Fig. 102 when , .I2(0)⫽0
I1(0)⫽0
E(t)⫽169 sin t V, C⫽0.04 F,
L⫽1 H, R⫽2.5 ⍀,
26. Network. Find the currents in Fig. 103 when . I2(0)⫽1 A I1(0)⫽1 A,
C⫽0.2 F, L⫽1.25 H,
R⫽1 ⍀,
27–30 LINEARIZATION
Find the location and kind of all critical points of the given nonlinear system by linearization.
27. 28.
29. 30.
y2r⫽ ⫺8y1
y2r⫽sin y1
y1r⫽2y2⫹2y22
y1r⫽ ⫺4y2
y2r⫽3y1
y2r⫽y1⫺y13
y1r⫽cos y2
y1r⫽y2
E C
L
R
I1 I2
Fig. 102. Network in Problem 25
C R L
I1 I2
Fig. 103. Network in Problem 26
Summary of Chapter 4 165
Whereas single electric circuits or single mass–spring systems are modeled by single ODEs (Chap. 2), networks of several circuits, systems of several masses and springs, and other engineering problems lead to systems of ODEs, involving several unknown functions . Of central interest are first-order systems (Sec. 4.2):
, in components,
to which higher order ODEs and systems of ODEs can be reduced (Sec. 4.1). In this summary we let , so that
(1) , in components,
Then we can represent solution curves as trajectories in the phase plane (the -plane), investigate their totality [the “phase portrait” of (1)], and study the kind and stability of the critical points (points at which both and are zero), and classify them as nodes, saddle points, centers,orspiral points(Secs. 4.3, 4.4). These phase plane methods are qualitative; with their use we can discover various general properties of solutions without actually solving the system. They are primarily used for autonomous systems, that is, systems in which tdoes not occur explicitly.
A linear systemis of the form
(2) where , , .
If , the system is called homogeneous and is of the form
(3) .
If are constants, it has solutions , where is a solution of the quadratic equation
2a11⫺l a12
a21 a22⫺l2⫽(a11⫺l)(a22⫺l)⫺a12a21⫽0 l y⫽xelt
a11,Á, a22
y
r
⫽Ayg⫽0
g⫽
c
g1g2
d
y⫽
c
y1y2
d
A⫽
c
a11 a12a21 a22
d
y
r
⫽Ay⫹g,f2 f1 y1y2
y
r
1⫽f1(t, y1, y2)y2
r
⫽f2(t, y1, y2).y
r
⫽f(t, y)n⫽2
y
r
1⫽f1(t, y1,Á, yn).. .
y
r
n⫽fn(t, y1,Á, yn),y
r
⫽f(t, y)y1(t),Á, yn(t)
S U M M A R Y O F C H A P T E R 4
Systems of ODEs. Phase Plane. Qualitative Methods
and has components determined up to a multiplicative constant by
(These ’s are called the eigenvalues and these vectors x eigenvectors of the matrix A. Further explanation is given in Sec. 4.0.)
A system (2) with is called nonhomogeneous. Its general solution is of the form , where is a general solution of (3) and a particular solution of (2). Methods of determining the latter are discussed in Sec. 4.6.
The discussion of critical points of linear systems based on eigenvalues is summarized in Tables 4.1 and 4.2 in Sec. 4.4. It also applies to nonlinear systems if the latter are first linearized. The key theorem for this is Theorem 1 in Sec. 4.5, which also includes three famous applications, namely the pendulum and van der Pol equations and the Lotka–Volterra predator–prey population model.
yp
yh
y⫽yh⫹yp
g⫽0 l
(a11⫺l)x1⫹a12x2⫽0.
x1, x2
x⫽0
167
C H A P T E R 5
Series Solutions of ODEs.
Special Functions
In the previous chapters, we have seen that linear ODEs with constant coefficientscan be solved by algebraic methods, and that their solutions are elementary functions known from calculus. For ODEs with variable coefficientsthe situation is more complicated, and their solutions may be nonelementary functions. Legendre’s, Bessel’s, and the hypergeometric equations are important ODEs of this kind. Since these ODEs and their solutions, the Legendre polynomials, Bessel functions, and hypergeometric functions, play an important role in engineering modeling, we shall consider the two standard methods for solving such ODEs.
The first method is called the power series method because it gives solutions in the
form of a power series .
The second method is called the Frobenius methodand generalizes the first; it gives solutions in power series, multiplied by a logarithmic term or a fractional power , in cases such as Bessel’s equation, in which the first method is not general enough.
All those more advanced solutions and various other functions not appearing in calculus are known as higher functionsor special functions, which has become a technical term.
Each of these functions is important enough to give it a name and investigate its properties and relations to other functions in great detail (take a look into Refs. [GenRef1], [GenRef10], or [All] in App. 1). Your CAS knows practically all functions you will ever need in industry or research labs, but it is up to you to find your way through this vast terrain of formulas. The present chapter may give you some help in this task.
C O M M E N T . You can study this chapter directly after Chap. 2 because it needs no material from Chaps. 3 or 4.
Prerequisite:Chap. 2.
Section that may be omitted in a shorter course:5.5.
References and Answers to Problems:App. 1 Part A, and App. 2.