Odevc (A8002) Unit II
Odevc (A8002) Unit II
(AUTONOMOUS)
Affiliated to JNTUH, Approved by AICTE, Accredited by NAAC with A++ Grade, ISO 9001:2015 Certified
Example 3. Solve (4 D 2 4 D 1) y 0
Solution. The Auxiliary equation is 4m2 4m 1 0 (2m 1) 2 0 m 21 , 21
x
The Complete Solution is y (c1 c2 x)e 2
d3y 2
Example 4. Solve
dx3
3 ddx2y 4 y 0
Solution. Given equation can be written as ( D 3 3D 2 4) y 0 where D d
dx
The Auxiliary equation is m 3m 4 0 ( m 1)( m 4m 4) 0
3 2 2
(m 1)(m 2) 2 0 m 1, 2, 2
The Complete Solution is y (c1 c2 x)e 2 x c3e x
Example .5. Solve y '' y ' y 0
Solution. Given equation can be written as ( D 2 D 1) y 0 where D d
dx
The Auxiliary equation is m 2 m 1 0 m 21 i 23 (a pair of Imaginary roots)
x
The Complete Solution is y e 2 (c1 cos 3
2 x c2 sin 3
2 x)
Example 6. Solve ( D 2 1) 2 ( D 1) y 0
Solution. The Auxiliary equation is ( m 2 1)( m 1) 0 [( m i ) 2 ( m i ) 2 ( m 1)] 0
m i , i ,1
The Complete Solution is y (c1 c2 x ) cos x (c3 c4 x ) sin x c5 e x
Inverse Operator:
The operator 1 is called Inverse operator of the differential operator D. Thus 1 Q ( x) Q ( x )dx
D D
Particular Integral (P.I) of f ( D ) y Q ( x ) :
Consider f ( D ) y Q ( x) (1)
1
f ( D ) Q ( x ) is the function of x, not containing arbitrary constants which when operated upon by f ( D ) gives
Q ( x) i.e., f ( D ) f (1D ) Q ( x) Q ( x)
Thus 1 Q ( x ) satisfies equation (1) and hence it is called Particular Integral of (1)
f ( D)
Clearly, f ( D ) and 1 are inverse operators.
f ( D)
Rules for Finding Particular Integral (P.I)
Consider f ( D ) y Q ( x ) where f ( D ) D n a1 D n 1 a2 D n 2 ........ an 1 D an
Case (i): When Q ( x ) eax (a is real or complex)
P.I f (1D ) Q( x) f (1D ) eax
161
206
e4 x 12 e4 x
The Complete Solution is y C .F . P.I .
y c1e2 x c2e3 x 12 e4 x
Example 9. Solve ( D 3 6 D 2 9 D ) y e 3 x
Solution. Given equation is in the form f ( D ) y Q ( x )
Where f ( D ) D 3 6 D 2 9 D and Q ( x ) e 3 x
The Auxiliary equation is m 3 6m 2 9m 0 m 3, 3, 0
C.F. (c1 c2 x)e 3 x c3
P.I f (1D) Q ( x ) 3 1 2
D 6 D 9 D
e 3 x put D 3
x f (1D) e3 x
∵ f (3) 0
x 1
3 D2 12 D 9
e 3 x put D 3
x 2 f 1(D) e 3 x
∵ f (3) 0
x 2 6 D112 e3 x put D 3
2 3 x
x e6
The Complete Solution is y C .F . P.I .
2 3 x
y (c1 c2 )e3 x c3 x e6
d2y
Example 10. Solve
dx2
6 dy
dx
9 y 6e3 x 7e2 x log 2
Solution. Given equation can be written as ( D 2 6 D 9) y 6e3 x 7e 2 x log 2
The Auxiliary equation is m 2 6m 9 0 m 3,3
C.F. (c1 c2 )e3 x
P.I. 1
D 2 6 D 9
6e3 x 7e 2 x log 2
2 1 6e3 x 2 1 7e2 x log 2 2 1 e0 x
D 6 D 9 D 6 D 9 D 6 D 9
y (c1 c2 )e 3 x 1 5x log2
(log5)2 6log59 9
d2y
Example 12. Solve
dx2
dy
4 dx 5 y 2 cosh x
Solution. Given equation can be written as ( D 2 4 D 5) y 2 cosh x
The Auxiliary equation is m 2 4m 5 0 m 2 i
C.F. e 2 x (c1 cos x c2 sin x)
x e x
P.I f (1D ) Q ( x ) 2 1 (2 cosh x) 2 2 (e )
D 4 D 5 D 4 D 5 2
1 ex 1 1 e x
e x 10 12e x
D 2 4 D 5 D 2 4 D 5
put D 1 put D 1
The Complete Solution is y C.F+P.I
y e 2 x (c1 cos x c2 sin x) 10
1 e x 1 e x
2
Case (ii). When Q ( x) sin( ax b) or cos( ax b)
P.I. f (1D ) Q ( x ) f (1D ) sin(ax b) or cos(ax b) put D 2
a 2
P.I. 1 sin(ax b) or cos(ax b) Provided f ( a 2 ) 0
f ( a2 )
If f ( a 2 ) 0 then P.I. x 1 sin( ax b) or cos( ax b)
f ( D ) put D 2
a 2
P.I x 1 sin(ax b) or cos(ax b) Provided f ( a 2 ) 0
f ( a2 )
If f ( a 2 ) 0 then P.I x 2 1 sin( ax b) or cos( ax b)
f ( D ) put D 2
a 2
Dept. of Mathematics Page 5 of 12
P.I x 2 1 sin( ax b) or cos( ax b) Provided f ( a 2 ) 0
f ( a2 )
If f ( a 2 ) 0 then continue the same process.
Example 13. Solve ( D 4 10 D 2 9) y cos(2 x 3)
Solution. The Auxiliary equation is m 4 10m 2 9 0 m i, 3i
C.F. e0 x (c1 cos x c2 sin x) e0 x (c3 cos 3 x c4 sin 3 x) y
(c1 cos x c2 sin x) (c3 cos 3 x c4 sin 3 x)
P.I. f ( D ) Q ( x ) D 4 10 D 2 9 cos(2 x 3)
1 1
1
( D2 )2 10 D2 9
cos(2 x 3) 1
( 4)2 10 4 9
cos(2 x 3) put D 2 2
a 4
1 cos(2 x 3)
15
The Complete Solution is y C.F+P.I
y (c1 cos x c2 sin x) (c3 cos 3 x c4 sin 3 x) 15
1 cos(2 x 3)
d2y
2 dx y e 2 x cos 2 x
dy
Example 14. Solve 2
dx
Solution. Given equation can be written as ( D 2 2 D 1) y e2 x cos 2 x
The Auxiliary equation is m 2 2m 1 0 m 1, 1
C.F. (c1 c2 x)e x
P.I. f (1D ) Q ( x ) 2 1
D 2 D 1
e 2 x cos 2 x 2 1
D 2 D 1
e2 x 2 1
D 2 D 1
cos 2 x
expand it in ascending powers of D up to the term containing D m , operate on x m term by term ( D m1 x m 0 )
P.I. [11( D )] x m [1 ( D )]1 x m
Note: 1) (1 x) 1 1 x x 2 x 3 x 4 .....
2) (1 x ) 1 1 x x 2 x 3 x 4 .....
3) (1 x) 2 1 2 x 3 x 2 4 x 3 5 x 4 .....
4) (1 x ) 2 1 2 x 3 x 2 4 x 3 5 x 4 .....
Example 16. Solve ( D 2 D ) y x 2 2 x 4
Solution. The Auxiliary equation is m 2 m 0 m m 0, 1
C.F. c1e0 x c2 e x c1 c2e x
P.I. 1
f ( D ) Q( x) 1
D2 D x 2
2 x 4 D (11 D ) x 2 2 x 4 D
1 (1 D ) 1 ( x 2 2 x 4)
1 (1 D D 2 D 3 D 4 ....) 1 ( x 2 2 x 4)
D
1
D
( x 2 2 x 4) D ( x 2 2 x 4) D 2 ( x 2 2 x 4) ∵ D 3 ( x 2 2 x 4) 0
1
D
( x 2 2 x 4) 2 x 2 2 1
D ( x 2 4)
3
x3 4 x
The Complete Solution is y C.F.+P.I.
y c1 c2e x x3 4 x
3
D3 2 D
14 (1 4 )( x 4 3 x 2 5 x 2)
14 1 D2 D4 D8 ( 24D )3 316
D4
2 3
( x 4 3 x 2 5 x 2)
14 x 4 3x 2 5 x 2 4 x
3 6 x 5
12 x4 6 248 x 3(24)
2
2 16
14 x 4 2 x 3 6 x 2 5 x 72 18 24 x 4 4 x3 12 x 2 10 x 7
The Complete Solution is y C.F+P.I
y e x (c1 cos x c2 sin x) c3e 2 x 18 (24 x 4 4 x3 12 x 2 10 x 7)
Example 18. Solve ( D 2 4 D 4) y 8(e 2 x sin 2 x x 2 )
Solution. The Auxiliary equation is m 2 4m 4 0 m m 2, 2
C.F. (c1 c2 x)e 2 x
P.I. 1
f ( D ) Q( x) 8 1 (e 2 x sin 2 x x 2 )
D2 4 D 4
P.I1 1 e2 x P.I 2 1 sin 2 x P.I3 1 x2
D2 4 D 4 D2 4 D 4 D2 4 D 4
x 2 D14 e 2 x ∵ f (2) 0 1 sin 2 x 1
( D 2)2
x2
( 2)2 4 D 4
x.x 12 e2 x ∵ f (2) 0 1
4 D sin 2 x 1
4(1 D2 )2
x2
x 2 12 e 2 x 14 sin 2x 14 (1 D2 ) 2 x 2
14 1 2( D2 ) 3( D2 ) .. x 2
2
18 cos 2 x
14 x 2 Dx 2 34 D 2 x 2
14 ( x 2 2 x 23 )
The Complete Solution is y C.F+P.I
y e x (c1 cos x c2 sin x) c3e 2 x x 2 12 e 2 x 81 cos 2 x 14 ( x 2 2 x 23 )
Case (iv): When Q ( x ) e axV ( x ), where v sin bx or cos bx or x k and 'a ' is real or complex
P.I f (1D ) Q ( x) f (1D ) eaxV ( x)=e ax f ( D1 a ) V ( x)
To find P.I for Q ( x) e axV , take out e ax to the left of f ( D ) and replace every D with D a so that
f ( D ) becomes f ( D a ) and now operate f ( D1 a ) with alone by the previous methods.
1
x 2 = e2 1 D 22 D x 2 = e2 1 D 22 D D 2 x 2
x x 2 x 2
= e2
1
D 2 D
2
1
2
x
2 x
= e2 1 D D2 x 2 = e2 x 2 2 x 1
2
x
P.I=P.I1 +P.I 2 4x sin x 16
1 cos3 x e x 2 2 x 1
2
x
y c1 cos x c2 sin x 4x sin x 16
1 cos 3 x e x 2 2 x 1
1
1
x 2 = I.P of e3 1 4iD3 D x 2
2ix 2
= I.P of e2 ix
3 1 4iD3 D
2
2ix
... x = I.P of e3 1 4iD3 D3 169D
2
= I.P of e3 1 4iD3 D 4iD3 D ... x 2
2 2 2 2ix 2 2
2 ix
= I.P of e3 1 43i D 13 D 2
... x 2 = I.P of e2ix x 2 4i (2 x) 13 (2)
9 3 3 9
9
= I.P of 31 cos 2 x i sin 2 x x 2 26
i 83x 31 x 2 26
9
sin 2 x 83 x cos 2 x
3 9
The Complete Solution is y c1 cos x c2 sin x 1 x 2 26 sin 2 x 8 x cos 2 x
3
Exercise
d3y
1) Solve ( D 3 3D 2 3D 1) y e x 2) Solve y (e x 1)2
dx3
3) Solve ( D 3 1) y 3 5e x
d2y
4 dx 5 y 2 cosh x given y (0) 0 , y (0) 1
dy
4) Solve
dx2
d2y
5) Solve ( D 2)( D 1) 2 y e 2 x 2sinh x 6) Solve p 2 y sinh px
dx2
7) Solve ( D 3 12 D 16) y (e x e2 x ) 2 8) Solve D ( D 1) 2 y 12e x
9) Solve ( D 2 4 D 1) y sin(2 x 3) 10) Solve ( D 2 4) y sin 2 x
11) Solve y 4 y 4 y 4 cos x 3sin x ; y (0) 1 , y(0) 0
12) Solve ( D 2 1) y sin x sin 2 x 13) Solve ( D 3 2 D 2 4 D ) y e 2 x 2 sin 2 x
14) Solve ( D 3 1) y e x sin 3 x 2 15) Solve ( D 2 8 D 9) y 8sin 5 x
16) Solve ( D 4 k 4 ) sin kx 17) Solve ( D 2 3D 2) y x 3 x 2
18) Solve ( D 4 D 3 D 2 ) y 5 x 2 19) Solve ( D 3 D ) y 2 x 1 4 cos x 2e x
(c2 c3 x)e x 9x e 2 x x6 e x 14 e x
2 x 2 px
5) y c1e 6) y c1e c2e px 2xp cosh px
7) y (c1 c2 x )e 2 x c3e 4 x 12
x2 e 2 x 2 e x
27 36x e 4 x 8) y c1 (c2 c3 x )e x 6 x 2 e x
9) y c1e(2 3) x
c2e(2 3) x
731 8 cos(2 x 3) 3 sin(2 x 3)
10) y c1 cos 2 x c2 sin 2 x 18 8x sin 2 x 11) y (1 x )e 2 x sin x
2 12
x
28) y c1e x c2 e x 1 x sin x cos x xe 2 x 2 3 x 3
29) y (c1 c2 x)e x e x x sin x 2 cos x
30) y c1 cos x c2 sin x 1 x 2 sin x x cos x
4
31) y c1e x c2 e x 1 x 2 cos x 2 x sin x
2
32) y (c1 c2 x )e 2 x e 2 x (3 2 x 2 )sin 2 x 4 x cos 2 x
Working Rule
d2y dy
To Solve p dx Qy Q ( x) (1)
dx2
Obtain the complementary function of (1) as C.F c1 y1 ( x) c2 y2 ( x)
y1 y2
Find Wronskian W ( x) y1 y2 y2 y1
y1 y2
y2 ( x )Q ( x) y ( x )Q ( x )
Find P.I y1 ( x) W ( x)
dx y2 ( x) 1 W ( x ) dx
Write the complete solution y C.F+P.I
Example 1. Solve D 2 3D 2 y 1e1 x by the method of variation of parameters.
e x log 1 e x e2 x 1t t dt
put t e x so that dt e x dx
(1t )1
e x log 1 e x e2 x 1t dt e x log 1 e x e 2 x 1 11 t dt
ex log 1 e e t log(1 t )
x 2x
e x log 1 e x e2 x e x log(1 e x )
cos x(sec x tan x x) sin x log(1 sin x)
The Complete Solution is y C.F+P.I
y c1 cos x c2 sin x 1 sin x x cos x sin x log(1 sin x)
or y c1 cos x C2 sin x 1 x cos x sin x log(1 sin x) where C2 c2 1
Example 3. Solve y 2 y y e x log x by the method of variation of parameters
Solution. The Auxiliary Equation is m 2 2m 1 0 (m 1) 2 0 m 1,1
C.F (c1 c2 x)e x
Let y1 e x , y2 xe x , R e x log x
y1 y2 ex xe x
W e2 x 0
y1 y2 (1 x)e
x x
e
y2 ( x )Q ( x) y ( x )Q ( x )
P.I y1 ( x) W ( x)
dx y2 ( x) 1 W ( x ) dx
xe x .ex log x ex .ex log x
e x e2 x dx xe x
e2 x
dx e x x log xdx xe x log xdx
e x x2 log x 1x . x2 dx xe x x log x 1x .xdx
2 2
Dept. of Mathematics Page 2 of 5
e x x2 log x x4 xe x x log x x 14 x 2 e x (2 log x 3)
2 2
Exercise
2. D 2 4 y tan 2 x
d2y d2y
1. y sec x 3. a 2 y cos ecax
dx2 dx2
3x d2y dy x x
4. y 6 y 9 y e 2 5. 2 2 dx y ex 6. y 3 y 2 y ee
x dx
7. D 2 D 1 y e x log x 8. y 2 y 2 y e x tan x
2
Answers.
1. y c1 cos x c2 sin x cos x log(sec x) x sin x
2. y c1 cos 2 x c2 sin 2 x 14 cos 2 x log(sec 2 x tan 2 x)
3. y c1 cos ax c2 sin ax 1 ( x cos ax sin ax log(sin ax))
a2
4. y c1 c2 x e3 x e3 x (1 log x)
x
5. y (c1 c2 x)e x xe x log x 6. y c1e x c2 e2 x ee e 2 x
2 x
7. y c1 c2 x e x x e4 (2 log x 3)
8. y e x c1 cos x c2 sin x e x cos x log(sec x tan x)
d2y 1 dy 1 d 2 y d 2 y d 2 y dy
i.e., 2 2
dz x 2 dz 2
x 2 2 2 - dz
dx x dx dz
x2 D2 y 2 y - y
x 2 D 2 y ( 1) y
x3 D 3 y ( 1)( 2) y
or 2 3 2 y ee
z
11 e ez 12 e ez
11 e z e z ee 12 e e eez
z 2 z 2z
1 e e z e z e 2 z ee e e 1 ee e e 1 ee e
z z z
e z 1 2z z z 2 z 2z
11
2 2
z z
e ee e z dz e 2 z ee e z e z dz e z et dt e 2 z et tdt
z
(put t e z so that dt e z dz )
e 1 e ee e 1
z z z
e z et e2 z et t 1 e z et e2 z ee z z
e 2 z e e z
( ∵t ez )
ee e ee x
z z z z z z 2
e z ee e z ee e2 z ee e 2 z 2 x
e ( ∵ x ez )
The complete solution is y C.F+P.I
y c1 x 1 c2 x 2 x 2 e x +x 2 e x
d2y dy
Example 5. Solve x 2 2 2 x dx 12 y x 3 log x
dx
Solution. Given equation is x 2 D 2 2 xD 12 y x3logx (1)
d
Put x e z i.e., z log x so that xDy y, x 2 D 2 y ( 1) y where = dz
Or 2 12 y e3z z
The Auxiliary Equation is m 2 m 12 0 m 4 m 3 0 m 3, 4
C.F=c1e3 z c2 e4 z c1 x3 c2 x 4
P.I= 1
2 12
e3 z z e3 z 1
( 3)2 ( 3)12
z e3 z 1
2 7 z e3 z 1 z
7 17
1 7 z 7 z 7 7 2 7 7
e7
3z 1 e 1 3z1 e z z x3 (log x )
3z 2 2
log7 x
2
The complete solution is y C.F+P.I
3 (log x )2 log x
y c1 x 3 c2 x 4 x
7 2
7
Exercise
Solve the following
d2y dy d3y 2
2 d y dy
1. x 2 2 3 x dx 4 y 1 x 2 2. x3 3 3 x 2 x dx y x log x
dx dx dx
d2y dy 2
d y dy
3. x 2 2 3 x dx 5 y x 2 sin(log x) 4. x 2 2 2 x dx 12 y x 3 log x
dx dx
d2y dy d2y 2 y
5. x 2 2 x dx y log x sin(log x) 6. x 2 2 x x 12
dx dx x
d3y
dx
d2y
7. x 3 3 2 x 2 2 2 y 10 x 1x
dx
Answers
1. y (c1 c2 log x) x 2 14 1 2 log x x 2
2
2. y x1 2 c1 cos 23 log x c2 sin 23 log x c3 x 1 2x log x
x2 log x cos(log x )
3. y x 2 c1 cos(log x) c2 sin(log x) 2
x 7 log x 2 log x
4. y c1 x3 c2 x 4 98
3 2
Second order linear differential equations with constant coefficients have a variety of
applications in science and engineering.
1. Electrical Circuits
2. Simple Harmonic Motion
3. Bending of Beams
Electrical Circuits (L-C-R Circuits)
Consider an electric circuit containing a resistance R , an inductance L and a capacitance C.
If i is the current in the circuit at any time t , then
i) The potential drop across the resistance is given by ER iR (Ohm’s law)
di
ii) The potential drop across the inductance is given by EL L dt
q
iii) The potential drop across the capacitance is given by EC C where q is the charge in
the given circuit.
The Kirchoff’s Voltage Law states that “In an electric circuit, the sum of voltage drop (potential
drop) is equal to the supplied voltage (e.m.f)”
di E q
i.e., ER EL EC E iR L dt C
q
di iR E
or L dt C
d 2q dq q dq di d 2 q
or L R dt C E
∵ i
dt 2 dt dt dt 2
Example 17.1. In an L C R circuit, the charge q on a plate of condenser is given by
d 2q dq q 1 If initially the
L 2 R dt c E sin pt. The circuit is turned resonance so that p 2 LC
dt
m 21L R R 2 4CL m 2RL R2 1
4 L2 LC
2
m 2RL 14 R
L
1
LC
m 2RL i 1
LC ∵ R is small, R
L L
2
0
m 2RL ip ∵ p 2 1 p 1
LC
LC
Rt
C.F=e 2 L (c1 cos pt c2 sin pt )
Rt
Expanding e 2 L and neglecting higher order terms, we obtain
C.F= 1 2RtL (c1 cos pt c2 sin pt )
1 1
P.I= E sin pt = E sin pt (put D 2 p 2 )
LD RD C1
2
Lp RD C1
2
=E
1
1 C RD 1 C
sin pt ∵ p 2
1
LC
= E 1 E
R D sin pt = - Rp cos pt
The complete solution is q = 1 2RtL (c1 cos pt c2 sin pt ) Rp
E cos pt (1)
dq
The current i = dt = 1 2RtL (c1 sin pt c2 cos pt ) p 2RL (c1 cos pt c2 sin pt ) E
R
sin pt (2)
Initially, q 0 & i 0 when t 0
E ,c E
From (1) and (2),we get c1 Rp 2 2 2 Lp
Substituting the values of c1 and c2 in (3),we get
dq
i = dt = 1 2RtL Rp
E sin pt E cos pt p R E cos pt E sin pt E sin pt
2 Lp2
2 L Rp 2 Lp2
R
RL
2 2
= 2EtL sin pt 4E R
Rp L
cos pt - 4 sin pt
4 Rp2
= 2EtL sin pt
∵R
L
is small, R
L
2
0
Exercise 15.1
1. Find the current i in the L C R circuit assuming zero initial current and charge. If
L 20 henries, C = 0.01 farads,R 80 ohms and E 100 volts
Dept. of Mathematics Page 2 of 3
2. An inductor of 2 henries, resistor of 16 ohms and capacitor of 0.02 mF are connected in
series with battery of e.m.f. E 100sin 3t. At t 0 ,the charge of the capacitor and current
in the circuit are zero.Find the charge and current at t 0
3. A condenser of capacity C discharged through an inductance L and resistance R in
d 2q dq q
series and the charge q at a time t satisfies the equation L R dt c 0 Given
dt 2
dq
that L 0.25 H , R 250 , C 2 10 6 F the current dt 0. Obtain the value of q in
terms of t