Module-4 MAT1001-1
Module-4 MAT1001-1
Example
dy 2
1. ( dx ) + y + 1 = 0 is the differential equation of order one and degree two.
d2 y
2. dx2 + ax = 0 is the differential equation of order two and degree one.
The solution of a differential equation is a relation between the dependent and independent
variables satisfying the given equation identically.
The general form of first order and first degree differential equation is
dy
dx
= f (x, y)
(or)
M (x, y) dx + N (x, y) dy = 0
The differential equations of first order and first degree are mainly classified into four types as
follows
1
Higher order Differential Equation with constant
coefficients
A differential equation is said to be a linear if the dependent variable and its derivatives are
of first degree.
dn y dn−1 y dn−2 y dy
A differential equation of the form dx n +a1 dxn−1 +a2 dxn−2 +...+an−1 dx +an y = Q (x) → (15)
th
(where a1 ,a2 ,...,an are all constants) is called a linear differential equation of n order with
constant co-efficients.
d d2 dn
Notation of differential operators are D = dx , D2 = dx 2, . . . , D
n
= dx n.
D2 + a1 D + a2 y = Q (x)
f (D) y = Q (x)
where f (D) = D2 + a1 D + a2
3. If m1 and m2 be the roots of the auxiliary equation, then the complementary function is
2
Method of Finding Particular Integral
1
P.I. = Q (x)
f (D)
f (m) = 0
m2 − 5m + 4 = 0
(m − 1) (m − 4) = 0
m − 1 = 0, m − 4 = 0
m = 1, m = 4
i.e.m1 = 1, m2 = 4 ( Roots are real and distinct)
∴ C.F. = C1 em1 x + C2 em2 x
C.F. = C1 ex + C2 e4x
f (m) = 0
m2 − 6m + 9 = 0
(m − 3) (m − 3) = 0
m − 3 = 0, m − 3 = 0
m = 3, m = 3
m=3 ( Roots are real and same)
∴ C.F. = (C1 + C2 x) emx
C.F. = (C1 + C2 x) e3x
3
The auxiliary equation is
f (m) = 0
m2 + 9 = 0
m2 = −9
m = ±3i
m = 0 ± 3i ( Roots are complex)
∴ C.F. = eαx (C1 cosβx + C2 sinβx)
= e0 (C1 cos3x + C2 sin3x) ( Here α = 0 and β = 3)
= C1 cos3x + C2 sin3x
1
P.I. = Q(x)
f (D)
1 ax
= e
f (D)
1 ax if f (a) ̸= 0
x f (a) e ,
= ′ eax , if f (a) = 0
f (D)
′′ ′
1. Solve y + 5y + 6y = 2e−x .
Solution
′′ ′
Given y + 5y + 6y = 2e−x
d2 y dy
dx2
+ 5 dx + 6y = 2e−x
(D2 + 5D + 6) y = 2e−x
Here f (D) = D2 + 5D + 6 and Q (x) = 2e−x
The auxiliary equation is
f (m) = 0
m2 + 5m + 6 = 0
(m + 2) (m + 3) = 0
m + 2 = 0, m + 3 = 0
m = −2, m = −3
i.e. m1 = −2, m2 = −3 ( Roots are real and distinct)
∴ C.F. = C1 em1 x + C2 em2 x
C.F. = C1 e−2x + C2 e−3x
4
1
P.I. = Q (x)
f (D)
1
= 2 2e−x
D + 5D + 6
1
=2 2 e−x
D + 5D + 6
1
=2 2 e−x (Replace D by a = −1 in f (D))
(−1) + 5 (−1) + 6
1 −x
=2 e
2
= e−x
y = C.F. + P.I.
y = C1 e−2x + C2 e−3x + e−x
f (m) = 0
m2 − 6m + 9 = 0
(m − 3) (m − 3) = 0
m − 3 = 0, m − 3 = 0
m = 3, m = 3
m=3 ( Roots are real and same)
∴ C.F. = (C1 + C2 x) emx
C.F. = (C1 + C2 x) e3x
5
1
P.I1 = 6e3x
f (D)
1
=6 2 e3x
D − 6D + 9
x
e3x Since f (3) = (3)2 − 6(3) + 9 = 0
=6
2D − 6(1) + 0
x
=6 e3x
2D − 6
x2
=6 e3x (Since f (3) = 2(3) − 6 = 0)
2(1) − 0
2
x
=6 e3x
2
= 3x2 e3x
1
−log2 × e0x
P.I2 =
f (D)
1
= −log2 2 e0x
D − 6D + 9
1
= −log2 e0x (Replace D by a = 0 in f (D))
0 − 6(0) + 9
1 0x
= − (log2) e
9
log2
=−
9
6
The auxiliary equation is
f (m) = 0
m2 − 8m + 16 = 0
(m − 4) (m − 4) = 0
m − 4 = 0, m − 4 = 0
m = 4, m = 4
m=4 ( Roots are real and same)
∴ C.F. = (C1 + C2 x) emx
C.F. = (C1 + C2 x) e4x
1
P.I = 3e4x
f (D)
1
=3 2 e4x
D − 8D + 16
x
e4x Since f (4) = (4)2 − 8(4) + 16 = 0
=3
2D − 8(1) + 0
x
=3 e4x
2D − 8
x2
=3 e4x (Since f (4) = 2(4) − 8 = 0)
2(1) − 0
3
= x2 e4x
2
y = C.F. + P.I
3
y = (C1 + C2 x) e4x + x2 e4x → (16)
2
3
0 = (C1 + C2 (0)) e0 + (0) e0
2
0 = C1 + 0
C1 = 0
7
Substitute x = 2 in (16), we get
3
0 = (C1 + C2 (2)) e4×2 + (2)2 e4×2
2
0 = (0 + C2 (2)) e8 + 6e8
0 = 2e8 (C2 + 3)
C2 + 3 = 0
C2 = −3
3
y = (0 − 3x) e4x + x2 e4x
2
3
y = −3xe4x + x2 e4x
2
Practice Problems
1. Solve (D2 − 4) y = cosh (2x − 1) + 3x .
3x
Ans: y = C1 e2x + C2 e−2x + 18 xex2−1 − 18 xe−x2+1 + (log3)2 −4
.
1
P.I. = Q(x)
f (D)
1
= cosax or sinax
f (D)
8
The auxiliary equation is
f (m) = 0
m2 + 4 = 0
m2 = −4
m = ±2i
m = 0 ± 2i ( Roots are complex)
∴ C.F. = eαx (C1 cosβx + C2 sinβx)
= e0 (C1 cos2x + C2 sin2x) ( Here α = 0 and β = 2)
= C1 cos2x + C2 sin2x
1
P.I. = Q (x)
f (D)
1
= 2 cos3x
D +4
1
Replace D2 by − a2 = − 32 = −9 in f (D)
= cos3x
−9 + 4
1
= cos3x
−5
y = C.F. + P.I.
1
y = C1 cos2x + C2 sin2x − cos3x
5
9
The auxiliary equation is
f (m) = 0
m2 + 9 = 0
m2 = −9
m = ±3i
m = 0 ± 3i ( Roots are complex)
∴ C.F. = eαx (C1 cosβx + C2 sinβx)
= e0 (C1 cos3x + C2 sin3x) ( Here α = 0 and β = 3)
= C1 cos3x + C2 sin3x
1 1 0x
P.I1 = e
f (D) 2
1 1
= 2
e0x
2D +9
1 1 0x
= e (Replace D by a = 0 in f (D))
2 0+ 9
1 1 0x
= e
2 9
1
=
18
1
P.I2 = Q (x)
f (D)
1 1
= 2 − cos2x
D +9 2
1 1
=− cos2x
2 D2 + 9
1 1
Replace D2 by − a2 = − 22 = −4 in f (D)
=− cos2x
2 −4 + 9
11
= − cos2x
25
1
= − cos2x
10
Practice Problems
10
1. Solve (D2 +D + 1)y = sin2x.
1
√ √
Ans: y = e 2 C1 cos 2 + C2 sin 23x
x 3x
− 1
13
[2 cos2x + 3 sin3x].
2. Solve (D2 + 4) y = cos2x.
Ans: y = C1 cos2x + C2 sin2x + xsin2x
4
.
1
P.I. = Q(x)
f (D)
1 ax
= e f (x)
f (D)
1
= eax f (x)
f (D + a)
f (m) = 0
m2 − 2m + 5 = 0
√
−b ± b2 − 4ac
m=
√ 2a
2 ± 4 − 20
m= (Here a = 1, b = −2 and c = 5 )
√ 2
2 ± −16
m=
2
2 ± 4i
m=
2
2(1 ± 2i)
m=
2
m = 1 ± 2i ( Roots are complex)
∴ C.F. = eαx (C1 cosβx + C2 sinβx)
= ex (C1 cos2x + C2 sin2x) ( Here α = 1 and β = 2)
11
1
P.I. = Q (x)
f (D)
1
= 2 e2x sinx
D − 2D + 5
1
= e2x 2 sinx (Replace D by D + a = D + 2 in f (D))
(D + 2) − 2 (D + 2) + 5
1
= e2x 2 sinx
D + 4D + 4 − 2D − 4 + 5
1
= e2x 2 sinx
D + 2D + 5
1
= e2x Replace D2 by − a2 = −1
sinx
−1 + 2D + 5
1
= e2x sinx
2D + 4
1 2D − 4
= e2x sinx
2D + 4 2D − 4
2D − 4
= e2x sinx
(2D)2 − (4)2
2D − 4
= e2x 2 sinx
4D − 16
2D − 4
= e2x Replace D2 by − a2 = −1
sinx
4 (−1) − 16
2x
e
= [2D (sinx) − 4sinx]
−20
e2x
= [2cosx − 4sinx]
−20
2e2x
= [cosx − 2sinx]
−20
e2x
=− [cosx − 2sinx]
10
y = C.F. + P.I.
e2x
y = ex (C1 cos2x + C2 sin2x) − [cosx − 2sinx]
10
′′ ′
2. Solve y + 2y + 3y = ex cosx.
Solution
′′ ′
Given y + 2y + 3y = ex cosx
d2 y dy
dx2
+ 2 dx + 3y = ex cosx
(D2 + 2D + 3) y = ex cosx
Here f (D) = D2 + 2D + 3 and Q(x) = ex cosx
12
The auxiliary equation is
f (m) = 0
m2 + 2m + 3 = 0
√
−b ±b2 − 4ac
m=
√2a
−2 ± 4 − 12
m= (Here a = 1, b = 2 and c = 3 )
√2
−2 ± −8
m=
2 √
−2 ± 2 2i
m=
2 √
2(−1 ± 2i)
m=
2
√
m = −1 ± 2i ( Roots are complex)
∴ C.F. = eαx (C1 cosβx + C2 sinβx)
√ √ √
= e−x C1 cos 2x + C2 sin 2x Here α = −1 and β = 2
1
P.I. = Q (x)
f (D)
1
= 2 ex cosx
D + 2D + 3
1
= ex 2 cosx (Replace D by D + a = D + 1 in f (D))
(D + 1) + 2 (D + 1) + 3
1
= ex 2 cosx
D + 2D + 1 + 2D + 2 + 3
1
= ex 2 cosx
D + 4D + 6
1
= ex Replace D2 by − a2 = −1
cosx
−1 + 4D + 6
1
= ex cosx
4D + 5
1 4D − 5
= ex cosx
4D + 5 4D − 5
4D − 5
= ex cosx
(4D)2 − (5)2
4D − 5
= ex cosx
16D2 − 25
4D − 5
= ex Replace D2 by − a2 = −1
cosx
16 (−1) − 25
x
e
= [4D (cosx) − 5cosx]
−41
ex
= [−4sinx − 5cosx]
−41
ex
= [4sinx + 5cosx]
41
13
∴ The general solution is
y = C.F. + P.I.
√ √ ex
y = e−x C1 cos 2x + C2 sin 2x + [4sinx + 5cosx]
41
Practice Problems
′′ ′
1. Solve y − 2y + 2y = ex cosx. Ans: y = ex (C1 cosx + C2 sinx) − 21 xex sinx.
and so on.
After making substitution in (17), there results a linear equation with constant co-efficients.
2
d y dy
1. Solve x2 dx2 − x dx + y = x.
Solution
2
d y dy
Given x2 dx 2 − x dx + y = x.
dy d2 y d
Put x = et or t = logx, so that x dx = Dy, x2 dx 2 = D(D − 1)y where D = dt
.
Then the given equation becomes
D(D − 1)y − Dy + y = et
D2 − D − D + 1 y = et
D2 − 2D + 1 y = et
14
The auxiliary equation is
f (m) = 0
m2 − 2m + 1 = 0
(m − 1) (m − 1) = 0
m − 1 = 0, m − 1 = 0
m = 1, m = 1
m=1 ( Roots are real and same)
∴ C.F. = (C1 + C2 t) emt
C.F. = (C1 + C2 t) et
1
P.I = Q(t)
f (D)
1
= 2 et
D − 2D + 1
t
et Since f (1) = (1)2 − 2(1) + 1 = 0
=
2D − 2(1) + 0
t
= et
2D − 2
t2
= et (Since f (1) = 2(1) − 2 = 0)
2(1) − 0
2
t
= et
2
2
t t
y=(C1 + C2 t) e + 2
et
Practice Problems
d2 y dy
1. Solve x2 dx 2
2 + 4x dx + 2y = x .
15
Legendre’s Linear Equation
n n−1
A differential equation of the form (ax + b)n dxd y
n +k1 (ax + b)
n−1 d y
dxn−1
dy
+...+kn−1 (ax + b) dx +
kn y = X (x) → (18) (where k1 ,k2 ,...,kn are all constants) is called Legendre’s Linear Equation.
Such equation can be reduced to linear differential equations with constant co-efficients, by
putting ax + b = et or t = log (ax + b). Then if D = dtd
dy
(ax + b) dx = aDy,
2 d2 y
(ax + b) dx2 = a2 D(D − 1)y,
d2 y
(ax + b)3 dx 3
2 = a D(D − 1)(D − 2)y
and so on.
After making substitution in (18), there results a linear equation with constant co-efficients.
d2 y
1. Solve (1 + x)2 dx dy
2 + (1 + x) dx + y = 2sin [log (1 + x)].
Solution
2
Given (1 + x)2 dxd y dy
2 + (1 + x) dx + y = 2sin [log (1 + x)].
f (m) = 0
m2 + 1 = 0
m2 = −1
m = ±i,
m=0±i ( Roots are complex)
∴ C.F. = eαt (C1 cosβt + C2 sinβt)
= e0 (C1 cost + C2 sint) ( Here α = 0 and β = 1)
= C1 cost + C2 sint
16
1
P.I = Q(t)
f (D)
1
= 2 2sint
D +1
t
Since −(1)2 + 1 = 0
=2 sint
2D
t 1
=2 (sint)
2D
= −tcost
D2 y + 4y = tan 2x
(D2 + 4) y = tan2x
Here f (D) = D2 + 4 and Q(x) = tan2x
The auxiliary equation is
f (m) = 0
m2 + 4 = 0
m2 = −4
m = ±2i
m = 0 ± 2i ( Roots are imaginary)
∴ C.F. = eαx (C1 cosβx + C2 sinβx)
= e0 (C1 cos2x + C2 sin2x) ( Here α = 0 and β = 2)
C.F = C1 cos2x + C2 sin2x
17
′ ′
Therefore y1 = −2sin2x, y2 = 2cos2x
y1 y2
W = ′ ′
y1 y2
cos2x sin2x
=
−2sin2x 2cos2x
= 2cos2 2x + 2sin2 2x
= 2 cos2 2x + sin2 2x
= 2 (1)
W =2
Z Z
y2 X y1 X
P.I. = −y1 dx + y2 dx
W W
Z Z
sin2x tan2x cos2x tan2x
= −cos2x dx + sin2x dx
2 2
Z Z
1 1
= − cos2x (sec2x − cos2x) dx + sin2x sin2xdx
2 2
1 1 sin2x 1
= − cos2x log (sec2x + tan2x) − − sin2xcos2x
2 2 2 4
1 1 1
= − cos2xlog (sec2x + tan2x) + sin2xcos2x − sin2xcos2x
4 4 4
1
= − cos2xlog (sec2x + tan2x)
4
18