Professional Documents
Culture Documents
Session
Differential Equations - 3
Session Objectives
Class Exercise
Linear Differential Equations
dy dy
Examples : 1 + 2y = 6ex ; 2 + ytanx = cosx ;
dx dx
dx y
3 + = y2 etc.
dy x
Linear Differential Equations type-1
dy
Rule for solving + Py = Q
dx
Pdx
Integrating factor (I..F.) = e
Pdx 2dx
I.F. = e = e = e2x
The solution is given by y I.F. = Q I.F. dx + C
y e2x = 6ex ×e2x dx + C
Note :
d
dx
ye2x
=
e2x dy
dx
+2y
Solution Cont.
ye2x = 6e3x dx + C
ye2x
3x
=6 e dx + C
3x
e
ye2x = 6× +C
3
ye2x = 2e3x + C
2e3x + C
y=
e2x
tan-1x
dy -1 dy 1 e
(1+ x2 ) + y = etan x + .y =
dx dx 1+ x2 1+ x2
dx
+Py = Q
It is a linear differential equation of the form dy
tan-1x
1 e
Here, P = and Q =
1+ x2 1+ x2
Solution Cont.
1
dx
Pdx 2 tan-1x
I.F = e = e 1+x =e
y × I.F. = Q × I.F. dx + C
tan-1x
-1 e -1
y×etan x = etan x × dx + C
2
1+ x
2tan-1x
-1e
yetan x = +C
2
tan-1x 2tan-1x
2ye =e +C is the required solution.
Example – 3
dy
Solve the differential equation + secx y = tanx.
dx
dy
Solution : The given differential equation is + secx y = tanx.
dx
dy
It is a linear differential equation of the form +Px = Q
dx
Pdx secx dx
I.F. = e = e
loge secx + tanx
=e = secx + tanx
Solution Cont.
y × IF =
Q × IF dx + C
y secx + tanx = tanx secx + tanx dx + C
y secx + tanx = secxtanx dx + tan2 x dx + C
dx
Rule for solving +Px = Q
dy
Pdy
Integrating factor (I.F.) = e
2x - 10y3 dy
dx
+y=0
2x - 10y3 dy
dx
+y=0
dx 2
+ x = 10y2
dy y
dy
+Px = Q
It is a linear differential equation of the form dx
2
Here, P = and Q = 10y2
y
Solution Cont.
2
Pdy dy 2loge y loge y 2
I.F = e =e y =e =e = y2
x × I.F. = Q × I.F. dy + C
xy2 = 2y5 + C
dP 5 dP P dP 1
= P = = dt
dt 100 dt 20 P 20
dP 1
P 20 dt
= [Integrating both sides]
1
logeP = t +C
20
Solution Cont.
1× 0
At t = 0, P = P0 logeP0 = + C C = logeP0
20
1 P
logeP = t +loge P0 t = 20 loge
20 P0
2P0 1
t = 20 loge = loge 2 years
P0 20
x
The slope of the tangent at a point P(x, y) on a curve is - .
y
If the curve passes through the point (3, -4), find the equation
of the curve.
dy
Solution: The slope of the curve at P(x, y) is
dx
dy x
= - ydy = -xdx
dx y
y2 x2
=- + C x2 + y2 = 2C ... i
2 2
Solution Cont.
25
3 + -4
2 2
= 2C C =
2
2 2 25
x + y = 2×
2
d2 y
Differential equation of the form : = ƒ x
2
dx
dy d2 y d dy d dy dy
dx
= ƒ x dx + C1
dx2
=
dx dx and
dx dx
dx =
dx
dy
dx
= F x + C1 , where F x =
ƒ x dx
y = F x dx + C1x + C2
d2 y 1
Solve the differential equation: = + 6.
dx2 x
d2 y 1 dy dy 1
= +6 = +6
dx2 x dx dx x
dy dy 1
dx = dx + 6 dx
dx dx x
dy
= loge x + 6x + C1 , where C1 is constant of integration.
dx
Solution Cont.
dy
dx dx = loge x.1 dx + 6 x dx + C1 dx
1 x2
y = xloge x - .x dx + 6. + C1x + C2 , where C2 is constant of integration.
x 2
d dy
dx x cos xdx C1
dx dx
dy
= xsinx + cosx + C1 … (ii) Integrating by parts
dx
Solution Cont.
dy
dx dx x sin x cos x C1 dx
y = xsinxdx + cosxdx + C1dx + C2
y = -xcosx + sinx + sinx + C1x + C2