Linear Differential Equation J&I PDF
Linear Differential Equation J&I PDF
where y is the dependent variable and xis the independent variable and ao(x) ~ 0. I_f r(x) = 0, then it
is called a homogeneous equation, otherwise it is called a non-homogeneous equatwn. For example,
a second order homogeneous equation is of the form
ao(x)y" + a 1(x)y' + ai(x)y = 0, ao(x) ~ 0 (5.2)
· Of th e form
· is
and a non-homogeneous second order equat10n
ao(x)y" + a 1(x)y' + a 2(x)y = r(x), ao(x) ~ 0. (5.3)
4
(c) ./xy" + 6.xy' + 15y = In (x - 256).
Solution
(a) Here, aa(x) = (1 - x2), a 1(x) = - 2x, and a2(x) = n(n + 1). Now, a 0, a 1 and a 2 are continuou s
*
everywhe re in (- 00 , 00). Also, ao(x) = 1 - x2 0 for all x E (- 00 , oo), except at the points
x = _ 1, 1. Hence, the differential equation is normal on every subinterva l / of the open intervals
(- oo, - 1), (- 1, 1) and (1, 00).
2
(b) Here, a 0(x) = x2, a1(x) = x a2(x) = n -x2. We find that 0 o, a1 and a2 are continuou s everywhe re
2 *
in (- oo, oo). Also, ao(x) =x 0 for all x E (- , ) except atx = 0. Hence, the differenti al equation
00 00
is normal on every subinterval / of the open intervals (- oo, 0), (0, oo).
(c) Here, ao (x) = ../x, a!(x)_= 6x, a2(x) = 15, and _r(x) = !n (x4-256) . Now, ao, a1, a2 and r(x) are
continuou s for all x sat1sfymg x > 4. Hence, the differential equation is normal on every subinterval
J of the open interval (4, 00),
Remark 1
If the functions ao(x), a!(~), ... 'an(x) are continuous over/ and ao(x) ~ 0 on/, then the only solution
of the homogen eous initial value problem
(n) + (n-1) ,
aoY a,y + • • • + a,,_,y +any= 0 (5.10)
linear Differential Equations 5.3
Y(Xo) =0, Y(x.,) =0, ... , y<...l)(Xo) =0 (5.11)
~~~ E / ' is the trivial solution y =z
Yn o on I.
mbination of functions Let r ( )
Linear co JI x , f2(x), ... , fn(x) be n functions . Then
C1 /1(x) + c2 f2(x) + · · · + c, /.(x), where c,. c , ... , c, are constanls
. called a linear combination of the given functions . 2
1s
th
We had earlier defined at a function Y1(x) is a solution of a non-homogeneous or a homogeneous
ation. if the equation reduces to an identity when y (x) is substituted into it. Let y,(x), Y,(x), · · ·
1
equ(x) be m solutions of the Ii near homogeneous equation (5. I 0). Then, we show ;n the followin g th al
,y,,, superposition pri11ciple or linearity principle holds·
the
Theorem S.2 If Y1 (x), ~2(x~, · · · , Ym(x) are m solutions of the linear homogeneous equation (5. l 0)
on a/' then a linear· combmat1on
1 1 · of the solutions c 1y 1(x) + CiJi(x) + ... + c'"y'"(.x), where c1, c2, · · ·•
f Eq
c,,, rc constants 1s a so a so ut1on o . (5.10) on /.
proof Substituting the linear combination y = c 1y 1(x) + ciYi(x) + . .. + c,,,y,,,(x) into Eq. (5 . 10), we get
dn
ao (x) -dxn [c 1y 1 (x) + c 2y 2 (x) + . . . + c,,,y,,, (x)]
dn-1
+ a1 (x) ---:-
dxn-1 [c1Y1 (x) + C2Y2 (x) + • · · + c,,,y,,, ( x)]
d"y2
+ c 2 [ a 0 (x)-d ( ) dn-lY2
n + a1 x dxn-1 + . . . + an- 1(x) ddy2
x + a,.(x)y2]
X .
d n-1
+ ... + c,,, [ a 0 (x) d" y,,, + a 1(x) d.x"-1
dx" :Ym + ... + a,._ 1 (x) dy,,.
d.x + an ( x )Ym ]
_ ~ 0.
Solution For y = e-x, we have Yt, -- - e-x , y;' = e - x ,,• y;' - Yt
I , x ,, = es • Y2 - Y2 - 0.
For Y2 = e x 'we have Y2 = e 'Yi
Hence, e-x and ex are solutions O f· YII - y : 0.
5.4 Engin eerin g Math emati cs
Exam ple S.S Show that the functions x, x 2, x 3 are linearly indep
enden t on any inter val /.
Solu tion We have / 1(x) = x, fi(x) = x 2, /3(x) = x 3. . Subs
tituti ng in equa tion (5.12 ), we get
cix + c 2x2 + c 3x 3 = O. For findin g the values of the three
const ants, take three distin ct arbit rary point s
xo, x 1, x 2 (;t: 0) on/. Henc e
C1Xo + c2xi + c3xJ = 0, C1X1 + C2xr + C3xl = 0, C1X2 + C2Xi
+ C3Xi = 0.
This syste m of homo gene ous algeb raic equat ions has a non-t
rivial solut ion if the deter mina nt of
the coeff icien t matri x vanis hes, that is
Xo x20 x30
det = X1 x2
1 XJ
1 = o.
X2 x22 X23
Line ar Diff eren tial Equ atio ns 5.5
£valuating the dete rmi nan t, we hav e
/1 /2 In
f{ /2
W( /1,/ 2 • · · · ,fn) = 1; (5.1 4)
= W(x )•
it-•> /in-1) Jjn-1)
The Wro nsk ian of the n func tion s exis ts if
all the func tion s / , Ji, ... , In are diff eren
times on the inte rval /. If any one or mor e 1 tiab le n - l
func tion s are not diff eren tiab le then the Wro
not exist. nsk ian doe s
We hav e the foll owi ng resu lt for test ing the
line ar dep end enc e or inde pen den ce of the
the linear hom oge neo us diff eren tial equ atio solu tion s of
n (5.10).
Theorem 5.3 If the coe ffic ient s a (x)~ a
0 1(x), ... , an(x) in the line ar hom oge neo us equ atio
n
aoy(n) + a1y(n-1) + • • • + an- lY' + any = O,
are con tinu ous on I and y 1(x), y (x), ... ,
*
ao O (5.1 5)
2 Yn(x) are n solu tion s of this equ atio n, then
on I,
*
(i) W(x) = W(y i, y 2, ... , Yn) 0 for all x
e / ~ y 1(x), Y2(x), . .. , yn(x) are line arly
inde pen den t
(ii) W(x0 ) = 0 whe re Xo e / is any fixe d poin
t, imp lies W(x ) = 0 for all x in I and the fun
y 2(x), ... , yn(x ) are line arly dep end ctio ns y 1(x),
ent.
Proof Let y 1(x), y 2 (x), . .. , yn(x) be line arly dep
end ent on/ . By defi niti on, ther e exis t con
c2, ...• en not all zero , suc h that stan ts c 1,
c1 y?- l)
(x) + C2Y2(n-1 ) (x ) + · • · + CnYn(n-1 ) ( X ) = O
. (5.1 7)
Eqs . (5 .16) , (5. l ?) form a hom oge neo us, line
ar syst em of alge ~rai c equ ~ti~ ns. Non-triv
of the syst em exis t if and onl y if the dete ial solu tion s
rmi nan t o~ the coe ffic t~nt mat nx •~ zero
this dete rmi nan t is the Wro nsk ian W(x ) of for all x e /. But
the solu tmn s. Hen ce, 1f the solut10ns are
W(x) = 0 for all x E /. dep end ent then
5.6 Engin eering Mathe matic s
h stem of equat ions given by (5.16) ,
Let now W(x0 ) = 0 for some fixed point xo E /. Then, t ~ sy
(s · 17) h as a nont.n.vinl II zero. Hence , y*(x) = c~ y (x)
. .
• solutm n c 1 = c,• . c2 = c2,
• c
···• " = c
"
not a 1
Equa tion (5.15 ). Using
r
+ C2Y2 (x) + ... + c ~y ,, ( x) is a soluti on of t~e mear . homo geneo us
itial condi tions y*(xo) = 0, (y*)'( xo) = 0,
Eqs. (5 . 16) and (5 . 17), we find that y•(x) also satisfi es th e 10
d ' tions form a homo geneo us
· · · • (y•)<"- 1>(.,·o) = 0 . Now, the differ ential equati on (S. lS) a nd _tl~else clon 1
· · • p roblem Since the soluti on
1mtrnl value probl em . Hence , y*(x) s O is the soluti. on o f t he 10 · 1tia va ue ·
( ) _ o or for all x
o f the initia l value probl em is uniqu e, we o b tam .
Y *(x) -
- y X - ' ' '
• • . d
Ci Y 1 (x) + c 2 ,v 2 (x) + . .. + c ~y ,, (x) = O, where not all c, are zero. Hence the soluti ons are epend ent.
s·mcc .'<) 1s· arb'1trary. W(x.o) = O for some x~ E / · 1· W(x) - 0 for all 'x E /.
imp 1es -
We now defin e the gener al soluti on of the homo geneo us Eq. (5. 15
)-
Th
eorem 5.4 lf the coeffi cients a (x). a (x), . . . , a,,(x), ao(x ) ~ o• 1·n the linear homo geneo us equat io n
0 1
(5.1 5) are contin uous on / , then the equati on (5 . 15) has 11 linear
."2(x). · · • • y,,(x) are 11 linear ly indep enden t soluti ons,
f
ly indep endent so_1u t~ns. . Yi
then th~ g~ner al soluti on is given Y
If (
i·
y(x) = c, Y1(x) + c y (x) + . .. + c,, y ,,(x), that is, their linear
2 2 comb matio n .
The n linear ly indep enden t soluti ons Y1 (x), Y2(x), .... ' ynCx)
are also. called the Junda m~nta l
soluti ons of Eq. (5. 15) on I. This set of funda menta l soluti ons forms
a basis of the n th 0rd er linear
homo geneo us equat ion.
Exam ple 5.6 Show that the functi ons x, x 2 , x 3 are linear ly indep enden t on
any interv al / , not
conta ining zero (see Ex.am ple 5.5).
Solut ion The Wron skian of the functi ons is
X xi xJ
1 sinx cosx
W(x) = 0 cosx -sinx = -1.
0 -sinx -cos .x
Henc e, the given funct.ions are linear ly indep enden t on any interv
al /.
Exam ple 5.8 Show that e·C, eix, e1r are the funda menta l soluti ons of y'" _ 6y"
any interv al /.
+ l ly' _ 6y = o. on
Solut ion Subst itutin g y = e ". e2.r, e1r, we find that they satisfy the differ
ential equat ion
y'" - 6y" + l ly' - 6y = 0.
The Wron skian of these functi ons is
Linear Differential Equ atio ns 5.7
ex e2x e3x
1 1 l
W( x) = ex 2e2 x 3e3x = e6 x 1 2 3 = 2e 6 x -1:- 0·
ex 4e2x 9e3x 1 4
9
Therefore, the solu tion s are line arly inde pen
den t and they form a set of fund ame ntal solu
interval /. tion s on any
1/x 2
= -- -1:- 0, for X ~ 1.
-1/x 2 X
C2
y(x ) = c 1y 1 (x) + C2Y2 (x) = c1x + - . X
Substituting in the give n con diti ons , we get
31. Find the intervals on which the three functions 1, cos x, sec x, x > 0 are linearly independ ent.
32. Determin e how many of the given functions are linearly independ ent on [O, l].
(i) 1, 1 +x, x2,x(l -x),x; (ii) 1 +x, 1-x, 1,x2, 1 +x2.
33. Show that y 1(x) =sin x, and Y2(x) = 4 sin x - 2 cos x are linearly independ ent solutions of y" + y =O. Write
the solution y3(x) = cos x as a linear combination of y 1 and y 2• .
34. Let ~(x)y" + a 1(x)y' + ai(x)y = 0 be a second order differential equation . Let ao(x), a 1(x), ai(x)
be
the
continuo us and ao(x) * 0 on I and Y1(x), Y2(x) be two linearly independ ent solutions . Show that
th t
Wronskia n of y ·1(x),• y 2(x)b satisfies the differential equation ao(x)W'( x) + a i (x)™(x ) = o·. Al so, sh ow a
the Wronski an 1s given y
W(x) = c e -f (a1(x)lao(x)Jdr_
(This is called the Abel's formula).
35. Show that cos al, sin al are solutions of the equation yn + a2y = 0 a* 0 .
they
are independ ent. Use the result (Abel's formula) given in Pr0 bl ' 34 on any mterval. Show that
em and find the Wronski an. Are the
two Wronskians same?
36. Show that e2x and xe2x are solutions of the equation y" _ 4y' + 4 _ .
are
independ ent. Use the result given in problem 34 and find th WY - O ~n any interval. Show that they
. . b e ronskian. Arc the two Wronski ans same?
. ·
Show that m the following pro lems, {y1(x)} forms a set of fund
amental solut1ons (basis) to the correspo nding
different ial equation .
2
37. x I14 , x 514 ; 16x y" - Bxy' + 5y = 0, x > O.
Li11 t!ar D(ff~ re11tial Eq uatiofl s 5.')
38. e2.r cos 3x, eir sin 3x; 2yH- Sy' + 26y = 0.
9, 2
3 l. x ; :?y H- xy' = 0, x > 0.
40, ex• el.r• e- 3x.• )' ' H - 7y' + 6y -- 0·
41, ex. ex cos x. ex sin x: y"' - 3yH
+ 4y' - 2y c 0.
42, e2X. e-.t cos (.fix) . e-x sin (-./L:
): .vm - 8y ::: 0.
43. sin (ln x2) . cos (ln x 2): xlyH + xy'
+ 4y = 0, x > 0.
44. Let the coe fficients a0(x) , a (x), a (x)
1 2 In the equ atio n " o(x)y" + "i(.x)y' + a (x)y
a0(x) 'I- 0 on /. Let ly,(x) . Y2(x)
} be the basis (se t of fund nment 2 = 0 be continuous and
the set lu(x). v(x ) } such that" = a nl solu1 ions) of 1hc equalion . Show 1hat
y1(x) + by2(x), v = cy (x) + dy (x).
if ad - be 'I- 0. lf y,(x) = cosh h , y 1 2 Is also n bas is of the equation
2 = sinh h , obtuin a simple form of II nnd
~ u.
"5. Let y,(x), yi(x) be the linearly ind
ependent solutions of the equ ation y"
that there is no point xo E I at which + a(.x)y' + b(x)y = 0 on /. Show
(i) both y1(x) , y2(x) vanish , (ii) both y
46, Let {y, (x). Y2(x)} be the bas 1(x) . yz(x) taJcc eJtl remc values.
is of the equation y" + a(x)y' + b(x
written as the Wronskiari W(y , Yi, y )y = 0. Show that the equatio n can
2 ) = 0. be
47. Let y1(x) be a solution of the hom
ogeneous equation y" + a(x)y' + b(x)y
The coefficients a(x) arid b(x) are con = 0, on the interva l/ : a Sx Sf'>.
tinuous on /. If the curve y = y (x) is tan
x1 in I, then prove that y (x) =0. 1 gential to the .x-axis at a point
1
Using the problem 46, find a differentia
l equation of the form y" + a(x)y' +
functions are solutions. b(x)y = 0 for whi ch the follow ing
Then, we write
Df (x) =DJ= (Df)(x) = dx =f'. (5 .18 )
We have, for example D( x") = ! (x 11 ) =nx 1 1
n constant~ D(cos x) = - sin x, etc
•- ,
.
Let f(x) and g(x) be differentiable
functions . Since D is a linear ope
rator, we have
D( af + bg) = aD f + bDg, a, b
constants.
We also have for f e V , the set of fun
2 ctions having a sec ond deriva tive
on I
d2y + 5 dy + 6y = 0
dx 2 dx
can be written as
Ly= (D2 +SD+ 6)y = 0 (5.21)
where the operator L is given by L = P(D) = D2 + SD + .6.
Similarly: the equation
d2 d
--1...
2
+ 2 -2'.. + 2y = x 2
dx dx
can be written as
Ly = (D 2 + 2D + 2)y = x2 (5.22)
where the operator L is defined by L = P(D) = D2 + 2D + 2.
Suppose y = r. Then, D(y) =D(~ =memx and D2(y) =m2fl"X. Substituting in Eq. (5.21), we obtain
2
Ly = (D + SD + 6)y = (m2 + Sm + 6)y = P(m)y
using Eq. (5.19). Therefore,
2
P(D)y = (D + SD + 6)e"'X = P(m)y.
In general, substituting y = fl"X in the equation (S.20), we get
P(D)y = (aoDn + a1D n-1 + ... + an-1D + an)e mx
n n-1
= ( aom + a1m + ... + an- 1m + an)emx = P(m)emx.
(5.23)
When a,, i = o, 1, ... , n are constants, the operator L = P(D) can often be factorised.
For example, we have
(i) D 2 + SD + 6 = (D + 2)(D + 3)
2
(ii) D3 - 6D + llD - 6 = (D - l)(D - 2)(D - 3).
Lin ear Diff eren tial Equ atio ns 5.11
D(x 2y), or in
ofte n not possible. For example, x2D y '#
When a, are fun ctio ns of x, f~ctorisati~n is
hand side is D[a(x)y] = a(x )y' + a'(x )y.
general a(x) Dy' # D[a (x)y l, smc e the ngh t
ients
ogeneous Equations with Constant Coeffic
s.J.2 Solution of Second Order Linear Hom
er equ atio n
Consider the line ar hom oge neo us seco nd ord
(5.2 4)
ay" + by' + cy = 0, a, b, c are constants.
n as
In the operator nota tion , we wri te the equ atio
(5.2 5)
= 2
Ly= P(D )y aD y + bDy + cy =(aD 2 + bD + c)y = 0.
cha pter , we hav e sho wn that the solu tion of the first ord er equ atio n y' +m y= 0 is
In the prev ious
solu tion of the equ atio n y' - my = O is y = emx + c. The refo re, it is natu ral to try
y:: e-mx + c; and the stan t to be
, for Eq. (5.25), whe re m is an unk now n con
for a particular solu tion of the form y2 = emx
we obta in from Eq. (5.24)
determined. Sin ce y' = memx, y" = m emx,
(am 2 + bm + c)emx = 0.
+m 2)x~ o.
= (m 2 - m. 1 ) e (m1 ~
Since b2 - 4ac = 0 and m = m 1 = - b/(2a) is a repeated root, the operator is factorisable so that we
can write the equation as
(5.30)
Set (D - m 1)y = u. Then, Eq. (5 .30) reduces to (D - m 1)u = 0 or u' - m 1u = 0 whose solution is
u = c I emix. Substituting in the equation (D - m1)y = u, we obtain
The integrating factor of this equation is e-m ix . Therefore, the solution of this equation is
ye
-mix
= J C1e
mix -m1xdx
e + C2 = C1X + C2
or mix
y = ( C1X + C2 ) C
Which is same as y 2(x) obtained in the previous case.
Example 5.12 Find the solution of the differential equation 4y" + 4y' + y = 0.
Solution Assume a solution of the form y = emx. The characteristi c equation is given by
4m2 + 4m + I = 0, or (2m + 1)2 = 0, or m = - 1/2, - 1/2,
Which is a repeated root. Hence, the general solution is y(x) = (A + Bx)e-:cn.
5.14 Engineering Mathemat ics
This is a first order linear equation, whose integrating factor is ex. Hence, we have the solution as
ex y = f Ae6x dx + B = t e6x + B,
or y = .!1_ e.sx + Be-x = Ce 5 x + Be-x
6
where C = A/6 is an arbitrary constant.
We could have written Eq. ·(5.31)" as (D + l)(D - S)y = 0 and obtain the same answer.
Example 5.15 Factorisin g the differentia l operator and reducing it to first order equations , solve the
differenti al equation 4y" + I2y' + 9y = 0
Solution In the operator notation, the differential equation can be written as
2
(4D + 12D + 9)y = (2D + 3)2y = 0. (5.32)
ye
C3x >l 2 -
-
f2 A dx
+
B Ax
=T + B, or y = (Cx + B)e-<J.r>n,
where C = A/2.
linear Differential Equation.v 5.15
ColllPlex roots
When b2 - 4ac < 0, then the roots of the characteristic equation (5.26) arc complex. We have
-b ± ✓b 2 - 4ac -b ± ;.J4ac - b2
m= 2a = 2a = p ± iq
where p = - b/(2a) and q = .J 4ac - b 2 /(2a). Since the characteristic equation (5.26) has real
coefficients, the complex roots occur in conjugate pairs and are of the form p ± iq. Then, the solution
of the equation can be written as
y(x) = Ae<P + lq)x + Be(p-lq)x = Ae pxelqx + BeP'e- lqx = (Ae 111" + Be 111:.i)e p.c
= [A(cos qx + i sin qx) + B(cos qx - i sin qx)lepx
by the Euler formula. Simplifying, we obtain
. -2±,F 4 . .
m2 + 2m + 2 = 0, or m = = - l ± i = p ± iq.
2
The general solution is
y(x) = (A cos qx + B sin qx)e px ={A cos x + B sin x)e-x.
Example 5.17 Find the solution of the initial value problem
y" + 4y' + 13y = 0, y(0) = 0, y'(0) = l.
Solution Assume a solution of the form y = emx. The characteristic equation is given by
-4 ± ✓ 16 - 52
m 2 + 4m + 13 = 0, or m= = - 2±3i = p±iq.
2
The general solution is given by
y(x) = [A cos qx + B sin qx]ePx = [A cos 3x + B sin 3x]e-~.
Substituting in the initial conditions, we obtain
y(O) =0 =A,
y'(x) = Be-2x(3 cos 2x - 2 sin 3x), y'(O) = 1 = 38, or B = 113.
The solution of the initial value problem is
5.16 Engineering Mathematics
(The convergence of such an infinite series called the Fourier series, is discussed in chapter 9.)
(5.36)
Then, we write ~e sec~nd solution as y2(~) = u(x)y 1(x). Since u(x) = yi(x)/y 1(x) is not a constant,
y 1 and y 2 are two linearly independent solutions of Eq. (5.35). Now,
,_ I + I d II II
Yi - u Y1 uy1, an Y2 = u Yi+ 2u'y 1+ uy['.
Substituting in Eq. (5.35) and collecting the terms, we get
ao (x )y ,v ' + 12 a ( x ) y +
0 1 a 1( x )y 1 Iv = 0
which is a first order equatio (5.37)
n in v.
separating the variables, we
obtain
\ntcgrnting. we obtain
~ = _ (2 ao Y1 + o, y 1) = _ l2 1
C10 Y1
y +
LYt
~J-
no
ln lv l= - 21 nl y, I -
J
(l 1(\'. )
, dx or v = -1-e -Jp <x> dx
ao (x ) ' yf
where p(x) = a1(x)/ao(x). Integ
solution is given by Y2(x) =
rating u' = v, we obtain u =
u(x)y1 (x). It can be verified
J
v( x) dx . The second linearly
independent
that the Wronskian of y . y
1 2 is equal to
W ( Yi , Y2 ) -_ e - J p ( x) dt -" Q
.,..
showing that y 1(x) and y (x)
2 are linearly independent.
Example 5.19 It is known tha
t 1/x is a solution of the differ
the second linearly indepen ential equation :c1-y" + 4.xy' +
dent solution and write the 2y = 0. Fi nd
general solution.
Solution Write y (x) = u(x )y
2 1(x) = u(x)lx. Here, p(x ) = a (x)
1 /a 0(x) = 4/x. Hence,
v( x) = l- e -J p(x )dx = xe 2 -J (41.t)d x
Y12 =x_2 ( - l4 ) =-..., l
.
X x-
u( x)
Exercise 5.2
Show that the given set of fun
ctions {y, (x), yi( x)} forms a ba
problem. sis of the equation and h~nc~ sol
ve the iruti1l "alue
1. ex, e 4 x, y" - 5y' + 4y =0, y(0) =2, y'(0) = 1.
2. e2x, e- 2x, y" - 4y =0, y(0) = l, y'(0) =4.
3. e- 3x, xe- 3X, y" + 6y' + 9y
= 0, y(0) = l, y'(0) = 2.
4. x 2, l/x2, x2 y" +x y' -4 y:
:0 ,y (l) =2 ,y '(l ) = 6.
S. x, x In x, x2y" - xy' + y =
0, y( l) = 3, y'( I) = 4.
n
Fi ua general solution of the
following differential equations
.
6. y" - 4y == 0.
1. y" - y' - 2y = o.
8. y" + y' _ y = O.
2 9. y" - 4y' - l2y = 0.
5.18 Engineering Mathematics
11. 4y" - 9y' + 2y :::: o.
10. y" + 4y' + y = o.
13. Y,, + 2/ + y :::: 0.
12. 4y" + Sy' - 5y = 0. ,, - 12/ + 4y:::: 0.
IS. 9y
14. y" + 2rcy' + rc 2y = 0.
17, 25y" - 20/ + 4y :::: 0.
16. 4y" + 4y' + y = o.
19, y" + 4y' + 5y :::: o.
18. y" + 25y = 0 .
21. (4D2 - 4D + 17)y:::: 0.
20. y" - 2y' + 2y = 0 .
23. (D2 + 9D)y :::: 0.
22. (D 2 - 6D + 18)y = 0.
24. [D 2 - 2aD + (a 2 + b2)]y = 0.
. h the following functions are solutions.
Find a differential equation of the form ay + Y
,, b , -o for w h1c
+ cy - •
x/4 e-( Jx)/4
25. 26• e '
27. 1'e- 2.r. 28. e2x, xe2x_
-Jix e3/x
29. e- x, xe-x. 30• e ' .
(S+3i)x, /S-Ji)x_
31. e-(n+ib)x, e-(a-ib)r. 32. e
Solve the following initial value problems.
33. y" - y = 0, y(0) =0, y'(0) =2.
34. y" - y' - 12y = 0, y(0) = 4, y'(0) =- 5.
35. y" + y' - 2y = 0, y(0) =0, y'(0) = 3.
36. d28
di 2 + g0 =0, g constant, 0(0) d0 (0) = 0 .
=a, constant, dt
37. y" - 4y' + 5y = 0, y(0) =2, y'(0) =- 1.
38. 25y,. - l0y' + 2y =0, y(0) = 1, y'(0) =0.
39. 4y"' + 12y' + 9y = 0, y(0) =- 1, y'(0) = 2 .
40. 9y"' + 6y' + y = 0, y(0) = 0, y'(0) = 1.
Solve the following boundary value problems.
41. y"' + 25y = 0, y(0) = 1, y(rc) =- 1.
42. y" - 36y = 0, y(0) =2, y(l/6) = lie.
43. y"' + 2y' + 2y =0, y(0) = 1, y(tr/2) =e-nn.
9y"' - 6y' + y = 0, y(l) = e , y(2) = 1.
113
44.
4S. y" - 4y' + 3y = 0, y(0) = 1, y(l) = 0.
46. Verify that (D - 2)(D + 3) sin x = (D + 3)(D - 2) sin x = (D2 + D _ 6) sin x .
47. Show lhat x 2Dy ~ D(x 2y).
48. find the conditions under which the following equations hold.
(i) (D + a)[D + b(x)]/(x) =- [D + b(x)][D + a]/(x), a constant.
(ii) [D + a(x))[D + b(x)]/(x) = [D + b(x))[D + a(x)]f(x).
Factorize the operator and find the solution of the following differential e . . . .
of order or by lhe direct melhod. quattons using the method of reduc uon
60. The motion of a damped mechanical system is governed by the linear differential equation my + cj, + k y = 0
in which m (mass), k(spring modulus), c (damping factor) are positive constants and dot denotes derivative
with respect to time t. Discuss the behaviour of the general solution when t ➔ in the following three
00
cases: (i) c2 > 4mk (over damping), (ii) c2 < 4mk (under damping), (iii) c2 = 4mk (critical damping).
In each case, obtain the solution subject to the initial conditions y(0) =.0, y(0) = u0 .
Find the solution of the following differential equations, if one of its solutions is known.
61. y" - y' - 6y =0, y 1 =e-ix. 62. y" + 3y' - 4y =0, y 1 =ex.
63. (r - l)y" - 2xy' + 2y = 0, YI = X, x 'i: ± 1.
64. ry" + xy' + (x2- l/4)y = 0, x > 0, y1 = x- 112 sin x.
6S. (x - 2)y" - xy' + 2y =0, x ,;: 2, y1 =ex.
5.3.4 Solution of Higher Order Homogeneous Linear Equations with Constant Coefficients
In this section, we shall extend the methods discussed in section 5.3.2, for the solution of higher order
linear homogeneous equations with constant coefficients.
Consider the nth order homogeneous linear equation with constant coefficients
aoy<n> + a1/n-l) + ... + an-ly' + any= 0. (5.38)
We attempt to find a solution of the form y = emx, as in the case of second order equations. Substituting
Y == e'"x, y<k> = mkemx, k = I. 2, ... , n in Eq. (5.38) and cancelling e'"x. we obtain the characteristic-
equation as
a m n + a1m n-1 + . .. + an-1m +a,.= 0.
0
(5.39)
The degree of this algebraic equation is same as the order of the differential equation. This equation
has n roots. All the roots may be real and distinct, all or some of the roots may be equal, all or some
of the roots may be complex. Consider the following cases.
mn X
m2x • . . y (x) = e (5.40)
Y1 ( x ) -- e "', x • y :!. (x) = e ., n
.
~re the linea rly indep ende nt solutions ?f the dtffe rent_. 1 t'on
1 (5.38 ). Sinc e :I- m 2 :I- • • • :I- mm
ia equa , • • •• Yn give n in Eq. (5.40 ) does not
m,
1t can be easil y show n that the Wronskian of the soluu
on_s Yt• Y2
vanis h and there fore they are linearly indep ende nt solutJ
OnS. . •s g,· ven by
•
Henc e, the set of the solut ions forms a basts d h
an l e ge neral so 1utton 1
Exa mpl e 5.23 Solv e the diffe renti al equa tion 4yiv - 12y"
' _ y" + 27y' _ I Sy = 0.
Solu tion Subs tituti ng y = e"'x, we obtai n the chara cteri
stic equa tion as
4m4 - 12m3 - m2 + 27m - 18 = 0.
We find that m = 1 is a root. We write the equa tion
as
3 2
(m - 1)(4m - 8m - 9111 + 18) = 0, (m _
l)(m _ 2 )( 4 m~ _ ) = 0.
9
The roots of the chara cteri stic equa tion are m = 1, 2,
3/2, _ 312 Th
· 0
e oene ral solu tion is
y(x) = Aex + Be2x + ce-Jxn + De3xn.
Linea r Diffe renti al Equa tions 5.21
Example 5.24 Solv e the initial value problem
d ~gme
[ ( ) mx]
2 (5.45)
+(m- m1)' .
dm
. . . x2emix is also a solution . After
The nght hand side of Eq. (5 .45) vanishes at m = mi a~am: Henc~, d ( _ m )g(m)em x which
r - 1 differen tiations, the first term on the right hand side JS obtame as ' ·1 {" mix .1
. t·
vanishe s form= m 1• The other terms also vamsh . Th i e x'- e 1s a 1so a so 1u 10n.
form= m1. ere or ' h d 'd b
· .
If we differen tiate one more time, that is r times, the first term on the right an s1 e ecomes
. . , mix · not a solution . Hence, we find
r!g(m)e mx which does not vanish at m = m 1, showmg that x e IS .
that em1 x 'xem1 x 'x2em1 :c , . .. , x'-1em1x are the linearly indepen dent solution s corresp onding to
• ~he
h
multiple root m = m.1 . For example , if m = m is a multiple root of order 3, t en e m1x em1x and x2e ix
1 •x
are the linearly indepen dent solution s.
Examp le 5.25 Solve the differen tial equation y"' - 3y' - 2y = 0.
Solutio n Substitu ting y = emx, we obtain the characteristic equation as
m3 - 3m - 2 = 0, or (m + l)(m 2 - m - 2) = 0
or (m + 1)2 (m - 2) = 0, or m =- I, - 1, 2.
Corresp onding to the double root m = - 1, the linearly indepen dent solution s are e-x and xe-x. Hence,
the general solution is
y(x) = Ae 2x +(Bx+ C)e-x.
Examp le 5.26 Solve the differen tiable equation 8y"' - 12y" + 6y' - y = 0.
Solutio n Substitu ting y = emx, we obtain the characteristic equation as
8m 3 2
12m + 6m - 1 = 0, or (2m - 1)3 = 0, or m = 1/2, 1/2, 1/2.
-
y'(O) = 3 = 3B + D - C,
y"(x) = _ 9A cos 3x - 9B sin 3x
+ e-x[- (C + D) cos x + (C - D) sin x + (C + D) sin x + (C - D) cos x]
_ sin 3x + 2e-x [C sin x - D cos x] .
= - 9A cos 3x 98
y"(0) = _ 11 = - 9A - 2D,
. os3x+2e-.r[Cc osx+Dsinx -C sinx+Dcosx}.
y"'(x) = 27A sm 3x - 278 c
y"'(0) = _ 23 = - 27 B + 2C + 2D.
. tions
Therefore, we have the system ot equa
A + C = 2, 38 - C + D = 3,
_ ?7 B + :.C + 20 = - ~3 .
- 9A - 2D = - 11 · -
. = C = l , D = I. The partic ular solution is
8 1' -{ ( . . )
The solution of this system 1s A = l.
. 3 . + sin )x + e . cos x + sm x .
y(x) = co~ .\ ·
5 -24
Eng inee ring Mat hem atic s
E .
xam ple 5.30 Fin d the non trivial solution s of the boundarY value problem
yiv _ m4y = 0, y(0) = 0, y"( 0) = 0, y(l) - 0 "(l) = o.
- 'Y . . .
Sol ut.·00 Ass ume the mx The cha ract eris tic equ atto n ts given by
solution to be of the form Y = e ·
m 4 - m 4 = 0 , or m 2 -- -+ m 2, or m = ± m, -+·zm.
The gen eral solution is given by
y(x) = A1ewx + B1e-wx + C cos mx + D sin
mx
= A cosh mx + B sinh mx + C cos mx + D
sin wx
Sub stitu ting in the initial conditions, we get
y(0) = A + C = 0.
y" = m 2 [A cosh mx + B sinh mx - C cos
mx - D sin mx] ;
y"(0 ) = m2(A - C) = 0, or' A - C = 0.
Sol vin g the two equations, we get A= O, C
= 0. We also have
y(l) = 0 = B sinh ml+ D sin ml, y"(l ) =
0 = B sinh ml - D sin wl.
Add ing , we obta in 2B sinh ml = 0, or B =
0. Therefore, we obtain D sin W l = 0. Sin ce,
*
non -tri vial solu tion s, we have D 0. Hence,
sin ml= 0 = sin nn, n = 1, 2, .. • •
we require
The refo re, w = n1tll, n = 1, 2, ...
The solu tion of the boundary value problem
is
yn(x) = Dn sin (nn xll) , n = 1, 2, .. . ,
By sup erp osit ion principle, the solution can
be written as
y(x )
-
=~ Dn sin (nn xll) .
n=l
.ynlx))
..
general = 00and
.+ Cayalt) .
yp =
z. Then, from Eq. (5.49) we obtain
aoz+ az-)+.. .+ an-1Z + a,Z =0. (5.50)
But, this equation is the corresponding homogeneous equation of Eq. (5.46), whose basiIS 1S
y1(), y2*), y,(x)). Hence, the general solution
. .
..
of Eq. (5.50) is given by
z C1 y1(x) + C2 y2() +
=
. . . + Cn YnlX).
Replacing z = y -Yp» and taking y, to the right hand side, we obtain
yx) =
C1yi(x) + C2y2(x) + . .+Cny,x) +Yp(). .
(5.51)
Since, this solution contains n arbitrary constants, it is the general solution of the Eq. (5.46).
From the above theorem, we conclude that the solution of
of the sum of the following two parts.
a
non-homogeneous equation consists
yx) =
ye(o) +
yp(x).
Now, suppose that the right hand side r() is the sum of a number of functions
r() =r1) + r2(x) +
+Tm) (5.52)
Let va(x), i =
1, 2,.. .
, m be any particular solutions, not containing any arbitrary constants, of the
equationss
ay4 ay) + . .
Substituting the expressions for ylx), y'tr) and y") in Eq. (5.54), we obtain
ai(x)yí +az(x)y1
or
ao (x)[A'yí+B'y2] + A[ao(x)y+
+B[ag(x)yi+ aa(x)y2 + a2(x)y2]
= r(x).
we obtain
Si
once, y() and y2(a) are the solutions of the homogeneous equation (5.55),
Since ao(r) * 0 on the given interval I, g(x) is continuous on 1. Solving the equations
A'n +B'y2 = 0
W= 2 |.
yiy*y1ys - y2í *0
since y, y2 are the linearly independent solutions of the homogeneous equation. Hence, we can write
Eqs. (5.62) as
8(X)y2 8&)y,
A'=- and B'=
(5.63)
Wx) Wx)
Integrating, we obtain
A(x) = - 8(x)y2(x)
dxd+Cj and B(x) = | W(x) dx +C2
W(x) 5.64)
Substituting in Eq. (5.57), we obtain the general solution which contains two arbitrary constants. If
we do not add the arbitrary constants while carrying out integrations of Eqs. (5.63), then we obtain
the particular solution as yp) =A)Y1) + BT)Y20), which does not contain any arbitrary constants.
then given by ylx) y ) + yx).
The general solution is
=
The method is applicable both for constant coefticient and variable coefficient problems. The
method can also be easily extendea to cquatons or any order. At each differentiation step, we set the
Dart containing the derivatives of the unknown Tunctions to zero, until we arrive at the final substitution
consider the third order equation
step. For example,
aox)y" + aj)y" + az*)y' + astr)y = r(v), aglr) * 0.
(5.65)
function is
The complementary
yx) = Ayit) + By;(a) + Cys(x)
where y. Y2» Ys are the linearly independent solutions of the corresponding homogeneous equation
arbitrary constants. We assume the solution as
and A, B, C are
Following the procedure discussed earlier, we obtain the required equations for determining A().
Bx) and Clx) as
is
complementary function
Yea) = Ay1() + By2(x) = Ae + Be-2x
e-2x
-2e-2x -
Using Eq. (5.64), we obtain the solutions for A() and B(x) as
8(r)ya(x) dx
Ax)= - W q-2 d x cj= c + e4x +
g(x)y1il)
W
dx +
2 edx+ca= -ge+ C2.
The general solution is
) = A(«)e+ B(t)e
yx) =
A(x) cos 4x + B(x) sin 4x.
We have s r ) = r(x)/ag(t) = 32 sec 2x. The Wronskian of yi. y2 is given by
cos 4x sin 4 4.
W()= 4sin 4x 4 cos 4x
B(x)
B(x) =| sx)yi) ax +eq = 32 sec 2x cos 4x dx +C2
W
2 cOSCOsx2x dx + ca 8 (2 cos 2x -
sec 2x) dx + C2
=
C1 Cos 4x + C2 Sin 4x + 8 cos 2x cos 4x + 8 sin 2x sin 4x
-4 sin 4x In | sec 2x + tan 2x|
C Cos 4x + C2 sin 4x + 8
2x + tan 2x 1. cos 2x -
4 sin 4x In | sec
Example 5.34 Find the general solution of the equation y" 6y"+ 11y' - 6y = e .
ex e2x e3x
111
W(x) =|e 2e2x
3e=1 2 32e
ex 4 4e2x 9e3 1 49
By the Cramer's rule, we obtain
0 e2x e d
Integrating, we get A = - .
-23C1
Similarly, we have
0 e
WB'= |e 0 3e3x
3e=-2e3", or B'= -2e= -e-3s
e 9e 2e
ee2
WC'=e 2e2x 0 , or C ,
4 e 2r
e
Integrating, we obtain B(x) = e c a andC(x) = -ed# + Cy. The general solution is
A)- --iInlz|+o
B(x)=S()y,(x)
W
The particular integral is
r)
=»e(a) + y)= cx
or x) =ejxe+ n|«|, where e=e-
Exercise 5.4
Find the general solution of the following differential equations, using the method of variation of parameters.
1. y"-2y - 3y = e. 2. -4y'+ 4y =
e
3. y"+ 4y =cos x. 4. y+y = sec x.
5. y + y =cosec x. 6. y+y = tan x.
7. y - 4y +3y = e' 8. + 4 y = sec 2x.
9. y+ 4y = cos 2x.
10. +4y+4y= e sin x.
11. y"+6y' +9y = e"/x. 12. y"+2y' + 2y = e cos x.
In the following problems, using the method of variation of parameters and the given linearly independent
solutions, find a particular
integral and the general solution.
13. *+ r-y=x. yi =x, y2= 1/x. 14.
+xy-4y= * In |x|.yj =ry= l/x
15. "-xy +y l/x', yi =x, y2 =x ln |x|
=
t)g(t)dt.
5.4.2 Method of Undetermined Coefficients
In the previous section, havee discussed the
we
method of
solution of the differential equation variation of
paranmeters for finding the
a
y+ay-+..+dn-1Y +an y =r(x)
Linear Differential Equations 5.33
where ao d1, an are constants. In
the cases when the right hand side r(x) is
containing exponenuals, polynomials, cosine and sine
of a spec1al rorm
then the particular integral can be easily obtained by the methodsums functions,
or products of these
functions,
basic idea behind this approach is as follows. of undetermined coefficients.ne
is, the equation is identically satisfied. comparing both sides of the equation. i na
If r() is a cosine or a sine
function, cos mx or sin mx, then their
cos mx and sin mx. In other
words, if r (x) p cos mx or p sin =
derivatives contain the terms
particular integral as yp(x) c1 cos mx + C2 Sin mx. The constants p constant, then we can choose the
= mx,
y,x) in the given equation and comparing both sides of c1, C2 are determined by
the equation. substituting
If r(x) is of the form x", then
its derivatives contain
r(x) = px".p constant then we can the terms x", " , , x, 1. Hence, when
choose the particular as integral
Ypx) COx" +Cx"+.=
.+
Cm-1x + Cm .
(5.68)
where Co» C1 , Cm are constants.
If r(x) is of the forms
sin bx. Hence, when
e" cos bx or e" sin bx then their derivatives contain the
terms e cos bx and
r(x) e" cos bx or e" sin bx, then we
=
can choose the
particular integral as
yp(x) e" (C1
cos bx + c2 sin
=
bx).
However, if any term in the (5.69)
choice of the particular
homogeneous equation, that is, a term in the integral is also a solution of the
complementary
function, then we multiply this term by
corresponding
x or
by x" (if the term in the
complementary
m). If r(x) is the sum of a number of function corresponds to a
functions, then the contribution withmultiple to
root of
is included in the multiplicity
choice of the particular respect each of the terms
integral.
Example 5.36 Using the method of undetermined
the differential equation y" + y= 32x'. coefficients find the general solution of
Solution The characteristic
m=ti. The equation of the homogeneous equation is m* + l = 0 and its roots
Since r(x)
complementary function is yc(x) A cos x +B sin x. = are
=
32x3, we choose the particular integral as
y,x) C1x + C2* + C3x + C4 =
192, c4= 0.
general solution is Therefore, ypCr) =
32r- 192.
yx) = A cos x + B sin x + 32x (r2- 6).
Example 5.37
*Ample 5.37 Find the general solution of the difterential equation y- 2y' -
3y =
6e"- Se
5.34 Engineering Mathematics
SOuton The characteristic equation of the homogeneous equation is m -2m -5 =0 and its roots
are m = -1,3.
The complementary function is ylt) = Ae" + Be*
root 1) and the right hand
note that e appears both as a term in y(r) (due to the simple
nm= -
SIde r(). The term e' appears only in r(x). Hence, we choose the particular
side integral as
x)e""+ c2e*,
y,(r) = z
ci -
Example 5.38 Find the general solution of the equation y"+9y = cos 3x.
Solution The characteristic equation of the homogeneous equation is m+9 =0 and its roots are
m t 3i. The complementary function is
We note that cos 3r appears as a term in y.x) and the right hand side r(x). Hence, we choose the
particular integral as
plr)= x(¢i cos 3x + c2 sin 3x).
We have y(x) =
cj cos 3x + C2 sin 3x +3x(-c1 sin 3x + C2 cos 3x)
yx) =
6(- ci sin 3x + C2 Cos 3x) + 9x(-c1 cos 3x -
c2 sin 3x).
Substituting in the given equation, we get
or
-
Example 5.39 Find the general solutuon of the equation y" +4y'+4y = 12-
2, -2.
+ 4 = (m +2)= 0
The complementary
function is y,(r) =
(Ar+ 8)e-2
m
2) and eA is also a term on the right hand side r(x). Therefore. we choose the particular
as
integra
Ypx) = cjxe-2
We have yp(x) =
cil2x -
2x°]e, yf(x) =
ci[2 -
8x +
4x]e
Substituting in the given equation, we get
2c1ex= 12e-2x
Comparing both sides, we get C =6. Therefore, the particular integral is y,(x) = 6x*e. The general
solution is
y(x) =
(Ax+ B)e* + 6xe =
(Ax + B + 6xjea,
Example 5.40 Find the general solution of the equation y"- 4y'+ 13y =
12e sin 3x.
Solution The characteristic equation of the homogeneous equation is m- 4m+ 13 = 0. The roots
of this equation are
m=
4 t 16-52 -2 t 3i.
2
The complementary function is yx) =
e*A cos 3x + B sin 3x).
We note that e" sin 3x appears both in the
complementary function and the right hand side r(x).
Therefore, we choose
yx) = xe"(c1 cos 3x + c2 sin 3x).
We have
r
6czecos 3x - 6ce sin 3x = 12 e sin 3.
e [A cos 3r + B sin 3r -
2x cos 3r].
yx) =
Example 5.41 Find the general solution of the differential equation y"- 2" - 5y' +6y = 18e*.
5.36 Engineering Mathematics
is
Solution The characteristic equation of the homogeneous equation
0, orm =
1, -
2, 3.
(m 1)(m + 2)(m -
3) =
m-2m-Sm + 6 = -
x)e",y"=c\(3 + x)e*.
We have yp=C(1 +
x)e".y=c (2 +
- 2 y - 5y + 6yp +
= - 6c^e = 18e.
Comparing both sides, we get c= - 3. Hence, the particular integral is y, = -3xe". The general
solution is
y-6y 12y -
8y = 12e*+ 27e.
Solution The characteristic equation of the homogeneous equation is
m-6m+ 12m -8 = (m -2) = 0, orm =2, 2, 2.
The complementary function is y,) = (Ax + Bx +C)e*. Note that m = 2 is a triple root and e is
contained in a term in rl). Therefore, we choose the particular integral as
yp(t) = C1x'e + c2e"
6y+ 12y -8yp =Ce*[(6 +36x + 36x* + 8x*) 6(6x + 12x2 + 4x3)
-
e
Exercise 5.5
aeneral solution of the following ditierential
equations by the method
1. - 3 y - 10y = I +
2. 2y-y-
of undetemined coefficients.
3y =x+x+ 1.
Linear Differential Equations 5.37
4y-y
=e"+ e 4. 3y+2y' -y =
e+x
3. 6. y+ 4y' +3y =6e
+6y+8y = er"+e
5. 8. y-y-6y =Se + 10«3.
-2y Sea+e",
=
1. 2y"+3y
5y-2y 14e/3 10. y"+3y' + 2y = cos x + sinnx.
9. 3y+ 12. y+ 4y' - 5y = 34 cos 2r -2 sin 2x.
= 39 cos 3x.
+y-6y
11. 14. y+ 16y = 16 sin 4x.
sin 5x.
13. +25y=
50cos Sr +30
16. 4y-4y'+ y = 6 e ,
8e* +
15. y-4y +4y
=
+6y+9y 26e +
5e2 =
18. y+y = e" sin .
17.
3x. 20. -4y' + 5y = 16e cos x
19.y+2y +10y = e sin
6e"" sin x cos x.
22. y+4y+4y = 6e* cos x.
y-6y +13y
=
21.
24. y-4y' +3y = 4 cosh 3x.
23. +3y+2y 12e sin x. =
27.
29. -2y"+ 4y' -8y 8(+ cos 2).
128 4x. 31. y -y =r'+ 1.
30. y-256y = cos
1)x"
We attempt to
Substituting in Eq. (5.72), we get
a m(m -
1) + am + az]x" = 0. (5.73)
1) + am +a2 =
4g m + (a1 -
ag)m + a2 = 0 (5.74)
Which is called the auxiliary equation corresponding to the Eq. (5.72). Equation (5.74) has two roots
In these cases,
m, m2, which may be real and distinct, real and equal or complex conjugates.
we
h e roots of this equation are m = 1, - 2 . Hence, the two linearly independent solutions are
Example 5.44 Find the solution of the differential equation 2x*y"+xy -6y = 0.
Solution Here, ag 2, a 1, and az = 6. The
= -
auxiliary equation is
m - 1 ) + am + a = 2m - m - 6 = 0, or (m -2)(2m+ 3) = 0.
The roots of this
equation are m =
2, -
y1) =
x*, and y2lr) =
3
The general solution is y(x) =Ax2 +
Real and equal roots
Let the roots of the auxiliary equation be real and
equal, that is, m =m^ is a double root. Then
m (a0 a1)/(2a). Since, the discriminant of Eq. (5.74) vanishes in this case, we can
-
also write
m a2/ao (product of roots). Then, yi(x) =x"i is one of the linearly independent
=
In |u|= -In x, or
u'
Integrating again, we get u = In x.
Therefore, y2 = uy1 = Y1 ln x. Since y2/y1 = In x, is not a constant, the two solutions y1,
inearly independent. The general solution in this case is yz are
y(x) =
Ay1 + By2= (A + B In x)y1 =
(A + B Inx)x" (5.78)
where m= (a0 - a)/(2a).
Example
Example 5.45 Find the solution of the differential equation 4x*y" + y ==0.
Solution Here, ag = 4, aj = 0, az = 1. The auxiliary equation is
Complex roots
Let the roots of the auxiliary equation (5.74) be a complex conjugate pair, m =
p t iq. Then the
solutions are given by
x = xDi9 = xP x*ig = xP(elnn)tig
=
xPetiqinx =
xP[cos (q In x) t i
(q ln x)], sin x> 0.
Therefore, we can take the two linearly independent solutions as
i) xP cos (q In x), and y20t) = x" sin (q In x).
(5.79)
Example 5.46 Find the general solution of the equation 4xy" + 8xy + 17y =0.
Solution Here, ao =4, aj = 8 and a = 17. The auxiliary equation is
iq.
The
general solution is (from Eq. (5.79))
yx) = Ax" cos (2 In x) + Bx"* sin (2 In x).
5.40 Engineering Mathematics
The method considered here is easily applicable for the homogeneous equations. However, Ior non-
xl=e, or t= In |x (5.81)
his transformation always reduces the Euler-Cauchy equation into a linear equation with constant
in the
cCiets. The solution of this equation can then be obtained using the
methods discussed
preious sections. Finally, the solution of the given equation, in terms of the original variable x, is
obtained by replacingt by In x.
When x =e', t= In x, we have
(5.82)
d2
dx2
or
(5.83)
In operator notation, set D dldx, D'
=
=
d-ldxr, 0= dldt, 0' =
dldt- etc. Then, Eqs. (5.82), (5.83)
can be written as
xD =
0, xD
02 0= e(0- 1) = -
(5.84)
or xDy = 6y. *Dy = 0(8-1)y.
By induction, we can prove that
(5.85)
1)] (5.86)
Substituting in the non-homogeneous second order linear
equation(5.71), we obtain the reduced equation as
a 0(6-1) y + a1 6y+ a2 y ao 6"y + (a1 ag) + =
0 y a2y r(e').
-
3y =
x.
Solution Using the transformation x =
e, we get (using Eqs. (5.82) and 5.83))
2 dt 3 -
3y =e, or
2 3y=
This is linear, constant coefficient
a
(5.88)
equation. Substituting,
coresponding homogeneous equation is obtained as
y =
e the
characteristic equation of the
2m2+m-3 =
0, or (m- 1)(2m + 3) = 0,
function is y. )
or m =1,- 3/2.
The complementary = Ae' + Be-/2
Linear Diferential Equations 5.41
Let the particular integral be written as y, = ce*". Substituting in Eq. (5.88), we obtain
+ y(x) = Ax + B
18 x
Example 5.48 Find the general solution ofthe equation y" + 5xy' +3y = In x, x> 0.
Solution Using the transformation x =e', we obtain
Comparing the coefficients of t and the constant terms on both sides, we obtain 3cj = 1 and
4c+3c2 =0. The solution is cj = 1/3, c2 = --4/9.
yt)=Ae- + Be-3 +:
Example 5.49 Find the general solution of the cquation y" -Sxy + 13y =30r
Solution Using the transformation x = e', we obtain
-
dt2
5 + 13y= 30, o dt2
+ 13y =30 (5.90)
The characteristic equation of the corresponding homogeneous equation is
m- 6m 13 0tV36 52 6t4
+ =
0, or m =
= 3 + 2i.
2
The complementary function is y) e" (A 2r +B sin
= cos 2/).
Let the particular integral be written ce".
as
y, =
Substituting in equation (5.90), we obtain
(4 12 + 13)ce = 30e", or c =6.
5.42 Engineering Mathematics
2
ne general solution is y(t) e3(A cos 21 +
= B sin 21) +
e" +t
or
[0-302+20+502-50+50 + 1] y
=
(5.91)
or
[0+20 +20+ 1] y e" + t =
where = dldt.
The characteristic equation of the corresponding homogeneous equation is
The
particular integral is y,= e+1-2.
The general solution is
y" 3xy+ 3y =
16r + 9x* In x, x> 0.
Solution Using the transformation x = e', we get (in operator notation)
or -
Exercise 5.6
Find the general solution of the following homogeneous differential equations (Assume x> 0 in Problems I to 20).
1. + xy' - 4y = 0. 2. x+4xy +2y 0.
3. *y+ay-y = 0. 4. 9xy" + 15xy' + y = 0.
6. 2xy" +2xy'+ y = 0.
5. 4xy"+ 16xy +9y =0.
7. y3axy'+ y = 0. 8. xy- xy + 5y =0.
10. 9xy"+ 3xy+10y = 0.
9.y+ 3xy+10y =0.
11. y " +2y" = 0. 12. "+xy' - y = 0.
13. y " + 4x2y"+ 2xy -2y =0. 14. y+9x*y" 18ry' 6y 0.
+ + =
15. y " -2xy + 4y =0. 16. y" +3y" 14ry+ 34y =0.
+
18. y+6x"y" +
17. y+3x'y" = 0. 4x*y" -2ry' -4y =0.
19. 4xy + 24x'y" + 43xy" + 19xy' 4y
- = 0. 20.y 6x'y'" 5x*y" -xy'+ y =0.
+ +
Find the general solution ofthe following differential equations (Assume x>0 in Problems 21 to 40).
21. y -2y 2x+6 22. - 3ry'+3y = 2+3 In X
5.44 Engineering Mathematics
15x.
23. y" + 2xy' 6y
=
= 26.
27. =x.
4xy"+ y= 25 sin (In x). 28. xy"-3xy + 4y
29.
4xy+ 16xy + 9y =19 cos (ln x) + 22 sin (In x).
30.
*y"+2xy -2y (In x). = x sin 31. y-2xy'-4y 6r+ 4 In =
32.
*y 8ry"+ 5xy -5y =42x
t+
33. r'y +6ry" 12y 12/.
- =
34.
'y"- 3xy"+7xy 8y 3r + 8x.
35. 4ry" + 12r-y"+ xy +y = 50 sin (ln x).
36. (3x +
1)y" + (3x +1)y' + y =6x. 37. (x+2)'y" + (x + 2)y" +(x + 2)y' - y = 242
38.
*y 6ry" +2y"-4xy + 4y =10/x.
+ 39. 4xy+ 16x'y" - xy"+ 9xy' -9y = 14 +1,
40. y+ 6xy" + 12xy" + 6xy + 4y
n d the
=2/x*.
solutions of the
following differential equations, which satisfy the gVen
41.
2xy"+ 3xy co
y =x, y(1)
-
1, y(4) 41/16. = =
5.5
Operator Methods for Finding Particular
Insection 5.3.1, we have introduced the
Integrals
write differential operator D, where D= dldx. For
example, we can
L(y) = a
cy =
(aD+ bD
d2
dx +
c)y =
F(D)y.
Since D is a differential operator, its inverse D defines
D'Df) =f). the integral operator, such that
In this section, we
develop symbolic short cut
methods for finding a
non-homogeneous equation with constant coefficients. particular integral of a linear
Consider the linear
non-homogeneous equation with constant coefficients
L(y) =ao +a + +
an-1 dy + any =r(x) (5.93)
or
L(y) (aoD" +a,D"+..+an-1D
=
,
an are constants. From
ypx) = [F(D)I'r ().
=
(ag" + a1a-+.. .+ a,-a+ a,)ea" =
Case Fl) #0
F(0)e*
We may now
symbolically write this equation as
y =
[F(D)I'F(a)e" F(a)[F(D)]lr =
Fay=F(D)]"e"", or [F(D)]'e" = = e
FO(D)e*
F a Flae" =e
Example 5.52 Find the
general solution of the differential equation y" -2y' 3y
3e4 -
=
1, 3.
The complementary function is
given by y. (x) = A+ Be%.
We have F(D) = D> -2D 3 . The particular integral is
Example 5.53 Find the general solution of the equation y-2y"- 5y' + 6y =
4 -*
Solution The given equation in operator notation is
F(D)y= (D -2D- 5D + 6)y = 4e"- e, where F(D) = - 2D-5D +6.
he characteristic equation of the corresponding homogeneous equation is
m-2m-Sm +6=0, or (m- 1)(nm +2(m - 3) = 0.
Ihe roots of this 1, 2, 3. The complementary function is
equation are m = -
FTT-F
The general solution is
Before we discuss the case when F(a) = 0, let us derive the following result
F(D"g)] =
[a%D"+a,D +a2D+...+ a,(e"g)
aD"("s) +a,D(e"g) + ... + a,(e"g)
=
ay e(D + ayg + ae*(D + a)"g +...+ a, e"8
=
e "a (D +a"+ a(D + a+...+anl8
= eF(D + a)g.
Case F ( ) = 0.
Let us now consider the case F(a)=0. From the theory of polynomial equations, (D- a) is a factor
of F(D). If F'(a) also vanishes, then (D-a)" is a factor of F{D). If F(a) = 0 = F'(a) = .. .
F-D (a), F'(a) # 0, then (D - a is a factor of F(D). Then, we can write
F(D) = (D - ayG(D), G(a) * 0.
(5.98)
Let us now write the particular integral of F(D)y = e as
Yx) =
[F(D)I"e" [D - ayG(D)F
=
=
[(D -
ayr[GD)rlea«
[(D- ayrIG(a)r'ea" (since G(a) * 0 and using Eq. (5.96))
Ga(D- aT'|e",1] = iT"[(D+ a - a1'[i
1 ex (5.99)
Gay G(a)
since D represents integration r times.
Therefore, when F(a) = 0, F ( a ) # 0, we have F(D) = (D - a)G(D) and the particular integral or
FD)y = e i s given by
(5.100)
yp(x) G(a)
Generalization to the case r (x) = e*h(x).
Irrespective of whether F(a) vanishes or does not vanish, the above result can be extended to the case
r(x)= "h(x). We have the particular
integral in this case as
px)= [F(D)IlE*h(x)] (5.101) =
¬"*[F(D + a)]h(x)
using Eq. (5.97). Now, [F(D + a)]hx) can be evaluated when h(x) is of some particular forms.
Example 5.54 Find the general solution of the equation y"+ y- 6y = 5e3.
6)y =
5e*, where
F(D) =
D + D -
6 =
(D + 3)(D -
2).
The characteristic
equation of the corresponding homogeneous equation (D* + D- 6)y = 0 is
m +m 6 0, or (m + 3)(m -2) 0, or m 2, 3.
-
=
= = -
= -
=
5(D 3)(-5)e* - (D +.3)'[e
+ = .
(D -3+ 3) 1 =- eD'(1) = -
x e*. (using Eq. (5.99))
We might have also used the formula (5.100) directly where G(D) = D -2. The
general solution is
yx) = ye(a) + ypl*) = Ae + B * - x e-3x
Example 5.55 Find the general solution of the equation 4y" 4y'+ y e*/2 -
=
px) =
(2D -
1)-(e*2. 1)
)-o
8
5.48 Engineering Mathematics
9m +3m -
5m + 1 =
0, or (m + 1)(3m -
1* = 0.
The roots of this equation are m = -
=
[(D + 1)(3D -
1)1"64e).
Since F(1) # 0 and F(1/3) =
0, we obtain
ypr)= [(1 + 1)03 1 1(42e") (3D - 1)t(D 1)(64e*3+ +
64
e(3D -1)- 4/3)
.)- (1)
-2 *p-2(1)= 2e'+re
The general solution is
1/4.
The complementary function is ye (x) (Ax + B)ev/4 =
ypx) =
(4D +
1)*(48xea) 48e-s/44 =
=
48e-4 (4D)* (x) =
3e4 D-(x) re =
TF(D)}cos ar = COS X
Therefore, the F-a)
particular integral of the equation F(D")y =cos ax is
given by
COS ax
ypx) [F(D})]' cos ax =F-a2F(-a)
=
F(-a) #0. 0. .
(5.103)
It is easy to show that similar formula
holds when r(x) sin That is, if
=
ax. F(D")y = sin dx, then
p(x) = [F(D )] sin ax =- Sin ax
(5.104)
F-a)
When odd powers of D also exist in
F(D), we can follow the same procedure to obtain y,(x).
Let F(D) =
Fi(D<) + F2(D), where F2(D) contains odd powers of D. Then
[F(D)+Fg(D)] cos ax =[F-a") + Fz(D)] cos ax
Since F(D) has constant coefficients, we obtain
A 2x + B sin 2x.
ye (x)
= cos
We
have F(D?) = D? + 4 and r (x) = 6 cos x, that is a = 1. Since F(-a) =
-a' + 4 and
16 cos 2x.
Example 5.59 Find the general solution of the equation 2y"+y-y=
1
equatOn
SOlution The characteristic equation of the corresponding homogeneous
0.
2m+m- 1 =0, or (m + 1)(2m - 1) =
Be"",
X)= Ae" +
we have F{D) = 2D* + D - 1, r(x) = 16 cos 2x. Therefore, a = 2. Using Eq. (5.l05), we get
Ypx) =
[(2D +D -
cos 2x
16(D 9)] cos 2x 16(D + 9)N(D + 9(D 9)1
-
= -
=
1
=
16(D+91(D? 81)]' cos 2x -
(D+9)
8: cos 2x = -
=-Dsin2x) cos = x.
Example 5.61 Find the general solution of the equation y" - y"+ 4y'- 4y = sin 3r.
Exam ple 5.64 Find the general solution of the equation y" + 16y = 64.x2.
Soluti on The complementary function is yc(x) = A cos 4x + B sin 4x.
The partic ular integral is
2
e2ix [ 4( 1 + i)D D ] - \ )}
= Im { Bi - 1 1 + Bi - 1 + 8i - 1 x
_ Im {
-
e 2i x
Bi - 1
[l _ 4(1 _+ i~D + . ..
8, -
J(x)}
(8i + 1)
= Im { (- 6 S)
e2 i x [x- 4(8i + l)(l + i) ]}
(- 65)
Lin ear D(fferential Equ ations 5.5 3
= - i
4 25 [ 65x (8 cos 2x + sin 2x) - 28(8 cos 2x + sin 2x) + 36(cos 2x - 8 sin 2x)
l
= - i
4 25 (65 x(8 cos 2x + sin 2x) - 188 cos 2x - 316 sin 2x] .
The general solution is
2
= 36 W 2 i[1 - ~ + ~• - . . } 2
) = 360 - 2 [x 2
-;]
X4
= 36 [ 12 - 3X 2 ] =
3 4 12 2
X - X •
Exercise 5.7
.d h
Fm t e genera1 so1u t'on
1
of the following differential equations.
1. (D2 +S D+ 4)y = l8e2x. 2 (D2 - l)y = 8e3x
· ·
3. (D2 - 3D - 4)y = ex + 6e 5 x. 4. (D2 + D + 2)y = ex12•
5. (D 2 + 3D + 3)y = ?ex. 6. (D2 - 2D + 1)y = Se.i.t + 4e 2.,·.
17. (D 3 - 2D 2 - D + 2)y ==
3 18. (JJ 3 -6/J 2 + 12D - 8),Y= 18P 2 t.
£' ·' .
5.54 Engin eerin g Math emati cs
53. Show that y = ! lx r(t) sin n(x - t)dt is the solution of the equation y" + n 2y = r(x).
54. lf u is a function of x, then show that
x 2 em x
y1, (x) = 2! G(m) 'where F(D) = (D - m) 2G(D ). G(m) ~
0 . etr.
Show that these particular integrals can be wriuen us
Linear D~fferential Equations 5.55
[F (D)J-1e'"" = x [ 1
F'(m)
]e'"" ' F(m) = 0, F'(m) °I' 0
1
[F(D)J- e'"" = x 2 [ F"~m)] e'"", F(m) = O, F'(m) = 0, F"(m) °I' 0, etc.
Use these formulas to evaluate the particular integral in Problems 8, 9, 13 and 19 of this exercise.
57. If F(D) _can be_facto~sed into n distinct factors F(D) = (D _ m,)(D _ m ) ... (D - mn), then show that
2
the parucular mtegral of F(D)y = r(x), can be written as
Y, (x) = A,,••• J,-• •• r(x)dt + A2 e"" J,-•>' r(x) dt + ... + A,e ••• J,-••• r(x)dt
Use this fonnula to evaluate the particular integral in problem 40 of this exercise.
58. The forced oscillations of a mechanical system with periodic input are governed by the non-homogeneous
equation
dy2
- - - 5y1
dt
+ 3y2 = e '
dy 1 dy2
(11'') 3 dt
dyl + 2
Yi + Y2 = e-t, - +- - 2y1 + 3y2 = t
dt dt
are two systems of linear, constant coefficient first order equations. These two systems can respectively
be written in operator form as
(i) (6D + 3)y 1 + (5D + l)Y2 = 0, and (ii) (3D + 2)Y1 + Y2 = e-',
where D = dldt.
The solution of such systems can be obtained by elimi~ating one o~ the variables and solving the
resulting linear, second order equation for the ~econd van~ble. Some~1mes, elimination of one of the
variables may also produce a first order equation for the second variable.
We illustrate the method of obtaining the solution through the following examplt!s .
5.56 Engineering Mathematics
- 0· (5 .107)
-dy 2 +yi - 2y 2-
dt
Solution
Method 1
1
Eliminate one of the dependent variables directly. Differentiating Eq. (5.107) wi th respect to • we get
Y2 + Y1 - 2y2 = 0
where dash denotes differentiation with respect tot. Substituting for Y1 from Eq. (5 ,l06 ), we obtain
2,
Y2 - 2y2 + 2y 1 + y 2 + e 2 ' - 2y 2= 0, or Y2 - 4y2 + 2y, + Y2 = -e
Substituting for y 1 from Eq. (5.107), we get
21 (5 .108)
Y2" - 4 Y2' + 4 Y2 - 2 Y2' + Y2 = -e 21 , or Y2" - 6 Y2' + 5 Y2 = - e
which is a second order equation in the variable y 2 •
The complementary function is (y 2)c = Ae' +Be st . The particular integral is
3Be s'.
= Ae' -
This procedure can be very cumbersome in general.
Method 2
We eliminate one of the dependent variables after writing the equations in operator notation. We have
(D - 2)Y1 + (2D - l)y2 = e 21 (5.109)
Yi+ (D - 2)y2 = 0. (5 .110)
Operating with (D - 2) on equation (5.110), we get (D - 2)y 1 + (D - 2)2y2 = o.
Method 3
I n this method, we •find the .equations
·
governing Yt and Y2 using the determinant b ,
,l b · . • .
'd .
s, ) cons, enng
(symbolically) the given ~quat1ons as age ra1c equations. Solving the equatio ns (S .l09 ) and (S. ll0)
by Cramer's rule we obtain
Linear Differential Equati ons 5.57
D-2 2D - 1 e2,
2D- 1 D-2 e2I
1 D-2 Yi= 0 D-2
and 2D- 1 D-2
1 D-2 Yi= l 0
Solutl·on Multip
• ly t h e secon
· d eq uation by 2 and subtract from the first equatio n. We obtai n
(D + 3)Y2 = t + 2
e 31 Yi= f (t + 2)e 3t dt + A =
1
3 (t + 2 ) e 31 - 9e '
3
+A
or _ Ae_3, +
Y2-
1.9 (3t + 5)·
Substituting in the second equatio n, we get
5.58 Engineering Mathematics
(D - 2)y 1 +
1 -3t l (3t + 5)] == t
[-3Ae- 3t + 3 + Ae +9
Integrating, we obtain 1i 2 6
Y2 =
20 t + lO t + A.
Note that the system has only one arbitrary constant as the ~liminant is a first
order equation. This can
also be verified by writing the determinant of the coefficient matrix, which
is
3D + 1 3D
= lOD
D-3 D
which is of first order only.
Therefore, the equation y" + ay' +by= 0 is equivalent to the first order system given by Eq. (5.116).
We know that the scalar equation y' =my has the solution y =ce mt. Therefore, for the solution of
Eq. (5.115), we examine a solution of the form
y = e;.'x (5.117)
where x = [x1 , x 2 f, or equivalently y 1 =e;.'x 1, and y 2 = e;.1x 2•
Substituting Eq. (5.117) into Eq. (5.115), we obtain
Ae;.'x = Ae;.,x = e~'Ax.
Cancelling eM, we get
Ax=AX (5.118)
which is an algebraic eigenvalue problem. The eigenvalues are the roots of the characteristic equation
a 11 -A a12
I A - Al I = 0, or
a22-A
=0
or
Note that the coefficient of A is equal to - (trace of A) and the constant term is I A I- The roots of
this equation, that is A = Ai, Ai are called the eigenvalues of A. The eigenvalues may be real and
distinct, real and equal or a complex conjugate pair. We assume that the system has the complete set
of eigenvectors, that is, in the present case the system has two linearly independent eigenvectors. Let
the eigenvectors be denoted by xO> and x< 2>. (If 111 :t- Ai, then linear independence of x(I >, x<1> is
guaranteed). Therefore, we obtain the two linearly independent solutions as
(5.1 19)
S.60 En1<im~erinx Mmhemaric:.,
y'=
[-21 -2l] y=A y.
where Y = [yi, y2] r. Substituting y = e ). I x and cancellin
. ). ,
g e , we Obtam
· the eige nval ue prob lem
Ax = Ax, that is
(
-2 l][x1] = A[X1 ]· (5.12 2)
1 -2 x2 Xz
The characteristic equation of A is given by
-2- A 1
=O, or (2 + A) 2 -1 =0, or A2 + 4A + 3 = 0.
1 -2- A
The roots of this equation are A= - 1, - 3.
For A = - 1, we get from Eq. (5.122)
- x 1 + x2 = 0 and x 1 - x2 = 0.
The solution is x1 = x2 , so that we can take x< 1> = [1 lf
For A= - 3, we get from Eq. (5.122), x + x = 0, so that
1 2 we can take x<2} = [1 - lf.
Thes e two vectors, x0 >, x< 2> are linearly independent. The
general solution of the syste m is
y = A1e- 1x<l) + B1e- 31 x<2>
or
-a
y'=
[- a
Linear Differential Equations 5.61
Substituting Y = eA.'x a nd cancelling eA.', we obtain the eigenvalue problem Ax= AX, that is
[=aa a
-a
][Xt] = A.[x, ]·
X2 X2
(5.123)
The characteristi c equation of A is
-a -A a
-a _ a _ ).. = 0, or (a + A. ) 2 + a 2 = 0 and its roots are).. = - a ± ia = -a(l + i).
For).= - a(l + i), we get from Eq. (5.123)
Non-homogeneous systems
Consider now a non-homoge neous, linear constant coefficient system of equations of the form
(S. 12 ~)
(5 .125)
or y' = Ay +- h (5. 126)
where A, y are as defined earlier and h = [/i 1(t) lri(t)f. The solution of the system is y = Ye + Yp where
Yc is the complement ary function and yP is the particular integrnl. The complemen tary functio n y, is
the solution of the homogeneou s equation which can be obtained by the methods described above.
The particular integral Yp can be obtained by the method of undetermine d coefficients, if the co mpork!nts
of h(t) are simple functions like a polynomial, exponential, sine or cosine function. Ho wever. in
general, we can use the diago11alisatio11 method to find yp · We now illustrate both these me thods.
5.62
Engi neer ing Math ema tics
562 M
· · ethod of Undetermined Coefficients to Find the p ar ticular Integral
Sinc e the meth od is strni ghtfo rwnr d we illustrate
it throu gh exam ples .
E I .
xam p es 5.72 Fmd .
the gene ral solution of the linea f uatio ns y' = Ay + h, whe re
r system O eq
4t 2 +3t +6
9]· and y = [~~ l
Solu tion Con side r the corr espo ndin g hom ogeneous equa tion
canc ellin g c ).', we obta in the eige nvalue prob lem
y' =Ay. Subst1. tutin. g Y =e Al X an d
Ax = AX, that is
[l 2][x']
4 3 X2
= ).[x' ]·
X2
The char acte risti c equa tion of A is
1 - }. 2
= 0 or ). 2 - 4A- 5 = 0, and its root s are A= -1, 5.
4 3-} . '
Con side r now the first syst em. We have the equu
tions
Line ar Diffe renti al Equa tions 5.63
d 1 + 2d1 = - 6 4d + 3d
or . ' 1
The second syst em give s the equa tions2 = - 4, whose solution is d 1 = 2, and d1 = - 4·
= ce-'[-11] + c es,[21] +
1 2 12 [ 2] + .!_ [ 2] + _1 [ 27]·
- 4 5 - 21 25 - 121
Com pone ntwi se, the solu tion is
YI = C1e- l + 5
C2e ' + 2t 2 + (2t/5 ) + (27/25),
Y2 =- c1e_, + 2c2 e 5 ' - 4t 2 - (21t /5) - (121/25).
Example 5.73 Find the gene ral solu tion of the linear syste m of
equa tions
-4
-7] X = AX.
The char acte risti c equa tion is give n by
5-A -7
= 0, or ,12 - A - 6 = 0, and its roots are A= 3, - 2.
2 -4- A
For A= 3, (A - Al)x = O give s the equations
d e1 = A de 1 - [ !} 1
•
[-~ _!]x=h
The characteristic equation is
-1- A 3
2 -2- A
=0, or ).2 + 3A - 4 = 0, or A = 1, - 4.
We have
substituting in the given equation, we obtain
d - 4e; Ae + [ ~]
or
(5. 127)
Since xU>, i = 1, 2, . . . , 11 are linearly independen t, x 1s no n-s ingular and x- 1 exists .
Premultiplying y' = Ay + h by x- •, we get
x- 1 y' = x- 1Ay + x- 1 h. (5. 128)
Let Y = xu. We have, y' = xu'. Substituting in Eq. (5.128), we get
5.66 Engineering Mathematics
(5.129)
1
x- 1xu' = x- 1Axu + x- h.
. ) d' onalises the matrix A, that is
We know from matrix theory that the matrix x (of eagenvec~ors iag . envalues of A. Therefore,
th
x-l Ax = D, where D is a diagonal matrix with its diagonal entnes as e eig
we obtain from Eq. (5.129)
(5.130)
g=X - lh .
u' = Du+ g, where
Now, Eq. (5.130) is of the form
0 0 0 U1 81
A.1
"' '
'' 2 =
0 A.2 0 0 U2
+
82 (5.131)
u'n 0 0 0 An Un 8n
The solution of the given non-homogeneous system is then obtained from the equation Y = xu.
Example 5.75 Find the general solution of the linear system of equations
y'=Ay+h=[:
(see Example 5.73)
Solution From Example 5.73, we have
Now,
-1][2] ,_ 1[-2]
7 4
e - - -
5 24
et
.
y =XU= G
which is same as the solution obtained in Example 5.73.
Exercise 5.8
Find the solution of the following systems of equations using the elimination method.
1. y; =2y1 + Y2, Y2 =Y1 + 2y2, 2. Yt =Y1 + Y2, Y2 =9y, + Y2•
3. y; = Y2, Y2 = - 9y1, 4. YI = 2y, + Y2, Y2 = - l8y1 - 7y2,
s. y; + Y2 = 4 sin t, Y2 + YI = 8 cost. 6. y 1 + y 1 + 3y2 =4e- 1, y 2 + 4y 1 - 3y2 =St.
7. Yt + 3y1 + Y2 = 6e', Y2 - 5y1 - 3y2 = 3e-'.
8. y 1+ 4y 1 - Sy2 = 16 sin t, y 2 + 5y 1 - 4y2 = e'.
9. y 1+ 3y1 - Sy2 = 64 sin 4t, y 2 + 5y 1- 3y2 = 12 cos 2t.
10. Yt + Y1 - 3y2 = 6e-', y 2 + 2y 1 - 4y2 = 12e'.
29. A
3 2] h = [25]es'.
= [4 1' 13
. . f' d the solution of the systems.
30. In Problems 25 and 26, use the method of diagonalisauon to m
00
11. Any subinterval on (3. oo). 12. Any subinterval on (0, )-
34. y;'= -(a 1lao )y; - (ai lao )y,, W(x) = Y1Y2 - Y2Y1. Differentiating W(x) and sub t"t .· fi *
• W'( ) 11,( ) o p· d' th • . s 1 utmg or Y · we
o b tam ao x +a,"' x = . m mg e mtegratmg factor we obtain the soluti . '·
of c depends on y 1, Yi· • on as given. The value
Exercise 5.2
1. (7e" - e 4")/3.
2. (3eix - e-ix)/2.
3. (1 + 5x)e -3".
4. 1(5x 2
- (1/x 2 )).
5. (3 + ln x)x. 6. Aeix + Be-ix.
7. Aeix + Be-x. 8. Aex + Be-2x_
9. Ae6x + Be-ix . 10. Aem 1x + Bem 2 x, m1 = -2 + ..fi.
m 2 = -2 -../3 .
11. Aeix + Bex 14 . 12. A ex/2 + Be-(5x)l2.
13. (A+ Bx)e- x. 14. (A + Bx)e-nx_
15. (A + Bx)e< 2x> 13 • 16. (A + Bx)e- x 12 .
17. (A + Bx)e<2x)t5_ 18. A cos 5x + B sin 5x.
19. (A cos x + B sin x)e- 2". 20. e"(A cos x + B sin x).
21. ex 12(A cos 2x + B sin 2x). 22. e 3" (A cos 3x + B sin 3x).
23. A + Be- 9". 24. en"(A cos bx + B sin bx).
25. m = 3, _ 2, ch. equa tion is m2 - m - 6 = 0, diff.
equation is y" - y' - 6y = 0.
26. m = 114, _ 3/4, ch. equa tion is 16m2 + Sm - 3 =
0, diff. equation is 16y" + 8y' - 3y = o.
27. m = o, _ 2 , ch. equa tion is m(m + 2) = 0, diff. equa
tion-is y" + 2y' = 0.
28. m = 2, 2, ch. equa tion is (m - 2)2 = 0, diff. equa
tion is y" - 4y' + 4y = 0.
__ _ h uatio 2
29• m - 1, 1 , c . eq . n is (m + 1) = 0, diff. equation is y" + 2y' + y = 0 .
30• y ,, + 9y= 0 . 31. y" + 2ay' + (a 2 + b 2 )y = 0 .
32. y" - I0y' + 34y = 0. 33.
34. e 4" + 3e-3 x. 35.
5.70 Engin eerin g Mmh emati cs
58. y,, (x) = B,, sin [(2,1 + l )x/2], B,, arbitrary y (x) = -
L Yn (x).
n=I
59. y(x) = ePx(A'eqx + B'e-q x) = eP..-[A cosh qx + B sinh qx].
60. (i) For c 2 > 4mk, both the characteristic roots - p ± q where
p = c/(2m) and q = ..J c 2 - 4mk l(2m) . are
negative and q < p . Therefore, the solution y(t) = e-P'(Aeq' + Be-q'
) ➔ 0 as t ➔ 00, that is, there exists
a f<) such that for r > t0 the system is in equilibrium . y = [au
0 e-P' sinh qt]lq.
(ii) For c i < 4mk, the characteristic roots are - p ± iq, where p
= c/(2m) and q = ..J 4mk - c 2 /(2m ) are
comp lex. The solutions are oscillatory in this case. The soluti
on is y(t) = e-P'(A cos qt + B sin qt). The
oscill ations are damped and they decay as t ➔ oo. y = (e-P'u
sin qt)lq. 0
(iii) For c 2 = 4mk, the characteristic roots are repeated roots
y = Uole-P'.
- p . The solution is y(t) = (A + Br)e-P'.
61. Ae3x + Be- 2.r. 62. Aex + Be- 4x_
63. u = x + 1/x, Yi= l + x2, Ax+ B(l + x2).
64. u = - cot x , Yi= - x- 112 cos x, x- 112 (A cos x + B sin x).
6S. u =-
e-x(x i - 2x + 2), Y2 =-
(x 2 - 2t + 2), Ae·t + B(x 2 - 2t + 2).
Exercise S.3
1. A + Belx + ce-lx_ 2. Aex12 + Be 2.t + Ce - 3.t .
3. Aex + Be- x + Ce 2x 13 • 4. A e 2.t + Be- lt + Ce 1t + D - Jx
e .
S. Aex + Be ix + Ce-xii + Dexo._
6. A + Be u + ce-2t + o e - .t_
1. Ae x'" + Bexti + Ce'" + De -x. 8. A e ,.13 + Be - .t/J + Ce .t ' .., + De - .t ' " .
• f Equa tions 5.71
Linea r Differ entta
A+ (Bx+ C)ex.
9. 10. Ae- 2x +(Bx + C)e-x .
Ae-2x + (Bx+ C)e2x _
11, 12. (A +Bx+ Cr)ex fJ_
13, A+ Bex+ (Cx + D)esx_ 14. A+ (Br+ Cx + D)ex.
15, (Ax+ B)e-x + (Cx + D)ex12_
16. (Ax+ B)e 3 x + (Cx + D)e 2 x' 3 .
11. A + B cos x + C sin x. 18. Ae2x + B cos 2x + C sin 2x.
19• Ae-Jx + e-x(B cos x + C sin x). 20. Aex + eJx(B cos 2x + C sin 2x).
21. Aex + Be- x + C cos 3x + D sin 3x. 22. A ex + Be- 2x + C cos 4x + D sin 4.x.
23. A cos 5x + B sin 5x + C cos (x/2) + D sin (x/2).
24. e2x(A cos x + B sin x) + e-Jx(C cos x + D sin x).
25, (A + Bx) cos 5x + (C + Dx) sin 5x. 26. (A+ Bx) cos x + (C + Dx) sin x .
21. m = 0, 1. 3, y"' - 4y" + 3y' = 0. 28. m = - 1, ± Si, y"' + y" + 25y' + 25y = 0.
29, m = - 1, - 1, 2, y"' - 3y' - 2y = 0. 30. m = 0, 0, 1, 3, iv - 4y"' + 3/' = 0.
31, m = 2, 2, 2, - 2, iv - 4y'" + 16y' - l6y = 0.
32, m = ± 3, ± 2i, Y iv - 5y" - 36y = 0. 33. (3e3x + 2e- 2x - Sex)/3 0.
3
34. (9c - 5e x/Z + e-Jx/ 2 )/5. 35. (2 + x)ex - eJx.
36, (1 + x)e- x + (2 - x)e2x. 37. x + cos x + sin x.
38. cos 2x + 2 sin 2x - ex. 39. ex+ e-x(co s x + 2 sin x) .
40. 1 + 2x + 3x2 + e 3 x. 41. A sin rcx, A arbitra ry.
42. 1 + 2 sinh 6x + cosh 6x. 43. 2 sin 2x·+ sin 3x.
44. Dn sin nx, L Dn sin nx. 45. 2 cos 3x + cos x .
Exercise 5.4
1. A(x) = - e 2x1s. B(x) = - e- 2x1s. y = c,e-x + Cze 3·x - (ex/4).
2. A(x) = - e- 4 x14, B(x) = (4x + l)e- 4 x/16, y = (CtX + c ) e 2x
2 + e- 2 .x/16.
3. A(x) = cos3 x/3, B(x) = (sin 3x + 3 sin x)/12, Yp = (cos x)/3, y
= c 1 cos 2x + c2 sin 2x + Yr
4. A(x) = In I cos x I, B(x) = x, Yp = cos x In I cos x I + x- sin x, y
= Ct cos x + c 2 sin x + Yr
5. A(x) = - x, B(x) = In I sin x I, Yp = sin x In I sin x I - x cos x,
y = c 1 cos x + c 2 sin x + Yp-
6. A(x) = sin x - In I sec x + tan x I, B(x) = - cos x, Yp = - cos x
In I sec x + tan x I,
y = c 1 cos x + c 2 sin x + Yp-
1. A(x) = - x/2, B(x) = - e-2x14, y(x) = Ctex + c 2 e 3 x - (xex)/ 2.
8. A(x) = ! In I cos 2x I, B(x) = x/2, YP =! cos 2x In I cos 2x I + ~ x sin 2x.
y(x) = c 1 cos 2x + c 2 sin 2x + Yr
9. A(x) = (cos 4.x)/16, B(x) = (4x + sin 4x)/16, Yp = (cos 2x + 4x sin 2x)/16 .
y(x) = Ct cos 2x + c 2 sin 2x + (x sin 2x)/4.
10• A (x ) sm
=· x + x cos x
, B(x) = - cos x, Yp = - e- ix sm
. x, .Y ( )
x = ( c 1x + c 2 )e- ,,= + y ,,.
11. A(x) = - x , B(x ) = In Ix I, Yp = x [In Ix I- I] e- Jx, y(x ) = (c,x + c ) e- lx
2 +y •
11
5.72 Engine ering Mathem atics
12 A( ) - (cos 2x)/4, B(x) = (2x + sin 2x)/4, y(x) = c,e-x cos x + c2e -x sm · + (xe-x sin x)/2.
• x - x
l3. g(x) = x, A(x) = x 214. B(x) = - x 4/8, Yµ = x-118. y(x) = c 1x + (c2IX) + Yp·
14· g(x) = In I X 1. A(x) = [In I X 11 2/8, B(.x) = - x4 [ 4 In I X I - I J/64.
g(x) = l 6e-l r coscc 2r, A(x) = 4 In I cosec 2x + cot 2x I, B(x) = - 4/sin 2x.
2
17.
Yp = 4e-:1x cos 2t In I cosec 2x + cot 2x I - 4e- X, y(x) = e-2xcc, cos 2x + C2 sin 2.x)
2 + Yp·
18. A(x) = (In I sec 2t + tan 2r I )/8, B(x) = - x/4, C(x) = (In I cos 2x I )/8,
y(x) = c, + c2 cos 2x + c 3 sin 2x - (x cos 2x)/4 + (sin 2x In I cos 2x I )/8 + (In
I sec 2x + tan 2x I )IB.
A(x) = x /4, B(x) = - x, C(x) = (In I x I )/2,
2
19.
y(x) = (c, + c2x + c3x )e x + (x In Ix I eix)/2.
2 2 2
Exercise 5.5
5
1. Yp = - (50x2 - 30x + 69)/500, Ye= Ae-2x + Be x.
12
2. Yp = (20 - 5 lx + 9.x2 - 9x3)/27, Ye= Ae-x + Be3x •
3. Yp = (35ex + 3e3x)ll05, Ye= Aex12 + Be-x12 .
4. Yp = (e-2x - ?x - 14)/7, Ye= Ae-x + Bex 13 •
5. Yp = - e-3x + ex/15, Ye= Ae-2x + Be- 4x_
6. Yp = 3xe-x, Ye= Ae-x + Be-3x_
12
1. Yp = - xe-2x + ex/3, Ye= Ae-2x + Bex .
8. Yp = 2xe3x - xe-2x, Ye= Ae-2x + Be3x.
9. Yp = 2xex13, Ye= Ae-2x + Bex/3_
10. Yp = (2 sin x - cos x)/5, Ye = Ae-x + Be-ix.
2 3
11. Yp = (sin 3x - 5 cos 3x)/2, Ye= Ae x + Be- x_
12. Yp = 2(sin 2x - cos 2x), Ye= Aex + Be-sx_
13. Yp = x(- 3 cos 5x + 5 sin 5x), Yr= A cos 5x + B sin 5x.
14. Yp = - 2x cos 4x, Ye = A cos 4x + B sin 4x.
15. Yp = 4.x2e2x + e3x, Ye = (Ax+ B)e2x.
12
16. Yp = 3x 2/xl2>;4, Ye = (Ax + B)ex •
3
17. Yp = l3x2e-Jx + e2x/5, Ye= (Ax+ B)e- x.
18. Yp = ex(sin x - 2 cos x)/5, Yr= A cos x + B sin x.
19. Yp = - (xe-x cos 3.x)/6, Yr= e-x(A cos 3x + B sin 3x).
2
20. Yp = 8xe2x sin x, y,. = e r(A cos x + B sin x) .
Linear Differential Equations 5.73
3
21. Yp = - 3xe x cos 2xl4, Yr = e 3x(A cos 2x + B sin 2x).
22. r (x) = 3e-2x ( l + cos 2x), Yp = e-2x <c1x2 + Cz cos 2x + C3 sin 2x) = [3e-2x (2x2 - cos 2x) ]14, Ye= (Ax+ B)e-2.x.
23. r(x) = 3e-x( 3 sin x- sin 3x), Yp = e-x[-45(cos x + sin x) .+ (cos 3x + 3 sin 3x)]IIO,yc = Ae-x + Be-2.x
3 3
24. r (x) = 2(e x + e- x), Yp = (e- 3x + 12xe3x)l 12, Yr = A ex + Be 3 x.
25. Yp = - 3xe-x, Yr= Aex + Be-x + Ce-4x_
2
26. Yp = xex - 2x e-2x, Yr = (Ax+ B)e-2.x + Cex.
3
21. Yp = 6x3e x, Yr= (Ax 2 + Bx+ C)e3x.
28. Yp = 2(cos 2x - 2 sin 2x)/5, Ye= Aex + B cos x + C sin x.
29. Yp = - [2(x2 + x) + x(cos 2x + sin 2x)]l2, Ye= Ae2x + B cos 2x + C sin 2x.
30. Yp = - x sin 4xl2, Ye= Ae4x + Be-4x + C cos 4x + D sin 4x.
4
31. Yp = - (x + 25), Ye= Aex + Be-x + C cos x + D sin x.
2
32. Yp = x - 2x, Ye= A+ (Bx 2 + Cx + D)e-x.
2
33. Yp = 3xe x, Ye = Ae 2x + Be- 2x + C cos X + D sin x.
34. Yp = - 5x e-2x, Ye= A+ (Bx2 + Cx + D)e- 2x.
3
Exercise 5.6
2
33. y = Ax + (Blx 2) + (C/x:3) - (3 In x)lx2.
34. Y = (A + B In x + C ln 2 x)x 2 + 3x3 - 8x.
1
35. Y =(A+ B In x)x 112 + (Clx) + sin (In x) + 7 cos (1n x) .
41. y = ! (rx + ~) + ~.
42. y = 4(ln x - 1) ,,fx + In x + 4.
43. y = [1x - 10x2 + 5x3 + x In x]/2.
44. y = x[4 sin (In x) - 2 cos (ln x)] + 3.
21. A cos 3x + B sin 3x - (x cos 3x)/6. 28. A cos ( ../3x) + B sin ( ../3x) + (x sin ..fSx)/(2../3).
Lir1<'llr D{ff't·n,11rial Eq11mim1s 5.75
46. e-l.tr.?[A cos p + B sin p] + 4ex(25 cos p + 10~ sin p)/1325. p = ~x/2.
47. Write xex sin x = Im [xil+i).r], Ae-x + Be-lt + ex[S(l - x) cos x + (5x - 2) sin x]/50.
2
48. Write xe 2t cos x = Re [xe<2+i).r], A cos 3x + B sin 3x + e t[(3Ut- 11) cos x + (lOx- 2) sin x]/400.
49. Ae-.xn + Be- 3:t1i - e-:c1i [(x - 2) cos x - (x + 1) sin x]/8.
2
50. A cos x + B sin x + ~ cos ..fix + D* sin ..fix - 4[9x cos x - (2x3 - 5 lx) sin x]/3.
d
-d
X
f b db
f(x , t)dt =f(x, b) -d
X
da
-f(x, a)-d. +
.X
f -aaJ.
a
b
X
dt
a
2d =
f x
r(t) cos n(x- t)dt, --?
d2
= r(x) -
fb r(t) sin 11(x - t)dt = r(x) - ,, 2 y.
1l
dx dx·
• a
a
d = ✓4mk - c 2 /(2m) .
21. y = ce3;, x<n + De-3;, x<2>, x<l) = [I + i, 3]7, x< 2> = [I - i , 3]7, or as
y = Cz0 >+ Dz(2), zO> = [cos 3t - sin 3t, 3 cos 3tf, z< 2>= [cos 31 + sin 3t, 3 sin 3t].
22. y =A 1e2it x0 > + B 1e_2;' x< 2>, x<O = [2, 1 - if, x< 2> = [2, 1 + if, or as
y = czO> + Dz< 2>, zO> = [2 cos 2t, cos 2t + sin 2tf, z< 2> = (2 sin 2t, sin 21 - cos 2tf.
23. y = Ce' zO> + De' z<2>, zO> = [cos t, sin tf, z< 2>= [sin t, - cos rf.
24. y = e'12 cezo> + Dz< 2>), z0 >, z< 2>as in problem 23.
25. y = c 1e21 xO> + c 2 e- 31 x< 2>-d1- e, x< 1> = (1, 1]7, x< 2> = [I, -4]7, d = [4/3, 5/3]7, e = [17/9, 4/9]r.
26. y = c 1~ x<O + c 2 e-112 x< 2> + de 2', x< 1> = [3, lf, x< 2> = [I, If, d = [- 12/15, 28/15].
27. y = c 1e21 x< 1>+ c 2 e-31 x< 2 >+ (dt + e)e21, x0 >= [6, If, x< 2> = [I, If. d = [-6/5, - I/Sf, e = [- 16/5, Of.
28. y = c 1e'x< 1>+ c 2 e 31 x< 2 >+ (dt + e)e', x< 0 = [I, If, x< 2> = [2, If, d = [12, I2f, e = [-3, Of.
29. y=c 1e-1 x< 1>+c2e5'x< 2>+(d1+e)e5',x<l)=[l,-2f,x<2>=[l, If,d=[21, 2If.e=[2. Of .
9
30. Problem25: x=[: 1
-~Jg=x- h=~[:~; JA 1=2,-l 2 =-3,
u; = A.1u1 + g1, u 1 = c 1e 2' - (71 + 8)/5, u2 = c 2 e-3' + (31 - 13)/45,