• Tidak ada hasil yang ditemukan

Nonhomogeneous Linear ODEs

Dalam dokumen Essential Conversion Factors for Engineering (Halaman 142-150)

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

3.3 Nonhomogeneous Linear ODEs

An initial value problemfor (1) consists of (1) and ninitial conditions (4)

with in I. Under those continuity assumptions it has a unique solution. The ideas of proof are the same as those for in Sec. 2.7.

Method of Undetermined Coefficients

Equation (2) shows that for solving (1) we have to determine a particular solution of (1).

For a constant-coefficient equation (5)

( constant) and special as in Sec. 2.7, such a can be determined by the method of undetermined coefficients,as in Sec. 2.7, using the following rules.

(A) Basic Ruleas in Sec. 2.7.

(B) Modification Rule. If a term in your choice for is a solution of the homogeneous equation (3), then multiply this term by where k is the smallest positive integer such that this term times is not a solution of (3).

(C) Sum Ruleas in Sec. 2.7.

The practical application of the method is the same as that in Sec. 2.7. It suffices to illustrate the typical steps of solving an initial value problem and, in particular, the new Modification Rule, which includes the old Modification Rule as a particular case (with or 2). We shall see that the technicalities are the same as for except perhaps for the more involved determination of the constants.

E X A M P L E 1 Initial Value Problem. Modification Rule Solve the initial value problem

(6)

Solution. Step 1. The characteristic equation is It has the triple root Hence a general solution of the homogeneous ODE is

Step 2. If we try we get which has no solution. Try and

The Modification Rule calls for

Then

yptC(618x9x2x3)ex. ypsC(6x6x2x3)ex,

yprC(3x2x3)ex, ypCx3ex. Cx2ex.

Cxex

C3C3CC30, ypCex,

(c1c2xc3x2)ex. yhc1exc2xexc3x2ex l⫽ ⫺1.

l33l23l1(l1)30.

yt3ys3yry30ex, y(0)3, yr(0)⫽ ⫺3, ys(0)⫽ ⫺47.

n⫽2, k⫽1

xk

xk, yp(x)

yp(x) r(x)

a0,Á, anⴚ1

y(n)an1y(nⴚ1)⫹ Á ⫹a1y

r

a0yr(x)

n⫽2 x0

y(x0)⫽K0, y

r

(x0)K1, Á, y(nⴚ1)(x0)Knⴚ1

SEC. 3.3 Nonhomogeneous Linear ODEs 117

Substitution of these expressions into (6) and omission of the common factor gives

The linear, quadratic, and cubic terms drop out, and Hence This gives

Step 3.We now write down the general solution of the given ODE. From it we find by the first initial condition. We insert the value, differentiate, and determine from the second initial condition, insert the value, and finally determine from and the third initial condition:

Hence the answerto our problem is (Fig. 73)

The curve of ybegins at (0, 3) with a negative slope, as expected from the initial values, and approaches zero

as x:.The dashed curve in Fig. 74 is yp.

y(325x2)ex5x3ex.

ys[32c3(304c3)x(30c3)x25x3]ex, ys(0)32c3⫽ ⫺47, c3⫽ ⫺25.

yr[3c2(c22c3)x(15c3)x25x3]ex, yr(0)⫽ ⫺3c2⫽ ⫺3, c20 yyhyp(c1c2xc3x2)ex5x3ex, y(0)c13

ys(0) c3

c2

c1 yyhyp,

yp5x3ex. C5.

6C30.

C(618x9x2x3)3C(6x6x2x3)3C(3x2x3)Cx330.

ex

– 5 5

0 5 x

y

10

Fig. 74. yand yp(dashed) in Example 1

Method of Variation of Parameters

The method of variation of parameters (see Sec. 2.10) also extends to arbitrary order n.

It gives a particular solution for the nonhomogeneous equation (1) (in standard form with as the first term!) by the formula

(7)

on an open interval Ion which the coefficients of (1) and are continuous. In (7) the functions form a basis of the homogeneous ODE (3), with Wronskian W, and is obtained from W by replacing the jth column of W by the column

Thus, when this becomes identical with (2) in Sec. 2.10, W⫽ `y1 y2

y1

r

y

2

r

`, W1 `

0 y2

1 y2

r

` ⫽ ⫺y2, W2 `

y1 0 y1

r

1` y1.

n⫽2, [0 0 Á 0 1]T.

Wj ( j⫽1,Á, n) y1,Á, yn

r(x)

y1(x)

WW(x)1(x) r(x) dx Á yn(x)

WW(x)n(x) r(x) dx

yp(x)⫽ a

n

k⫽1 yk(x)

WW(x)k(x) r(x) dx

y(n)

yp

The proof of (7) uses an extension of the idea of the proof of (2) in Sec. 2.10 and can be found in Ref [A11] listed in App. 1.

E X A M P L E 2 Variation of Parameters. Nonhomogeneous Euler–Cauchy Equation Solve the nonhomogeneous Euler–Cauchy equation

Solution. Step 1. General solution of the homogeneous ODE.Substitution of and the derivatives into the homogeneous ODE and deletion of the factor gives

The roots are 1, 2, 3 and give as a basis

Hence the corresponding general solution of the homogeneous ODE is

Step 2. Determinants needed in(7).These are

Step 3. Integration.In (7) we also need the right side of our ODE in standard form, obtained by division of the given equation by the coefficient of thus, In (7) we have the simple

quotients Hence (7) becomes

Simplification gives Hence the answer is

Figure 75 shows Can you explain the shape of this curve? Its behavior near The occurrence of a minimum?

Its rapid increase? Why would the method of undetermined coefficients not have given the solution?yp. x0?

yyhypc1xc2x2c3x316 x4 (ln x116).

yp16 x4 (ln x116).

x 2ax3

3 ln xx3

9bx2 ax2 2 ln xx2

4bx3

2 (x ln xx).

ypx

x2 x ln x dxx2

x ln x dxx3

2x1 x ln x dx W1>Wx>2, W2>W⫽ ⫺1, W3>W1>(2x).

r(x)(x4 ln x)>x3x ln x.

yt; x3

r(x) W34

x x2 0

1 2x 0

0 2 1

4x2.

W24

x 0 x3 1 0 3x2

0 1 6x

4⫽ ⫺2x3

W14

0 x2 x3 0 2x 3x2

1 2 6x

4x4

W3

x x2 x3 1 2x 3x2

0 2 6x

32x3

yhc1xc2x2c3x3. y1x, y2x2, y3x3. m(m1)(m2)3m(m1)6m60.

xm

yxm

(x0).

x3yt3x2ys6xyr6yx4 ln x

SEC. 3.3 Nonhomogeneous Linear ODEs 119

Application: Elastic Beams

Whereas second-order ODEs have various applications, of which we have discussed some of the more important ones, higher order ODEs have much fewer engineering applications.

An important fourth-order ODE governs the bending of elastic beams, such as wooden or iron girders in a building or a bridge.

A related application of vibration of beams does not fit in here since it leads to PDEs and will therefore be discussed in Sec. 12.3.

E X A M P L E 3 Bending of an Elastic Beam under a Load

We consider a beam Bof length Land constant (e.g., rectangular) cross section and homogeneous elastic material (e.g., steel); see Fig. 76. We assume that under its own weight the beam is bent so little that it is practically straight. If we apply a load to Bin a vertical plane through the axis of symmetry (the x-axis in Fig. 76), Bis bent. Its axis is curved into the so-called elastic curveC(or deflection curve). It is shown in elasticity theory that the bending moment is proportional to the curvature of C. We assume the bending to be small, so that the deflection and its derivative (determining the tangent direction of C) are small.

Then, by calculus, Hence

EIis the constant of proportionality. Eis Young’s modulus of elasticityof the material of the beam. Iis the moment of inertia of the cross section about the (horizontal) z-axis in Fig. 76.

Elasticity theory shows further that where is the load per unit length. Together,

(8) EIyivf(x).

f(x) Ms(x)f(x),

M(x)EIys(x).

kys>(1yr2)3>2ys.

yr(x) y(x)

k(x) M(x)

– 20 20

5 x

y 30

10 –10

10 0

Fig. 75. Particular solution of the nonhomogeneous Euler–Cauchy equation in Example 2

yp

L Undeformed beam

Deformed beam under uniform load (simply supported) x

y z

x

y z

Fig. 76. Elastic beam

In applications the most important supports and corresponding boundary conditions are as follows and shown in Fig. 77.

(A) Simply supported at and L

(B) Clamped at both ends at and L

(C) Clamped at , free at

The boundary condition means no displacement at that point, means a horizontal tangent, means no bending moment, and means no shear force.

Let us apply this to the uniformly loaded simply supported beam in Fig. 76. The load is Then (8) is

(9)

This can be solved simply by calculus. Two integrations give

gives Then (since ). Hence

Integrating this twice, we obtain

with from Then

Inserting the expression for k, we obtain as our solution

Since the boundary conditions at both ends are the same, we expect the deflection to be “symmetric” with respect to that is, Verify this directly or set and show that ybecomes an even function of u,

From this we can see that the maximum deflection in the middle at is Recall

that the positive direction points downward. 5f0L

4>(16#24EI).

u0(xL>2) y f0

24EIau21

4 L2bau25 4 L2b. xuL>2 y(x)y(Lx).

L>2,

y(x) y f0

24EI (x42Lx3L3x).

y(L)kL 2 aL3

12L3

6 c3b0, c3L3 12. y(0)0.

c40

yk 2a1

12 x4L

6 x3c3xc4b ysk

2 (x2Lx).

L0 ys(L)L(12kLc1)0, c1⫽ ⫺kL>2

c20.

ys(0)0

ysk

2 x2c1xc2. yivk, k f0

EI.

f(x)f0const.

yt0

ys0 yr0

y0

y(0)yr(0)0, ys(L)yt(L)0.

xL x0

x0 yyr0

x0 yys0

SEC. 3.3 Nonhomogeneous Linear ODEs 121

x

x = 0 x = L

x = 0 x = L

x = 0 x = L

(A) Simply supported

(B) Clamped at both ends

(C) Clamped at the left end, free at the right end

Fig. 77. Supports of a beam

1–7 GENERAL SOLUTION

Solve the following ODEs, showing the details of your work.

1.

2.

3.

4.

5.

6.

7.

8–13 INITIAL VALUE PROBLEM

Solve the given IVP, showing the details of your work.

8.

9.

10.

11.

12.

ys(0)17.2

yr(0)8.8,

y(0)4.5, (D32D29D18I)ye2x,

ys(0)⫽ ⫺5.2

yr(0)3.2,

y(0)⫽ ⫺1.4, (D32D23D)y74e3x sin x,

ys(1)14

yr(1)3,

y(1)1, x3ytxyryx2,

yt(0)⫽ ⫺32

ys(0)⫽ ⫺1,

yr(0)2,

y(0)1, yiv5ys4y90 sin 4x,

yt(0)0

ys(0)0,

yr(0)0,

y(0)1, yiv5ys4y10e3x,

(D39D227D27I)y27 sin 3x (D34D)ysin x

(x3D3x2D22xD2I)yx2 (D33D25D39I)y⫽ ⫺300 cos x (D410D29I)y6.5 sinh 2x yt2ysyr2y14x3

yt3ys3yryexx1

P R O B L E M S E T 3 . 3

13.

14. CAS EXPERIMENT. Undetermined Coefficients.

Since variation of parameters is generally complicated, it seems worthwhile to try to extend the other method.

Find out experimentally for what ODEs this is possible and for what not. Hint:Work backward, solving ODEs with a CAS and then looking whether the solution could be obtained by undetermined coefficients. For example, consider

and

15. WRITING REPORT. Comparison of Methods. Write a report on the method of undetermined coefficients and the method of variation of parameters, discussing and comparing the advantages and disadvantages of each method. Illustrate your findings with typical examples.

Try to show that the method of undetermined coefficients, say, for a third-order ODE with constant coefficients and an exponential function on the right, can be derived from the method of variation of parameters.

x3ytx2ys2xyr2yx3 ln x.

yt3ys3yryx1>2ex

ys(0)⫽ ⫺1

yr(0)⫽ ⫺2,

y(0)3, (D34D)y10 cos x5 sin x,

1. What is the superposition or linearity principle? For what nth-order ODEs does it hold?

2. List some other basic theorems that extend from second-order to nth-order ODEs.

3. If you know a general solution of a homogeneous linear ODE, what do you need to obtain from it a general solution of a corresponding nonhomogeneous linear ODE?

4. What form does an initial value problem for an nth- order linear ODE have?

5. What is the Wronskian? What is it used for?

6–15 GENERAL SOLUTION

Solve the given ODE. Show the details of your work.

6.

7.

8.

9.

10. x2yt3xys2yr0

(D416I)y⫽ ⫺15 cosh x yt4ysyr4y30e2x

yt4ys13yr0

yiv3ys4y0

C H A P T E R 3 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

11.

12.

13.

14.

15.

16–20 INITIAL VALUE PROBLEM Solve the IVP. Show the details of your work.

16.

17.

18.

19.

20.

ys(0)5

yr(0)⫽ ⫺3,

y(0)⫽ ⫺1, (D33D23DI)y8 sin x,

D2y(0)189 Dy(0)⫽ ⫺41,

y(0)9,

(D39D223D15I)y12exp(4x), D3y(0)⫽ ⫺130 D2y(0)34,

Dy(0)⫽ ⫺6,

y(0)12.16, (D426D225I)y50(x1)2,

ys⫽ ⫺24

yr(0)⫽ ⫺3.95,

y(0)1.94, yt5ys24yr20yx,

D2y(0)0

Dy(0)1, y(0)0,

(D3D2DI)y0, 4x3yt3xyr3y10

(D413D236I)y12ex (D36D212D8I)y8x2 (D3D)ysinh 0.8x

yt4.5ys6.75yr3.375y0

Summary of Chapter 3 123

Compare with the similar Summary of Chap. 2 (the case ).

Chapter 3 extends Chap. 2 from order to arbitrary order n. An nth-order linear ODEis an ODE that can be written

(1)

with as the first term; we again call this the standard form. Equation (1) is called homogeneous if on a given open interval I considered, nonhomogeneousif on I. For the homogeneous ODE

(2)

the superposition principle (Sec. 3.1) holds, just as in the case A basisor fundamental system of solutions of (2) on I consists of n linearly independent solutions of (2) on I. A general solutionof (2) on Iis a linear combination of these,

(3) ( arbitrary constants).

A general solutionof the nonhomogeneous ODE (1) on Iis of the form

(4) (Sec. 3.3).

Here, is a particular solution of (1) and is obtained by two methods (undetermined coefficientsor variation of parameters) explained in Sec. 3.3.

An initial value problem for (1) or (2) consists of one of these ODEs and n initial conditions (Secs. 3.1, 3.3)

(5)

with given in Iand given If are continuous on I,

then general solutions of (1) and (2) on Iexist, and initial value problems (1), (5) or (2), (5) have a unique solution.

p0,Á, pnⴚ1, r K0,Á, Knⴚ1.

x0

y(x0)⫽K0, y

r

(x0)K1, Á, y(nⴚ1)(x0)Knⴚ1

yp

yyhyp

c1,Á, cn yc1y1⫹ Á ⫹cnyn

y1,Á, yn

n⫽2.

y(n)pnⴚ1(x)y(nⴚ1)⫹ Á ⫹p1(x)y

r

p0(x)y0

r(x) [ 0

r(x)⬅0 y(n)dny>dxn

y(n)pnⴚ1(x)y(nⴚ1)⫹ Á ⫹p1(x)y

r

p0(x)yr(x)

n⫽2

n2

S U M M A R Y O F C H A P T E R 3

Higher Order Linear ODEs

124

C H A P T E R 4

Systems of ODEs. Phase Plane.

Qualitative Methods

Tying in with Chap. 3, we present another method of solving higher order ODEs in Sec. 4.1. This converts any nth-order ODE into a system of nfirst-order ODEs. We also show some applications. Moreover, in the same section we solve systems of first-order ODEs that occur directly in applications, that is, not derived from an nth-order ODE but dictated by the application such as two tanks in mixing problems and two circuits in electrical networks. (The elementary aspects of vectors and matrices needed in this chapter are reviewed in Sec. 4.0 and are probably familiar to most students.)

In Sec. 4.3 we introduce a totally different way of looking at systems of ODEs. The method consists of examining the general behavior of whole families of solutions of ODEs in the phase plane, and aptly is called the phase plane method. It gives information on the stability of solutions. (Stability of a physical systemis desirable and means roughly that a small change at some instant causes only a small change in the behavior of the system at later times.) This approach to systems of ODEs is a qualitative methodbecause it depends only on the nature of the ODEs and does not require the actual solutions. This can be very useful because it is often difficult or even impossible to solve systems of ODEs. In contrast, the approach of actually solving a system is known as a quantitative method.

The phase plane method has many applications in control theory, circuit theory, population dynamics and so on. Its use in linear systems is discussed in Secs. 4.3, 4.4, and 4.6 and its even more important use in nonlinear systems is discussed in Sec. 4.5 with applications to the pendulum equation and the Lokta–Volterra population model. The chapter closes with a discussion of nonhomogeneous linear systems of ODEs.

N O T A T I O N . We continue to denote unknown functions by y; thus, — analogous to Chaps. 1–3. (Note that some authors use xfor functions, when dealing with systems of ODEs.)

Prerequisite: Chap. 2.

References and Answers to Problems: App. 1 Part A, and App. 2.

Dalam dokumen Essential Conversion Factors for Engineering (Halaman 142-150)