• No results found

Differential Equations

N/A
N/A
Protected

Academic year: 2022

Share "Differential Equations"

Copied!
60
0
0

Loading.... (view fulltext now)

Full text

(1)

ORDINARY DIFFERENTIAL EQUATIONS based on the course-contents of MMB-352 (A course of Mathematics (Main/Subsidiary)

prescribed for B. Sc. (Hons.) III Semester)

UNIT-2

Higher Order Differential Equations

(2)

Differential Equations

A linear differential equation of order n is an equation of the form an(x)dny

dxn +an−1(x)dn−1y

dxn−1 +· · ·+a1(x)dy

dx +a0(x)y =Q(x) (1) wherean, an−1,· · · , a0 and Q(x) are continuous functions andan(x)6= 0.

If Q(x) 6≡ 0, then equation (1) is called the Non-homogeneous linear differential equations of order n.

IfQ(x)≡0, then equation (1) is called the homogeneous linear differential equations.

Solution of Homogeneous linear Differential equations with constant coefficients:- Consider the homogeneous linear differential equation of order n

an

dny

dxn +an−1

dn−1y

dxn−1 +· · ·+a1

dy

dx+a0y = 0 (2) wherean, an−1,· · · , a0 are all constants providedan6= 0.

Rewrite equation (2) in symbolic form as

P(D)y≡(anDn+an−1Dn−1+· · ·+a1D+a0)y= 0, where D= d dx (3) Definition 1. An equation of order n in m is given by

anmn+an−1mn−1+· · ·+a1m+a0 = 0; an6= 0 (4) is called auxiliary equation (A.E.) of differential equation (2).

1

(3)

Clearly, Auxiliary equation is obtained by P(m) = 0.

Notice that A.E. (4) is an algebraic equation in m of degreen. So, it will haven roots. There are the following three cases:

1. Case-IAll the roots are real and distinct.

2. Case-IIAll the roots are real but some of them are repeated.

3. Case-IIIRoots are imaginary.

Case-I:- If the roots are real and distinct; that isn rootsm1, m2,· · · , mn of A.E. (4) are real and distinct. The general solution of (2) or (3) is

y=c1em1x+c2em2x+· · ·+cnemnx

Example 5.1/p.161 Solve d3y

dx3 + 6d2y

dx2 + 11dy

dx+ 6y= 0 Solution. The A.E. is

m3+ 6m2 + 11m+ 6 = 0

m2(m+ 1) + 5m(m+ 1) + 6(m+ 1) = 0, As m=−1 satisfy the above relation.

(m+ 1)(m2 + 5m+ 6) = 0 (m+ 1)(m2+ 3m+ 2m+ 6) = 0 (m+ 1)(m+ 2)(m+ 3) = 0

⇒ m = −1,−2,−3 Therefore, the general solution is

y=c1e−x+c2e−2x+c3e−3x

Case-II:- If the k roots of A.E. (4) such that each equal to m1 and the remaining (n−k) roots are all different. Then, the general solution of (2) or (3) is

y= (c1+c2x+c3x2+· · ·+ckxk−1)em1x+ck+1emk+1x+· · ·+cnemnx

(4)

In particular, if all n roots are equal, i.e., m1 =m2 = · · ·= mn =m (say), then the general solution is

y = (c1+c2x+c3x2+· · ·+cnxn−1)emx

Example 5.4/p.162 Solve d3y

dx3 −3dy

dx+ 2y= 0 Solution. The A.E. is

m3−3m+ 2 = 0 m2(m−1) +m(m−1)−2(m−1) = 0,

(m−1)(m2+m−2) = 0 (m−1)(m2+ 2m−m−2) = 0 (m−1)(m+ 2)(m−1) = 0

⇒ m = 1,1,−2 Therefore, the general solution is

y= (c1x+c2)ex+c3e−2x

Example 5.5/p.162 Solve 16d2y

dx2 + 24dy

dx + 9y= 0 Solution. The A.E. is

16m2+ 24m+ 9 = 0 (4m)2+ 2·3·4m+ (3)2 = 0 (4m+ 3)2 = 0,

⇒ m = −3

4,−3 4 Therefore, the general solution is

y= (c1x+c2)e34x

(5)

Case-III:- If (α±iβ) are two imaginary roots of an Auxiliary equation of a second order linear differential equation, then the solution is

y=eαx[c1cosβx+c2sinβx]

Ifα+iβ and α−iβ each occurs twice as a root, then the general solution is y=eαx[(c1+c2x) cosβx+ (c3+c4x) sinβx]

Example 5.8/p.163 Solve d4y

dx4 + 8d2y

dx2 + 16y= 0 Solution. The A.E. is

m4+ 8m2+ 16 = 0 which gives

m = 2i,2i,−2i,−2i or m = 0±2i,0±2i Therefore, the general solution is

y=e0x[(c1+c2x) cos 2x+ (c3+c4x) sin 2x]

or,

y= (c1+c2x) cos 2x+ (c3+c4x) sin 2x

Example 5.9/p.163 Solve d3y

dx3 +y= 0 Solution. The A.E. is

m3+ 1 = 0 (m+ 1)(m2−m+ 1) = 0

⇒ m = −1,1±√ 3i 2

(6)

Therefore, the general solution is

y=c1e−x+e12x

"

c2cos

√3

2 x+c3sin

√3 2 x

#

Example 5.10/p.163 Solve dy

dx −y 2

d2y dx2 +y

2

= 0 Solution. The A.E. is

(m−1)2(m2+ 1)2 = 0

⇒ m = 1,1,±i,±i Therefore, the general solution is

y= (c1x+c2)ex+e0x[(c3x+c4) cos 1x+ (c5x+c6) sin 1x]

i.e.,

y = (c1x+c2)ex+ (c3x+c4) cosx+ (c5x+c6) sinx

Home Assignment Solve the following differential equations:

1. (Ex.5.2/ p-161) d2y

dx2 −3dy

dx + 2y= 0 with y= 0, x= 0 and dydx = 0 [Ans : y=0]

2. (Ex.5.7/ p-163) d2y

dx2 + 4y= 0 [Ans : y=c1cos2x+c2sin2x]

3. (Q.6/ p-239) (D4−2D3 + 2D2−2D+ 1)y= 0 [Ans : y= (c1 +c2x)ex+c3cosx+c4sinx]

4. (Q.8/ p-239) (D4−4D3 + 8D2−8D+ 4)y= 0 [Ans : y=ex[(c1+c2x) cosx+ (c3+c4x) sinx]]

(7)

Solution of Non-Homogeneous linear differential equations with con- stant coefficients:- The complete solution of non-homogeneous linear differ- ential equation

andny

dxn +an−1dn−1y

dxn−1 +· · ·+a1dy

dx +a0y=Q(x) (1) wherean6= 0;Q(x)6= 0; and a1, a2,· · · , an are constants, is

y =yc+yp

where yc is called complementary function and yp is called particular integral.

1. Complementary Function (C.F.): The general solution of homoge- neous equation corresponding to (1) is called complimentary function of non-homogeneous equation (1). In other words, yc can be found by taking Q(x) = 0 as discussed in Lecture-01.

2. Particular Integral (P.I.): Particular integral of P(D)y = Q(x) is defined as

yp = 1

P(D)Q(x).

As P(D) is polynomial in D, its inverse P(D)1 is rational expression in D.

Remark. 1. P.I. does not contain any arbitrary constant.

1

(8)

2. If P(D) =D, then

yp = 1

DQ(x) = Z

Q(x)dx 3. If P(D) =Dk, then

yp = 1

DkQ(x) = Z Z

· · · Z

| {z }

k times

Q(x)dx·dx· · ·dx

| {z }

k times

4. P(D)1 is linear operator, i.e., 1

P(D)[Q1(x) +Q2(x)] = 1

P(D)Q1(x) + 1

P(D)Q2(x) 1

P(D)[cQ(x)] = c 1

P(D)Q(x)

Now, we consider general case, i.e., P(D) is a polynomial operator of order n of the form:

P(D) = anDn+an−1Dn−1+· · ·+a1D+a0.

In this case, we give formulae for finding the particular integrals of some elementary functions as follows:

(i) WhenQ(x) =xk with a0 6= 0:- Then, P.I. is yp = 1

P(D)xk

= 1

(a0+a1D+· · ·+anDn)xk

= 1

a0 1 + aa1

0D+· · ·+ aan

0Dnxk

= 1

a0

1 + a1

a0D+· · ·+an

a0Dn −1

xk Ifk = 0, then P.I. is

yp = 1

P(D)1 = 1

a0, a0 6= 0

(9)

Example 5.15/p.170 Solve (D3−2D+ 4)y =x4+ 3x2−5x+ 2.

Solution. Here, the Auxiliary Equation is m3−2m+ 4 = 0 (m+ 2)(m2−2m+ 4) = 0

⇒ m = −2,1±i Therefore, C.F. is

yc=c1e−2x+ex(c2cosx+c3sinx) Also, P.I. is

yp = 1

P(D)Q(x)

= 1

D3−2D+ 4(x4+ 3x2−5x+ 2)

= 1 4

1

1− 12D+14D3(x4+ 3x2−5x+ 2)

= 1 4

1− 1

2

D− 1 2D3

−1

(x4+ 3x2−5x+ 2)

= 1 4

1 + 1 2

D−1

2D3

+ 1 4

D− 1

2D3 2

+1 8

D− 1

2D3 3

+· · ·

(x4+ 3x2−5x+ 2) After simplification, we have

yp = 1 4

x4+ 2x3+ 6x2−5x− 7 2

Therefore, the complete solution is

y=yc+yp =c1e−2x+ex(c2cosx+c3sinx) + 1 4

x4+ 2x3+ 6x2−5x− 7 2

(10)

Home Assignment Solve the following differential equations:

1. (Ex 5.12/p.169) d2y

dx2 −2dy

dx −3y= 5.

[Ans : y=c1e−x+c2e3x53] 2. (Ex 5.13/p.169) (D2−4)y=x2.

[Ans : y=c1e2x+c2e−2x14 x2+ 12 ] 3. (Ex 5.14/p.170) (D2+ 2D+ 1)y = 2x+x2.

[Ans : y= (c1x+c2)e−x+x2−2x+2]

(ii) When Q(x) = xk and a0 = 0:- Then P.I. is yp = Q(x)

P(D) = xk

(anDn+an−1Dn−1+· · ·+a1D)

= xk

D(a1+a2D+· · ·+anDn−1); when a1 6= 0

= xk

a1D(1 + aa2

1D+· · ·+aan

1Dn−1) If,a1 = 0, then

yp = xk

a2D2(1 + aa3

2D+· · ·+aan

2Dn−1) and so on.

Example 5.17/p.172 Solve d3y

dx3 + 3d2y

dx2 + 2dy dx =x2. Solution. Here, the A.E. is

m3+ 3m2+ 2m = 0

⇒ m(m2+ 3m+ 2) = 0

⇒ m(m+ 2)(m+ 1) = 0

⇒ m = 0,−1,−2

(11)

Hence, C.F. is

yc =c1+c2e−x+c3e−2x Now, P.I. is

yp = 1

P(D)Q(x) = 1

D3+ 3D2+ 2D(x2)

= 1

2D

1 + 32D+D22(x2)

= 1

2D

1 + 3

2D+D2 2

−1

(x2)

= 1

2D

"

1− 3

2D+ D2 2

+

3

2D+ D2 2

2

− · · ·

# (x2)

= 1

2D

x2−(3x+ 1) +9 2

= 1

2D

x2−3x+7 2

= 1 2

x3

3 −3x2 2 +7

2x

= 1

12

2x3 −9x2+ 21x Thus, the complete solution is

y=yc+yp =c1+c2e−x+c3e−2x+ 1 12

2x3−9x2+ 21x

Home Assignment

1. (Ex 5.16/p.171) Solve (D3−D2−6D)y=x2+ 1.

[Ans : y=c1+c2e3x+c3e−2x16

25

18x+ x33x62 ] (iii) When Q(x) =eax with P(a)6= 0:- Then P.I. is

yp = 1

P(D)eax = eax

P(a); provided P(a)6= 0.

Example 5.19/p.173 Solve (D3−D2−4D+ 4)y =e3x.

(12)

Solution. The A.E. is

m3−m2−4m+ 4 = 0 m2(m−1)−4(m−1) = 0 (m−1)(m2−4) = 0

⇒ m = 1,2,−2 Thus, C.F. is

yc =c1ex+c2e2x+c3e−2x Also, P.I. is

yp = 1

P(D)Q(x) = 1

D3−D2−4D+ 4e3x

= e3x

33 −32−4·3 + 4

= e3x 10

Therefore, the complete solution is

y=yc+yp =c1ex+c2e2x+c3e−2x+ 1 10e3x

Home Assignment 1. (Ex 5.18/p.173) Solve (D2 −2D+ 5)y=e−x.

[Ans : y=e−x(c1cos2x+c2sin2x) + 18e−x]

2. (Q. 17/p.240) Find the particular Integral of y00+ 3y0+ 2y= 12ex. [Ans : yp =2ex]

(iv) When Q(x) = eax with P(a) = 0:- In this case, there exists some nat- ural number n such that (D−a)n is a factor ofP(D) so that

P(D) = (D−a)nf(D), where f(D)6= 0.

(13)

Then, P.I. is

yp = 1

(D−a)nf(D)eax = xneax

n!f(a); provided f(a)6= 0.

Example 5.30/p.180 Solve (D2+ 4D+ 4)y=e2x−e−2x. Solution. The A.E. is

m2 + 4m+ 4 = 0 (m+ 2)2 = 0

⇒ m = −2,−2 Thus, C.F. is

yc= (c1+c2x)e−2x Now, P.I. is

yp = 1

P(D)Q(x) = 1

D2+ 4D+ 4(e2x−e−2x)

= 1

D2+ 4D+ 4e2x− 1

D2 + 4D+ 4(e−2x)

= e2x

(2)2+ 4(2) + 4 − 1

(D+ 2)2·1(e−2x) Here f or 2nd expression a =−2, n= 2, f(D) = 1

= e2x

16 −x2e−2x 2!·1

= 1

16e2x−e−2xx2 2 Thus the required solution is

y= (c1+c2x)e−2x+ 1

16e2x− 1 2x2e−2x

Home Assignment Solve the following differential equations:

(14)

1. (Ex 5.28/p.179) (D2+ 6D+ 9)y = 2e−3x. [Ans : y= (c1+c2x)e−3x+x2e−3x]

2. (Ex 5.29/p.180) (D2−4D+ 4)y= 8(x2+e2x+ sin 2x).

[Ans : y= (c1+c2x)e2x+2x2+4x+4x2e2x+ cos2x+3]

(v) WhenQ(x) = sinax or cosax:- If P(−a2)6= 0, then P.I. are yp = 1

P(D2)sinax= sinax P(−a2) and

yp = 1

P(D2)cosax= cosax P(−a2)

IfP(−a2) = 0, then consider special case P(D) =D2+a2. In this case, P.I.

are

yp = 1

D2 +a2 sinax=−x

2acosax and

yp = 1

D2 +a2 cosax= x

2asinax Example 5.21/p.175 Solve (D3+D2−D−1)y= cos 2x.

Solution. The A.E. is

m3+m2−m−1 = 0 m2(m+ 1)−(m+ 1) = 0 (m+ 1)(m2−1) = 0

⇒ m = −1,−1,1 Thus, C.F. is

yc=c1ex+ (c2+c3x)e−x

(15)

Now, P.I. is

yp = 1

(D3+D2−D−1)cos 2x

= 1

(−(2)2D−(2)2−D−1)cos 2x

= 1

(−4D−4−D−1)cos 2x

= 1

(−5D−5)cos 2x

= −1 5

1

(D+ 1) × D−1 D−1cos 2x

= −1 5

D−1

D2−1cos 2x

= −1 5

(D−1) cos 2x

−(2)2−1

= −1 5

(−2 sin 2x−cos 2x)

−5

= − 1

25(2 sin 2x+ cos 2x) Thus, the complete solution is

y=c1ex+ (c2+c3x)e−x− 1

25(2 sin 2x+ cos 2x) Example 5.60(iii)/p.224 Solve (D3−D2+ 4D−4)y= sin 3x.

Solution. The A.E. is

m3−m2+ 4m−4 = 0 m2(m−1) + 4(m−1) = 0 (m−1)(m2+ 4) = 0

⇒ m = 1,±2i Thus, C.F. is

yc=c1ex+c2cos 2x+c3sin 2x

(16)

Now, P.I. is

yp = 1

(D3−D2+ 4D−4)sin 3x

= 1

(−(3)2D+ (3)2+ 4D−4)sin 3x

= 1

(−9D+ 9 + 4D−4)sin 3x

= 1

(−5D+ 5)sin 3x

= −1 5

1

(D−1)× D+ 1 D+ 1sin 3x

= −1 5

D+ 1

D2−1sin 3x

= −1 5

(D+ 1) sin 3x

−(3)2−1

= −1 5

(3 cos 3x+ sin 3x)

−10

= 1

50(3 cos 3x+ sin 3x) Thus, the complete solution is

y=c1ex+c2cos 2x+c3sin 2x+ 1

50(3 cos 3x+ sin 3x) Example 5.20/p.175 Solve (D2−3D+ 2)y= 3 sin 2x.

Solution. The A.E. is

m2−3m+ 2 = 0 (m−2)(m−1) = 0

⇒ m = 1,2 Thus, C.F. is

yc=c1ex+c2e2x

(17)

Also, P.I. is

yp = 1

(D2−3D+ 2)3 sin 2x

= 3 1

(−(2)2−3D+ 2)sin 2x

= 3 1

(−3D−2)sin 2x

= −3 1

(3D+ 2) × 3D−2 3D−2sin 2x

= −33D−2

9D2−4sin 2x

= −3(3D−2) sin 2x 9× −(2)2−4

= −3(3×2 cos 2x−2 sin 2x)

−40

= 3

20(3 cos 2x−sin 2x) Thus, the complete solution is

y =c1ex+c2e2x+ 3

20(3 cos 2x−sin 2x)

Home Assignment 1. (Ex 5.22/p.176) Solve (D3+ 1)y= cos 2x.

[Ans : y=c1e−x+ex2 c2cos

3

2 x+c3sin

3 2 x

+ 651 (cos2x−8sin2x)]

2. (Ex 5.24/p.177) Solve (D4−1)y= sinx.

[Ans : y=c1ex+c2e−x+c3cosx+c4sinx+ 14xcosx]

3. (Ex 5.60(ii)/p.224) Solve (D2−4D−5)y= 3 cos(4x+ 3).

[Ans : y=c1e−x+c2e5x6973 [16sin(4x+3)−21cos(4x+3)]]

Find the particular integral of the following differential equation:

(18)

4. (Q.19/p.240) d2y

dx2 −y= sinx.

[Ans : yp =−12sinx]

5. (Q.20/p.240) d2y

dx2 −y= cosx.

[Ans : yp =−12cosx]

6. (Q.21/p.240) d2y

dx2 −3dy

dx + 2y= 3 sinx.

[Ans : yp = 103 (sinx+3cosx)]

(vi) When Q(x) = eaxV(x):- Then P.I. is

yp = 1

P(D)eaxV(x) =eax 1

P(D+a)V(x)

Example 5.27/p.179 Solve (D2−2D+ 5)y=e2xsinx.

Solution. The A.E. is

m2−2m+ 5 = 0

⇒ m = 2±√

4−4·5 2

⇒ m = 2±4i 2

⇒ m = 1±2i Thus, C.F. is

yc=ex(c1cos 2x+c2sin 2x)

(19)

P.I. is

yp = 1

P(D)Q(x) = 1

D2−2D+ 5e2xsinx

= e2x 1

(D+ 2)2−2(D+ 2) + 5sinx

= e2x 1

D2+ 4D+ 4−2D−4 + 5sinx

= e2x 1

D2+ 2D+ 5sinx

= e2x sinx

−(1)2+ 2D+ 5

1

P(D2)sinax= sinax P(−a2)

= e2x sinx 2D+ 4

= e2x 2

1

D+ 2 × D−2 D−2sinx

= e2x 2

D−2 D2−4sinx

= e2x 2

(cosx−2 sinx) {−(1)2−4}

= e2x 2

(cosx−2 sinx)

−5

= − 1

10e2x(cosx−2 sinx) Therefore, the general solution is

y=ex(c1cos 2x+c2sin 2x)− 1

10e2x(cosx−2 sinx)

Home Assignment 1. (Ex 5.25/p.178) Solve (D2−2D+ 1)y=exx2.

[Ans : y= (c1 +c2x)ex+ 121 exx4]

2. (Ex 5.26/p.178) Solve (D2+ 4D−12)y= (x−1)e2x. [Ans : y=c1e2x+c2e−6x+ 641 e2x(4x2−9x)]

(20)

3. (Q.24/p.240) Find the Particular integral of d3y

dx3 + 3d2y

dx2 + 3dy dx+y= e−x(2−x2).

[Ans : yp = x360e−x(20−x2)]

(vii) WhenQ(x) = xV(x); where V is any function of x:- Here, P.I. is yp = 1

P(D)xV(x) =x 1

P(D)V(x)− P0(D) [P(D)]2V(x) Example 5.31/p.181 Solve d2y

dx2 −2dy

dx +y =xsinx.

Solution. The A.E. is

m2 −2m+ 1 = 0 (m−1)2 = 0

m = 1,1 Thus, C.F. is

yc= (c1+c2x)ex Now, P.I. is

yp = 1

P(D)Q(x) = 1

D2−2D+ 1(xsinx)

= x 1

D2−2D+ 1sinx− 2D−2

(D2−2D+ 1)2 sinx 1

P(D)xV(x) =x 1

P(D)V(x)− P0(D) [P(D)]2V(x)

= x sinx

[−(1)2−2D+ 1] − 2(D−1) sinx [−(1)2−2D+ 1]2

= −x 2

1

Dsinx− 2

4D2(cosx−sinx)

= x

2cosx− 1

2D(sinx+ cosx)

= x

2cosx− 1

2(−cosx+ sinx) Therefore, the complete solution is

y= (c1+c2x)ex+x

2cosx−1

2(sinx−cosx)

(21)

Home Assignment

Solve the following differential equations:

1. (Ex 5.33/p.182) (D2−2D+ 1)y =xexsinx.

[Ans : y= (c1 +c2x)ex−ex(xsinx+2cosx)]

2. (Q.36/p.240) (D2+ 1)y=xe2x.

[Ans : y=c1cosx+c2sinx+251 ex(5x−4)]

Mixed Problems:

Example 5.61(ii)/p.225 Solve (D2+ 2)y=x2e3x+excos 2x.

Solution. The A.E. is

m2+ 2 = 0

⇒ m = ±√

2i

Thus, C.F. is

yc =c1cos√

2x+c2sin√ 2x

(22)

Now, P.I. is

yp = 1

P(D)Q(x) = 1

(D2+ 2)(x2e3x+excos 2x)

= 1

(D2+ 2)x2e3x+ 1

(D2 + 2)excos 2x

= e3x 1

(D+ 3)2+ 2x2 +ex 1

(D+ 1)2+ 2cos 2x 1

P(D)eaxV(x) = eax 1

P(D+a)V(x)

= e3x 1

D2+ 6D+ 9 + 2x2+ex 1

D2+ 2D+ 1 + 2cos 2x

= e3x 1

D2+ 6D+ 11x2+ex 1

D2+ 2D+ 3cos 2x

= e3x 1

11 1 + 116 D+111 D2x2+ex 1

−(2)2+ 2D+ 3cos 2x 1

P(D2)cosax= cosax P(−a2)

= 1

11e3x

1 + 6

11D+ 1 11D2

−1

x2+ex 1

2D−1× 2D+ 1 2D+ 1cos 2x

= 1

11e3x

"

1− 6

11D+ 1 11D2

+

6

11D+ 1 11D2

2

+· · ·

#

x2+ex 2D+ 1

4D2−1cos 2x

= 1

11e3x

x2− 12

11x

+ 25

121

+ex(2D+ 1) cos 2x 4(−22)−1

= 1

11e3x

x2− 12

11x+ 25 121

+ex(−4 sin 2x+ cos 2x)

−17

= 1

11e3x

x2− 12

11x+ 25 121

− 1

17ex(cos 2x−4 sin 2x) Therefore the complete solution is

y =c1cos√

2x+c2sin√

2x+ 1 11e3x

x2− 12

11x+ 25 121

− 1

17ex(cos 2x−4 sin 2x)

Example 5.62(ii)/p.227 Solve (D2 −4D+ 4)y= 8x2e2xsin 2x.

(23)

Solution. The A.E. is

m2−4m+ 4 = 0 (m−2)2 = 0

⇒ m = 2,2 Hence, C.F. is

yc= (c1+c2x)e2x P.I. is

yp = 1

P(D)Q(x) = 1

D2−4D+ 4(8x2e2xsin 2x)

= 1

D2−4D+ 4(8e2x·x2sin 2x)

= 8e2x 1

(D+ 2)2−4(D+ 2) + 4(x2sin 2x) 1

P(D)eaxV(x) = eax 1

P(D+a)V(x)

= 8e2x 1

D2+ 4 + 4D−4D−8 + 4(x2sin 2x)

= 8e2x 1

D2(x2sin 2x)

= 8e2x(−2x2sin 2x+ 3 sin 2x−4 cos 2x) Therefore, the required solution is

y= (c1+c2x)e2x+ 8e2x(−2x2sin 2x+ 3 sin 2x−4 cos 2x)

Home Assignment

1. (Q.29/p.240) Find the particular integral ofy00+ 3y0+ 2y= 8 + 6ex+ 2 sinx.

[Ans : yp =4+ex+12(sinx−3cosx)]

Solve the following differential equations:

2. (Q.37/p.240) (D2+ 1)y=e−x+ cosx+x3+excosx.

[Ans : y=c1cosx+c2sinx+12e−x+12xsinx+x3−6x+ 15ex(2sinx+ cosx)]

(24)

3. (Q.42/p.240) (D2−4D+ 4)y=x2+ex+ sin 2x.

[Ans : y= (c1+c2x)e2x+14 x2+2x+32

+ex+18cos2x]

4. (Q.43/p.240) (D2+ 1)y = cosx+xe2x+exsinx.

[Ans : y=c1cosx+c2sinx+12xsinx+ 251 e2x(5x−4)−15ex(2cosx−sinx)]

Variation of Parameters

In this lecture, we discuss yet another technique called ‘Variation of Pa- rameters’ to find the particular solution of a second order linear differential equation with constant of the form:

a2

d2y dx2 +a1

dy

dx +a0y=Q(x); a2 6= 0, Q(x)6= 0. (2) The complementary function (yc) contains linearly independent solutions y1(x) and y2(x) so that

yc=c1y1(x) +c2y2(x).

By Variation of Parameters, the particular solution will be of the form yp =u(x)y1(x) +v(x)y2(x);

where u(x) andv(x) are to be determined by u(x) = −1

a2

Z y2(x)Q(x) W(y1, y2)dx;

v(x) = 1 a2

Z y1(x)Q(x) W(y1, y2)dx;

so that

W(y1, y2) =

y1(x) y2(x) y01(x) y02(x)

Example 5.40/p.189 Solve (D2−3D+ 2)y= sine−x.

(25)

Solution. The Auxiliary equation is

m2 −3m+ 2 = 0 (m−2)(m−1) = 0

m = 1,2 Therefore, Complimentary function is

yc =c1ex+c2e2x

Hence, here y1(x) =ex and y2(x) =e2x. Therefore, the particular integral is yp =u(x)y1(x) +v(x)y2(x) (3) Now, we have

W(y1, y2) =

y1(x) y2(x) y01(x) y20(x)

=

ex e2x ex 2e2x

= 2e3x−e3x

= e3x Thus,

u(x) = −1 a2

Z y2(x)Q(x) W(y1, y2)dx;

= −1 1

Z e2xsine−x

e3x dx; here a2 = 1

= −

Z

e−xsine−xdx P ut e−x=t⇒ −e−xdx=dt⇒ Z

sintdt⇒ −cost

= −cose−x

(26)

and

v(x) = 1 a2

Z y1(x)Q(x) W(y1, y2)dx;

= 1 1

Z exsine−x

e3x dx; here a2 = 1

= Z

e−2xsine−xdx P ut e−x =t⇒ −e−xdx=dt

= −

Z

tsintdt

= −

t(−cost)− Z

1·(−cost)dt

= −[−tcost+ sint]

= e−xcose−x−sine−x Putting these values in (3), we get

yp = u(x)y1(x) +v(x)y2(x)

= (−cose−x)ex+ (e−xcose−x−sine−x)e2x

= −excose−x+excose−x−e2xsine−x

= −e2xsine−x Thus, the complete solution is

y=yc+yp =c1ex+c2e2x−e2xsine−x Example 5.41/p.190 Solve (D2+ 4D+ 4)y = 3xe−2x. Solution. The Auxiliary equation is

m2+ 4m+ 4 = 0 (m+ 2)2 = 0

m = −2,−2 Therefore, Complimentary function is

yc = (c1+c2x)e−2x ⇒c1e−2x+c2xe−2x

(27)

Hence, herey1(x) =e−2x andy2(x) =xe−2x. Therefore, the particular integral is

yp =u(x)y1(x) +v(x)y2(x) (4) Now, we have

W(y1, y2) =

y1(x) y2(x) y01(x) y02(x)

=

e−2x xe−2x

−2e−2x e−2x−2xe−2x

= e−2x(e−2x−2xe−2x)−xe−2x(−2e−2x)

= e−4x−2xe−4x+ 2xe−4x

= e−4x Thus,

u(x) = −1 a2

Z y2(x)Q(x) W(y1, y2)dx;

= −1 1

Z xe−2x·3xe−2x

e−4x dx; here a2 = 1

= −

Z

3x2dx

= −3 x3

3

= −x3 and

v(x) = 1 a2

Z y1(x)Q(x) W(y1, y2)dx;

= 1 1

Z e−2x·3xe−2x

e−4x dx; here a2 = 1

= Z

3xdx

= 3x2 2

(28)

Putting these values in (4), we get

yp = u(x)y1(x) +v(x)y2(x)

= (−x3)e−2x+ 3x2

2

xe−2x

= −x3e−2x+ 3x3 2 e−2x

= 1 2x3e−2x Thus, the complete solution is

y =yc+yp =c1e−2x+c2xe−2x+ 1 2x3e−2x

Home Assignment

Using the method of variation of parameter, solve the following equations.

1. (Q.53/ p-241) y00+y = 4xsinx.

[Ans : y=c1cosx+c2sinx−x2cosx+xsinx]

2. (Q.55/ p-241) y00−2y0+y=exlogx.

[Ans : y= (c1+c2x)ex+x2ex 12logx− 34 ]

Reduction of Order Method for Homogeneous Equation

Consider the general linear differential equation an(x)dny

dxn +an−1(x)dn−1y

dxn−1 +· · ·+a1(x)dy

dx +a0(x)y=Q(x) (5) And its related homogeneous equation

an(x)dny

dxn +an−1(x)dn−1y

dxn−1 +· · ·+a1(x)dy

dx +a0(x)y= 0 (6)

(29)

wherean(x), an−1(x),· · ·, a1(x), a0(x) andQ(x) are each continuous functions of x and an(x)6= 0.

When the coefficients are constant, the methods for finding the solutions of equation (5) and (6) are known. Here we shall give a method for solving equation (5) and (6) when the coefficients an(x) are not constant.

Equation (5) don’t always have solution and finding solution can be much more difficult than constant coefficients. However, if we knew one linearly independent solution (non-zero) of homogeneous part, then we can find the general solution (other independent solution of (6) & particular solution).

This method is known as reduction of order method.

Reduction of Order method for Homogeneous Equation:Consider the homogeneous equation of second order with variable coefficients

a2(x)d2y

dx2 +a1(x)dy

dx +a0(x)y = 0. (7) Suppose that a linearly independent solution (y1 6= 0) of equation (7) is given.

Then second linearly independent solution (y2) can be found by reduction of order method as:

y2(x) =y1(x) Z

u(x)dx (8)

where

u= exp

−R a1(x) a2(x)dx

y12 (9)

Then, the general solution of (7) is

y=c1y1+c2y2

Example (5.42/P-192)Solvex2y00−xy0+y= 0. Giveny1 = xas a solution.

Solution. Given homogeneous differential equation is

x2y00−xy0+y= 0, with given solution y1 =x.

(30)

Then, another linear independent solution is given by

y2(x) = y1(x) Z

u(x)dx where

u= exp

−R a1(x) a2(x)dx

y12

Here, a2(x) = x2, a1(x) =−x and y1 =x, then we have

u = exp

−R a1(x) a2(x)dx

y12

= exp

−R −x x2 dx

(x)2

= eR 1xdx

x2 = elogx x2 = x

x2 u = 1

x Thus

y2 = y1 Z

u(x)dx

= x Z 1

xdx

= xlogx Therefore the required solution is

y =c1x+c2xlogx.

Home Assignment

Use the reduction of order method to find the solution of the following equation; one solution of the homogeneous equation is given.

(31)

1. (Q.58/ p-241) y00x2y0 +x22y= 0; y1 =x.

[Ans : y=c1x+c2x2]

2. (Q.59/ p-241) (2x2+ 1)y00−4xy0 + 4y= 0; y1 =x.

[Ans : y=c1x+c2(2x2−1)]

Reduction of Order Method for Non-Homogeneous Equations

Reduction of Order method for Non-Homogeneous Equation: We consider a second order non-homogeneous differential equation

a2(x)d2y

dx2 +a1(x)dy

dx +a0(x)y =Q(x) (10) and its related homogeneous equation

a2(x)d2y

dx2 +a1(x)dy

dx +a0(x)y= 0 (11) Suppose that a linearly independent solution (y1 6= 0) of equation (11) is known. Then, the second independent solution of equation (10), as well as a particular integral of equation (10) can be obtain by reduction of order method.

Working Rule:

1. Step-1: Let ¯y(x) be another solution of equation (10) which includes second linearly independent solution as well as the particular solution, then

¯

y(x) = y1(x) Z

u(x)dx, (12)

whereu(x) is a function of x to be determined.

2. Step-2: Differentiate (12) twice, we get

¯

y0(x) = y1u+y10 Z

u(x)dx (13)

¯

y00(x) = y1u0+ 2y10u+y100 Z

u(x)dx (14)

(32)

3. Step-3: Substitute the values of ¯y,y¯0,y¯00 in equation (10) and simplify- ing, we obtain the value of u.

4. Step-4: Substituting this value of u in equation (12), we get ¯y, the required remaining part of the solution.

5. Step-5: Then the general solution of (10) is given by y=c1y1+ ¯y

Example (5.43/P-192)Given that y=x as a solution of x2d2y

dx2 +xdy

dx −y = 0, x6= 0.

Find the general solution of x2d2y

dx2 +xdy

dx −y=x.

Solution. Here, given solution of homogeneous differential equation isy1(x) = x. Thus

¯

y(x) = y1(x) Z

u(x)dx, where u(x) is to be determined.

= x Z

u(x)dx (15)

Differentiating it twice, we get

¯

y0 = xu+ Z

u(x)dx

¯

y00 = [xu0 +u] +u=xu0 + 2u

Since, y¯ is another solution; Substituting the values of y,¯ y¯0,y¯00 in the given

(33)

non-homogeneous differential equation and simplifying, we obtain

x2y00+xy0−y = x x2[xu0+ 2u] +x

xu+

Z udx

−x Z

udx = x x3u0+ 2x2u+x2u+x

Z

udx−x Z

udx = x x3u0+ 3x2u = x

u0+ 3

xu = 1 x2

which is linear equation in u, so

I.F. = eRP dx=eR x3dx

= e3 logx

= x3,

thus, the solution is

u·(I.F.) = Z

(Q·I.F.)dx+c u·x3 =

Z 1 x2 ·x3

dx+c u·x3 =

Z

xdx+c u·x3 = x2

2 +c u = 1

2x + c x3

(34)

Put this value of u in equation (15) to obtain

¯

y(x) = x Z

u(x)dx

= x Z

1 2x + c

x3

dx

= x 1

2logx− c 2x−2

= 1

2xlogx− c 2

1 x

= 1

2xlogx+c2x−1, where c2 = −c 2 , therefore, the required solution is

y =c1x+c2x−1+ 1 2xlogx

Home Assignment

Use the reduction of order method to find the solution of the following equation; one solution of the homogeneous equation is given.

1. (Q.60/ p-241) y002xy0+x22y =xlogx; y1 =x.

[Ans : y=c1x+c2x2+12x3logx−34x3]

2. (Q.61/ p-241) x2y00+xy0−y=x2e−x; y1 =x.

[Ans : y=c1x+c2x−1+e−x(1+x−1)]

Cauchy-Euler Equation

An equation of the form anxndny

dxn +an−1xn−1dn−1y

dxn−1 +· · ·+a1xdy

dx +a0y=Q(x)

(35)

wherea0, a1,· · · , an−1, an are constant, is called aCauchy-Euler Equation of order n.

For the sake of convenience, we consider the Cauchy-Euler Equation of order 2 as

a2x2d2y

dx2 +a1xdy

dx +a0y=Q(x)

a2x2y00+a1xy0 +a0y=Q(x) (16) To solve (16), we have the substitution x=et⇒logx=t⇒ x1dxdt = 1.

⇒ dy

dx = dy dt · dt

dx

= 1 x

dy dt i.e.,

xdy dx = dy

dt Also,

d2y

dx2 = d dx

dy dx

= d dx

1 x

dy dt

= 1 x

d dx

dy dt

+ d

dx 1

x dy

dt

= 1 x

d dt

dy dt

dt dx − 1

x2 dy dt

= 1

x2 d2y

dt2 − 1 x2

dy dt

= 1

x2 d2y

dt2 − dy dt

i.e.,

x2d2y

dx2 = d2y dt2 −dy

dt

(36)

therefore (16) reduces to

a2x2y00+a1xy0 +a0y=Q(x) a2

d2y dt2 − dy

dt

+a1 dy

dt

+a0y=Q(et) a2d2y

dt2 + (a1−a2)dy

dt +a0y=Q(et) A2d2y

dt2 +A1dy

dt +A0y=R(t) Which is linear differential equation with constant coefficients.

Remark. Observe that

xy0 −→ D1y

x2y00 −→ D1(D1−1)y

x3y000 −→ D1(D1−1)(D1−2)y and so on. Where D1 = dtd.

Example (5.44/p. 194)Solve x2ddx2y2 +xdydx −4y =x2. Solution. Given Differential equation is

x2y00+xy0−4y=x2 (17) Put x=et⇒logx=t with

xy0 = D1y

x2y00 = D1(D1−1)y⇒(D12−D1)y where D1 = dtd, we have from (17),

x2y00+xy0 −4y = x2 (D21−D1)y+D1y−4y = e2t

D12y−D1y+D1y−4y = e2t (D12−4)y = e2t,

(37)

which is linear differential equation with constant coefficients, so the Auxiliary Equation is

m2 −4 = 0 m2 = 4

m = ±2 Therefore

C.F. =yc=c1e2t+c2e−2t And

P.I.=yp = R(t)

f(D1) = e2t D12−4

= e2t 1

(D1+ 2)2−4(1) ∵ eax

f(D) =eax 1

f(D+a)(1)

= e2t 1

D12+ 4D1+ 4−4(1)

= e2t 1

D12+ 4D1(1)

= e2t 1 4D1

1 + D1 4

−1

(1)

= e2t 1 4D1

1− D1 4 +· · ·

(1) ∵(1 +x)n= 1 +nx+n(n+ 1)

2! x2+· · ·

= e2t 1 4D1(1)

= e2t 4 t Thus solution

y = yc+yp

= c1e2t+c2e−2t+te2t 4

= c1x2+c2x−2+ logx·x2 4

(38)

The required solution is

y=c1x2+c2x−2+ x2·logx 4

Q.62/ p-241x2d2y

dx2 −xdy

dx +y= 2 logx

Solution. Put x=et⇒logx=t in the given differential equation with xy0 = D1y

xy00 = D1(D1−1)y We have

x2d2y

dx2 −xdy

dx +y = 2 logx [D1(D1−1)−D1+ 1]y = 2t

D21−D1−D1+ 1

y = 2t (D21 −2D1+ 1)y = 2t

which is a linear differential equation with constant coefficients, so the auxiliary equation is

m2 −2m+ 1 = 0 (m−1)2 = 0

m = 1,1 Therefore, the complementary solution is

C.F. =yc = (c1+tc2)et

= (c1+c2logx)x

(39)

And, the particular solution is

P.I.=yp = = R(t)

f(D1) = 2t (D1−1)2

= 2(1−D1)−2(t)

= 2 1 + 2D1+ 3D21+· · · (t)

= 2(t+ 2(1) + 3(0) +· · ·)

= 2(t+ 2)

= 2(logx+ 2)

= 2 logx+ 4 The required general solution is

y = yc+yp

y = (c1+c2logx)x+ 2 logx+ 4 i.e.,

y= (c1+c2logx)x+ 2 logx+ 4

Home Assignment Solve the following differential equation:

1. (Ex. 5.45/p. 194) x2D2y−xDy−3y=x2logx.

[Ans : y=c1x−1+c2x313x2 logx+23 ]

2. (Ex 5.46/ p-195) x3D3y+ 3x2D2y+xDy+y=x+ logx.

[Ans : y=c1x−1+√ xh

c2cos

3

2 logx

+c3sin

3

2 logxi

+12x+ logx]

3. (Q.63/ p-241) x4d3y

dx3 + 2x3d2y

dx2 −x2dy

dx +xy= 1 [Ans : y=c1x−1+c2x+c3xlogx+ 14x−1logx]

4. (Q.64/ p-241) x2d2y

dx2 −xdy

dx + 2y=xlogx

[Ans : y=x[c1cos(logx) +c2sin(logx)] +xlogx]

References

Related documents

x − 1 = 0 is a nodel locus since it occurs twice in the c-discriminant relation, does not occur in the p-discriminant relation, and does not satisfy the differential equation.

Besides general solution and particular solution, there is another type of solution of equation (0.62), which is called Singular solution.

Complementary Function: The general solution of homogeneous equation corresponding to (0.1) is called complimentary function of non-homogeneous equation (0.1)... does not contain

Solution of a Differential Equation: A solution (or integral/primitive) of a differential equation is an explicit or implicit relation between the vari- ables involved that does

Complementary Function: The general solution of homogeneous equation corresponding to (0.1) is called complimentary function of non-homogeneous equation (0.1)... does not contain

Linear differential equations of second order, Complete solution in terms of known integral belonging to the complementary function, Normal form, Change of independent

Besides general solution and particular solution, there is another type of solution of equation (0.62), which is called Singular solution.

lution technique, has been used in the non-l inear wave equation to modify to an ordinary differential equation and later evaluated the complete solution by the series