UNIT 3 PPT-21MAB101T (1)
UNIT 3 PPT-21MAB101T (1)
MATHEMATICS-I
(21MAB101T)
DEPARTMENT OF MATHEMATICS
SRM Institute of Science and Technology
d2 y
1
dx 2
+ 3 dy
dx + y = e
−2x , (Here order=2, Degree=1)
2
d 2y dy
2
dx 2 +3 dx + 2y = sin 3x, (Here order=2, Degree=1)
2
d 2y
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.
Calculus and Linear Algebra 2 / 58
Linear D.E. with constant coefficients Unit-III
Let us take
d d2 2, d3 n
3, ······d = D n ,
= D, = D = D
dx dx 2 dx 3 dx n
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 /= m2 /= m3 ····=/ mn, then write the C.F as
Case-II: Let all the roots are real where some roots are equal and some are
distinct say m1 = m2 = m3 and m4 /= m5 ····=/mn, then write the C.F as
Case-III: Let the roots are complex say m = α ± i β, then write the C.F as
C.F = eα x (c cos βx + c sin βx).
1 2
C.F = c1 em 1 x α
+ e (c2 cos βx + c3 sin βx).
x
∴ The C.F is given by
1
√ √
3 3x
C.F = c1 e− 2x + e− 2 x c2 cos 2 x + 3 sin 2 .
Here there is no need to find P.I as f (x) = 0.
Calculus and Linear Algebra 7 / 58
Linear D.E. with constant coefficients Unit-III
−2x
1 − 2x put D = −2 ⇒ 1 −2x = e
P.I = e e i.e F(a) = 0
D2 + 3D + 2 4 −6 + 2 0
Then differentiate the denominator by D and multiply the numerator by x
i.e.
x xe−2x 2x
e−2x now put D = −2 ⇒ = −xe− .
2D + 3 −4 + 3
Calculus and Linear Algebra 9 / 58
Linear D.E. with constant coefficients Unit-III
∴ The C.S is given by
C.S = C.F +P.I = c1 e− x +c2e− 2x −xe− 2x .
d2y 4x
Example: Solve dx 2
+ 6 dy
dx + 9y = 3e .
Solution: We can write it as (D 2 + 6D + 9)y = 3e4x ⇒ F(D)y = e4x .
Now the auxiliary equation is given by
m2 + 6m + 9 = 0 ⇒ (m + 3)(m + 3) = 0 ⇒ m1 = −3, m2 = −3
1 3 3e4x
P.I = (3e 4x
) putting D = 4 ⇒ e4x
= .
D2 + 6D + 9 16 + 24 + 9 49
∴ The C.S is given by
3e4x
C.S = (c1 + c2x)e − 3x + 49 .
Calculus and Linear Algebra
Linear D.E. with constant coefficients Unit-III
F(D)y = e− 2x ⇒ m2 + 9 = 0 ⇒ m = ±3i = α ± i β, ⇒ α = 0, β = 3
Note: If F(D)y = A = constant, then while finding P.I take f (x) = Ae0.x
i.e put D = 0 in F(D).
1 1
P.I = sin x putting D 2 = −12 ⇒ sin x
D2+ 3D + 2 −1 + 3D + 2
1 (3D −1) (3D −1)
= sin x = sin x = sin x
3D + 1 (9D2 −1) −10
(3D sin x −sin x) (3 cos x −sin x)
= − =− .
10 10
∴ The C.S is given by
C.S = c1e− x + c2e− 2x − (3 cos x−
10
sin x)
.
Calculus and Linear Algebra
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 1 1 + cos 2x
P.I = cos2 x = 2
D2 + 6D + 8 D + 6D + 8 2
1 1 1 1
= . e0.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)
= cos 2x = + .
16 2 (36D −16)
2 16 2 (36(−2 2) −16)
1 1 sin 5x + sin x
P.I = sin 3x cos 2x =
D2 −4D + 3 −4D + 3
D2 2
1 1
= . (sin 5x + sin x)
2 D 2 −4D + 3
1 1 sin 5x + 1 sin x
=
2 D 2 −4D + 3 D 2 −4D + 3
1 1 1
= sin 5x + sin x
2 −5 −4D + 3
2 −1 −4D + 3
2
1 1 1
= − sin 5x + sin x
2 4D + 22 −4D + 2
1 1 1
= − sin 5x + sin x
4 11 + 2D −2D +1
i.e express F(D) = 1 ± φ(D) and try to use one of the following formulae:
1 1 2 1
P.I = f (x) = x = x2
F(D) F(D) (D + 5D + 6)
2
1 D 2 + 5D − 1 2
= h i x2 = 1 1 + x
6 1 + D +5D
2 6 6
6
" #
2 2 2
1 D + 5D D + 5D
= 1− + + ··· x 2
6 6 6
1 x 2 − 5D (x 2 ) − D2 (x 2 ) + 25D2 2 10D3 2
(x ) +
D4 2
(x ) −···
= (x ) +
6 6 6 36 36 6
1 x 2 − 5 (2x) − 1 (2) + 25 (2) + 10 (0) + 1 (0) −···
=
6 6 6 36 36 6
1 2 5x 1 25 1 5x 19
= x − − + = x2 − + .
6 3 3 18 6 3 18
∴ The C.S is given by
C.S = c1e−2x + c2e−3x + 16 x 2 − 5x
3
+ 19
18
.
1 1 1
P.I = f (x) = (x 2 + 1) = (x 2 + 1)
F(D) F(D) (D −D 2 −6D)
3
1 D 2 −D − 1 2
= h 1 i (x2 + 1) = − 1− (x + 1)
−6D 1 − D 2−6 D 6D 6
" #
1 D 2 −D D 2 −D 2 2
= − 1− + + ··· (x + 1)
6D 6 6
1 D D2 D2
= − 1− + + −··· (x 2 + 1)
6D 6 6 36
1 D 7D2 2
= − (x 2 + 1) − (x 2 + 1) + (x + 1)
6D 6 6
1 x 7 1 x 25
= − (x 2 + 1) − + =— x2 − +
6D 3 3 6D 3 18
Type 4: If f (x) = eax φ(x) where φ(x) = xn or sin ax or cos ax, then
1 1 ax 1
P.I = f (x) = e φ(x) = eax φ(x),
F(D) F(D) (D + a)
Now
1 1
P.I = f (x) = x 2 e− x
F(D) (D + D + 1)
2
1
= e −x x2
[(D −1) + (D −1) + 1]
2
1 1
= e −x 2 x 2 = e− x 2 x2
[D −2D + 1 + D −1 + 1] [D −D + 1]
−x −1 2
= e 1 + (D 2 −D) x
− x 2 2 2 2
= e 1 −(D −D) + (D −D) x
−x 2 4 3 2 2 −x 2
= e 1 −D + D) + D −2D + D x = e (x + 2x).
1
√ √
3 3
C.S = e − 2 x c1 cos 2 x + c2 sin 2 x + (x 2 + 2x)e − x .
Now
1 1
P.I = f (x) = e3x sin x
F(D) (D + 2)2
1 1
= e3x sin x = e3x 2 sin x
(D + 5) 2 (D + 10D + 25)
1 1
= e3x sin x = e3x sin x
(−12 + 10D + 25) (10D + 24)
e3x (12 −5D) sin x = e (12 −5D) sin x
3x
=
2 (12 + 5D)(12 −5D) 2 144 −25D 2
e3x (12 sin x −5D sin x) e3x (12 sin x −5D cos x)
= = .
2 169 338
∴ The C.S is given by
1 1
P.I = x sin x = I.P of eix x
D 2 −2D + 1 [(D + i )2 −2(D + i ) + 1]
1
= I.P of eix 2 x
[D −2(1 −i )D −2i ]
1
= I.P of eix x
(D 2 − 2(1− i)D )
−2i 1 − 2i
" #
eix D 2 −2(1 −i )D −1
= I.P of 1− x
−2i 2i
ieix D 2 −2(1 −i )D
= I.P of 1+ + ··· x
2 2i
ieix ieix
= 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 −sinx) + 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
Calculus and Linear Algebra
Linear D.E. with constant coefficients Unit-III
∴ The C.S is given by
[(x+1) cos x−sin x]
C.S = (c1 + c2x)ex + 2
.
1 1
P.I = x cos x = R.P of eix x
D2 + 4 [(D + i )2 + 4]
1 1
= R.P of eix x = R.P of eix x
[D 2 + 2iD + 3] 3 1+ (D 2 +2iD )
3
" #
−1
eix (D 2 + 2iD)
= R.P of 1+ x
3 3
eix 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 − sinx + 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
2 D2 y = D ′ (D ′ −1)y, x 3 d
x2 = x = x 3 D3 y = D ′ (D ′ −1)(D ′ −2)y
dx 2 dx 3
dny
······x n n = x n Dn 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 /= m5 ····=/mn, then write the C.F as
Case-III: Let the roots are complex say m = α ± i β, then write the C.F as
C.F = eα x (c cosβ log x + c sin β log x).
1 2
Replacing z by log x, we get the P.I = 2(log x)3. Finally the C.S is
D ′ (D ′ −1) + D ′ + 1 y = 4 sin z
2 ′ ′
⇒ (D ′ −D + D + 1)y = 4 sin z
2
⇒ (D ′ + 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 = −2log x cos(log x). Finally the C.S is
d d2
(x 2 D2 + 4xD + 2)y = x log x where = D and = D 2.
dx dx 2
Considering x = ez ⇒ log x = z, we get
d d2
x = xD = D ′ , x 2 2 = x 2D2 = D ′ (D ′ −1).
dx dx
Putting these in given equation we find
z ′2 ′ z
D ′ (D ′ −1) + 4D ′ + 2 y = e z ⇒ (D + 3D + 2)y = e z
2 ′ z
⇒ F(D ′ )y = (D ′ + 3D + 2)y and φ(z) = e z.
log x
C.S = (c1 x − 1 + c2 x − 2 ) + x
6 + x .
z 2z ze2z
= e =− .
−4 4
Calculus and Linear Algebra
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
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.
= 2z cos zdz
= 2z sin z
= 2 log(1 + x) sin(log(1 + x)).
where
f1 = cos x and f2 = sin x ⇒ f1′ = −sin x, f2′ = cos x.
∫ ∫ ∫ ∫
Q= f1 f (x)dx = cos x sec xdx = cos x
dx = dx = x.
f1f2 −f2f1′
′ 1 cos x
d2y
Example: Solve dx 2
+ 4y = 4 tan 2x.
Solution: The given equation can be written as (D2 + 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.
1 sin 2x
= −2 log(sec 2x + tan 2x) + 2
2 2
= −log(sec 2x + tan 2x) + sin 2x.
∫ ∫ ∫
f1 cos 2x
Q = f (x)dx = 4 tan xdx = 2 sin 2xdx
f1 f2′ −f 2f 1′ 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 (D2 + 1)y = cosec x.
The A.E is
m2 + 4 = 0 ⇒ m = ±i = α + i β ⇒ α = 0, β = 1
Dr. B. Bira (SRMIST) C.F = cCalculus
C alcculoussaxnd+
and Aslgienbrax = c f + c f .
Linecar 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)
dy —2x = cos 2t .
Example: Solve dx
dt + 2y = sin 2t ; dt
Solution: The given system of equation can be written as:
Dx + 2y = sin 2t , (17)
Dy −2x = cos 2t . (18)
D 2x + 2Dy = 2 cos 2t
−4x + 2Dy = 2 cos 2t
—−−−−−−−−−−
(D 2 + 4)x = 0. (19)
m2 + 4 = 0 ⇒ m = 0 ± 2i = α + i β ⇒ α = 0, β = 2.
The differential equations which contain one independent variable and two
or more dependent variables is called simultaneous equations.
Example: Solve dx dt
+ 7x − y = 0; dy
dt
+ 2x + 5y = 0.
Solution: The given system of equation can be written as:
(D + 7)x − y = 0, (1)
(D + 5)y + 2x = 0. (2)
2x + (D + 5)y = 0,
(D + 5)(D + 7)x − (D + 5)y = 0
−−−−−−−−−−−−−−
(D + 5)(D + 7)x + 2x = 0, i .e
(D2 + 12D + 37)x = 0. (3)
(6)
m2 + 4 = 0 ⇒ m = 0 ± 2i = α + iβ ⇒ α = 0, β = 2.