• 沒有找到結果。

5 Linear Differential Equation of Higher Order

5.1 Linear Dependence and Linear Independence of Functions

Def. Given fi 2 Cn 1(I), i = 1; 2; ; n. If a linear relation Xn

i=1

cifi = 0

holds only for ci = 0; 8i & 8x 2 I, then fi; i = 1; 2; n are said "linearly independent" in I: Otherwise, f1;f2; fn are said

"linearly dependent" in I:

Theorem 6 Given fi 2 Cn 1(I), i = 1; 2; ; n:8x 2 I. Then f1; f2; fn are linearly indep. iff.

f1 ; f2 ; : : : fn f10 ; f20 ; : : : fn0 ... ... ... ...

f1[n 1] ; f2[n 1] ; fn[n 1]

6= 0 pf.

Xn i=1

cifi = 0 (1)

Differential Equations 62

Differential Equations 63 5.2 De nition and Properties of Linear D. E. of n th Order Def.

P0(x)y[n] + P1(x)y[n 1] + + Pn(x)y = f (x) (1) s. t.

Pi; f 2 C0; i = 0; 1; n; P0(x) 6= 0:

Then (1) is called a linear D. E. of n th order.

(1) can also be written as

y[n] + eP1(x)y[n 1] + + fPn(x)y = Q(x) (2) Consider a linear transformation

T ( 1y1 + + nyn) =

Xn i=1

iT (yi)

A linear operator L is also a linear transformation. We may de ne L[y] =

Xn i=0

Pi(x)y[n i]; then (1) becomes L[y] = f (x) (1)0.

Def. L[y] = 0 is called the homogeneous D. E. of L[y] = f (x).

Properties :

(i) Let yi; i = 1; r be P. S. of L[y] = 0. Then y = Pr

i=1 ciyi is also a particular solution of L[y] = 0.

Differential Equations 64

Differential Equations 65 n solutions that are L. I.

Explanation :

Since L [ y ] = 0 is of order n;

y =

Xn i=1

ciyi

is the G. S. of L[y] = 0: And clearly, y1; yn are L. I. P. S.s of L[y] = 0.

Properties :

(i) Let y1; yn be n L. I. P. S.s of L[y] = 0. Then y = Pn

i=1 ciyi is the G. S. of L[y] = 0.

(ii) Let y1; yn be n L. I. P. S. of L[y] = 0 and y^ be a P. S.

of L[y] = f (x). Then

Xn i=1

ciyi + yb is the G. S. of L[y] = f (x).

Figure.

Ex. y00 y = x2 + 2 (1)

Differential Equations 66 Solution: Let

L[y] = y00 y;

and f (x) = x2 + 2;

where ex and e x are 2 P. S.s of L[y] = 0 & ^y = x2 is a P. S. of L[y] = f (x).

) c1ex + c2e x : G. S. of L[y] = 0;

and the G. S. of L[y] = f (x) is

c1ex + c2e x + x2: # (iii) Let y1; y2 be 2 P. S. of L[y] = f (x).

Then y1 y2 is a P. S. of L[y] = 0. pf.

* L[y1] = f (x); L[y2] = f (x);

) L[y1 y2] = L[y1] L[y2] = f (x) f (x);

) L[y1 y2] = 0:

i. e. y1 y2 : P. S. of L[y] = 0. #

(iv) Let y1; yn be n linearly independent P. S.s of an n th order linear D. E. L[y] = 0.

If w(y1; yn)(x0) 6= 0; for some x0 2 I; then w(y1; yn)(x) 6= 0; 8x 2 I; where

Differential Equations 67

Differential Equations 68

Differential Equations 69 Let

g(x) =

Z x x0

(p1

p0)dx; then w(x) = w(x0)eg(x):

* w(x0) 6= 0 & eg(x) 6= 0; 8x 2 I;

) w(x) 6= 0; 8x 2 I: #

Differential Equations 70 5.3 Linear D. E. of n-th Order with Constant Coef cients 5.3.1 D-Operator

L[y] =

Xn i=0

aiy[n i] = f (x) (1) where ai : constants, i = 0; 1; 2; n.

(1) can also be written as L[y] =

Xn i=0

aiDn iy = f (x) (1)0 where

Xn i=0

aiDn i = F (D):

Hence

(1)0 ) F (D)y = f(x) (2):

The polynomial F of D has the following properties:

i)

(aDr + bDs)y = (bDs + aDr)y :commutative of +

ii)

(aDr) (bDs)y = (bDs) (aDr)y :commutative of

Differential Equations 71 iii)

[(aDr + bDs) + cDt]y = [aDr + (bDs + cDt)]y :associative of +

iv)

[(aDr bDs) cDt]y = [aDr (bDs cDt)]y :associative of

v)

[aDr (bDs + cDt)]y = [(aDr) (bDs)]y

+[(aDr) (cDt)]y :distributive law.

Formulas:

(i)

F (D)eax = F (a)eax pf.

* F(D)eax =

Xn i=0

ai(an i)eax

= eax

Xn i=0

aian i = eaxF (a):

Note:

Diekx = kiekx:

Differential Equations 72

Differential Equations 73 Ex.

(D4 2D2 + 1) cos 2x =?

Solution:

((D2)2 2D2 + 1) cos 2x

= (( 4)2 2( 4) + 1) cos 2x

= 25 cos 2x: # (iii)

F (D2) cosh ax

sinh ax = F (a2) cosh ax sinh ax : Pf. *

cosh ax = 1

2(eax + e ax);

sinh ax = 1

2(eax e ax);

) F(D2) cosh ax

sinh ax = F (a2) cosh ax sinh ax : (iv)

F (D)(eax (x)) = eaxF (D + a) (x)

Differential Equations 74

Differential Equations 75 Ex.

(D 1)(D + 2)(exx3) =?

Solution: ( In fact, (dxd22 + dxd 2)(exx3))

* F(D) = (D 1)(D + 2)

) F(D)(exx3) = exF (D + 1)x3

= ex(D + 1 1)(D + 1 + 2)x3

= exD(D + 3)x3 = ex(6x + 9x2): # (v)

(D a)reax (x) = eaxDr (x):

In particular, (x) = xk; k = 0; 1; 2; 3; ; then we have the following conditions:

(D a)r(eaxxk) = (eaxDrxk)

=

( 0; if r > k

eaxk(k 1) (k r + 1)xk r; if k r:

i. e.

(D a)r(eaxxk) = 0; k = 0; 1; 2; r 1 Hence for

(D a)ry = 0; (1) we obtain

eax; xeax; x2eax; ; xr 1eax

Differential Equations 76 being L. I. , and

y = C1eax + C2xeax + + Crxr 1eax

:a G. S. of (1), where C1; C2; C3; Cr are arbitrary constants.

Differential Equations 77 5.3.2 G. S. of a D. E. F (D)y = 0:

Let F & G be two polynomials of operators, and let (x) be a solution of G(D)y = 0. Then (x) is also a solution of F (D)G(D)y = 0:

(* F(D)G(D)y = F(D)(G(D)y) = F(D)0 = 0.)

Ex. Note that ex is a P. S. of (D 1)y = 0, then ex is also a P. S. of

(D + 2)(D 1)y = 0:

Discussion: Consider (D a)ry = 0 has the G. S.

yG = (C1 + C2x + + Crxr 1)eax: Let

F (D) = a0(D 1)r1 (D k)rk; where r1 + r2 + + rk = n; and for

(D 1)r1y = 0; y = (C1 + C2x + + Cr1xr1 1)e 1x; (D 2)r2y = 0; y = (C1 + C2x + + Cr2xr2 1)e 2x;

... ...

(D k)rky = 0; y = (fC1 + fC2x + + fCrkxrk 1)e kx: i. e.

(C1 + C2x + + Cr1xr1 1)e 1x +

+(fC1 + fC2x + + fCrkxrk 1)e kx is the G. S. of F (D)y = 0: #

Differential Equations 78 Ex.

(D 1)2(D + 1)y = 0:

Solve y:

Solution:

i) (D + 1)y = 0 has G. S.

y = C1e x;

or y0 + y = 0, a 1st order linear D. E. with solution

y = e x

Z x

0 eRudtdu + c = ce x: ii) (D 1)2y = 0 has G. S.

y = (C2 + C3x)ex So combine i) and ii),

y = C1e x + (C2 + C3x)ex : G. S. of y: # Ex.

y[4] y = 0:

Solve y(x). Solution:

i. e.

Differential Equations 79 Then

F (D) = (D 1)(D + 1)(D2 + 1)

) (D 1)(D + 1)(D i)(D + i)y = 0:

) G: S: of y = C1ex + C2e x + C3eix + C4e ix:

Since eix = cos x + i sin x

e ix = cos x i sin x , we have

y = C1ex + C2e x + fC3cos x + fC4sin x:

Ex. (D6 1)y = 0: Solve for y:

Solution:

(D6 1) = (D3 1)(D3 + 1)

= (D 1)(D + 1)(D2 + D + 1)(D2 D + 1):

) D6 1 = 0 has roots 1; 1 p

3i

2 ; and 1 p 3i 2 : Hence the G. S.

Differential Equations 80

y = C1ex + C2e x + C3e 1+

p3i

2 x + C4e 1

p3i

2 x

+C5e1+

p3i

2 x + C6e1

p3i

2 x

= C1ex + C2e x + e 2x(C30 cos(

p3

2 x) + C40 sin(

p3 2 x)) +ex2(C50 cos(

p3

2 x) + C60 sin(

p3

2 x)): # Note: Given

F (D)y = f (x) ( ) The polynomial equation

F (u) = 0 is called the "auxillary equation" of ( ).

Differential Equations 81 5.3.3 Particular Solution of F (D)y = f (x) : Inverse

D Operator

If we can nd a P. S. yp of

F (D)y = f (x) and solve the homogeneous D. E.

F (D)y = 0 to nd the G. S. yc of F (D)y = 0. Then

yc + yp is the G. S. of F (D)y = f (x).

De nitions

i) De ne the P. S. of (A) by F (D)1 f (x).

ii) We regard 2 P. S.s y1 & y2 of (A) are equivalent if y2 y1 = yp

with F (D)yp = 0:

explanation:

F (D)y1 = f (x) = F (D)y2

) F (D)(y2 y1) = 0: # iii)

F (D) 1

F (D)f (x) = F (D) 1

F (D) f (x) = f (x); 8f 2 C1:

Differential Equations 82 (i. e.F (D)F (D)1 = 1:)

iv)

a 1

F (D) + b 1

G(D) f (x) = a 1

F (D)f (x) + b 1

G(D)f (x):

v)

1

F (D) (G(D)f (x)) = 1

F (D)G(D) f (x):

Propositions (i)

F (D) 1

F (D) = 1 (By Def.)

(ii)

1

F (D)F (D) = 1:

pf. * f(x) is a P. S. of F (D)y = F (D)f (x); by Def., f (x) = 1

F (D)F (D)f (x):

i. e.

1

F (D)F (D) = 1: #

Differential Equations 83 (iii)

1

F (D)(af (x) + bg(x)) = a 1

F (D)f (x) + b 1

F (D)g(x):

pf.

1

F (D)f (x) is a P. S. of

F (D)y = f;

and

1

F (D)g(x) is a P. S. of

F (D)y = g(x):

Let

y1 = 1

F (D)f (x)& y2 = 1

F (D)g(x):

) F(D)(ay1 + by2) = aF (D)y1 + bF (D)y2

= af (x) + bg(x):

) 1

F (D)(af (x) + bg(x)) is a P. S. of

F (D)y = af (x) + bg(x);

Differential Equations 84

Differential Equations 85 pf. Let

y1 = 1

G(D)f (x); y2 = 1

F (D)f (x):

i. e.

G(D)y1 = f (x); F (D)y2 = f (x):

Let

y3 = 1

F (D)G(D)f (x);

thenF (D)G(D)y3 = f (x):

) F(D)G(D) 1

F (D)G(D)f (x) = f (x)

, G(D)F (D) 1

F (D)G(D)f (x) = f (x) , G(D) F (D) 1

F (D)

1

G(D)f (x) = f (x)

) G(D) 1

G(D)f (x) = f (x): # Ex.

1

(D a)reax =?

Solution:

Differential Equations 86

Differential Equations 87

(iii) Hence we may do this again and again, and we obtain 1

Differential Equations 88

To solve the problem, consider

F (D) = D2 + D 2 = (D + 2)(D 1):

Differential Equations 89

Differential Equations 90 Then (N) becomes

1 = X

By using the above notations, we nd that F (D)X

Differential Equations 91

Differential Equations 92

k is a constant.

pf. Let y1 be the P. S. of F (D)y = f (x), i. e.

Differential Equations 93

Differential Equations 94

Differential Equations 95

Differential Equations 96

Differential Equations 97

Differential Equations 98 iii).

1

D2 + D + 2 sin 2x = Im( 1

D2 + D + 2e2ix)

= Im( 1

4 + 2 + 2ie2ix)

= 1

2Im e2ix i 1

= 1

2Imi + 1

2 (cos 2x + i sin 2x)

= 1

4Im[(cos 2x sin 2x) +i(sin 2x + cos 2x)]

= 1

4(sin 2x + cos 2x):

Homework. Find

1

D3 + D2 1 cos 3x:

vi).

F 1(D)(eax (x)) = eaxF 1(D + a) (x):

pf. Consider the P. S. of

F (D)y = eax (x) being yp. In particular, set

yp = eax (x):

Differential Equations 99 Plug yp into F (D)y = eax (x), we nd

F (D)(eax (x)) = eaxF (D + a) (x)

= eax (x):

) F (D + a) (x) = (x) Then (x) is a P. S. of F (D + a)y = (x); i. e.

(x) = 1

F (D + a) (x):

So

yp = 1

F (D)(eax (x))

= eax (x)

= eax( 1

F (D + a) (x)):

Ex.

1

(D a)reax =?

Solution: We have solved (D a)1 reax previously as xr!reax. Now

Differential Equations 100 consider the following:

1

(D a)reax = 1

(D a)reax 1

= eax 1 Dr 1

= eax xr r!:

* D1r1 is a P. S. of Dry = 1,

) y = Z Z

| {z }

r times

dx = xr r!

(without arbitrary constant.) i. e.

1

Dr 1 = xr r!

Homework. Find

1

D4 163 cos 2x:

vii) Let f (x) be a polynomial of degree . For

F 1(x) = a0 + a1x + + arxr + x +1 (x) F (x) : Then

F 1(D)f (x) = (a0 + a1D + + a D )f (x);

Differential Equations 101 and

(a0 + a1D + + a D )f (x) is a P. S. of F (D)y = f (x):

pf.

* F 1(D) = a0 + a1D + + arDr + D +1 (D) F (D) ) 1 = F(x) F 1(x)

= F (x)(a0 + a1x + + a x ) + x +1 (x) and

I = F (D) F 1(D)

= F (D)(a0 + a1D + + a D ) + D +1 (D);

so

f (x) = (F (D)F 1(D))f (x)

= F (D)(a0 + a1D + + a D )f (x) + (D)D +1f (x):

Again,

* D +1f (x) = 0

) f(x) = F(D)(a0 + a1D + + a D )f (x);

i. e.

(a0 + a1D + + a D )f (x)

Differential Equations 102 is a P. S. of F (D)y = f (x) ,

1

F (D)f (x) = (a0 + a1D + + arDr)f (x):

Def. f (x) = O(g(x)) if

xlim!c

f (x)

g(x) = L; jLj < 1 and c 2 R [ f 1g: (Big-O.)

Def. f (x) = o(g(x)) if

xlim!c

f (x)

g(x) = 0;

and c 2 R [ f 1g: (Little-o.) Ex.

1

(D 1)2x2e2x =?

Solution:

1

(D 1)2x2e2x = e2x 1

(D + 2 1)2x2

= e2x 1

(D + 1)2x2:

Differential Equations 103

* 1

F (x) = 1

(x + 1)2 = 2

0 x0 + 2

1 x1 +

= 1 2x + 3x2 + O(x3)

= (1 2x + 3x2) + x3 (x) (x + 1)2;

) 1

F (D)x2 = 1

(D + 1)2x2

= (1 2D + 3D2)x2 + (D)

(D + 1)2(D3x2)

= (1 2D + 3D2)x2

= x2 4x + 6:

) 1

(D 1)2(x2e2x) = e2x(x2 4x + 6):

Ex. Find the G. S. of

D2(D + 1)2y = x2 (1):

Solution: Let yc be the G. S. of D2(D + 1)2y = 0 ) yc = C1 + C2x + (C3 + C4x)e x:

Let yp be a P. S. of D2(D + 1)2y = x2, i. e.

yp = x2

D2(D + 1)2;

Differential Equations 104

Differential Equations 105

Differential Equations 106 and

yG = yc + yp

= C1 + C2cos x + C3 sin x + 1

2(ex x sin x):

Note: The formulas for the inverse D operator are only applicable for D. E.s of

F (D)y = f (x)

with f (x) being eax; sin ax; cos ax; polynomial functions or their product.

Homework.:

1. Find the G. S. of

D(D 1)2y = ex cos x + x2: 2. Solve the G. S. of

(D2 1)y = x2ex + x sin x:

Differential Equations 107 5.4 Solutions of Linear D. E. by Variation of Parameters

Let

L[y] = f (x) (1) and

L[y] P0y[n] + + Pny;

where Pi:functions of x; i = 0; 1; ; n: Let yc be the G. S. of L[y] = 0 (2);

then

yc =

Xn i=1

Ciyi (3);

where Ci are arbitrary constants, i = 1; 2; ; n and yi are L. I.

P. S. of L[y] = 0; i. e. W (y1; ; yn) 6= 0, or

y1 y2 yn

y10 y20 yn0 ... ... ... ...

y1[n 1] y2[n 1] yn[n 1]

6= 0:

Now assume

y =

Xn i=1

Ci(x)yi (4)

be the G. S. of (1), where Ci(x) are functions of x; i =

Differential Equations 108

Differential Equations 109

Differential Equations 110 ) We have n equations:

8>

Differential Equations 111 where ki:arbitrary constants.

) y =

Differential Equations 112 Ex.

(D2 + 1)y = sec x (1):

Please solve y(x).

solution Let yc be the G. S. of (D2 + 1)y = 0;

) yc = C1 cos x + C2sin x Set

yp = C1(x) cos x + C2(x) sin x : P. S. of

(D2 + 1)y = sec x:

Then

= W (y1; y2)(x)

= y1; y2 y10; y20

= cos x; sin x sin x; cos x ;

1 = 0; sin x sec x; cos x ;

2 = cos x; 0

sin x; sec x ; and

(y1; y2)(x) = cos2 x + sin2x = 1:

Differential Equations 113 ) C1(x) =

Z x

1dx =

Z x

tan xdx = ln j cos xj;

C2(x) =

Z x

2dx = x:

) yp = ln j cos xj cos x + x sin x;

and

y = yc + yp

= (C1 + ln j cos xj) cos x + (x + C2) sin x:

Homework.

xy00 (x + 1)y0 + y = x2 (1) Find the G. S. of (1) by variation of parameters.

Differential Equations 114 5.5 Cauchy-Euler Linear D. E.

Def. Linear D. E. of the form Xn

r=0

(ax + b)n r rDn ry = f (x) (1) is called ”Euler Linear D. E.”

Def. When a=1,b=0,then (1) is called ”Cauchy Linear D. E.”

i: e:

Xn r=0

rxn rDn ry = f (x):

Note.a; b and r are constants, r = 0; 1; 2; n:

Discussion:

In (1), let

ax + b = eu; i. e.

x = eu b a : By implicit differentiation,

a = eudu dx ) du

dx = ae u = a ax + b;

Differential Equations 115

Differentiate (1)0 w.r.t. x;

d2y holds, we claim that

(ax + b)k+1Dk+1y = ak+1D(D 1) (D k)y

Differential Equations 116 is also true.

D[(ax + b)kDky]

= D[akD (D k + 1)y]

= d

du[akD(D 1) (D k + 1)y]du dx

= ak+1[D2(D 1) (D k + 1)y] 1 ax + b

* D[(ax + b)kDky] = k(ax + b)k 1 aDky +(ax + b)kDk+1y ) (ax + b)k+1Dk+1y

= ak+1DD(D 1) (D k + 1)y ka(ax + b)kDky

= ak+1D2(D 1) (D k + 1)y

kak+1D (D k + 1)y

= ak+1(D k)(D(D 1) (D k + 1)y)

= ak+1D(D 1) (D k)y:

By mathematical induction, 8m 2 N;

(ax + b)mDmy = amD (D k + 1)y )

Xn r=0

r(ax + b)n rDn ry = f (x) can be rewritten as

Differential Equations 117

(A)

Xn r=0

ran rD(D 1) [D (n r) + 1]y = f(eu b a ):

Let

G(D) =

Xn 1 r=0

ran rD(D 1) [D (n r) + 1] + n; (A) ) G(D)y = f(eu b

a ) g(u) (B) i. e.

G(D)y = g(u); D d du: Ex.

(3x 1)y00 + y0 = 1 + x (a) Please solve y(x).

Solution: (a) (3x 1) :

(3x 1)2y00 + (3x 1)y0 = 3x2 + 2x 1;

i. e.

a = 3; b = 1;

r = 1; r = 0; 1;

2 = 0:

Differential Equations 118 Hence (a) (3x 1) is an Euler linear D. E. of order 2: Let

(3x 1) = eu; x = eu + 1 3 ; and

D d

du: Then (a) (3x 1) :

X1 r=0

32 rD(D 1) (D (2 r) + 1)y + 0 y

= eu(1 + eu + 1 3 ):

) (9D2 9D + 3D)y = e2u + 4eu

3 ;

) D(D 2

3)y = e2u + 4eu

27 (b):

To solve (b), let

y = yc + yp: i).

yc = C1 + C2e23u:

Differential Equations 119 Solution: (a) is a Cauchy linear D. E. Let

x = eu; (i. e. ln x = u; ) D d

Differential Equations 120 ) (a) becomes

x2( 1

x2D(D 1)y) + x(1

xDy) y = tan u:

) (D2 + 1)y = tan u (b):

Let y = yc + yp; then:

i).

yc = C1 cos u + C2sin u:

ii). Let y1 = cos u; y2 = sin u and

W (y1; y2) = cos u; sin u

sin u; cos u = 1;

1 = 0; sin u

tan u; cos u = sin2 u cos u ;

2 = cos u; 0

sin u; tan u = sin u:

So

C1(u) =

Z u sin2 u cos u du

= sin u ln j sec u + tan uj + C1; C2(u) = cos u + C2:

Differential Equations 121 i. e.

yp = (sin u ln j sec u + tan uj) cos u +( cos u) sin u

= ( ln j sec u + tan uj) cos u:

Hence

y = (C1 ln j sec u + tan uj) cos u + C2sin u

= (C1 ln j sec(ln x) + tan(ln x)j) cos(ln x) +C2 sin(ln x):

Homework. Find G. S. of the following:

(1).

(x + 2)2y00 + (x + 2)y0 + y = 1 + x:

(2).

(2x 1)2y00 + 2(2x 1)y0 4y = sin(ln(2x 1)):

Differential Equations 122

Please nd its particular solution.

Differential Equations 123 Solution:

*

X3 i=0

Pi(x) = x + ( x 1) + 1 = 0;

we have exp x as one of its P. S.

(II).

L[xk] = 0 , P0k(k 1) (k n + 1)xk n + + kPn 1xk 1 + Pnxk = 0:

pf.

L[xk] =

Xn i=0

Pi(xk)[n i]

=

Xn i=0

Pi[k(k 1) (k (n i) + 1)xk (n i)]

= P0k(k 1) (k n + 1)xk n + +kPn 1xk 1 + Pnxk

= 0:

(?). In particular, when k = 1,if

Pn 1 + xPn = 0 i. e. x is a P. S. of L[y] = 0

Ex.

x2y00 xy0 + y = 0 (1):

Differential Equations 124 Find its P. S.

Solution: P0 = x2; P1 = x; P2 = 1:

* Pn 1 + xPn = P1 + xP2 = x x = 0;

) x is a P. S. of (1).

(III). When

aPn 1 + (ax + b)Pn = 0;

then (ax + b) is a P. S. of L[y] = 0:

Ex.

xy00 (x + 1)y0 + y = 0 (1)

Solution: P0 = x; P1 = (x + 1); P2 = 1: Consider aP1 + (ax + b)P2 = 0;

i. e.

a(x + 1) + (ax + b) 1 = 0;

, a + b = 0; i. e. a = b:

Then

ax + a = a(x + 1)

: a P. S. of (1), and hence (x + 1) is a P. S. of (1). We also know, from previous example, that ex is also a P. S. of (1). Therefore

y1 = ex; y2 = x + 1;

Differential Equations 125 then

W (y1; y2) = ex; x + 1

ex; 1 = xex 6= 0:

i. e. ex and (x + 1) are 2 L. I. P. S.s.

Differential Equations 126 5.7 The Method of Undetermined Coef cients

The method of undetermined coef cients is used when we want to compute a P. S. of

F (D)y = f (x) (1);

where f (x) is a linear combination of eax, cos ax, sin ax, polynomial functions and their products.

Ex. (D2 2D 3)y = 2e4x (1)

Solution: To nd yp of (1), set yp = Ce4x: a P. S. of (1).

) yp0 = 4Ce4x; yp00 = 16Ce4x: Plug them into (1), we nd

(16 8 3)C = 2 ) C = 2 5: i. e.

yp = 2 5e4x : a P. S. of (1).

Ex.

(D2 2D 3)y = 2e3x (2) Solution:

i). Let yp = Ce3x be a P. S. of (2): Substitute yp; yp0 & yp00 into (2), we have

(9C 6C 3C)e3x = 2e3x = 0 Ce3x: (! )

Differential Equations 127 i. e. yp = Ce3x is not a P. S. of (2):

ii). e3x and xe3x are L. I. ,since W (e3x; xe3x) 6= 0: Let yp = Cxe3x be a P. S. of (2),

) C = 1 2 can be found. i. e. yp = x2e3x: P. S. of (2).

Ex.

(D2 3D + 2)y = 2x2 + ex + 2xex + 4e3x: Find its general solution.

Solution:

yc = C1ex + C2e2x:

Consider 8

>>

>>

<

>>

>>

:

x2 ! fx2; x; 1g;

ex ! fexg(or x);

xex ! fxex; exg(or x);

e3x ! fe3xg:

Firstly, let

yp = A1x2 + A2x + A3 + A4ex +A5xex + A6e3x;

Differential Equations 128 and plug it back in. We nd that it doesn't hold. Secondly, let

yp = A1x2 + A2x + A3 + A4xex + A5x2ex +A6e3x

and we nd it ts.Finally,we nd yp = x2 + 3x + 7

2 + 2e3x x2ex 3xex: Ex. Find the proper P. S. from the D. E.

D(D + 1)y = x2e x + sin x (3):

Solution:

i).

yc = C1 + C2e x:

ii). Consider any derivative of x2e x + sin x : ( sin x ! fsin x; cos xg;

x2e x ! fx2e x; xe x; e xg(or x):

We then set

yp = (A1x3 + A2x2 + A3x)e x +A4sin x + A5 cos x:

After substituting yp; yp0 & yp00into (3), we nd yp = e x(x3

3 + x2 + 2x) 1

2(sin x + cos x):

Differential Equations 129 Homework. Solve the D. E.s by using undetermined

coef cients:

(1).

D2(D + 1)y = x2 (2).

y00 + 3y0 + 2y = 4x (3).

y00 + y = x cos x cos x (4).

y00 4y0 + 4y = x3e2x + xe2x (5).

y00 + 4y = sin2x:

Differential Equations 130 5.8 Simultaneous Linear D. E.s with Constant Coef cients

Ex. (

d

dtx + dtd y + y x = e2t (1)

d2

dt2x + dtd y = 3e2t (2) De ne D dtd, (1) and (2) become

( (D 1)x + (D + 1)y = e2t (A) D2x + Dy = 3e2t (B)

)

( D((D 1)x + (D + 1)y) = De2t = 2e2t (D + 1)(D2x + Dy) = (D + 1)(3e2t) = 9e2t

) (D3 + D)x = 7e2t (3)

* x(t) = xc + xp, where

( xc = c1 + c2cos t + c3 sin t xp = D31+D(7e2t) = 107 e2t ) x(t) = c1 + c2 cos t + c3sin t + 7

10e2t (4):

Substitute (4) into (B):

Dy = 1

5e2t + c2cos t + c3 sin t;

) y = 1

10e2t + c2sin t c3 cos t + c01 (5):

Differential Equations 131 Substitute (4) and (5) into (A), we nd

c1 + c01 = 0 , c1 = c01 (6) Finally,

x(t) = c1 + c2 cos t + c3sin t + 7 10e2t and

y(t) = c1 + c2sin t c3cos t + e2t

10: #

Ex. Solve the simultaneous D. E.s given in (1) and (2).

ax + by = c a0x + b0y = c0

(D + 1)x (D 1)y = cos t (1);

(D2 + D)x + Dy = et (2):

Solution:

a b

a0 b0 x = c b c0 b0 ;

) D + 1 (D 1)

(D2 + D) D x = cos t (D 1)

et D :

) (D3 + D2)x = D cos t + (D 1)et = sin t ) x = xc + xp;

where

xc = c1 + c2t + c3e t;

Differential Equations 132 and

xp = 1

D2(D + 1)( sin t) = 1 D + 1

1

D2 sin t

= 1

D + 1 sin t = (D 1) 1

D2 1(sin t)

= (D 1)( 1

2 sin t) = 1

2(sin t cos t):

) x(t) = c1 + c2t + c3e t + 1

2(sin t cos t) (3):

Plug (3) back into (2), we have

Dy = et (D2 + D)x = et c2 cos t;

) y(t) = et c2t sin t + ce3 (4) Again, plug (3) & (4) into (1), we obtain that

(5) c2 + c1 + ce3 + c2 = 0

, ec3 = (c1 + 2c2): # Finally, we solve x & y as

x(t) = c1 + c2t + c3e t + 1

2(sin t cos t);

y(t) = et c2(t + 2) c1 sin t:

Homework.

Differential Equations 133

(1) (D + 1)x (D 1)y = 2et t;

(D2 + D)x + Dy = sin t:

(2) Dx + (D2 + 1)y = et;

Dx (D2 3)y = 1 + 2t:

Differential Equations 134 5.9 Exact Linear D. E.s

Def. A linear D. E.

p0y[n] + + pn 1y0 + pny = f (x) (1) , where pi: functions of x; is called "exact" if

9 Q0y[n 1] + Q1y[n 2] + + Qn 1y

Differential Equations 135 Ex.

x2y00 + (3x + 1)y0 + y = 2x (1) Solution: Consider

x2y00 + (3x + 1)y0 + y = 0;

p0 = x2; p1 = (3x + 1); p2 = 1; n = 2:

and

p2 p01 + p000 = 1 3 + 2 = 0;

i. e.

x2y00 + (3x + 1)y0 + y = 2x is exact. Set

Q0 = p0 = x2;

Q1 = p1 Q00 = 3x + 1 2x = x + 1;

and then

(x2y0 + (x + 1)y)0 = x2y00 + (3x + 1)y0 + y:

i. e.

(x2y0 + (x + 1)y)0 = 2x (2):

) x2y0 + (x + 1)y = x2 + c1 ) y0 + (1

x + 1

x2)y = 1 + c1 x2 ) y = eRx(x1+x21 )dx

Z x

(1 + c1

t2)eRt(1u+u21 )dudt + c2 :

Differential Equations 136 Ex. Solve the following D. E.

x2y000 + (3x2 1)y00 + (7x + 3)y0 + y = 3x2 + 1 (1):

Solution:

p0 = x2; p1 = 3x2 1; p2 = 7x + 3; p3 = 1:

) 1 7 + 6 0 = 0;

i. e. (1) is exact.

) Q0 = p0 = x2; Q1 = p1 Q00 = 3x2 2x 1;

Q2 = p2 Q01 = 7x + 3 6x + 2 = x + 5;

) (x2y00 + (3x2 2x 1)y0 + (x + 5)y)0 = 3x2 + 1 (2);

) x2y00 + (3x2 2x 1)y0 + (x + 5)y = x3 + x + c1 (3):

Note that (3) is not exact, since

(x + 5) (6x 2) + 2 6= 0: \ (You may try to solve (3) by yourselves !)

Homework.

(1).

Differential Equations 137 (2).

(x 1)y00 + (x + 1)y0 + y = 2x:

(3).

D2(D2 + 1)y = cos x + x2: (4).

x3y000 + 2x2y00 + xy0 y = 0:

(5).

y[4] + 2y[3] + 2y00 = 3ex + 2xe x + e x sin x:

(6).

y000 3y00 + 2y0 = x + ex; and

y0(0) = 1; y00(0) = 1

4; y000(0) = 3 2: (7).

y[4] y000 y00 + y0 = x2 + 4 + x sin x:

Differential Equations 138

6 Particular Method for Solving 2nd

相關文件