• Tidak ada hasil yang ditemukan

Nonhomogeneous Linear Systems of ODEs

Dalam dokumen Essential Conversion Factors for Engineering (Halaman 186-193)

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.)

b0 b0

b0 ƒbƒ

ysv02yby30

yYr

Ys(1 13Yr2)YrY0 (0)

0, 0, 0 0, 0

yssin y0 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

ys4yy30

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*) yc1 c1 , etc.

1d eⴚ2tc2 c 1

1d eⴚ4t 2 c1

1d teⴚ2t c2

2d eⴚ2t

v[2 2]T k⫽ ⫺2

yy(h)y(p)c1 c1

1d eⴚ2t c2 c 1

1d eⴚ4t2 c1

1d teⴚ2tc0

4d eⴚ2t

k0

v[k k4]T. v1k, v2k4

v2v14 0⫽ ⫺2a4, a⫽ ⫺2

v1v2⫽ ⫺a2 v1v2⫽ ⫺a6

ca

ad c2v2v1

2d c3vv1 v2

13v2d c6

2d

u2vAvc6

2d

a0 ua[1 1]T

l⫽ ⫺2

2uAu teⴚ2t

y(p)rueⴚ2t2uteⴚ2t2veⴚ2tAuteⴚ2tAveⴚ2tg

ueⴚ2t y(p)uteⴚ2tveⴚ2t

y(h) eⴚ2t

l⫽ ⫺2

y(h)c1c1

1d eⴚ2t c2c 1

1d eⴚ4t

yrAygc3 1

1 3d yc6

2d eⴚ2t y(p)uvtwt2

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

. Yuceⴚ2t eⴚ4t

eⴚ2t eⴚ4td c 2t

2e2t2d c2teⴚ2t2eⴚ2t2eⴚ4t

2teⴚ2t2eⴚ2t2eⴚ4td c2t2

2t2d eⴚ2tc 2

2d eⴚ4t

2

u(t)

0tc4e22t~d d~t c2e2t2t2d

urYⴚ1g1

2ce2t e2t

e4t e4td c6eⴚ2t

2eⴚ2td 12c 4

8e2td c 2

4e2td.

Yⴚ1 1

2eⴚ6tceⴚ4t eⴚ4t

eⴚ2t eⴚ2td 12ce2t e2t

e4t e4td

Yⴚ1 Yⴚ1

urYⴚ1g Yurg

YruAYu

YrAY y(2)rAy(2)

y(1)rAy(1) y(2)

y(1)

YruYurAYug.

yrAyg

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)y

y(p) g(t)

AA(t)

y

r

A(t)yg(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) yc1 c1 .

1d eⴚ2tc2 c 1

1d eⴚ4t2 c1

1d teⴚ2tc2

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⫽ ⫺y120et

yr14y25et

y1(0)5, y2(0)2 y2r⫽ ⫺4y117 cos t

y1ry25 sin t

y1(0)2, y2(0)⫽ ⫺1 y2ry1y2t2t1

y1ry14y2t26t

y1(0)1, y2(0)0 y2ry1e2t

y1ry26e2t

y1(0)19, y2(0)⫽ ⫺23 y2r5y16y26et

y1r⫽ ⫺3y14y25et

y(p)

y2r5y16y23et15t20

yr1⫽ ⫺3y14y211t15

y2r4y116t22

y1r4y2

y2r2y13y22.5t

y1r4y1y20.6t

y2r2y16y2cosh t2 sinh t

y1r4y18y22 cosh t

y2ry13e3t

y1ry2e3t

y2r3y1y210 sin t

y1ry1y210 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 t0are zero.

E440 sin t V

E200 V C0.5 F,

L1 H, R28 ,

R12 ,

y1(0)1, y2(0)⫽ ⫺4 yr2⫽ ⫺y21t

yr1y12y2e2t2t

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 E100 V,

L21 H, L10.8 H,

R21.4 , R11 ,

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.

y2ry1y2cos tsin t

y1ry14y22 cos t

y2r4y1y2

y1ry1y2sin t

y2r4y132t2

y1r4y2

y2r⫽ ⫺2y13y2et

y1r2y12y2et

23i, 23i

yrAy

y2r⫽ ⫺2y1y2

y1r⫽ ⫺y12y2

y2r⫽ ⫺4y1

y2r⫽ ⫺2y13y2

y1r4y2

y1r⫽ ⫺3y12y2

y2r3y12y2

y2r⫽ ⫺y16y2

y1r3y14y2

y1r⫽ ⫺2y15y2

y2ry2

y2r8y1

y1r5y1

y1r2y2

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, C0.04 F,

L1 H, R2.5 ,

26. Network. Find the currents in Fig. 103 when . I2(0)1 A I1(0)1 A,

C0.2 F, L1.25 H,

R1 ,

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

y2rsin y1

y1r2y22y22

y1r⫽ ⫺4y2

y2r3y1

y2ry1y13

y1rcos y2

y1ry2

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

2a11l a12

a21 a22⫺l2⫽(a11⫺l)(a22⫺l)⫺a12a21⫽0 l yxelt

a11,Á, a22

y

r

Ay

g0

g

c

g1

g2

d

y

c

y1

y2

d

A

c

a11 a12

a21 a22

d

y

r

Ayg,

f2 f1 y1y2

y

r

1f1(t, y1, y2)

y2

r

f2(t, y1, y2).

y

r

f(t, y)

n⫽2

y

r

1f1(t, y1,Á, yn)

.. .

y

r

nfn(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

yyhyp

g0 l

(a11⫺l)x1a12x2⫽0.

x1, x2

x0

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.

Dalam dokumen Essential Conversion Factors for Engineering (Halaman 186-193)