Chapter 5
Chapter 5
Chapter 5
5.10 Exercises
two or more. In the first eight sections underlying theory and certain important
linear higher-order differential equations. The main goal of the present chapter
116
dn y dn1 dy
a n ( x ) n a n1 ( x ) n1 - - - - a1 ( x ) a 0 ( x )y g( x ) (5.1)
dx dx dx
subject to
problems.
Let an(x), an-1(x), - - - - ,a1 (x), a0(x) and g(x) be continuous on an interval
, and let an (x) 0 for every x in . If x=x0 is any point in , then there exists a
unique solution y(x) of the initial value problem (5.1)-(5.2) on the interval .
d3 y d 2 y dy
6 10 7y 0
dx 3 dx 2 dx
possesses the trivial solution y=0. Since the third-order equation is linear with
constant coefficients, it follows that all conditions of Theorem 5.1 are satisfied.
Example 5.2 Check whether the function y=3e 2x+e-2x-3x is a solution of the
d2 y
4 y 12 x 0.
dx 2
y(0)=4, y'(0)=1,
Here a2(x)=10, a1(x)= – 40 for every interval containing x=0, g(x)=12x.
117
a2(x), a1(x) and g(x) are continuous on any interval containing x=0.
theorem.
d2 y dy (5.3)
a2 (x) 2
a1 ( x ) a 0 ( x )y g( x )
dx dx
subject to
Remark 5.1
conditions could be
y'(a)=y0, y(b)=y1
y(a)=y0, y'(b)=y1
y'(a)=y0, y'(b)=y1
118
d2 y
16 y 0
dx 2
y(0)=0, y ( ) =0
2
y=c1cos4x+c2sin 4x
d2 y
16 y 0
dx 2
or c1=0.
y( ) 0 c 2 sin 4
2 2
d2 y
16 y 0
dx 2
y(0)=0, y ( )=0
2
119
dn y dn1y dy
a n ( x ) n a n1( x ) n1 a1( x ) a 0 ( x )y g( x )
dx dx dx
(5.5)
equation.
dn y dn1y dy
an (x) n
a n1 ( x ) n 1
- - - - a1 ( x ) a 0 ( x )y 0 (5.6)
dx dx dx
and (iii) an(x) 0 for every x in the interval on which solution is considered.
dy
Differential Operator: Let Dy. The symbol D is said to be a
dx
function.
d2 y d dy
We can write 2
( ) D(Dy ) D 2 y, that is, D is acting
dx dx dx
(operating) twice on y.
120
dn y
n
D(D n1y ) D(D(D n2 ))
dx
L(y)=0.
L(y)=g(x)
Theorem 5.2 Let y1, y2, - - - -, yn be solutions of (5.6) on an interval . Then the
linear combination
y=1y1+2y2+ - - - - +nyn,
121
where =i, i=1,2, - - - - n, are arbitrary constants, is also a solution of
(5.6) on .
solution, that is, y (x) is a solution of (5.6) whenever y(x) is a solution of (5.6)
dependent.
interval if there exist constants 1,2, - - - - -n, not all zero, such that
Let the set consist of two functions only say f 1(x) and f2(x). Therefore,
assuming 10,
2
f1(x)= - f2(x), that is, f1(x) is a constant multiple of f2(x).
1
122
Thus if the set of two functions is linearly dependent then one must be
Conversely, let f1(x)= 2f2(x) for some constant 2. Then –f1(x)+ 2f2(x)=0
Hence the set of two functions is linearly dependent because at least one of
(ii) Let f1(x)=ex, f2(x)=5ex. The set {f1(x), f2(x)} is linearly dependent
Definition 5.2. Let each of the functions f 1(x), f2(x), - - - -, fn(x) possesses at
123
f1 f 2 - - - - fn
f1 f2 - - - - fn
W(f1, f2...,fn ) (5.9)
--------------
(n1) (n1) (n1)
f1 f2 - - - - fn
where the primes denote derivatives, is called the Wronskian of the
functions.
124
Remark 5.3 Theorem 5.5 states that for any solution y(x) of (5.6) on an
Example 5.5 The set consisting of e-3x and e4x is a fundamental set of
y"-y'-12y = 16e4x-4e4x-12e4x=0
e -3x
The set of { e-3x, e4x} is linearly independent as e 7 x is a function
e 4x
In other words neither is constant multiple of the other and so { e -3x, e4x}
is independent.
3 x 4 x
ee
W(y1, 2)y 3x 4x 4e 3e 7e 0
x x x
- 3e 4e
Therefore { e-3x, e4x} is a fundamental set of solutions on interval (-,)
Any function yp, free of arbitrary parameters, that satisfies (5.5) is said
125
Theorem 5.6 Let yp be any particular solution of the non homogenous linear
nth-order differential equation (5.5) on an interval , and let y1, y2, - - - -,yn be a
equation (5.6) on . Then the general solution of the equation on the interval
is
solve associated homogeneous linear differential equation (5.6) and then find
= yc+yp. (5.11)
y"-7y'+10y=24ex on (-,).
y"-7y'+10y=24ex
We have
y'c(x) = 2c1e2x+5c2e5x
126
y"c(x)= 4c1e2x+25c2e5x
y"-7y'+10y=(4c1e2x+25c2e5x)-7(2c1e2x+5c2e5x)
+10c1e2x+10c2e5x
=(14c1e2x-14c1e2x)+(35c2e5x-35c2e5x)
=0
y"-7y'+10y=0
We also have
y'=6ex
y"=6ex, so
y"-7y'+10y=6ex-42ex+60ex = 24ex
equation.
equation.
Remark 5.4 (i) First order linear differential equation obtained in Theorem 5.7
127
(ii) This procedure holds also for higher order linear differential
equations.
get
y'2(x)=uex+u' (x)ex
u"+2u'=0
w'+2w=0
we can write
dx
d 2x
e w 0 . By integrating
we obtain
c 1 2 x
u e c2
2
128
c 1 2 x
e x c 2 e x
Thus y2(x)=u(x)e = 2
c
1 e x c 2 e x
2
y2(x) =e-x
x x
ee
Since W(y1,y2) x x e e
o o
=–20
e e
for every x(-,), the solutions are linearly independent in this
interval.
dn y dn1y d2 y dy
an n
a n 1 n 1
- - - - a 2 2
a1 a0 y 0 (5.13)
dx dx dx dx
where the coefficients an, an-1, - - - - a2, a1, a0 are real constants and an 0. We
focus mainly our attention to the case n=2, similar discussion is possible for
exponential function.
129
ay"+by'+cy=0 (5.14)
If we try a solution of the form y=e mx, then after substituting y'=memx and
a m2 emx+bm emx+cemx = 0
or emx(am2+bm+c)=0
am2+bm+c=0 (5.15)
b b 2 4ac
m1
2a
b b 2 4ac
m2
2a
Let m1 and m2 be two distinct real roots of (5.15). We find two solutions
y=c1em1x+c2em2x (5.16)
130
Case (ii) Repeated Roots
m1x
e2
e 2 m1x dx
m
solution y2= e x 1
=em1xdx=x em 1x
y=c1em1x+c2xem1x (5.17)
are real and >0, i2=-1. y1=c1e(+i)x and y2=c2e(-i)x are two linearly independent
solutions. Thus
ei=cos+i sin ,
where is any real number, we write the general solution in real form. From
e ix e ix
cos
2
e ix e ix
sin
2i
131
Since y=c1e(+i)x+c2e(-i)x is a solution of (5.14) for every choice of c 1
and c2, choices c1 = c2 = 1 and c1=1 and c2 = -1 give in turn two solutions
y4 = e(+i)x -e(-i)x
In view of Corollary 5.1 ex cosx and ex sin x are real solutions of
(i) 2y"-5y-3y=0
(ii) y"+5y'-6y=0
(iii) y"+8y'+16y=0
(iv) y"+4y'+7y=0
(2m+1)(m-3)=0
1
Therefore two roots are m1=- , m2=3
2
1
y=c1 e 2 x +c2e3x
132
(ii) The auxiliary equation is m2+5m-6=0. This can be written in the form
(m-1)(m+6)=0.
Roots are m1=1, m2= - 6. Then the solution is of the form (5.16), that is,
y=c1ex+c2e-6x
Roots are m1=m2= -4. The solution is of the form (5.17), that is,
y=c1em1x+c2xem1x=c1e-4x+c2xe-4x
y"+3y'+2y=0
y(0) = 1, y'(0)=2
m2+3m+2=0
m1 = - 1 and m2 = -2
y=c1e-x+c2e-2x
133
y(0)=1=c1e-0+c2e-0=c1+c2 or
c1+c2=1
y'=-c1e-x-2c2e-2x
or c1+2c2= -2
Thus c1+c2=1
c1+2c2=-2
Therefore, y = 4e-x-3e-2x
anmn+an-1mn-1+- - - - +a2m2+a1m+a0=0
If all roots (say m1,m2,- - - - mn) of this equation are real and distinct,
constant coefficients
dn y dn1y d2 y dy
a n n a n1 n1 - - - - a 2 2
a1 a 0 y g( x ) (5.19)
dx dx dx dx
134
One must find complementary function y c, that is, the general solution
about the form of yp that is motivated by the form of g(x) in (5.19). The method
is limited to those equations of the type (5.19) where g(x) is of the following
forms:
1
g(x) =lnx, g(x)= , g(x)=tan x, g(x)=sin-1x etc.
x
The method is illustrated through the following examples.
Example 5.10 Find a general form of a particular solution y p for the following
equations
135
yp = Ae2x+B+Cx+Dx2+Ex3
y”-y'+y=2 sin 3x
Solution: A natural first guess for a particular solution would be A sin 3x. But
since successive differentiations of sin 3x produce sin 3x and cos 3x, we are
terms:
equation gives:
yp"-yp'+yp= -9A cos 3x - 9B sin 3x +3A sin 3x - 3B cos 3x+A cos 3x +B sin 3x =
2 sin 3x
-8A-3B=0
3A-8B=2
136
6 16
A= , and B = ,
73 73
6 16
yp= cos 3 x sin 3x
73 73
yp=A+Bx+Cx2
y’p=B+2Cx
y”p=2C
or (2C+3B+2A)+(6C+2B)x+2Cx2=0+0x+5x2
2A+3B+2C=0
2B+6C=0
2C=5. Thus
5 15 3 45 5 35
C= ,B , A BC
2 2 2 4 2 4
Therefore
35 15 5
yp= x x2
4 2 2
undetermined coefficients.
137
Step 1. The auxiliary equation is
m2-10m +25=0
(m-5)2=0
m1=5, m2=5
y=c1 e5x+c2xe5x
yp'=A
yp"=0
0-10A+25(Ax+B)=30x+3
(-10A+25B)+25Ax=30x+3
This implies
-10A+25B=3, 25A = 30
6
Thus A=
5
6
10. 25B 3 gives
5
3
B=
5
6 3
yp= x
5 5
6 3
y=c1e5x+c2xe5x+ x
5 5
coefficients.
138
Solution: Step 1 Find complementary function
Auxiliary equation is
m2+4=0
m= 2i
yp"=2A cos 2x+2A cos 2x-4Ax sin 2x-2B sin 2x –2B sin 2x-4Bx cos 2x
yp" + 4yp= (4A cos 2x – 4Ax sin 2x – 4 B sin 2x – 4Bx cos 2x)
3
-4B=3 or B= - 4
A= 0
3
yp= - x cos 2x
4
3
y= yc+yp = c1 cos 2x+c2 sin 2x - x cos 2x
4
Undetermined Coefficients-Annihilator Approach: Differential equation
Ly=g(x) (5.20)
139
L (f(x)) = 0,
4e2x-10xe2x
esin x, xex sin x, x2ex sin x, - - - - xn-1exsin x, (5.24)
Remark 5.6 (i) If L annihilates y1 and y2 then it also annihilates their linear
140
(iii) Find the general solution of the higher-order homogeneous differential
equation L1L(y)=0.
(iv) Delete from the solution in step (iii) all those terms that are duplicate in
solution of L(y)=g(x).
(v) Substitute yp found in step (iv) into L(y)=g(x). Match coefficients of the
various functions on each side of the equality, and solve the resulting
(vi) With the particular solution found in step (v), form the general solution
y"+3y'+2y=0
m2+3m+2=0
yc=c1e-x+c2e-2x
Step: 2. Now, since 4x2 is annihilated by the differential operator D3, we find
D3(D2+3D+2)y=0 (5.25)
141
The auxiliary equation of the fifth order in (5.25),
m3(m2+3m+2)=0
or m3(m+1)(m+2)=0,
the given equation. We can very well argue that a particular solution yp of the
given equation should also satisfy (5.25). This means that the terms
yp=A+Bx+Cx2 (5.27)
where, c1, c2, c3 are replaced by A,B and C respectively. For (5.27) to be a
coefficients A, B and C.
y'p=B+2Cx, y"p=2C;
y”+3y'+2y=4x2, we get
yp"+3y'p+2yp=2C+3B+6Cx+2A+2Bx+2Cx2=4x2
142
Step 3. The general solution of the given equation is
y=yc+ yp or y=c1e-x+c2e-2x+7-6x+2x2
y"-9y=54
yc
0-9A=54 or A = - 6
y=c1 e3x+c2e-3x-6
Annihilator approach.
(D2-2D+2)(D2-2D+5)y=0
yc
143
and
yp" = (Aex cos x – Aex sin x)- (Aex sin x + Aex cos x)
(Aex cos x – Aex sin x) – (Aex sin x +Aex cos x) +(Bexsin x + Bex cosx)
+ (Bex cos x – Bex sin x) -2A excos x -2Aex sin x + 2Bex sin x + 2Bex cos x +
1 x
y=ex (c1 cos 2 x + c2 sin 2x) + e sin x
3
form a2(x)y"+a1(x)y' +ao(x)y = g(x) which can be written in the standard form
In (5.28) we assume that P(x), Q(x) and f (x) are continuous on some
finding the complementary function yc of (5.28) when P(x) and Q(x) are
constant functions.
144
Step 1. Find complementary function yc of (5.28) of the form yc=c1y1+c2y2
y1 y 2
W(y1,y2 )
'y 1 'y 2
0 y2 y1 0
Step 3. Write W1 , W2 =
f ( x ) y' 2 y'1 f ( x )
and find u1 and u2 by integrating
W1 W
u 1' = ,u 2 ' 2
W W
m1=1, m2= -1
145
y=c1ex+c2e-x
x x
ee 0 0
W e e 2
e x e x
x
0e
W1 x x x
xe e
x
e0 2x
W2 xe
x x
e xe
x x
u'1
2 2
xe2 x 1
u' 2 xe2 x
2 2
x2
u1
4
u2 = -(xe2x/4) + (e2x/8)
146
y=yc + yp where
yc = c1 ex+c2e-x
x4 x
e – (xe2x/4)e-x+(e2x/8)e-x
yp = u1y1+u2y2 =
4
1 1 1
Thus y=c1ex+c2e-x+ x4ex- xex+ ex
4 4 8
differential equation
y"-y=coshx
x x
ee
W ( y 1, y 2 ) x x 2
e e
1
f(x)=coshx = (e-x+ex)
2
x
o e x
W1 x e coshx
coshx e
147
x
eo
W2 x e coshx x
e coshx
u1
W1 1 1
cosh x e x e 2 x 1
W 2 4
u2
W2 cos hx e x
W
2
1
1 e 2x
4
1 2 x 1
u1 e x
8 4
1 1
u2 x e 2x
4 8
1 1 1 1
y p e 2 x x e x x e 2 x e x
8 4 4 8
y=yc+yp
d2 y dy
ax 2 2
bx cy g( x ) (5.29)
dx dx
d2 y dy
ax 2 2
bx cy am(m-1)xm+bmxm+cxm
dx dx
148
= (am(m-1)+bm+c)xm
d2 y dy
ax 2 bx cy 0
dx 2
dx (5.30)
Case 1: District Real Roots Let m1 and m2 be real roots of (5.31) such that
m1m2. Then y1 = xm1 and y2=xm2 form a fundamental set of solutions. Hence
y=c1xm1+c2xm2 (5.32)
If the roots of (5.31) are repeated, that is, m 1=m2 then the general
y=c1xm1+c2xm1lnx (5.33)
If the roots of (5.31) are the conjugate pair m 1= +i, m2= -i, where
Verification: xi=(elnx)i=eilnx
149
which, by Euler's formula, is the same as
y2= x(xi-x-i)
y2=2ixsin (lnx)
Since Wronskian for xcos (lnx) and xsin (lnx) in x2-1 0, >0, on
the interval (0, ), we conclude that y1=xcos (lnx) and y2=xsin (lnx)
Remark 5.7 The method described above holds true for similar equations of
order n.
(a) x2y"-2y=0
150
(b) x2y"-3xy'-2y=0
y=c1x-1+c2x2
m2-4m-2=0
4 16 8
m
2
1
2 24
2
2 6
y=c1x2+ 6
+ c2x2- 6
(c) The auxiliary equation is m2+1=0 so that the general solution is given by
1 1
y'= -c1 sin (lnx)+c2 cos (lnx)
x x
151
The main objective of this book, in general and this chapter in
few important general features along with solution of two classes of non linear
differential equations, one in which dependent variable is missing and the other
There are several significant differences between linear and non linear
coefficients can be solved. This does not hold for nonlinear differential
equations. Even when we can solve a non linear first-order differential equation
in the form of one parameter family, this family does not, as a rule, represent a
general solution. In other words non linear first-order differential equations can
Given a linear differential equation there is a strong possibility that we can find
some form of a solution that one can look at an explicit solution or a series
solution (to be discussed in Chapter 6). On the other hand, non linear
152
It may be pointed out that non linear differential equations represent
significant real world problems but their discussion is beyond the preview of
this book.
153
Special kind of non linear differential equations
d2 y dy 2
Example 5.22 Solve 2
2x( ) 0
dx dx
dy
Solution: Let u= Then the given differential equation can be written as
dx
du du
= 2xu2 or 2 = 2xdx
dx u
or
u-2 du = 2x dx
-u-1=x2 + c12
dy
Since u-1= 1/ , it follows that
dx
dy 1
=- 2 2
dx x c1
dx
or dy = - 2
x c1
2
1 x
or y = - tan 1 c2
c1 c1
154
F(y,y',y")=0
dy
Let u=y'= . By chain rule
dx
du du dy du
y"= dx dy dx u dy
du
F(y,u, u dy )=0
2
d2 y 1 dy
Example: 5.23 Solve
dx 2 y dx
du du 1
Solution: F(y,u, u dy )= u dy y u 0
2
du 1
or dy
u y
ln|u| = ln |y|+c1
dy
Substitute u= , separate variables once again, integrate, and relabel
dx
dy
y
c 2 dx
or ln|y| = c2x+c3
or y=c4ec2x
5.10 Exercises
155
Initial-value and Boundary-value Problems
equation y"-y=0 on the interval (-,). Find a member of the family that
y"-y=0, y(0)=0,y'(0)=1
y()=0, y'()=3
+c2ex sin x can be found that satisfies the boundary value problems:
y(0) = 0, y()=0
Homogenous Equations.
156
7. Show that the set of functions y 1=x, y2=x2 is a fundamental set of
(b) x2, x3
y"+2y'+y=0.
Nonhomogeneous Equations
y"-6y'+5y= -9e2x.
Reduction of Order
157
15. If y1=1 is a solution of (1-x 2)y"+2xy'=0, find second solution of this
(i) 4y"+4y'+17y=0
(ii) y"-10y'+25y=0
(iii) y"-16y'+64y=0
(iv) y"+3y'+2y=0
4y"+4y'-3y=0
y(0)=1, y'(0)=5
18. y"-3y'+2y=0
19. 3y"+y=0
20. 3y"+2y'+y=0
d2 y
21. 4y 0
dx 2
d2 y dy
22. 2
5 4y 0
dx dx
23. y"-16y=2e4x
158
24. y"-5y'=2x3-4x2-x+6
25. y"+4y=-2
1
y , y' 2
8 2 8
26. 5y"+y'=-6x
y(0)=0,y'(0)=-10
27. y"-9y=54
28. y"+3y'=4x-5
29. y"+2y'+y=x2e-x
Coefficients-Annihilator approach.
32. y"+5y'-6y=10e2x
y(0)=0, y'(0)=2
Variation of Parameters
differential equations:
33. y"-y'-2y=e2x
34. y"+4y=tan22x
35. y"+2y'+y=e-xln x
159
e x
36. y"+2y'+y= 3
x
1
37. y"-y=
x
38. y"+y=sin x
ex
39. y"-2y'+y=
1 x 2
y(0)=1, y'(0)=0
Cauchy-Euler Equation
44. x2y"-xy'-3y=x2 ln x
45. x2y"-xy'-2y=0
46. x2y"+xy'+9y=0
47. 3x2y"+6xy’+y=0
48. 4x2y"+y=0
49. x2y"+5xy'+4y=0
1 1
y 0, y' 0
2 2
160
Solve the following nonlinear differential equations
51. y"+(y')2+1=0
52. x2y"+(y')2=0
y(1) = 5, y'(1)=2
161