Class-12th Math Vedantu Notes Differential Equations
Class-12th Math Vedantu Notes Differential Equations
Chapter 07 116
DIFFERENTIAL EQUATIONS
1. INTRODUCTION d2y
(ii) 2
= - p 2 y is the differential equation of the
dx
Differential equation constitute a very important part of
mathematics as it has many applications in real life. Various second order because maximum derivative of y
laws of physics are often in the form of equations involving d2 y
rate of change of one quantity with respect to another. w.r.t x is
dx 2
As the mathematical equivalent of a rate is a derivative,
differential equation arise very naturally in real life and 2 3
methods for solving them acquire paramount importance. æ d3y ö æ dy ö
(iii) çç 3 ÷÷ - 3 ç ÷ + 2 = 0 is the differential
è dx ø è dx ø
1.1 Definition
equation of the third order because maximum
An equation involving the dependent variable and
independent variable and also the derivatives of the d3 y
derivative of y w.r.t x is
dependable variable is known as differential equation. dx 3
For example:
2.2 Degree
dy x d2y The degree of a differential equation is the degree of the
(i) = (ii) = -p2 y
dx y1/ 3 (1 + x1/ 3 ) dx 2 highest differential coefficient when the equation has been
made rational and integral as far as the differential
3/ 2
é æ dy ö2 ù d2y 2 coefficients are concerned.
2 æ dy ö 2
(iii) ê1 + ç dx ÷ ú =3 (iv) x ç ÷ = y + 1
ëê è ø ûú dx 2 è dx ø For example:
dy x
Differential equations which involve only one (i) = 1/ 3
independent variable are called ordinary differential dx y (1 + x1/ 3 ) is the differential equation of
equation. first degree, because power of the highest order
2 3
2.1 Order æ d3y ö æ dy ö
(ii) çç 3 ÷÷ - 3 ç ÷ + 2 = 0 is the differential
è dx ø è dx ø
The order of a differential equation is the order of the
highest derivative involved in the differential equation equation of second degree, because power of
For example: d3 y
highest order deriavative is 2.
dx 3
3 2
(i) æ dy ö æ dy ö
ç ÷ + ç ÷ + 4x = 0 is the differential
è dx ø è dx ø é æ dy ö2 ù
2/3
d2y
equation of the first order because maximum (iii) ê1 + ç ÷ ú =3 is the differential
êë è dx ø úû dx 2
dy
derivative of y with respect to x is equation of third degree, because power of highest
dx
DIFFERENTIAL EQUATIONS
117
d 2 y 3 dy Illustration 2 :
(i) = +3
dx 2 dx
Find the differential equation of the family of all circles
5/3 which pass through the origin and whose centre lie on y–
4
d 2 y ìï æ dy ö ïü axis
(ii) 2 = í 1 + ç ÷ ý
dx ïî è dx ø þï Sol. Let the equation of the circle be
x2 + y2 + 2gx + 2fy + c = 0
dy
(iii) y = px + a 2 p 2 + b2 where p = If it passes through (0, 0), then c = 0
dx
\ The equation of circle is x2 + y2 + 2gx + 2fy = 0
Sol. (i) The given differential equation can be written as
Since the centre of the circle lies on y–axis then g = 0
2 3 2
æ d y ö æ dy ö \ The equation of the circle is
ç 2 ÷ =ç + 3÷
è dx ø è dx ø x2 + y2 + 2fy = 0 ...(i)
This represents family of circles.
Hence order = 2, degree = 3
Differentiating, we get
(ii) The given differential equation can be written as
5 dy dy
3 4 2x + 2 y +2f =0 ...(ii)
æ d 2 y ö é æ dy ö ù dx dx
ç 2 ÷ = ê1 + ç ÷ ú
è dx ø êë è dx ø úû From (i) and (ii), we get
Hence order = 2, degree = 3 dy
or, ( x2 - y2 ) - 2 xy = 0 Which is the required differential
(iii) The given differential equation can be written as dx
2 2 equation.
æ dy ö 2 æ dy ö 2
çy-x ÷ =a ç ÷ +b 4. SOLUTION OF A DIFFERENTIAL EQUATION
è dx ø è dx ø
Hence order = 1, degree = 2 The solution of the differential equation is a relation
between the independent and dependent variable free
3. FORMATION OF ORDINARY DIFFERENTIAL
from derivatives satisfying the given differential equation.
EQUATION
Thus the solution of dy/dx = m could be obtained by
An ordinary differential equation is formed in an attempt simply integrating both sides i.e., y = mx + c, where c is
to eliminate certain arbitrary constants from a relation in arbitrary constant.
the variables and constants. Consider an equation (a) General solution (or complete primitive)
containing n arbitrary constants. Differentiating this The general solution of a differential equation is the
equation n times we get n additional equations relation between the variables (not involving the
containing n arbitrary constants and derivatives. derivatives) which contain the same number of the
Eliminating n arbitrary constants from the above (n + 1) arbitrary constants as the order of the differential
equations, we obtain differential equation involving nth equation.
derivative.
DIFFERENTIAL EQUATIONS
118
Thus the general solution of the differential equation Differentiating (ii), we get
Illustration 6:
dz dy
\ =a+b
dx dx
dy
Solve, = sin ( x + y ) + cos ( x + y )
dx
dz
-a
dy dx Sol. Let z = x + y
or, =
dx b
dz dy dy dz
\ =1+ Þ = -1
dx dx dx dx
dz
-a dz
From (i) dx = f (z) or, = b f (z) + a dz
b dx - 1 = sin z + cos z
dx
dz dz
or, = dx ...(ii)
b f (z) + a or, dx =
sin z + cos z + 1
In the differential equation (ii), the variables x and z are Integrating, we get
separated.
Integrating, we get dz dt z
ò dx = ò sin z + cos z + 1 = ò t + 1 , putting t = tan 2
dx
ò b f (z) + a = ò dx + c i.e., x + c = log t + 1 This is the required general
solution.
dx 5.3 Solution of differential equation of the type
or, ò b f (z) + a = x + c , where z = ax + by + c
dy a1 x + b1 y + c1 a b c
= , where 1 = 1 ¹ 1
This represents the general solution of the differential dx a2 x + b2 y + c2 a2 b2 c2
equation (i)
Illustration 5: dy a1 x + b1 y + c1 a b c
Here = where 1 = 1 ¹ 1 ...(i)
dx a2 x + b2 y + c2 a2 b2 c2
dy
Solve (x - y)2 = a2
dx a1 b1
Let = = l (say)
Sol. Putting x – y = v a2 b2
dy dv v2 \ a1 = l a2 , b1 = l b2
Þ =1- Þ dx = 2 dv , variable have been
dx dx v - a2
dy l a2 x + l b2 y + c1
separated From (i), =
dx a2 x + b2 y + c2
v2
Integrating, we get ò dx = ò dv l (a2 x + b2 y ) + c1
v2 - a 2 = ...(ii)
a2 x + b2 y + c2
or,
x-y-a Let z = a2x + b2y
2y + k = a log
x-y+a
dz
-a
\ dz dy dy dx 2 ...(iii)
= a2 + b2 Þ =
dx dx dx b2
DIFFERENTIAL EQUATIONS
120
or,
z + c2 dy y(2y - x)
dx = dz , where x and z are Solve = ...(i)
(l b2 + a2 ) z + b2 c1 + a2 c2 dx x(2y + x)
seperated
Sol. Since each of the functions y(2y – x) and x(2y + x) is a
Integrating, we get homogeneous function of degree 2, so the given equation
dy dv
6. HOMOGENEOUS DIFFERENTIAL EQUATION Differentiating w.r.t x, we get = v+x
dx dx
A function f(x, y) is called homogeneous function of From (i),
degree n if
f(lx, ly) = ln f(x, y) dv vx(2vx - x) v(2v - 1)
v+x = =
For example: dx x(2vx + x) 2v + 1
(a) f(x, y) = x2y2 – xy3 is a homogeneous function of degree
four, since dv dx
Þ 2dv + +2 =0
f(lx, ly) = (l2 x2) (l2 y2) – (lx) (l3 y3)
v x
and a ¢ h + b ¢ k + c¢ = 0 Illustration 8 :
\ where, R = e ò
P dx
...(ii) Then (i) reduces to
= I.F
From (i) and (ii), we get du
+ u P ( x) = Q ( x) Which is of the linear differential
dx
dy
eò + P y e ò = Q.e ò
P dx P dx P dx
. or, equation form.
dx
Illustration 9:
d æ ò P dx ö ò P dx
ç ye ÷ = Q.e 2
dx è ø Solve sec q dq + tan q (1 - r tan q ) dr = 0
Integrating, we get Sol. The given equation can be written as
yeò
P dx
= ò Q.e ò
P dx
dx + c is the required solution. dq tan q r tan 2 q
+ 2
=
dr sec q sec 2 q
DIFFERENTIAL EQUATIONS
122
æ sec 2 q ö dq 1 1 dy -1 dv
ç ÷ + =r or, =
or, 2
q
n
y dx n - 1 dx
è tan q ø dr tan
the equation becomes
2 dq
or, cos ec q + cot q = r ...(i)
dr dv
+ (1 - n) Pv = Q (1 - n )
dx
Let cot q = u
Which is a linear equation with v as independent variable.
Þ - cos ec 2q dq = du
8. EXACT DIFFERENTIAL EQUATION
Then (i) reduces to
A differential equation is said to be exact if it can be
du du
- +u = r or, - u = -r ...(ii) derived from its solution (primitive) directly by
dr dr
differentiation, without any elimination, multiplication etc.
Which is a linear differential equation.
For example, the differential equation x dy + y dx = 0 is an
I . F = eò
-1 dr
So, = e- r ...(iii)
exact differential equation as it is derived by direct
Form (ii) and (iii), we get differentiation for its solution, the function xy = c
u e - r = - ò re - r dr = re - r + ò e - r dr , by parts Illustration 10 :
1
Putting = v and differentiating w.r.t x, 1
y n -1 - + log x - log y = c
xy
(n - 1) dy dv
we get - = Which is the required solution.
y n dx dx
DIFFERENTIAL EQUATIONS
123
2
æ dy ö
= y 1 + tan q = y 1 + ç ÷
2
è dx ø
GN
tan q =
y
dy
Þ GN = y tan q = y (length of the sub normal)
dx
Let PT and PN be the tangent and the normal at P(x, y).
Let the tangent at P makes an angle q with the x-axis. Illustration 11 :
1
Y-y=- ( X - x)
æ dy ö
ç ÷
è dx ø P
PG y Also OP2 = x2 + y2
From D PGT sin q = =
PT PT Given, length of the subnormal = k. OP2
\ PT = y cosecq (lenght of the tangent) dy
or, y = k ( x2 + y2 )
dx
2
æ dy ö
1+ ç ÷
2
1 + tan q è dx ø dy
=y =y or, 2y - 2ky 2 = 2kx 2 ...(i)
tan q dy dx
dx
dy dt
Let y2 = t Þ 2 y = ...(ii)
dx dx
PG y
And, tan q = =
TG TG dt
From (i) and (ii), we get - 2kt = 2kx 2
dx
y
Þ TG = y cotq (length of the sub tangent) = Which is a linear differential equation.
dy
dx
DIFFERENTIAL EQUATIONS
124
I . F = eò
-2 k dx dy dy
\ = e-2 kx Integrating, = f ( x) dx + c1 i.e. = F ( x) + c1 ... (ii)
dx ò dx
\ The solution is
Where F ( x) = ò f ( x) dx
t . e -2 kx = ò 2 kx 2 e -2 kx dx + c
From (ii), dy = ò F ( x ) dx + c1dx
é e-2 kx 2 ù
= 2k ê x 2 + òx e
-2 kx
dx ú
ë -2 k 2 k û Integrating, y = ò F ( x )dx + c1 x + c2
x e -2 kx 1 e -2 kx
= - x 2 e -2 kx - - + c or,, 10.2 Particular solution type problems
k k 2k
To solve such a problem, we proceed according to the
x 1
y 2 = - x2 - - 2 + c e2 kx type of the problem (i.e. variable - separable, linear, exact,
k 2k homogeneous etc.) and then we apply the given
conditions to find the particular values of the arbitrary
10. MISCELLANEOUS constants.
10.1 A special type of second order differential equation
d2 y
= f ( x) ..... (1)
dx 2
Equation (1) may be re-written as
d æ dy ö æ dy ö
ç ÷ = f ( x) Þ d ç ÷ = f ( x) dx
dx è dx ø è dx ø
DIFFERENTIAL EQUATIONS 125
SOLVED EXAMPLES
Example – 1 Example – 3
Find the order and degree of the differential equation The differential equation for the family of curves
2/ 3
x2 + y2 –2ay = 0, where a is an arbitrary constant, is
é æ dy ö 2 ù d2 y
ê4 + ç ÷ ú = (a) 2 (x2 – y2) y’ = xy (b) 2(x2 + y2) y’ = xy
êë è dx ø úû dx 2
(c) (x2 – y2) y’ = 2xy (d) (x2 + y2) y’ = 2xy
Sol. Here power on the differential coefficient is fractional, Ans: (c)
therefore change it into positive integer, so
Sol: Given family of curve is x 2 + y 2 - 2ay = 0 ...(i)
2/ 3
é æ dy ö2 ù d2 y
ê4 + ç ÷ ú = x2 + y 2
dx 2 Þ 2a =
ëê è dx ø ûú y
2
é æ dy ö2 ù éd2yù
3 Also from (i), 2 x + 2 yy ¢ - 2ay ¢ = 0
Þ ê4 + ç ÷ ú = ê 2 ú
ëê è dx ø ûú ë dx û
æ x2 + y 2 ö
Þ 2 x + 2 yy ¢ - ç ÷ y¢ = 0
Hence order is 2 and degree is 3. è y ø
Example – 2
æ 2 y2 - x2 - y2 ö 2 2
Þ 2x + y¢ç ÷ = 0 Þ y ¢ x - y = 2 xy
Find the degree of the differential equation è y ø
d2 y dy
- -3 = x Example – 4
dx 2 dx
If the differential equation representing the family of all
d2y dy circles touching x-axis at the origin is
Sol. 2
- -3 = x
dx dx
dy
x 2 - y2 = g(x) y, then g(x) equals:
dx
d2y dy
Þ -x= -3
dx 2 dx 1
(a) x (b) 2x2
Squaring both sides, we get 2
2 1 2
æ d2 y ö æ dy ö (c) 2x (d) x
ç 2 - x ÷ = ç - 3÷ 2
è dx ø è dx ø
Ans: (c)
2
æ d2 y ö 2 d 2 y dy
Þ ç 2 ÷ + x - 2x 2 = -3.
è dx ø dx dx
Clearly, degree = 2.
DIFFERENTIAL EQUATIONS 126
Example – 5
Center of circle = 0, α On eliminating the ‘a’ with the help of (i) and (ii) i.e.,
(i) –(x × (ii))
and radius = |a|
Equation of circle : æ dy ö æ dy ö
Þ sin a ç y - x ÷ = 1Þ ç y - x ÷ = cosec a ... (iii)
è dx ø è dx ø
2 2 2
x + ( y -a ) = a
2
dy æ dy ö
Þ x 2 + y 2 - 2a y = 0 ....(1) Also (ii) Þ = - cot a Þ ç ÷ = cot 2 a ... (iv)
dx è dx ø
Differentiate w.r.t.x
2 2
æ dy ö æ dy ö
dy dy Therefore by (iii) and (iv), 1 + ç ÷ = ç y - x ÷ .
2 x + 2 y - 2a =0 è dx ø è dx ø
dx dx
Example – 6
dy
x+ y Form the differential equation represented by family of
Þa = dx
dy curves y = ex (A cos x + B sin x).
dx Sol. Given y = ex A cos x + ex B sin x
put in (1) dy
= Ae x cos x – Aex sin x + Bex sin x + Bex cos x
dx
æ dy ö dy
2 2
ç x + y dx ÷ = (A + B) ex cos x + (B – A)ex sin x
x + y - 2y ç ÷=0 dx
çç dy ÷÷
è dx ø
d2 y
= (A + B)ex cos x – ex sin x (A + B) +
dx 2
dy dy
Þ x2 + y 2 - 2 xy - 2 y 2 =0 (B – A)ex sin x + (B – A)ex cos x
dx dx
d2 y
dy 2
= 2 Be x cos x - 2Ae x sin x.
Þ x2 - y 2 = 2 xy dx
dx
Þ g ( x) = 2 x
d2 y dy
Hence = 2 - 2y .
dx 2 dx
DIFFERENTIAL EQUATIONS 127
Example – 7 Example – 10
Find the solution of the differential equation Find the solution of the differential equation
(sin x + cos x) dy + (cos x – sin x) dx = 0
(1 + x2) (1 + y) dy + (1 + x) (1 + y2) dx = 0
dy cos x - sin x æ cos x - sin x ö Sol. Given equation (1 + x2) (1 + y)dy + (1 + x) (1 + y2) dx=0
Sol. =- Þ dy = - ç ÷ dx
dx sin x + cos x è sin x + cos x ø
(1 + y) (1 + x)
Þ 2
dy = - dx
On integrating both sides, we get (1 + y ) (1 + x 2 )
Þ y = –log (sin x + cos x) + log c
é 1 y ù é 1 x ù
æ c ö Þ ò êë1 + y + ú dy + ò ê + dx + c = 0
x 2 úû
y
Þ y = log ç ÷ Þ e (sin x + cos x) = c.
2
1 + y2 û ë 1 + x 2
1 +
è sin x + cos x ø
Example – 8 1 1
Þ tan -1 y + log (1 + y 2 ) + tan -1 x + log (1 + x 2 ) = c .
2 2
dy
Find the solution of differential equation x + y = y2 Example – 11
dx
3
dy 1 - y2 2
Find the solution of the equation + =0 Þ log y = - x+a 2 + 2a x + a + log A
dx 1- x2 3
dy 1 - y2 dy dx æ - ( x + a) ö
Sol. + = 0Þ ò = -ò = 2 x+a ç + a ÷ + log A
dx 1- x 2
1- y 2
1- x2 è 3 ø
Example – 12 Example – 14
dY 2X - Y 1 1 -1
\ = Here, P = 2
and Q = 2
e tan x .
dX X - 2Y 1+ x 1+ x
So, the given differential equation is linear in y.
dY dv
Put Y = vX; Þ = v+X 1
dX dX ò 2 dx -1 x
I .F . = e ò
P dx
= e 1+ x = e tan
dv 2X - vX 2 - v
v+X = = -1
dX X - 2vX 1 - 2v -1 x -1 x e tan x
\ Solution is given by ye tan = ò e tan . dx + C
1+ x2
dv 2 - 2v + 2v 2 2 (v 2 - v + 1)
X = = 1
dX 1 - 2v 1 - 2v On R.H.S., substitute tan -1 x = t Þ dx = dt
1 + x2
dX (1 - 2v) -1 x
\ = dv So, we obtain ye tan = ò e t e t dt + C
X 2(v 2 - v + 1)
Put v2 – v + 1 = t Þ (2v – 1) dv = dt -1 x
Þ ye tan = ò e 2t dt + C
dX dt
\ =-
X 2t -1 x e 2t
Þ ye tan = +C
2
DIFFERENTIAL EQUATIONS 130
5
ò - x dx
I.F. = e ò
P dx
dy =e = e -5 log x = (elog x )-5 = x -5
Solve - 2 y cos x = –2 sin 2 x.
dx
Hence, the solution of the transformed equation is given
by
dy
Sol. Given - 2 cos x . y = – 2 sin 2x. ... (1)
dx zx -5 = ò x -5 ( -5x 2 )dx + C or
It is a linear in y with ‘P’ = –2 cos x and ‘Q’ = –2 sin 2x.
y–5 x–5 = –5 òx
-3
dx + C Q z = y -5
æ ò Pdx ö
I.F. = e ò = e -2 sin x , çèQ I.F. = e
-2 cos x dx
÷
ø
1 æ x -2 ö
or = - 5 ç ÷+C
\ Solution of (1) is (xy)5 è -2 ø
y.e -2 sin x = ò -2 sin 2x.e -2 sin x dx + C
1 5 3
or 5
= x + Cx 5 ,
-2 sin x y 2
= –4 òe sin x cos x dx + C,
which is the required solution of the given differential
1 equation.
On R.H.S. put – 2 sin x = t Þ cos x dx = - dt
2
Example – 20
æ t öæ 1 ö
\ ye-2 sin x = -4 ò e t ç - ÷ ç - dt ÷ + C Solve the differential equation
è 2øè 2 ø
dy
sec2 y + 2x tan y = x 3
= - ò t e t dt + C = - te t - ò 1.e t dt + C dx
dy dz dy 1 dz æ 2 1 ö
Þ -5 y -6 = Þ y -6 =- ç put x = t Þ x dx = dt ÷
dx dx dx 5 dx è 2 ø
DIFFERENTIAL EQUATIONS 131
Example – 23
t1 1
= ò t.e . dt + C = te t - ò 1.e t dt + C
2 2 Find the equation of a curve passing through the point
(0, –2) given that at any point (x, y) on the curve the
1 t 1 2 product of the slope of its tangent and y coordinate of
= (te - e t ) + C = (x 2 - 1) e x + C the point is equal to the x coordinate of the point.
2 2
dy
1 2
Sol. We are given that y =x ... (1)
\ z = (x 2 - 1) + C.e- x dx
2
Þ y dy = x dx, integrating, we obtain
1 x 1 æ pö y 2æ yö
Þ- + log x - log y = k Þ log = + k . through ç1, ÷ is given by - cos ç ÷ , then find the
xy y xy è 4ø x èxø
equation of the curve is
Example – 22
dy y æyö
Sol. We have = - cos 2 ç ÷
Find the solution of ye–x/y dx – (xe–x/y + y3) dy = 0 dx x èxø
æ pö dp (t ) P(t ) - 900
This passes through ç1, ÷ , therefore 1 = log c =
è 4ø dt 2
or log c = log e d ( p (t ))
\ 2ò = dt
p(t ) - 900 ò
æ yö é æ e öù
Þ tan ç ÷ = - log x + loge Þ y = x tan -1 êlog ç ÷ú .
èxø ë è x øû
\ 2ln p(t ) - 900 = t + c
Example – 25 putting t = 0