Professional Documents
Culture Documents
MATHEMATICS-I
(21MAB101T)
DEPARTMENT OF MATHEMATICS
SRM Institute of Science and Technology
d2y
1
dx 2
+ 3 dy
dx + y = e
−2x , (Here order=2, Degree=1)
2
d2y dy
2
dx 2
+3 dx + 2y = sin 3x, (Here order=2, Degree=1)
2
d2y
3
dx 2
+ 2 dy
dx + y = 5x, (Here order=2, Degree=2)
Solution: The functional relation between the dependent variable and the
independent variable satisfying differential equation is called the solution
for that differential equation.
Dr. B. Bira (SRMIST) Calculus and Linear Algebra 2 / 58
Linear D.E. with constant coefficients Unit-III
The ODE of the form
d ny d n−1 y d n−2 y
a0 + a 1 + a 2 + · · · · · · +an y = f (x), (1)
dx n dx n−1 dx n−2
where a0 , a1 , a2 , · · · · an are constants is called linear differential equation
with constant coefficients.
Let us take
d d2 2 d3 3 dn
= D, = D , = D , · · · · · · = D n,
dx dx 2 dx 3 dx n
then the equation (1) can be written as
Step-2: Solve the auxiliary equation (6) and obtain n roots, let them be
m1 , m2 , · · · ·mn , which may gives the following cases:
Case-I: Let all the roots m1 , m2 , · · · ·mn are real and distinct i.e
m1 6= m2 6= m3 · · · · =
6 mn , then write the C.F as
C .F = c1 e m1 x + c2 e m2 x + c3 e m3 x + · · · · +cn e mn x .
Case-II: Let all the roots are real where some roots are equal and some are
distinct say m1 = m2 = m3 and m4 6= m5 · · · · =6 mn , then write the C.F as
C .F = (c1 + c2 x + c3 x 2 )e m1 x + c4 e m4 x + · · · · +cn e mn x .
Case-III: Let the roots are complex say m = α ± i β, then write the C.F as
d2y
Example: Solve dx 2
− 7 dy
dx + 12y = 0.
d2
Solution: Taking d
dx = D, dx 2
= D 2 in the given equation, we get
(D 2 − 7D + 12)y = 0 ⇒ F (D)y = 0.
F (D) = 0 ⇒ m2 − 7m + 12 = 0 ⇒ (m − 3)(m − 4) = 0 ⇒ m = 3, 4.
F (D) = 0 ⇒ m3 + 3m2 + 2m + 2 = 0.
m2 + 6m + 9 = 0 ⇒ (m + 3)(m + 3) = 0 ⇒ m1 = −3, m2 = −3
1 4x 3 4x 3e 4x
P.I = (3e ) putting D = 4 ⇒ e = .
D 2 + 6D + 9 16 + 24 + 9 49
∴ The C.S is given by
3e 4x
C .S = (c1 + c2 x)e −3x + 49 .
Dr. B. Bira (SRMIST) Calculus and Linear Algebra 10 / 58
Linear D.E. with constant coefficients Unit-III
Note: If F (D)y = A = constant, then while finding P.I take f (x) = Ae 0.x
i.e put D = 0 in F (D).
1 1
P.I = sin x putting D 2 = −12 ⇒ sin x
D 2 + 3D + 2 −1 + 3D + 2
1 (3D − 1) (3D − 1)
= sin x = sin x = sin x
3D + 1 (9D 2 − 1) −10
(3D sin x − sin x) (3 cos x − sin x)
= − =− .
10 10
∴ The C.S is given by
C .S = c1 e −x + c2 e −2x − (3 cos 10
x−sin x)
.
Dr. B. Bira (SRMIST) Calculus and Linear Algebra 13 / 58
Linear D.E. with constant coefficients Unit-III
Example: Solve (D 2 + 6D + 8)y = cos2 x.
Solution: The auxiliary equation is
m2 + 6m + 8 = 0 ⇒ (m + 2)(m + 4) = 0 ⇒ m1 = −2, m2 = −4.
∴ The C.F is given by
C .F = c1 e −2x + c2 e −4x .
1 2 1 1 + cos 2x
P.I = cos x = 2
D 2 + 6D + 8 D + 6D + 8 2
1 1 1 1
= . e 0.x + . 2 cos 2x
2 D 2 + 6D + 8 2 D + 6D + 8
1 1 1 1 1 1
= + . cos 2x = + . cos 2x
16 2 −4 + 6D + 8 16 2 6D + 4
1 1 (6D − 4) 1 1 (6D cos 2x − 4 cos 2x)
= + . 2
cos 2x = + .
16 2 (36D − 16) 16 2 (36(−22 ) − 16)
m2 − 4m + 3 = 0 ⇒ (m − 1)(m − 3) = 0 ⇒ m1 = 1, m2 = 3.
1 (11 − 2D) (1 + 2D)
= − sin 5x + sin x
4 (121 − 4D 2 ) (1 − 4D 2 )
1 (11 sin 5x − 2D sin 5x) (sin x + 2D sin x)
= − +
4 121 − 4(−52 ) 1 − 4(−12 )
1 (11 sin 5x − 10 cos 5x) (sin x + 2 cos x)
= − +
4 221 5
(11 sin 5x − 10 cos 5x) (sin x + 2 cos x)
= − + .
884 20
i.e express F (D) = 1 ± φ(D) and try to use one of the following formulae:
(i) (1 + x)−1 = 1 − x + x 2 − x 3 + x 4 − · · · · ·
(ii) (1 − x)−1 = 1 + x + x 2 + x 3 + x 4 − · · · · ·
(iii) (1 + x)−2 = 1 − 2x + 3x 2 − 4x 3 + · · · · ·
(iv) (1 − x)−2 = 1 + 2x + 3x 2 + 4x 3 + · · · · ·
1 1 1
P.I = f (x) = x2 = 2
x2
F (D) F (D) (D + 5D + 6)
−1
D 2 + 5D
1 2 1
= h ix = 1+ x2
6 1+ 6 D 2 +5D 6 6
" 2 2 2 #
1 D + 5D D + 5D
= 1− + + · · · x2
6 6 6
D2 2 25D 2 2 10D 3 2 D4 2
1 2 5D 2
= x − (x ) − (x ) + (x ) + (x ) + (x ) − · · ·
6 6 6 36 36 6
1 2 5 1 25 10 1
= x − (2x) − (2) + (2) + (0) + (0) − · · ·
6 6 6 36 36 6
1 2 5x 1 25 1 2 5x 19
= x − − + = x − + .
6 3 3 18 6 3 18
∴ The C.S is given by
C .S = c1 e −2x + c2 e −3x + 16 x 2 − 5x 19
3 + 18 .
1 1 1
P.I = f (x) = (x 2 + 1) = (x 2 + 1)
F (D) F (D) (D − D 2 − 6D)
3
−1
D2 − D
1 2 1
= h i (x + 1) = − 1− (x 2 + 1)
−6D 1 − 6 D 2 −D 6D 6
" 2 2 2 #
1 D −D D −D
= − 1− + + · · · (x 2 + 1)
6D 6 6
D2 D2
1 D
= − 1− + + − · · · (x 2 + 1)
6D 6 6 36
7D 2 2
1 2 D 2
= − (x + 1) − (x + 1) + (x + 1)
6D 6 6
1 2 x 7 1 2 x 25
= − (x + 1) − + =− x − +
6D 3 3 6D 3 18
Now
1 1
P.I = f (x) = 2
x 2 e −x
F (D) (D + D + 1)
1
= e −x x2
[(D − 1)2 + (D − 1) + 1]
1 1
= e −x 2 x 2 = e −x 2 x2
[D − 2D + 1 + D − 1 + 1] [D − D + 1]
−1 2
e −x 1 + (D 2 − D)
= x
1 − (D − D) + (D 2 − D)2 x 2
2
−x
= e
e −x 1 − D 2 + D) + D 4 − 2D 3 + D 2 x 2 = e −x (x 2 + 2x).
=
Now
1 1
P.I = f (x) = e 3x sin x
F (D) (D + 2)2
1 1
= e 3x 2
sin x = e 3x 2 sin x
(D + 5) (D + 10D + 25)
1 1
= e 3x sin x = e 3x sin x
(−12 + 10D + 25) (10D + 24)
e 3x (12 − 5D) e 3x (12 − 5D)
= sin x = sin x
2 (12 + 5D)(12 − 5D) 2 144 − 25D 2
e 3x (12 sin x − 5D sin x) e 3x (12 sin x − 5D cos x)
= = .
2 169 338
∴ The C.S is given by
1 1
P.I = f (x) = x n sin ax or x n cos ax. As we know
F (D) F (D)
1 1 1
= x n (cos ax + i sin ax) = x n e iax = e iax x n.
F (D) F (D) F (D + ai )
∴
1 1
x n sin ax = Imaginary part of e iax xn and
F (D) F (D + ai )
1 1
x n cos ax = Real part of e iax x n.
F (D) F (D + ai )
m2 − 2m + 1 = 0 ⇒ (m − 1)(m − 1) = 0 ⇒ m1 = 11, m2 = 1.
" −1 #
e ix D 2 − 2(1 − i )D
= I.P of 1− x
−2i 2i
ie ix D 2 − 2(1 − i )D
= I.P of 1+ +··· x
2 2i
ix ix
ie ie
= I.P of [1 + (1 + i )D] x = I.P of [x + (1 + i )]
2 2
i
= I.P of (cos x + i sin x)(x + 1 + i )
2
i
= I.P of [((x + 1) cos x − sin x) + i ((x + 1) sin x + cos x)]
2
[(x + 1) cos x − sin x] [(x + 1) sin x + cos x]
= I.P of i −
2 2
[(x + 1) cos x − sin x]
= .
2
Dr. B. Bira (SRMIST) Calculus and Linear Algebra 28 / 58
Linear D.E. with constant coefficients Unit-III
∴ The C.S is given by
[(x+1) cos x−sin x]
C .S = (c1 + c2 x)e x + 2 .
m2 + 4 = 0 ⇒ m = ±2i = α ± i β ⇒ α = 0, β = 2.
" −1 #
e ix (D 2 + 2iD)
= R.P of 1+ x
3 3
e ix D 2 + 2iD
= R.P of 1+ +··· x
3 3
1 2i
= R.P of (cos x + i sin x) x +
3 3
1 2 2
= R.P of x cos x − sin x + i cos x + x sin x
3 3 3
x cos x − 23 sin x
[3x cos x − 2 sin x]
= = .
3 9
∴ The C.S is given by
[3x cos x−2 sin x]
C .S = (c1 cos 2x + c2 sin 2x) + 9 .
d 2y 3 d
3
x2 = x 2 2
D y = D ′
(D ′
− 1)y , x = x 3 D 3 y = D ′ (D ′ − 1)(D ′ − 2)y
dx 2 dx 3
d ny
· · · · · ·x n n = x n D n y = D ′ (D ′ − 1)(D ′ − 2) · · · (D ′ − (n − 1))y .
dx
then putting the above in equation (6) we can get
From equation (5) one can observe that it is a linear D.E with constant
coefficients.
Note: Here the independent variable is z hence solve the equation (5) as
we solved before and in the final solution; replace z by log x.
Case-II: Let all the roots are real where some roots are equal and some are
distinct say m1 = m2 = m3 and m4 6= m5 · · · · =6 mn , then write the C.F as
Case-III: Let the roots are complex say m = α ± i β, then write the C.F as
F (D ′ )y = D ′2 y = 12z = φ(z).
Replacing z by log x, we get the P.I = 2(log x)3 . Finally the C.S is
d d2
(x 2 D 2 + xD + 1)y = 4 sin(log x) where = D and = D 2.
dx dx 2
Considering
d d2
x = e z ⇒ log x = z we get x = D ′ , x 2 2 = D ′ (D ′ − 1)
dx dx
and putting these in given equation we find
′ ′
D (D − 1) + D ′ + 1 y = 4 sin z
⇒ (D ′2 − D ′ + D ′ + 1)y = 4 sin z
⇒ (D ′2 + 1)y = 4 sin z.
m2 + 1 = 0 ⇒ m = ±i
⇒ C .F = (c1 cos z + c2 sin z) = c1 cos(log x) + c2 sin(log x).
1 1 1 1
φ(z) = 4 sin z = 4 ′2 sin z = 4 2 sin z
F (D ′ ) (D ′2 + 1) D +1 −1 + 1
z
⇒ 4 ′ sin z = −2z cos z.
2D
Taking z = log x we get P.I = −2 log x cos(log x). Finally the C.S is
d d2
(x 2 D 2 + 4xD + 2)y = x log x where = D and = D 2.
dx dx 2
Considering x = e z ⇒ log x = z, we get
d d2
x = xD = D ′ , x 2 2 = x 2 D 2 = D ′ (D ′ − 1).
dx dx
Putting these in given equation we find
D (D − 1) + 4D ′ + 2 y = e z z ⇒ (D ′2 + 3D ′ + 2)y = e z z
′ ′
1 1
⇒ e z ′2 z = ez h iz
[D + 5D + 6]
′
6 1 + D +5D
′2 ′
6
−1
ez D ′2 5D ′ D ′2 + 5D ′ ez
+
= 1+ z= 1− + ··· z
6 6 6 6
ez ez
D ′2 5D ′ 5
= 1− − + ··· z = z− .
6 6 6 6 6
Taking z = log x we get P.I = x6 log x − 56 . Finally the C.S is
x 5
C .S = (c1 x −1 + c2 x −2 ) + 6 log x − 6 .
Dr. B. Bira (SRMIST) Calculus and Linear Algebra 40 / 58
Linear D.E. with variable coefficients Unit-III
1
Example: Solve (x 2 D 2 + 4xD + 2)y = x + x
Solution: Taking
x = e z ⇒ log x = z we get xD = D ′ , x 2 D 2 = D ′ (D ′ − 1). Putting
these in given equation we find
1
D ′ (D ′ − 1) + 4D ′ + 2 y = e z + z
e
⇒ (D ′2 + 3D ′ + 2)y = e z + e −z ⇒ F (D ′ )y = φ(z).
From the previous problem we know C .F = (c1 x −1 + c2 x −2 ). Now P.I is
1 1
φ(z) = (e z + e −z )
F (D ′ ) (D ′2 + 3D ′ + 2)
1 1
= ez + e −z
(D + 3D + 2)
′2 ′ (D + 3D ′ + 2)
′2
ez z −z ez
= + e = + ze −z .
6 (2D ′ + 3) 6
Dr. B. Bira (SRMIST) Calculus and Linear Algebra 41 / 58
Linear D.E. with variable coefficients Unit-III
x log x
Taking z = log x we get P.I = 6 + x . Finally the C.S is
x log x
C .S = (c1 x −1 + c2 x −2 ) + 6 + x .
The A.E is
m2 − 8m + 12 = 0 ⇒ m = 2, 6 ⇒ C .F = (c1 x 2 + c2 x 6 ).
P.I is
1 1 z
φ(z) = e 2z = e 2z
F (D ′ ) (D ′2
− 8D + 12)
′ (2D − 8)
′
z 2z ze 2z
= e =− .
−4 4
Dr. B. Bira (SRMIST) Calculus and Linear Algebra 42 / 58
Linear D.E. with variable coefficients Unit-III
2 log x
Taking z = log x we get P.I = − x 4 . Finally the C.S is
x 2 log x
C .S = (c1 x 2 + c2 x 6 ) − 4 .
Now taking
and putting in (8) and simplifying , one can get an equation of the form
F (D ′ )y = φ(z).
Then solving the above equation as before; one can find the complete
solution of the Legendre’s linear differential equation.
The A.E is
√
4m2 − 16m + 8 = 0 ⇒ m2 − 4m + 2 = 0 ⇒ m = 2 ± 2.
√ √
∴ C .F = C1 (2x + 5)2+ 2 + C2 (2x + 5)2− 2 .
There is no need to find the P.I as φ(z) = 0.
The A.E is
m2 + 1 = 0 ⇒ m = ±i = α ± β ⇒ α = 0, β = 1.
1 1
φ(z) = 4 cos z
F (D ′ ) (D ′2 + 1)
1
= z 4 cos z
2D
Z
′
= 2z cos zdz
= 2z sin z
= 2 log(1 + x) sin(log(1 + x)).
C .F = c1 f1 + c2 f2 , (11)
cos x cos x
Z Z Z Z
f1
Q= f (x)dx = sec xdx = dx = dx = x.
f1 f2′ − f2 f1′ 1 cos x
d2y
Example: Solve dx 2
+ 4y = 4 tan 2x.
Solution: The given equation can be written as (D 2 + 4)y = 4 tan 2x.
The A.E is
m2 + 4 = 0 ⇒ m = ±2i = α + i β ⇒ α = 0, β = 2
⇒ C .F = c1 cos 2x + c2 sin 2x = c1 f1 + c2 f2 .
sin 2x sin2 2x
Z Z Z
f2
P = − f (x)dx = − 4 tan 2xdx = −2 dx
f1 f2′ − f2 f1′ 2 cos 2x
(1 − cos2 2x) cos2 2x
Z
1
Z
= −2 dx = −2 − dx
cos 2x cos 2x cos 2x
Z Z Z
= −2 (sec 2x − cos 2x)dx = −2 sec 2xdx + 2 cos 2xdx
1 sin 2x
= −2 log(sec 2x + tan 2x) + 2
2 2
= − log(sec 2x + tan 2x) + sin 2x.
cos 2x
Z Z Z
f1
Q = f (x)dx = 4 tan xdx = 2 sin 2xdx
f1 f2′ − f2 f1′ 2
cos 2x
= −2 = − cos 2x.
2
P.I = cos 2x[− log(sec 2x + tan 2x) + sin 2x] − sin 2x cos 2x
= − cos 2x log(sec 2x + tan 2x)
d2y
Example: Solve dx 2
+ y = cosec x.
Solution: The given equation can be written as (D 2 + 1)y = cosec x.
The A.E is
m2 + 4 = 0 ⇒ m = ±i = α + i β ⇒ α = 0, β = 1
Dr. B. Bira (SRMIST) ⇒ C .F = cCalculus
cosand
x+ sin x = c f + c f .
c Algebra
Linear 53 / 58
Method of variation of parameters Unit-III
(D + 7)x − y = 0, (14)
(D + 5)y + 2x = 0. (15)
2x + (D + 5)y = 0,
(D + 5)(D + 7)x − (D + 5)y = 0
−−−−−−−−−−−−−−
(D + 5)(D + 7)x + 2x = 0, i .e
(D 2 + 12D + 37)x = 0. (16)
−12 ± 2i
m2 + 12m + 37 = 0 ⇒ m = = −6 ± i = α + i β.
2
∴ The C .F = e −6t (C1 cos t + C2 sin t) = C .S = x(t) as P.I = 0.
Now putting this value in the dx dx
dt + 7x − y = 0 ⇒ y = dt + 7x, which can
be given as:
dy
Example: Solve dx
dt + 2y = sin 2t; dt − 2x = cos 2t.
Solution: The given system of equation can be written as:
D 2 x + 2Dy = 2 cos 2t
−4x + 2Dy = 2 cos 2t
−−−−−−−−−−−
(D 2 + 4)x = 0. (19)
m2 + 4 = 0 ⇒ m = 0 ± 2i = α + i β ⇒ α = 0, β = 2.