Professional Documents
Culture Documents
UNIT-V
Differential Equation:
An equation containing the derivatives of one or more dependent
variables, with respect to one or more independent variables, is said to
be differential equation.
The ‘order’ of a differential equation is the order of the highest
derivative in the equation and the power of highest order derivative
after clearing fractional powers from derivatives in the equation gives
the ‘degree’ of differential equation.
Examples:
i) 𝑥̈ = −𝑛2 𝑥
[1+(𝑦′)2 ]3/2
ii) =𝑎
𝑦"
If the differential equation contains partial derivatives of one or more
dependent variables of two or more independent variables, equation is
known as PDE.
Examples:
i) 𝑢𝑥𝑥 + 𝑢𝑦𝑦 = 0
ii) 𝑐 2 𝑢𝑥𝑥 = 𝑢𝑡
Case (i) Let the roots of auxiliary equation be real and distinct say
𝑚 = 𝑚1 , 𝑚2 . The general solution of above equation is given by
𝑦 = 𝑐1 𝑒 𝑚1𝑥 + 𝑐2 𝑒 𝑚2 𝑥
First Semester LDE of Higher Order
Department of Mathematics
Case (ii) Let the roots of auxiliary equation be real and repeated say
𝑚 = 𝑚1 , 𝑚1 . The general solution of above equation is given by
𝑦 = 𝑐1 𝑒 𝑚1𝑥 + 𝑐2 𝑥𝑒 𝑚1 𝑥
Case (iv) If the ODE is fourth order and the roots of auxiliary equation
are complex repeated
say 𝑚 = 𝛼 ± 𝑖𝛽, 𝑚 = 𝛼 ± 𝑖𝛽 .The general solution of equation is
given by
𝑦 = 𝑒 𝛼𝑥 [(𝑐1 + 𝑐2 𝑥)𝑐𝑜𝑠𝛽𝑥 + (𝑐3 + 𝑐4 𝑥)𝑠𝑖𝑛𝛽𝑥]
Examples:
𝑑2 𝑦 𝑑𝑦
1. Solve: 2 𝑑𝑥 2 − 5 𝑑𝑥 − 3𝑦 = 0
Solution: The auxiliary equation is given by 2𝑚2 − 5𝑚 − 3 = 0
1
The roots are 𝑚 = − 2 , 𝑚 = 3 . The roots are real and distinct the
general solution of given ODE is
1
𝑦 = 𝑐1 𝑒 −(2)𝑥 + 𝑐2 𝑒 3𝑥
𝑑2 𝑦 𝑑𝑦
2. Solve: − 10 𝑑𝑥 + 25𝑦 = 0
𝑑𝑥 2
Solution: The auxiliary equation is given by (𝑚 − 5)2 = 0
First Semester LDE of Higher Order
Department of Mathematics
The roots are 𝑚 = 5, 5 as the roots are real and repeated the general
solution of given ODE is 𝑦 = 𝑐1 𝑒 5𝑥 + 𝑐2 𝑥𝑒 5𝑥
𝑑2 𝑦 𝑑𝑦
3. Solve: 𝑑𝑥 2 + 4 𝑑𝑥 + 7𝑦 = 0
Solution: The auxiliary equation is given by 𝑚2 + 4𝑚 + 7 = 0
The roots are 𝑚 = −2 ± √3𝑖 which are complex, hence the general
solution is given by
y=e-2x [c1 cos(√3x) +c2 sin(√3x) ]
4. Solve: (𝐷3 + 1)𝑦 = 0
Solution: The auxiliary equation is given by 𝑚3 + 1 = 0
1 √3
The roots are 𝑚 = −1, ±𝑖 , hence the general solution is given by
2 2
1 √3 √3
y=c1 e-x +e(2)x [c1 cos ( x) +c2 sin ( x)]
2 2
5. Solve: (𝐷4 2
+ 8𝐷 + 16)𝑦 = 0
Solution: The auxiliary equation is given by 𝑚4 + 8𝑚2 + 16 = 0,
(𝑚2 + 4)2 = 0
The roots are complex repeated 𝑚 = ±2𝑖, ±2𝑖, hence the general
solution is given by
𝑦 = [(𝑐1 + 𝑐2 𝑥)cos (2𝑥) + (𝑐3 + 𝑐4 𝑥)sin (2𝑥) ]
𝑑2 𝑥 𝑑𝑥
6. Solve the initial value problem +5 + 6𝑥 = 0 , given
𝑑𝑡 2 𝑑𝑡
𝑑𝑥
that 𝑥(0) = 0, 𝑑𝑡 (0) = 15.
Solution: The auxiliary equation is given by 𝑚2 + 5𝑚 + 6 = 0
The roots are 𝑚 = −3, −2, hence the general solution is given by
𝑥 = 𝑐1 𝑒 −3𝑡 + 𝑐2 𝑒 −2𝑡
Using the given initial conditions, we find that 𝑐1 + 𝑐2 = 0 and 2𝑐1 +
3𝑐2 = −15
First Semester LDE of Higher Order
Department of Mathematics
Solve ( D3 − D2 − D + 1) y = 0 , where D
d
4 .
dx
Answer: y = ( c1 + c2 x ) e + c3e .
x −x
d3y d2y dy
5 Solve 3
− 2 2 + 4 − 8y = 0 .
dx dx dx
( )
given that y (0) = 1, y 2 = 2 .
Answer: y = cos x + 2sin x .
d 2 y dy dy(0)
2
+ 5 + 6 y = 0; y(0) = 0, = 15.
dt dt dt
𝑥2
If 𝐹′(𝑎) = 0 then 𝑦𝑝 = 𝑘 [𝐹′′ (𝐷)] 𝑒 𝑎𝑥 , provided 𝐹 ′′ (𝑎) ≠ 0 and so
𝐷=𝑎
on
ii) Let 𝑔(𝑥) = sin(𝑎𝑥 + 𝑏) 𝑜𝑟 cos (𝑎𝑥 + 𝑏)
1 1
𝑦𝑝 = 𝐹(𝐷2) sin(𝑎𝑥 + 𝑏) 𝑜𝑟 𝐹(𝐷2) cos(𝑎𝑥 + 𝑏)
1 1
= 𝐹(−𝑎2) sin(𝑎𝑥 + 𝑏) 𝑜𝑟 𝐹(−𝑎2) cos (𝑎𝑥 + 𝑏),
provided 𝐹(−𝑎2 ) ≠ 0
𝑥 𝑥
If 𝐹(−𝑎2 ) = 0, 𝑦𝑝 = 𝐹′ (−𝑎2) sin(𝑎𝑥 + 𝑏) 𝑜𝑟 𝐹′ (−𝑎2) cos (𝑎𝑥 + 𝑏),
provided 𝐹 ′ (−𝑎2 ) ≠ 0
1 𝑥
Particular case: (𝐷2 +𝑎2 )
cos (𝑎𝑥 + 𝑏) = 2𝑎 sin (𝑎𝑥 + 𝑏)
1 𝑥
(𝐷 2 +𝑎2 )
sin(𝑎𝑥 + 𝑏) = − 2𝑎 cos (𝑎𝑥 + 𝑏)
1
iii) Let 𝑔(𝑥) = 𝑥 𝑚 then 𝑦𝑝 = 𝐹(𝐷) 𝑥 𝑚 = [𝐹(𝐷)]−1 𝑥 𝑚
Expanding the right hand side as a binomial series, the particular
integral can be obtained. The following series expansions are useful:
(1 + 𝐷)−1 = 1 − 𝐷 + 𝐷2 − 𝐷 3 + ⋯
(1 − 𝐷)−1 = 1 + 𝐷 + 𝐷2 + 𝐷 3 + ⋯
(1 + 𝐷)−2 = 1 − 2𝐷 + 3𝐷2 − 4𝐷3 + ⋯
(1 − 𝐷)−2 = 1 + 2𝐷 + 3𝐷2 + 4𝐷3 + ⋯
iv) Let 𝑔(𝑥) = 𝑒 𝑎𝑥 𝑉(𝑥) where 𝑉(𝑥) is function of ‘x’
1 1
𝑦𝑝 = 𝐹(𝐷) 𝑒 𝑎𝑥 𝑉(𝑥) = 𝑒 𝑎𝑥 𝐹(𝐷+𝑎) 𝑉(𝑥)
The right hand side can be evaluated by earlier methods.
Examples:
1. Solve: (𝐷 − 2)2 𝑦 = 8(𝑒 2𝑥 + 𝑠𝑖𝑛2𝑥 + 𝑥 2 )
1 1 1
(𝐷−2)2
𝑠𝑖𝑛2𝑥 = (𝐷2−𝐷+4) 𝑠𝑖𝑛2𝑥 = −4−4𝐷+4 sin 2𝑥
1 1 1
=- sin2x=- ∫ sin(2x) dx= cos2x
4D 4 8
1 2
1 𝐷 -2 2 1 2D 3D2 2
1 2 3
x = (− ) x = (1+ + +…) x = (x +2x+ )
(D-2)2 4 2 4 2 4 4 2
∴ 𝑦𝑝 = 4𝑥 2 𝑒 2𝑥 + 𝑐𝑜𝑠2𝑥 + 2𝑥 2 + 4𝑥 + 3
Hence, the general solution of given equation is 𝑦 = 𝑦𝑐 + 𝑦𝑝
𝑦 = 𝑐1 𝑒 2𝑥 + 𝑐2 𝑥𝑒 2𝑥 + 4𝑥 2 𝑒 2𝑥 + 𝑐𝑜𝑠2𝑥 + 2𝑥 2 + 4𝑥 + 3
2. Solve: 𝑦 ′′ − 4𝑦 = cosh(2𝑥 − 1) + 3𝑥
Solution: The auxiliary equation and its roots are: 𝑚2 − 4 = 0 𝑚 =
+2, −2
∴ 𝑦𝑐 = 𝑐1 𝑒 −2𝑥 + 𝑐2 𝑒 2𝑥
The particular integral is obtained as follows:
1 1
𝑦𝑝 = cosh(2𝑥 − 1) + 2 3𝑥
(𝐷2 − 4) (𝐷 − 4)
1 1 𝑒 2𝑥−1 +𝑒 −2𝑥+1 1
Now (𝐷2−4) cosh(2𝑥 − 1) = 2 [ ] = 8 (𝑥𝑒 2𝑥−1 − 𝑥𝑒 −2𝑥+1 )
𝐷 2 −4
1 1 1
(𝐷 2 −4)
3𝑥 = (𝐷2−4) 𝑒 𝑥𝑙𝑜𝑔(3) = [(𝑙𝑜𝑔3)2−4] 3𝑥
Hence, the solution of given equation is 𝑦 = 𝑦𝑐 + 𝑦𝑝
1 1
∴y=c1 e-2x +c2 e2x + (xe2x-1 -xe-2x+1 )+ 3x
8 [(log3)2 -4]
3. Solve: 𝑦 ′′ − 2𝑦 ′ + 𝑦 = x𝑒 𝑥 𝑠𝑖𝑛𝑥
Solution: The auxiliary equation and its roots are: 𝑚2 − 2𝑚 + 1 = 0
𝑚 = 1, 1
∴ 𝑦𝑐 = 𝑐1 𝑒 𝑥 + 𝑐2 𝑥𝑒 𝑥
The particular integral is obtained as follows:
1 1 1
𝑦𝑝 = [(𝐷−1)2] 𝑒 𝑥 𝑥𝑠𝑖𝑛𝑥 = 𝑒 𝑥 [𝐷+1−1]2 𝑥𝑠𝑖𝑛𝑥 = 𝑒 𝑥 𝐷2 𝑥𝑠𝑖𝑛𝑥
Integrating right hand side twice by using the rule of parts we obtain:
𝑦𝑝 = −𝑒 𝑥 (𝑥𝑠𝑖𝑛𝑥 + 2𝑐𝑜𝑠𝑥)
∴ 𝑦 = 𝑐1 𝑒 𝑥 + 𝑐2 𝑥𝑒 𝑥 − 𝑒 𝑥 (𝑥𝑠𝑖𝑛𝑥 + 2𝑐𝑜𝑠𝑥)
𝑚 = −1, − 1, −1
∴ 𝑦𝑐 = 𝑐1 𝑒 −𝑥 + 𝑐2 𝑥𝑒 −𝑥 + 𝑐3 𝑥 2 𝑒 −𝑥
1 1 𝑥 3 𝑒 −𝑥
Now (𝐷+1)3 𝑒 −𝑥 = 𝑥 2 [6(𝐷+1)] 𝑒 −𝑥 =
𝐷=−1 6
1
𝑦𝑝 = 𝑅𝑒(𝑥𝑒 𝑖𝑥 )
𝐷2 +9
1
= 𝑅𝑒 2 (𝑥𝑒 𝑖𝑥 )
𝐷 +9
1
= 𝑅𝑒 𝑒 𝑖𝑥 (x)
(𝐷 + 𝑖)2 + 9
1
𝑦𝑝 = 𝑅𝑒 𝑒 𝑖𝑥 2 (x)
𝐷 + 2𝑖𝐷 + 8
1
= 𝑅𝑒 𝑒 𝑖𝑥 (x)
𝑖𝐷
8 (1 + 4 )
𝑒 𝑖𝑥 𝑖𝐷 −1
= 𝑅𝑒 (1 + ) (x)
8 4
𝑖𝑥
𝑒 𝑖𝐷
𝑦𝑝 = 𝑅𝑒 (1 − ) (x)
8 4
cos 𝑥 + 𝑖 𝑠𝑖𝑛 𝑥 𝑖
= 𝑅𝑒 (𝑥 − )
8 4
1
= (4𝑥 cos 𝑥 + sin 𝑥 )
32
8. Find the particular integral of (𝐷2 − 4𝐷 + 4)𝑦 = 𝑥 2 𝑒 3𝑥 + sin2 𝑥
Solution: The particular integral is given by:
1
𝑦𝑝 = (𝐷−2)2 [𝑥 2 𝑒 3𝑥 + sin2 𝑥 ]
1 2 3𝑥 ]
1
= [𝑥 𝑒 + [sin2 𝑥]
(𝐷 − 2)2 (𝐷 − 2)2
1
Now, (𝐷−2)2 [𝑥 2 𝑒 3𝑥 ]
1
= 𝑒 3𝑥 [𝑥 2 ]
(𝐷 + 3 − 2)2
1
= 𝑒 3𝑥 [𝑥 2 ]
(𝐷 + 1)2
= 𝑒 3𝑥 (1 + 𝐷)−2 [𝑥 2 ]
= 𝑒 3𝑥 (1 − 2𝐷 + 3𝐷2 )[𝑥 2 ]
= 𝑒 3𝑥 (𝑥 2 − 4𝑥 + 6)
and
1
[sin2 𝑥]
(𝐷−2)2
1 1 − cos 2𝑥
= 2
[ ]
(𝐷 − 2) 2
1 1 1 1
= 2
[ 𝑒 0𝑥 ] − 2
[ cos 2𝑥]
(𝐷 − 2) 2 (𝐷 − 2) 2
1 1 1 1
= 2
[ 𝑒 0𝑥 ] − 2 [ cos 2𝑥]
(0 − 2) 2 𝐷 − 4𝐷 + 4 2
1 1 1
= − . 2 [cos 2𝑥]
8 2 2 − 4𝐷 + 4
1 1 1 1
= + [cos 2𝑥] = + sin 2𝑥
8 8𝐷 8 16
3𝑥 (𝑥 2 1 1
∴ 𝑦𝑝 = 𝑒 − 4𝑥 + 6) + 8 + 16 sin 2𝑥
Exercise:
𝑑2 𝑦 𝑑𝑦
1. Solve + 2 𝑑𝑡 + 𝑦 = 2𝑒 2𝑡 .
𝑑𝑡 2
2
Answer: 𝑦 = (𝑐1 + 𝑐2 𝑡)𝑒 −𝑡 + 9 𝑒 2𝑡
d 3 y d 2 y dy
3. Solve + − − y = cos 2 x .
dx3 dx 2 dx
1
Answer: y = ae x + (b + cx)e− x − (2sin 2 x + cos 2 x)
25
4. Solve ( D3 − D 2 − 6D ) x = 1 + t 2 .
1
Answer: x = a + be3t + ce−2t − (25t − 3t 2 + 6t 3 )
108
d 2 y dy
5. Solve 2
+ 3 + 2 y = e2 x sin x .
dx dx
1 2x
Answer: y = ae− x + be−2 x − e (7 cos x − 11sin x)
170
6. Solve (D4 + 4) y = sin 2 x .
1
Answer: y = a cos 2 x + b sin 2 x + (1 − x sin 2 x)
8
d2y dy
7. Solve 2
− 6 + 9 y = e3x ( x2 + 7 x + 5) .
dx dx
1 4 2 3x
Answer: y = a + bx + ( x + 14 x + 30 x ) e
3
12
2
d y
8. Solve − 4 y = x sinh x.
dx2
x 2
Answer: y = ae2 x + be−2 x − sinh x − cosh x
3 9
9. Solve (D2 − 4D + 4) y = 8x2e2 x sin 2x .
Answer: y = ( a + bx(3 − 2 x 2 )sin 2 x − 4 x cos 2 x ) e2 x
Examples:
y2 g(x) tan(ax) 1
A(x)=- ∫ dx+k 1 =- ∫ dx+k 1 =- 2 log[cos(ax)] +k 1
W a a
y1 g(x) 1 x
B(x)= ∫ dx+k 2 = ∫ dx+ k 2 = +k 2
W a a
y2 g(x)
A(x) =- ∫ dx+k 1
W
1
=- ∫ z 2 cos(z) dz+k 1 ,
2
𝑤ℎ𝑒𝑟𝑒 𝑧 = 𝑒 −𝑥 , and 𝑑𝑧 = −𝑒 −𝑥 𝑑𝑥
Integrating by rule of parts obtain:
1
A(x) = - e-2x sin(e-x ) -e-x cos(e-x ) + sin(e-x ) +k 1
2
y g(x)
B(x) = ∫ 1W dx+k 2
1 1
= ∫ cos(z)dz+ k 2 = sin(e-x ) +k 2 , where z= e-x
2 2
The complete solution of given ODE is 𝑦 = 𝐴(𝑥)𝑦1 + 𝐵(𝑥)𝑦2
Exercise:
1
Answer: x = a cos 2t + b sin 2t − cos 2t log(sec 2t + tan 2t )
4
d2y 2
2. Solve −y= by the method of variation of parameters.
dx 2
1 + ex
Answer: y = ae
x
+ be− x −1 + ex log(e− x + 1) − e− x log(ex + 1) .
Cauchy-Euler equation:
The linear ODE of the form
(𝑎0 𝑥 𝑛 𝐷𝑛 + 𝑎1 𝑥 𝑛−1 𝐷 𝑛−1 + 𝑎2 𝑥 𝑛−2 𝐷𝑛−2 + ⋯ + 𝑎𝑛−1 𝑥𝐷 + 𝑎𝑛 )𝑦
= 𝑔(𝑥)
where 𝑎0 , 𝑎1 , ⋯ 𝑎𝑛 are constants, is known as ‘Cauchy-Euler’ or
equidimensional equation.
First Semester LDE of Higher Order
Department of Mathematics
Examples:
𝑑2 𝑦 𝑑𝑦
1. Solve: 4𝑥 2 𝑑𝑥 2 + 8𝑥 𝑑𝑥 + 𝑦 = 0
Solution: The given ODE is second order Euler equation.
Put 𝑥 = 𝑒 𝑧 , then 𝑥𝐷𝑦 = 𝐷1 𝑦, 𝑥 2 𝐷2 𝑦 = 𝐷1 (𝐷1 − 1)𝑦
The given equation reduces to (𝐷1 2 + 4𝐷1 + 1)𝑦 = 0
The auxiliary equation and its roots are 𝑚2 + 4𝑚 + 1 = 0,
1 1
𝑚 = −2,−2
1 1
The general solution of given ODE is 𝑦 = 𝑐1 𝑒 −(2)𝑧 + 𝑐2 𝑧𝑒 −(2)𝑧 ,
where 𝑧 = log (𝑥)
𝑑2 𝑦 𝑑𝑦
2. Solve: 𝑥 2 𝑑𝑥 2 − 𝑥 𝑑𝑥 + 𝑦 = log (𝑥)
Fig (1)
1. The displacement ‘x’ of a particle executing simple harmonic
motion (SHM) is given
by 𝑥̈ = −𝑛2 𝑥. Where n2, is a force constant. Solve this equation under
𝑑𝑥
the initial conditions 𝑥 = 𝑎 and = 0, at 𝑡 = 0.
𝑑𝑡
𝑑
Solution: The given ODE is (𝐷1 2 + 𝑛2 )𝑥 = 0, where 𝐷1 = 𝑑𝑡
The auxiliary equation and its roots are 𝑚2 − 𝑛2 = 0
𝑚 = ±𝑛𝑖
Fig (2)
1 𝑑2 𝑞 𝑑𝑞
Solution: The given ODE is 4 𝑑𝑡 2 + 10 𝑑𝑡 + 1000𝑞 = 0
𝑑2 𝑞 𝑑𝑞
or 𝑑𝑡 2 + 40 𝑑𝑡 + 4000𝑞 = 0
The auxiliary equation and its roots are 𝑚2 + 40𝑚 + 4000 = 0,
𝑚 = −20 ± 60𝑖
The general solution is given by 𝑞 = 𝑞(𝑡)
= 𝑒 −20𝑡 [𝑐1 cos(60𝑡) + 𝑐2 sin(60𝑡)]
First Semester LDE of Higher Order
Department of Mathematics
Video links:
https://www.youtube.com/watch?v=V9bl02Ffo_o