UNIT 4 First Order and First Degree - Final
UNIT 4 First Order and First Degree - Final
We already studied algebraic equations. The goal there was to solve the equation. In other
words, to find the value of the variable that satisfies the equation. In general, every
algebraic equation has its own particular method of solution. Quadratic equations are
solved by one method, equations involving absolute values by another method and so on. In
every case, an equation was presented and a particular method was employed to arrive at a
solution, a method appropriate for the particular equation at hand.
These same general ideas carry over to differential equations but these equations are
involving derivatives. Each type of differential equation requires its own particular solution
method. The topic of differential equations is an extremely important in mathematics and
science and also in many other branches of studies like economics, commerce in which
changes occur and in which predictions are desirable. The most of systems studied come
with some kind of "Natural Laws" or observations that, when translated into the language of
mathematics then they become differential equations.
DIFFERENTIAL EQUATION
A differential equation is an equation which contains differential coefficients (derivatives), either
ordinary derivatives or partial derivatives.
𝜕2 𝑧 𝜕2 𝑧
𝜕𝑥 2
+ 𝜕𝑦2 = 0 − − − (5)
𝜕2 𝑢 𝜕𝑢
𝑘2 = − − − (6)
𝜕𝑥 2 𝜕𝑡
The degree (power) of largest (highest) derivative which is present in the differential equation is
called the degree of differential equation.
Equation (2) and (4) are ordinary differential equations of second order and first degree.
Equation (5) and (6) are partial differential equations of second order and first degree.
Note that the order does not depend on whether or not we have ordinary or partial derivatives in
the differential equation.
2
𝑑3 𝑦
SOLUTION highest derivative occurs in the term (
𝑑𝑡 3
)
EXAMPLE 2 Find order and degree of a differential equation (GTU JAN. 2015)
𝑑2 𝑦 𝑑3 𝑦
√𝑥 2 + 2𝑦 =
𝑑𝑥 2 𝑑𝑥 3
2
𝑑3𝑦
Now highest derivative occurs in the term (𝑑𝑥 3 )
𝑑𝑦
√ + 𝑦 = 𝑠𝑖𝑛 𝑥
𝑑𝑥
EQUATIONS
SOLUTION OF ORDINARY DIFFERNTIAL EQUATIONS
A functional relation between dependent variable and independent variable which satisfies
differential equation is called the solution of ordinary differential equation over a particular
domain of the independent variable. The solution of an ordinary differential equation is also
known as an integral curve.
GENERAL SOLUTION
The solution of 𝑟 𝑡ℎ order ordinary differential equation that involves 𝑟 arbitrary constants is
called general solution of differential equation.
In other words, in a general solution number of arbitrary constants is equal to the order of
the differential equation.
PARTICULAR SOLUTION
From the general solution, the solution obtained by giving particular values to the arbitrary
constants is called the particular solution of ordinary differential equation.
In other words, particular values of arbitrary constants give the particular solution because arbitrary
constants indicate that there are infinitely many solutions of differential equation.
EXAMPLE 1 Find the differential equation of the family of circles of radius 𝑟 whose centre lies on
the 𝑋-axis. (GTU JAN. 2015)
SOLUTION Step: 1 Assume the centre of circle is (𝑎, 0) as it is lying on 𝑋-axis then the equation
(𝑥 − 𝑎)2 + 𝑦 2 = 𝑟 2 − − − (1)
𝑑2 𝑦 𝑑𝑦 𝑑𝑦 𝑑 𝑑𝑣 𝑑𝑢
2(1 − 0) + 2 (𝑦 + ∙ )=0 (∵ (𝑢𝑣) = 𝑢 +𝑣 )
𝑑𝑥 2 𝑑𝑥 𝑑𝑥 𝑑𝑥 𝑑𝑥 𝑑𝑥
𝑑2𝑦 𝑑𝑦 2
⟹ 2 + 2 (𝑦 2 +
( ) )=0
𝑑𝑥 𝑑𝑥
𝑑2 𝑦 𝑑𝑦 2 2 𝑑2 𝑦 𝑑𝑦 2
⟹ (𝑦 2 +
( ) )=− ⟹𝑦 2 +
( ) = −1
𝑑𝑥 𝑑𝑥 2 𝑑𝑥 𝑑𝑥
EXAMPLE 2 Find the differential equation of the family of curves 𝑦 = 𝑒 𝑥 (𝐴𝑐𝑜𝑠 𝑥 + 𝐵𝑠𝑖𝑛 𝑥),
where 𝐴 and 𝐵 are arbitrary constants. (GTU DEC. 2011)
𝑑𝑦 𝑑 𝑑
= 𝑒𝑥 (𝐴𝑐𝑜𝑠 𝑥 + 𝐵𝑠𝑖𝑛 𝑥) + (𝐴𝑐𝑜𝑠 𝑥 + 𝐵𝑠𝑖𝑛 𝑥) (𝑒 𝑥 )
𝑑𝑥 𝑑𝑥 𝑑𝑥
𝑑 𝑑𝑣 𝑑𝑢
(∵ (𝑢𝑣) = 𝑢 + 𝑣 )
𝑑𝑥 𝑑𝑥 𝑑𝑥
𝑑𝑦
⟹ 𝑑𝑥 = 𝑒 𝑥 (−𝐴𝑠𝑖𝑛 𝑥 + 𝐵𝑐𝑜𝑠 𝑥) + (𝐴𝑐𝑜𝑠 𝑥 + 𝐵𝑠𝑖𝑛 𝑥)𝑒 𝑥
𝑑 𝑑 𝑑
(∵ (𝑠𝑖𝑛 𝑥) = 𝑐𝑜𝑠 𝑥, (𝑐𝑜𝑠 𝑥) = −𝑠𝑖𝑛𝑥, (𝑒 𝑥 ) = 𝑒 𝑥 )
𝑑𝑥 𝑑𝑥 𝑑𝑥
𝑑𝑦
⟹ 𝑑𝑥 = 𝑒 𝑥 (−𝐴𝑠𝑖𝑛 𝑥 + 𝐵𝑐𝑜𝑠 𝑥) + 𝑦 − − − (2) (∵ From (1))
𝑑2 𝑦 𝑑 𝑑 𝑑𝑦
𝑑𝑥 2
= 𝑒 𝑥 𝑑𝑥 (−𝐴𝑠𝑖𝑛 𝑥 + 𝐵𝑐𝑜𝑠 𝑥) + (−𝐴𝑠𝑖𝑛 𝑥 + 𝐵𝑐𝑜𝑠 𝑥) 𝑑𝑥 (𝑒 𝑥 ) + 𝑑𝑥
𝑑2 𝑦 𝑑𝑦
⟹ 𝑑𝑥 2 = 𝑒 𝑥 (−𝐴𝑐𝑜𝑠 𝑥 − 𝐵𝑠𝑖𝑛 𝑥) + (−𝐴𝑠𝑖𝑛 𝑥 + 𝐵𝑐𝑜𝑠 𝑥)𝑒 𝑥 + 𝑑𝑥
𝑑2 𝑦 𝑑𝑦
⟹ 𝑑𝑥 2 = −𝑒 𝑥 (𝐴𝑐𝑜𝑠 𝑥 + 𝐵𝑠𝑖𝑛 𝑥) + (−𝐴𝑠𝑖𝑛 𝑥 + 𝐵𝑐𝑜𝑠 𝑥)𝑒 𝑥 + 𝑑𝑥 − − − (4)
𝑑2 𝑦 𝑑𝑦 𝑑𝑦 𝑑2 𝑦 𝑑𝑦 𝑑2 𝑦 𝑑𝑦
𝑑𝑥 2
= −𝑦 + 𝑑𝑥 − 𝑦 + 𝑑𝑥 ⟹ 𝑑𝑥 2 = −2𝑦 + 2 𝑑𝑥 ⟹ 𝑑𝑥 2 − 2 𝑑𝑥 + 2𝑦 = 0
TRY YOURSELF
1. Find the differential equation corresponding to the family of curves 𝑦 = 𝑐𝑥 2 − 2𝑐 2 𝑥 + 𝑐 3
where 𝑐 is an arbitrary constant.
𝑑𝑦 3 𝑑𝑦
ANSWER ( ) = 4𝑦𝑥 − 8𝑦 2
𝑑𝑥 𝑑𝑥
2. Find the differential equation of the family of curves 𝑦 = 𝑝𝑒 3𝑡 + 𝑞𝑒 5𝑡 where 𝑝 and 𝑞 are
𝑑2 𝑦 𝑑𝑦
arbitrary constants. ANSWER −8 + 15𝑦 = 0
𝑑𝑡 2 𝑑𝑡
Here we consider only differential equations of first order and first degree.
Note that the differential equations which are non-variable separable, non-homogeneous,
non-linear and non-exact can be converted into standard forms by applying some particular
procedure.
Step: 2 Integrate on both sides separately with respect to 𝑥 and 𝑦 then we get the solution of
differential equation.
Noth that all equations are not variable separable equations but sometimes by using proper
substitution we can convert given equation into variable separable equation.
⟹ 𝑠𝑖𝑛−1 𝑥+𝑠𝑖𝑛−1 𝑦 = 𝑐 OR
𝑥2
𝑙𝑜𝑔𝑦 ∙ 𝑐𝑜𝑠𝑒𝑐 𝑥 𝑑𝑦 = −𝑥 2 𝑑𝑥 ⟹ 𝑙𝑜𝑔𝑦 𝑑𝑦 = − 𝑐𝑜𝑠𝑒𝑐 𝑥 𝑑𝑥 − − − (2)
𝑥2
∫ 𝑙𝑜𝑔𝑦 𝑑𝑦 = ∫ − 𝑐𝑜𝑠𝑒𝑐 𝑥 𝑑𝑥
1
⟹ ∫ 𝑙𝑜𝑔𝑦 𝑑𝑦 = − ∫ 𝑥 2 𝑠𝑖𝑛 𝑥 𝑑𝑥 (∵ = 𝑠𝑖𝑛 𝑥)
𝑐𝑜𝑠𝑒𝑐 𝑥
𝑑
⟹ 𝑙𝑜𝑔 𝑦 ∫ 1 𝑑𝑦 − ∫ [𝑑𝑦 (𝑙𝑜𝑔 𝑦) ∫ 1 𝑑𝑦] 𝑑𝑦
∵ 𝑢 = 𝑙𝑜𝑔 𝑦 𝑎𝑛𝑑 𝑣 = 1
( 𝑑𝑢 )
∫ 𝑢𝑣 𝑑𝑦 = 𝑢 ∫ 𝑣 𝑑𝑦 − ∫ [𝑑𝑦 ∫ 𝑣 𝑑𝑦] 𝑑𝑦
∵ 𝑢 = 𝑥 2 𝑎𝑛𝑑 𝑣 = 𝑠𝑖𝑛 𝑥
( )
∫ 𝑢𝑣 𝑑𝑥 = 𝑢𝑣1 − 𝑢′𝑣2 + 𝑢′′𝑣3 − ⋯
1
⟹ 𝑦 𝑙𝑜𝑔 𝑦 − ∫ (𝑦 ∙ 𝑦) 𝑑𝑦 = −(−𝑥 2 𝑐𝑜𝑠 𝑥 + 2𝑥𝑠𝑖𝑛 𝑥) + 𝑐
𝑑 1
(∵ ∫ 1 𝑑𝑦 = 𝑦 𝑎𝑛𝑑 (𝑙𝑜𝑔 𝑦) = )
𝑑𝑦 𝑦
𝑑𝑦
SOLUTION Step: 1 Given differential equation is 𝑑𝑥 = (𝑦 + 𝑥)2 − − − (1)
Let 𝑦 + 𝑥 = 𝑣 − − − (2)
1
⟹ 𝑡𝑎𝑛−1 𝑣 = 𝑥 + 𝑐 (∵ ∫
1+𝑥2
𝑑𝑥 = 𝑡𝑎𝑛−1 𝑥 𝑎𝑛𝑑 ∫ 1𝑑𝑥 = 𝑥 )
⟹ 𝑦 + 𝑥 = 𝑡𝑎𝑛 (𝑥 + 𝑐) ANSWER
𝑒 𝑥 𝑑𝑥 = 𝑒 𝑦 𝑑𝑦 − − − (2)
∫ 𝑒 𝑥 𝑑𝑥 = ∫ 𝑒 𝑦 𝑑𝑦
⟹ 𝑒 𝑥 − 𝑒𝑦 = 𝑐 ANSWER
EXAMPLE 5 Find general solution of differential equation 𝑦 ′ = 𝑒 2𝑥+3𝑦 (GTU JUNE. 2014)
∫ 𝑒 −3𝑦 𝑑𝑦 = ∫ 𝑒 2𝑥 𝑑𝑥
𝑒 −3𝑦 𝑒 2𝑥
⟹ −3
= 2
+ 𝑐 where 𝑐 is arbitrary (integrating constant).
𝑒𝑎𝑥
(∵ ∫ 𝑒𝑎𝑥 𝑑𝑥 = )
𝑎
𝑒 −3𝑦 𝑒 2𝑥
⟹− 3
− 2
=𝑐 ANSWER
𝑑𝑦 1 2𝑥
⟹∫ 𝑦
= 2 ∫ 1+𝑥 2 𝑑𝑥
1
⟹ 𝑙𝑜𝑔 𝑦 = 2 𝑙𝑜𝑔 (1 + 𝑥 2 ) + 𝑐 where 𝑐 is arbitrary (integrating constant).
𝑓′(𝑥)
(∵ ∫
𝑓 (𝑥)
𝑑𝑥 = 𝑙𝑜𝑔 𝑓(𝑥) )
1
⟹ 𝑙𝑜𝑔 𝑦 = 𝑙𝑜𝑔 (1 + 𝑥 2 )2 + 𝑐 (∵ 𝑎𝑙𝑜𝑔𝑥 = 𝑙𝑜𝑔𝑥𝑎 )
1
⟹ 𝑙𝑜𝑔 𝑦 − 𝑙𝑜𝑔 (1 + 𝑥 2 )2 = 𝑐
𝑦 𝑎
⟹ 𝑙𝑜𝑔 1 =𝑐 (∵ 𝑙𝑜𝑔 𝑎 − 𝑙𝑜𝑔 𝑏 = 𝑙𝑜𝑔 (𝑏))
(1+𝑥 2)2
𝑦
⟹ √1+𝑥 2
= 𝑒𝑐 (∵ 𝑙𝑜𝑔𝑥 = 𝑎 ⟹ 𝑥 = 𝑒 𝑎 )
⟹ 𝑦 = 𝑒 𝑐 √1 + 𝑥 2 ANSWER
𝑒 𝑥 𝑡𝑎𝑛 𝑦 𝑑𝑥 = − (1 − 𝑒 𝑥 )𝑠𝑒𝑐 2 𝑦 𝑑𝑦
𝑒 𝑥 𝑑𝑥 𝑠𝑒𝑐 2 𝑦𝑑𝑦
⟹ − (1−𝑒 𝑥 ) = 𝑡𝑎𝑛 𝑦
− − − (2)
𝑒𝑥 𝑠𝑒𝑐 2𝑦
∫ − (1−𝑒 𝑥) 𝑑𝑥 = ∫ 𝑡𝑎𝑛 𝑦 𝑑𝑦
−𝑒 𝑥 𝑠𝑒𝑐 2 𝑦
⟹ ∫ (1−𝑒 𝑥) 𝑑𝑥 = ∫ 𝑑𝑦
𝑡𝑎𝑛 𝑦
𝑓′(𝑥)
⟹ 𝑙𝑜𝑔 (1 − 𝑒 𝑥 ) = 𝑙𝑜𝑔 (𝑡𝑎𝑛 𝑦) + 𝑐 (∵ ∫
𝑓 (𝑥)
𝑑𝑥 = log 𝑓(𝑥) )
1−𝑒 𝑥 𝑎
⟹ 𝑙𝑜𝑔 𝑡𝑎𝑛 𝑦
=𝑐 (∵ 𝑙𝑜𝑔 𝑎 − 𝑙𝑜𝑔 𝑏 = 𝑙𝑜𝑔 (𝑏))
1−𝑒 𝑥
⟹ 𝑡𝑎𝑛 𝑦
= 𝑒𝑐 (∵ 𝑙𝑜𝑔𝑥 = 𝑎 ⟹ 𝑥 = 𝑒 𝑎 )
𝑑𝑦
SOLUTION Step: 1 Given differential equation is 𝑑𝑥 = 𝑐𝑜𝑠 𝑥𝑐𝑜𝑠 𝑦 − 𝑠𝑖𝑛 𝑥𝑠𝑖𝑛𝑦 − − − (1)
𝑑𝑣
From (2), (3) and (4), we get 𝑑𝑥 − 1 = 𝑐𝑜𝑠 𝑣 − − − (5)
𝑑𝑣 𝑑𝑣
⟹ = 𝑐𝑜𝑠 𝑣 + 1 ⟹ = 𝑑𝑥 − − − (6)
𝑑𝑥 𝑐𝑜𝑠 𝑣+1
1 𝜃
⟹∫ 𝑣 𝑑𝑣 = ∫ 1 𝑑𝑥 (∵ 1 + 𝑐𝑜𝑠 𝜃 = 2𝑐𝑜𝑠 2 ( 2 ))
2𝑐𝑜𝑠 2 ( )
2
1 𝑣
⟹ 2 ∫ 𝑠𝑒𝑐 2 (2) 𝑑𝑣 = ∫ 1 𝑑𝑥
𝑣
1 𝑡𝑎𝑛 (2) 𝑡𝑎𝑛 𝑎𝑥
⟹ =𝑥+𝑐 (∵ ∫ 𝑠𝑒𝑐 2 (𝑎𝑥) 𝑑𝑥 = )
2 1/2 𝑎
𝑣
⟹ 2
= 𝑡𝑎𝑛−1 (𝑥 + 𝑐 ) (∵ 𝑡𝑎𝑛 𝑥 = 𝑎 ⟹ 𝑥 = 𝑡𝑎𝑛−1 𝑎)
𝑥+𝑦
⟹ = 𝑡𝑎𝑛−1 (𝑥 + 𝑐 ) (∵ 𝑣 = 𝑥 + 𝑦)
2
𝑑𝑦
SOLUTION Step: 1 Given differential equation is 𝑥𝑦 𝑑𝑥 = 1 + 𝑥 + 𝑦 + 𝑥𝑦 − − − (1)
1+𝑦−1 1
⟹∫ 𝑑𝑦 = ∫ ( + 1) 𝑑𝑥
1+𝑦 𝑥
1 1
⟹ ∫ (1 − 1+𝑦) 𝑑𝑦 = ∫ (𝑥 + 1) 𝑑𝑥
1
⟹ 𝑦 − 𝑙𝑜𝑔 (1 + 𝑦) = 𝑙𝑜𝑔 𝑥 + 𝑥 + 𝑐 (∵ ∫
𝑥
𝑑𝑥 = 𝑙𝑜𝑔 𝑥)
(∵ ∫ 1 𝑑𝑥 = 𝑥 𝑎𝑛𝑑 ∫ 1 𝑑𝑦 = 𝑦)
⟹ 𝑦 − 𝑥 − 𝑐 = 𝑙𝑜𝑔 𝑥 + 𝑙𝑜𝑔 (1 + 𝑦)
⟹ 𝑥 (1 + 𝑦) = 𝑒 𝑦−𝑥−𝑐 (∵ 𝑙𝑜𝑔𝑥 = 𝑎 ⟹ 𝑥 = 𝑒 𝑎 )
⟹ 𝑥 + 𝑥𝑦 = 𝑒 𝑦−𝑥−𝑐 ANSWER
𝑑𝑦 𝑑𝑦
EXAMPLE 10 Solve (𝑥 + 𝑦)2 [𝑥 𝑑𝑥 + 𝑦] = 𝑥𝑦 [1 + 𝑑𝑥 ] (GTU MAY. 2012)
𝑑𝑦 𝑑𝑦
SOLUTION Step: 1 Given differential equation is (𝑥 + 𝑦)2 [𝑥 𝑑𝑥 + 𝑦] = 𝑥𝑦 [1 + 𝑑𝑥 ] − − − (1)
𝑑𝑦 𝑑𝑢 𝑑𝑦 𝑑𝑢
𝑥𝑦 = 𝑢 ⟹ 𝑥 + 𝑦(1) = ⟹𝑥 +𝑦= − − − (5)
𝑑𝑥 𝑑𝑥 𝑑𝑥 𝑑𝑥
1
⟹ ∫ 𝑑𝑢 = ∫ 𝑣 −2 𝑑𝑣
𝑢
𝑣 −2+1
⟹ 𝑙𝑜𝑔 𝑢 = −2+1
+ 𝑐 where 𝑐 is arbitrary (integrating constant).
𝑥𝑛+1 1
(∵ ∫ 𝑥𝑛 𝑑𝑥 = , 𝑛 ≠ −1 𝑎𝑛𝑑 ∫ 𝑢 𝑑𝑢 = 𝑙𝑜𝑔 𝑢)
𝑛+1
(𝑥+𝑦)−1
⟹ 𝑙𝑜𝑔 (𝑥𝑦) = +𝑐 (∵ 𝑣 = 𝑥 + 𝑦 𝑎𝑛𝑑 𝑢 = 𝑥𝑦 )
−1
1
⟹ 𝑙𝑜𝑔 (𝑥𝑦) = − 𝑥+𝑦
+𝑐 ANSWER
∫ 9𝑦𝑑𝑦 = ∫ −4𝑥𝑑𝑥
𝑦2 𝑥2 𝑥 𝑛+1
⟹9 2
= −4 2
+𝑐 (∵ ∫ 𝑥 𝑛 𝑑𝑥 = , 𝑛 ≠ −1)
𝑛+1
1
⟹ −𝑙𝑜𝑔 𝑦 = 𝑙𝑜𝑔 𝑥 + 𝑐 (∵ ∫ 𝑥 𝑑𝑥 = 𝑙𝑜𝑔 𝑥)
⟹ −𝑙𝑜𝑔 𝑦 − 𝑙𝑜𝑔 𝑥 = 𝑐
⟹ (𝑙𝑜𝑔 𝑦 + 𝑙𝑜𝑔 𝑥) = −𝑐
𝑦(2) = −2 ⟹ If 𝑥 = 2 then 𝑦 = −2
Hence, given initial condition is not valid for this differential equation.
𝑦+1−𝑦 𝑑𝑥
⟹ ∫ (𝑦+1)𝑦 = ∫
𝑥
1 1 𝑑𝑥
⟹ ∫ ( − (𝑦+1)) = ∫
𝑦 𝑥
1
⟹ (𝑙𝑜𝑔 𝑦 − 𝑙𝑜𝑔 (𝑦 + 1)) = 𝑙𝑜𝑔 𝑥 + 𝑐 (∵ ∫ 𝑥 𝑑𝑥 = 𝑙𝑜𝑔 𝑥)
𝑦 𝑎
⟹ 𝑙𝑜𝑔 𝑦+1
− 𝑙𝑜𝑔 𝑥 = 𝑐 (∵ 𝑙𝑜𝑔 𝑎 − 𝑙𝑜𝑔 𝑏 = 𝑙𝑜𝑔 (𝑏))
𝑦 𝑎
⟹ 𝑙𝑜𝑔 𝑥(𝑦+1)
=𝑐 (∵ 𝑙𝑜𝑔 𝑎 − 𝑙𝑜𝑔 𝑏 = 𝑙𝑜𝑔 (𝑏))
𝑦
⟹ = 𝑒𝑐 (∵ 𝑙𝑜𝑔𝑥 = 𝑎 ⟹ 𝑥 = 𝑒 𝑎 )
𝑥(𝑦+1)
⟹ 𝑦 = 𝑥 (𝑦 + 1)𝑒 𝑐 ANSWER
2𝑥𝑦 𝑑𝑥 = −𝑥 2 𝑑𝑦 − − − (2)
1 𝑑𝑦
⟹ 2∫ 𝑑𝑥 = − ∫
𝑥 𝑦
1
⟹ 2𝑙𝑜𝑔 𝑥 = −𝑙𝑜𝑔 𝑦 + 𝑐 (∵ ∫ 𝑥 𝑑𝑥 = 𝑙𝑜𝑔 𝑥)
TRY YOURSELF
INTEGRATING FACTOR
In other words, any factor multiplying with differential equation gives 𝑑[𝑓(𝑥, 𝑦)] then that
factor is called integrating factor.
Note that in this equation 𝑦 is dependent variable and 𝑥 is independent variable. In other words, 𝑦 is
a function of 𝑥.
Also 𝑃(𝑥) and 𝑄(𝑥) are functions of single variable only 𝑥 or 𝑃(𝑥) and 𝑄(𝑥) may be constant
functions.
𝑑𝑦
Note that coefficient of 𝑑𝑥 must be 1.
𝑑𝑥
Another form of Linear differential equation is 𝑑𝑦 + 𝑃 (𝑦)𝑥 = 𝑄(𝑦).
Note that in this equation 𝑥 is dependent variable and 𝑦 is independent variable. In other words, 𝑥 is
a function of 𝑦.
Also 𝑃(𝑦) and 𝑄(𝑦) are functions of single variable only 𝑦 or 𝑃(𝑦) and 𝑄(𝑦) may be constant
functions.
𝑑𝑥
Note that coefficient of 𝑑𝑦 must be 1.
𝑑𝑦
+ 𝑃 (𝑥)𝑦 = 𝑄(𝑥)
𝑑𝑥
𝑑𝑦 𝑦 𝑥 3 + 3𝑥 2 − 4
+ =
𝑑𝑥 𝑥 𝑥
𝑑𝑦 𝑦 4
⟹ + = 𝑥 2 + 3𝑥 − − − − (1)
𝑑𝑥 𝑥 𝑥
𝑑𝑦
Now compare this differential equation (1) with 𝑑𝑥 + 𝑃(𝑥)𝑦 = 𝑄 (𝑥).
1 4
So, we get 𝑃 (𝑥) = and 𝑄(𝑥) = 𝑥 2 + 3𝑥 −
𝑥 𝑥
I.F. = 𝑒 ∫ 𝑃(𝑥)𝑑𝑥
1
⟹ I.F. = 𝑒 ∫𝑥 𝑑𝑥
1
⟹ I.F. = 𝑒 𝑙𝑜𝑔 𝑥 (∵ ∫
𝑥
𝑑𝑥 = 𝑙𝑜𝑔 𝑥)
constant.
4
⟹ 𝑦 ∙ 𝑥 = ∫ [(𝑥 2 + 3𝑥 − ) ∙ 𝑥] 𝑑𝑥 + 𝑐
𝑥
⟹ 𝑦 ∙ 𝑥 = ∫(𝑥 3 + 3𝑥 2 − 4) 𝑑𝑥 + 𝑐
𝑥4 𝑥3 𝑥 𝑛+1
⟹𝑦∙𝑥 = +3 − 4𝑥 + 𝑐 (∵ ∫ 𝑥 𝑛 𝑑𝑥 = )
4 3 𝑛+1
𝑥4
⟹ 𝑦𝑥 = 4
+ 𝑥 3 − 4𝑥 + 𝑐 ANSWER
𝑑𝑦 𝑦
EXAMPLE 2 Solve: 𝑑𝑥
+ 𝑥 = 𝑠𝑖𝑛 𝑥 2
𝑑𝑦 𝑦
+ = 𝑠𝑖𝑛 𝑥 2 − − − (1)
𝑑𝑥 𝑥
𝑑𝑦
Now compare this differential equation (1) with 𝑑𝑥 + 𝑃(𝑥)𝑦 = 𝑄 (𝑥).
1
So, we get 𝑃 (𝑥) = 𝑥
and 𝑄(𝑥) = 𝑠𝑖𝑛 𝑥 2
I.F. = 𝑒 ∫ 𝑃(𝑥)𝑑𝑥
1
⟹ I.F. = 𝑒 ∫𝑥 𝑑𝑥
1
⟹ I.F. = 𝑒 𝑙𝑜𝑔 𝑥 (∵ ∫
𝑥
𝑑𝑥 = 𝑙𝑜𝑔 𝑥)
constant.
1
⟹𝑦∙𝑥 = (−𝑐𝑜𝑠 𝑡) + 𝑐 (∵ ∫ 𝑠𝑖𝑛 𝑥 𝑑𝑥 = −𝑐𝑜𝑠 𝑥)
2
1
⟹ 𝑦 ∙ 𝑥 = − 2 (𝑐𝑜𝑠 𝑥 2 ) + 𝑐 (∵ 𝑡 = 𝑥 2 )
𝑐𝑜𝑠(𝑥 2)
⟹ 𝑦𝑥 = −
2
+ 𝑐 ANSWER
𝑑𝑦 𝑦 𝑙𝑜𝑔 𝑡
EXAMPLE 3 Solve the first order differential equation 𝑙𝑜𝑔 𝑡 𝑑𝑡 + 𝑡 = 2 𝑡
𝑑𝑦 𝑦 𝑙𝑜𝑔 𝑡
+ =2
𝑑𝑡 𝑡𝑙𝑜𝑔 𝑡 𝑡𝑙𝑜𝑔 𝑡
𝑑𝑦 𝑦 2
⟹ + = − − − (1)
𝑑𝑡 𝑡𝑙𝑜𝑔 𝑡 𝑡
𝑑𝑦
Now compare this differential equation (1) with 𝑑𝑡 + 𝑃(𝑡)𝑦 = 𝑄(𝑡).
1 2
So, we get 𝑃 (𝑡) = 𝑡𝑙𝑜𝑔 𝑡 and 𝑄(𝑡) = 𝑡
I.F. = 𝑒 ∫ 𝑃(𝑡)𝑑𝑡
1
∫𝑡𝑙𝑜𝑔 𝑡𝑑𝑡
⟹ I.F. = 𝑒
1/𝑡
∫𝑙𝑜𝑔 𝑡𝑑𝑡
⟹ I.F. = 𝑒
𝑓′(𝑥)
⟹ I.F. = 𝑒 𝑙𝑜𝑔(𝑙𝑜𝑔 (𝑡)) (∵ ∫
𝑓 (𝑥)
𝑑𝑥 = 𝑙𝑜𝑔𝑓(𝑥))
constant.
2
⟹ 𝑦(𝑙𝑜𝑔 𝑡) = ∫ ( 𝑡 ∙ 𝑙𝑜𝑔 𝑡) 𝑑𝑡 + 𝑐
1
⟹ 𝑦(𝑙𝑜𝑔 𝑡) = 2 ∫ (𝑙𝑜𝑔 𝑡 ∙ ) 𝑑𝑡 + 𝑐
𝑡
𝑑𝑦
+ 𝑦 𝑡𝑎𝑛 𝑥 = 𝑒 𝑥 𝑐𝑜𝑠 2 𝑥 − − − (1)
𝑑𝑥
𝑑𝑦
Now compare this differential equation (1) with + 𝑃(𝑥)𝑦 = 𝑄 (𝑥).
𝑑𝑡
I.F. = 𝑒 ∫ 𝑃(𝑥)𝑑𝑥
constant.
𝑒𝑥
⟹ 𝑦(𝑠𝑒𝑐 𝑥) = 12 +12
(𝑐𝑜𝑠 𝑥 + 𝑠𝑖𝑛 𝑥) + 𝑐
𝑒 𝑝𝑥
(∵ ∫ 𝑒 𝑝𝑥 𝑐𝑜𝑠 𝑞𝑥 𝑑𝑥 = 𝑝2 +𝑞2 (𝑝𝑐𝑜𝑠 𝑞𝑥 + 𝑞𝑠𝑖𝑛 𝑞𝑥))
𝑒𝑥
⟹ 𝑦(𝑠𝑒𝑐 𝑥) = 2
(𝑐𝑜𝑠 𝑥 + 𝑠𝑖𝑛 𝑥) + 𝑐 ANSWER
𝑑𝑦
EXAMPLE 5 Solve the first order differential equation 𝑑𝑥 + 2𝑦 𝑡𝑎𝑛 𝑥 = 𝑠𝑖𝑛𝑥 (GTU JAN. 2015)
𝑑𝑦
+ 2𝑦 𝑡𝑎𝑛 𝑥 = 𝑠𝑖𝑛𝑥 − − − (1)
𝑑𝑥
𝑑𝑦
Now compare this differential equation (1) with + 𝑃(𝑥)𝑦 = 𝑄 (𝑥).
𝑑𝑥
2
⟹ I.F. = 𝑒 log(𝑠𝑒𝑐 𝑥) (∵ 𝑎𝑙𝑜𝑔𝑥 = 𝑙𝑜𝑔𝑥𝑎 )
constant.
𝑠𝑖𝑛 𝑥
⟹ 𝑦(𝑠𝑒𝑐 2 𝑥) = ∫ ( 𝑐𝑜𝑠𝑥 ∙ 𝑠𝑒𝑐 𝑥 ) 𝑑𝑥 + 𝑐
𝑑𝑦
+ 𝑦 𝑡𝑎𝑛 𝑥 = 𝑐𝑜𝑠 𝑥 − − − (1)
𝑑𝑥
𝑑𝑦
Now compare this differential equation (1) with 𝑑𝑥 + 𝑃(𝑥)𝑦 = 𝑄 (𝑥).
I.F. = 𝑒 ∫ 𝑃(𝑥)𝑑𝑥
⟹ 𝑦(𝑠𝑒𝑐 𝑥) = 𝑥 + 𝑐 (∵ ∫ 1 𝑑𝑥 = ∫ 𝑥 0 𝑑𝑥 = 𝑥)
𝑑𝑦 𝑦
− = 𝑒 3𝑥 (𝑥 + 1) − − − (1)
𝑑𝑥 𝑥 + 1
𝑑𝑦
Now compare this differential equation (1) with 𝑑𝑥 + 𝑃(𝑥)𝑦 = 𝑄 (𝑥).
1
So, we get 𝑃 (𝑥) = − and 𝑄(𝑥) = 𝑒 3𝑥 (𝑥 + 1)
𝑥+1
I.F. = 𝑒 ∫ 𝑃(𝑥)𝑑𝑥
1
∫ − (𝑥+1)𝑑𝑥
⟹ I.F. = 𝑒
1 𝑙𝑜𝑔(𝑎𝑥+𝑏)
⟹ I.F. = 𝑒 −𝑙𝑜𝑔(𝑥+1) (∵ ∫
𝑎𝑥+𝑏
𝑑𝑥 = 𝑎
)
−1
⟹ I.F. = 𝑒 𝑙𝑜𝑔(𝑥+1) (∵ 𝑎𝑙𝑜𝑔𝑥 = 𝑙𝑜𝑔𝑥𝑎 )
1
⟹ I.F. = (𝑥 + 1)−1 = 𝑥+1 (∵ 𝑒𝑙𝑜𝑔𝑓(𝑥) = 𝑓(𝑥))
constant.
1 1
⟹ 𝑦 (𝑥+1) = ∫ (𝑒 3𝑥 (𝑥 + 1) 𝑥+1) 𝑑𝑥 + 𝑐
1
⟹ 𝑦 (𝑥+1) = ∫ 𝑒 3𝑥 𝑑𝑥 + 𝑐
1 𝑒 3𝑥 𝑒 𝑎𝑥
⟹ 𝑦 (𝑥+1) = + 𝑐 (∵ ∫ 𝑒 𝑎𝑥 𝑑𝑥 = )
3 𝑎
𝑒 3𝑥
⟹ 𝑦 = (𝑥 + 1) ( 3
+ 𝑐) ANSWER
𝑑𝑦 4𝑥 1
+ 2 𝑦= 2 − − − (1)
𝑑𝑥 𝑥 + 1 (𝑥 + 1)3
𝑑𝑦
Now compare this differential equation (1) with 𝑑𝑥 + 𝑃(𝑥)𝑦 = 𝑄 (𝑥).
4𝑥 1
So, we get 𝑃 (𝑥) = 𝑥 2+1 and 𝑄 (𝑥) = (𝑥 2+1)3
I.F. = 𝑒 ∫ 𝑃(𝑥)𝑑𝑥
4𝑥
𝑑𝑥
⟹ I.F. = 𝑒 ∫𝑥2+1
2𝑥
2 ∫ 2 𝑑𝑥
⟹ I.F. = 𝑒 𝑥 +1
2 +1) 𝑓′(𝑥)
⟹ I.F. = 𝑒 2𝑙𝑜𝑔 (𝑥 (∵ ∫
𝑓 (𝑥)
𝑑𝑥 = 𝑙𝑜𝑔 𝑓(𝑥) )
2 +1)2
⟹ I.F. = 𝑒 𝑙𝑜𝑔 (𝑥 (∵ 𝑎𝑙𝑜𝑔𝑥 = 𝑙𝑜𝑔𝑥𝑎 )
constant.
1
⟹ 𝑦( (𝑥 2 + 1)2 ) = ∫ ((𝑥 2 3 ∙ (𝑥 2 + 1)2 ) 𝑑𝑥 + 𝑐
+1)
1
⟹ 𝑦(𝑥 4 + 2𝑥 2 + 1) = ∫ (𝑥 2+1) 𝑑𝑥 + 𝑐
1 1 𝑥
⟹ 𝑦(𝑥 4 + 2𝑥 2 + 1) = 𝑡𝑎𝑛−1 𝑥 + 𝑐 (∵ ∫
𝑥2+𝑎2
𝑑𝑥 = 𝑎 𝑡𝑎𝑛−1 (𝑎))
⟹ 𝑥 4 𝑦 + 2𝑥 2 𝑦 + 𝑦 = 𝑡𝑎𝑛−1 𝑥 + 𝑐 ANSWER
𝑑𝑦
EXAMPLE 9 Solve the differential equation 𝑥 𝑑𝑥 + (1 + 𝑥)𝑦 = 𝑥 3 (GTU JUNE. 2013)
𝑑𝑦 (1 + 𝑥) 𝑥3 𝑑𝑦 1 + 𝑥
+ 𝑦= ⟹ + 𝑦 = 𝑥 2 − − − (1)
𝑑𝑥 𝑥 𝑥 𝑑𝑥 𝑥
𝑑𝑦
Now compare this differential equation (1) with 𝑑𝑥 + 𝑃(𝑥)𝑦 = 𝑄 (𝑥).
I.F. = 𝑒 ∫ 𝑃(𝑥)𝑑𝑥
1+𝑥
𝑑𝑥
⟹ I.F. = 𝑒 ∫ 𝑥
1
⟹ I.F. = 𝑒 ∫(𝑥+1) 𝑑𝑥
1
⟹ I.F. = 𝑒 𝑙𝑜𝑔 𝑥+𝑥 (∵ ∫ 𝑥 𝑑𝑥 = 𝑙𝑜𝑔 𝑥)
constant.
⟹ 𝑦(𝑥𝑒 𝑥 ) = ∫(𝑥 2 ∙ 𝑥𝑒 𝑥 ) 𝑑𝑥 + 𝑐
⟹ 𝑦(𝑥𝑒 𝑥 ) = ∫(𝑥 3 𝑒 𝑥 ) 𝑑𝑥 + 𝑐
∵ 𝑢 = 𝑥 3 , 𝑣 = 𝑒 𝑥 𝑎𝑛𝑑
( )
∫ 𝑢𝑣 𝑑𝑥 = 𝑢𝑣1 − 𝑢′𝑣2 + 𝑢′′𝑣3 − 𝑢′′′𝑣4 + ⋯ ⋯ ⋯
𝑑𝑥 𝑡𝑎𝑛−1 𝑦 𝑥
= 2
−
𝑑𝑦 1 + 𝑦 1 + 𝑦2
𝑑𝑥 𝑥 𝑡𝑎𝑛−1 𝑦
⟹ + = − − − (1)
𝑑𝑦 1 + 𝑦 2 1 + 𝑦 2
𝑑𝑥
Now compare this differential equation (1) with 𝑑𝑦 + 𝑃(𝑦)𝑥 = 𝑄 (𝑦).
1 𝑡𝑎𝑛−1𝑦
So, we get 𝑃 (𝑦) = 1+𝑦 2
and 𝑄(𝑦) = 1+𝑦 2
I.F. = 𝑒 ∫ 𝑃(𝑦)𝑑𝑦
−1 𝑦 1 1 𝑥
⟹ I.F. = 𝑒 𝑡𝑎𝑛 (∵ ∫
𝑥2+𝑎2
𝑑𝑥 = 𝑎 𝑡𝑎𝑛−1 (𝑎))
constant.
−1 𝑦 𝑡𝑎𝑛−1 𝑦 −1 𝑦
⟹ 𝑥(𝑒 𝑡𝑎𝑛 ) = ∫(
1+𝑦 2
∙ 𝑒 𝑡𝑎𝑛 ) 𝑑𝑦 + 𝑐 − − − (2)
⟹ 𝑥(𝑒 𝑡 ) = ∫(𝑡 ∙ 𝑒 𝑡 ) 𝑑𝑡 + 𝑐
∵ 𝑢 = 𝑡 , 𝑣 = 𝑒 𝑡 𝑎𝑛𝑑
( )
∫ 𝑢𝑣 𝑑𝑡 = 𝑢𝑣1 − 𝑢′𝑣2 + 𝑢′′𝑣3 − 𝑢′′′𝑣4 + ⋯ ⋯ ⋯
−1 𝑦 −1 𝑦 −1 𝑦
⟹ 𝑥(𝑒 𝑡𝑎𝑛 ) = 𝑡𝑎𝑛−1 𝑦𝑒 𝑡𝑎𝑛 − 𝑒 𝑡𝑎𝑛 + 𝑐
−1 𝑦 −1 𝑦
⟹ 𝑥(𝑒 𝑡𝑎𝑛 ) = 𝑒 𝑡𝑎𝑛 (𝑡𝑎𝑛−1 𝑦 − 1) + 𝑐 ANSWER
−1 𝑦
EXAMPLE Solve the differential equation (1 + 𝑦 2 )𝑑𝑥 = (𝑒 −𝑡𝑎𝑛 − 𝑥)𝑑𝑦 (GTU JUNE. 2019)
−1 𝑦
1 𝑒 −𝑡𝑎𝑛
So, we get 𝑃 (𝑦) = 1+𝑦 2
and 𝑄(𝑦) = 1+𝑦 2
I.F. = 𝑒 ∫ 𝑃(𝑦)𝑑𝑦
−1 𝑦 1 1 𝑥
⟹ I.F. = 𝑒 𝑡𝑎𝑛 (∵ ∫
𝑥2+𝑎2
𝑑𝑥 = 𝑎 𝑡𝑎𝑛−1 (𝑎))
constant.
−1 𝑦
−1 𝑦 𝑒 −𝑡𝑎𝑛 −1 𝑦
⟹ 𝑥(𝑒 𝑡𝑎𝑛 ) = ∫(
1+𝑦 2
∙ 𝑒 𝑡𝑎𝑛 ) 𝑑𝑦 + 𝑐
−1 𝑦 1
⟹ 𝑥(𝑒 𝑡𝑎𝑛 ) = ∫ ( 2 ∙ 𝑒 0 ) 𝑑𝑦 + 𝑐
1+𝑦
−1 𝑦
⟹ 𝑥(𝑒 𝑡𝑎𝑛 ) = 𝑡𝑎𝑛−1 𝑦 + 𝑐 ANSWER
EXAMPLE Solve the differential equation (2𝑥 3 + 4𝑦)𝑑𝑥 − 𝑥𝑑𝑦 = 0 (GTU JUNE. 2019)
𝑑𝑦 2𝑥 3 + 4𝑦 𝑑𝑦 4𝑦
⟹ = ⟹ − = 2𝑥 2 − − − (1)
𝑑𝑥 𝑥 𝑑𝑥 𝑥
𝑑𝑦
Now compare this differential equation (1) with + 𝑃(𝑥)𝑦 = 𝑄 (𝑥).
𝑑𝑥
4
So, we get 𝑃 (𝑥) = − 𝑥 and 𝑄(𝑥) = 2𝑥 2
I.F. = 𝑒 ∫ 𝑃(𝑥)𝑑𝑥
4
⟹ I.F. = 𝑒 − ∫𝑥 𝑑𝑥
1
⟹ I.F. = 𝑒 −4 𝑙𝑜𝑔 𝑥 (∵ ∫ 𝑑𝑥 = 𝑙𝑜𝑔 𝑥)
𝑥
−4
⟹ I.F. = 𝑒 𝑙𝑜𝑔 𝑥
1
⟹ I.F. = 𝑥 −4 = 𝑥 4
constant.
𝑦 1
⟹ 𝑥 4 = 2 ∫ (𝑥 2 ) 𝑑𝑥 + 𝑐
𝑦 2
⟹ 𝑥4 = − 𝑥 + 𝑐 ANSWER
𝑑𝑦
EXAMPLE 11 Solve the differential equation 𝑑𝑥 + 𝑦 𝑡𝑎𝑛 𝑥 = 𝑠𝑖𝑛2𝑥 (GTU JAN. 2013)
𝑑𝑦
+ 𝑦 𝑡𝑎𝑛 𝑥 = 𝑠𝑖𝑛2𝑥 − − − (1)
𝑑𝑥
𝑑𝑦
Now compare this differential equation (1) with 𝑑𝑥 + 𝑃(𝑥)𝑦 = 𝑄 (𝑥).
I.F. = 𝑒 ∫ 𝑃(𝑥)𝑑𝑥
constant.
− 𝑐𝑜𝑠 𝑎𝑥
⟹ 𝑦(𝑠𝑒𝑐 𝑥) = −2𝑐𝑜𝑠 𝑥 + 𝑐 (∵ ∫ 𝑠𝑖𝑛 𝑎𝑥 𝑑𝑥 = )
𝑎
𝑑𝑦 1
+ 𝑦 = 6𝑒1/𝑥 − − − (1)
𝑑𝑥 𝑥 2
𝑑𝑦
Now compare this differential equation (1) with + 𝑃(𝑥)𝑦 = 𝑄 (𝑥).
𝑑𝑥
1
So, we get 𝑃 (𝑥) = 𝑥2
and 𝑄(𝑥) = 6𝑒1/𝑥
I.F. = 𝑒 ∫ 𝑃(𝑥)𝑑𝑥
1
𝑑𝑥
⟹ I.F. = 𝑒 ∫𝑥2
−2 𝑑𝑥
⟹ I.F. = 𝑒 ∫ 𝑥
𝑥𝑛+1
⟹ I.F. = 𝑒 −1/𝑥 (∵ ∫ 𝑥𝑛 𝑑𝑥 = , 𝑛 ≠ −1)
𝑛+1
constant.
⟹ 𝑦(𝑒 −1/𝑥 ) = 6 ∫ 𝑒 0 𝑑𝑥 + 𝑐 (∵ 𝑒0 = 1)
⟹ 𝑦(𝑒 −1/𝑥 ) = 6 ∫ 1 𝑑𝑥 + 𝑐 (∵ ∫ 1 𝑑𝑥 = ∫ 𝑥 0 𝑑𝑥 = 𝑥)
⟹ 𝑦(𝑒 −1/𝑥 ) = 6𝑥 + 𝑐
𝑑𝑦
+ 𝑦𝑠𝑖𝑛 𝑥 = 𝑒 𝑐𝑜𝑠 𝑥 − − − (1)
𝑑𝑥
𝑑𝑦
Now compare this differential equation (1) with 𝑑𝑥 + 𝑃(𝑥)𝑦 = 𝑄 (𝑥).
I.F. = 𝑒 ∫ 𝑃(𝑥)𝑑𝑥
⟹ I.F. = 𝑒 ∫ 𝑠𝑖𝑛 𝑥 𝑑𝑥
− 𝑐𝑜𝑠 𝑎𝑥
⟹ I.F. = 𝑒 −𝑐𝑜𝑠 𝑥 (∵ ∫ 𝑠𝑖𝑛 𝑎𝑥 𝑑𝑥 =
𝑎
)
constant.
⟹ 𝑦(𝑒 −𝑐𝑜𝑠 𝑥 ) = ∫ 𝑒 0 𝑑𝑥 + 𝑐 (∵ 𝑒0 = 1)
⟹ 𝑦(𝑒 −𝑐𝑜𝑠 𝑥 ) = ∫ 1 𝑑𝑥 + 𝑐 (∵ ∫ 1 𝑑𝑥 = ∫ 𝑥 0 𝑑𝑥 = 𝑥)
⟹ 𝑦(𝑒 −𝑐𝑜𝑠 𝑥 ) = 𝑥 + 𝑐
⟹ 𝑦 = (𝑒 𝑐𝑜𝑠 𝑥 ) (𝑥 + 𝑐) ANSWER
3
𝑒 −2𝑥
EXAMPLE 14 Solve the differential equation 𝑦 ′ + 6𝑥 2 𝑦 = 𝑥2
where 𝑦(1) = 0
(GTU MARCH 2010)
3
𝑒 −2𝑥
So, we get 𝑃 (𝑥) = 6𝑥 2 and 𝑄(𝑥) =
𝑥2
I.F. = 𝑒 ∫ 𝑃(𝑥)𝑑𝑥
2 𝑑𝑥
⟹ I.F. = 𝑒 ∫ 6𝑥
𝑥3
6( ) 𝑥𝑛+1
⟹ I.F. = 𝑒 3 (∵ ∫ 𝑥𝑛 𝑑𝑥 = )
𝑛+1
3
⟹ I.F. = 𝑒 2𝑥
constant.
3
3 𝑒 −2𝑥 3
⟹ 𝑦(𝑒 2𝑥 ) = ∫ ( ∙ 𝑒 2𝑥 ) 𝑑𝑥 + 𝑐
𝑥2
3 3 +2𝑥 3 1
⟹ 𝑦(𝑒 2𝑥 ) = ∫ (𝑒 −2𝑥 ∙ ) 𝑑𝑥 + 𝑐 (∵ 𝑒𝑥 ∙ 𝑒𝑦 = 𝑒𝑥+𝑦 )
𝑥2
3 1
⟹ 𝑦(𝑒 2𝑥 ) = ∫ 𝑒 0 ∙ 𝑥 2 𝑑𝑥 + 𝑐 (∵ 𝑒0 = 1)
3 1
⟹ 𝑦(𝑒 2𝑥 ) = ∫ 1 ∙ 2 𝑑𝑥 + 𝑐 (∵ ∫ 1 𝑑𝑥 = ∫ 𝑥 0 𝑑𝑥 = 𝑥)
𝑥
3 1 𝑥𝑛+1 1 1
⟹ 𝑦(𝑒 2𝑥 ) = − 𝑥 + 𝑐 (∵ ∫ 𝑥𝑛 𝑑𝑥 = ⟹ ∫ 𝑥2 𝑑𝑥 = − 𝑥)
𝑛+1
3 1
⟹ 𝑦 = (𝑒 −2𝑥 ) (− 𝑥 + 𝑐) − − − (2)
𝑦(1) = 0 ⟹ If 𝑥 = 1 then 𝑦 = 0
𝑑𝑦
− (1 + 3𝑥 −1 )𝑦 = 𝑥 + 2 − − − (1)
𝑑𝑥
𝑑𝑦
Now compare this differential equation (1) with 𝑑𝑥 + 𝑃(𝑥)𝑦 = 𝑄 (𝑥).
3
So, we get 𝑃 (𝑥) = − (1 + ) and 𝑄 (𝑥) = 𝑥 + 2
𝑥
I.F. = 𝑒 ∫ 𝑃(𝑥)𝑑𝑥
𝑒 −𝑥
⟹ I.F. = 𝑥3
𝑒 −𝑥 𝑒 −𝑥
⟹ 𝑦 ( 𝑥 3 ) = ∫ ((𝑥 + 2) ∙ 𝑥3
) 𝑑𝑥 + 𝑐
𝑒 −𝑥 𝑥 2
⟹ 𝑦 ( 𝑥 3 ) = ∫ ((𝑥 3 + 𝑥 3) ∙ 𝑒 −𝑥 ) 𝑑𝑥 + 𝑐
𝑒 −𝑥 1 2
⟹ 𝑦 ( 𝑥 3 ) = ∫ ((𝑥 2 + 𝑥 3) ∙ 𝑒 −𝑥 ) 𝑑𝑥 + 𝑐
𝑒 −𝑥 1 2
⟹ 𝑦 ( 𝑥 3 ) = ∫ 𝑥 2 ∙ 𝑒 −𝑥 𝑑𝑥 + ∫ 𝑥 3 ∙ 𝑒 −𝑥 𝑑𝑥 + 𝑐
𝑒 −𝑥 1 𝑑 1 2
⟹ 𝑦(
𝑥3
)=
𝑥2
∫ 𝑒 −𝑥 𝑑𝑥 − ∫ (𝑑𝑥 (𝑥 2) ∫ 𝑒 −𝑥 𝑑𝑥 ) 𝑑𝑥 + ∫ 𝑥 3 ∙ 𝑒 −𝑥 𝑑𝑥 + 𝑐
1
∵ 𝑢 = 𝑥 2 𝑎𝑛𝑑 𝑣 = 𝑒 −𝑥
( )
∫ 𝑢𝑣 𝑑𝑥 = 𝑢 ∫ 𝑣 𝑑𝑥 − ∫(𝑢′ ∫ 𝑣 𝑑𝑥)𝑑𝑥
𝑒 −𝑥 1 2 2
⟹ 𝑦( )= − 𝑒 −𝑥 − ∫ (− (−𝑒 −𝑥 )) 𝑑𝑥 + ∫ ∙ 𝑒 −𝑥 𝑑𝑥 + 𝑐
𝑥3 𝑥2 𝑥3 𝑥3
𝑑 𝑑 1 𝑑 2
(∵ (𝑥 𝑝 ) = 𝑝𝑥 𝑝−1 ⟹ ( 2) = (𝑥 −2 ) = −2𝑥 −3 = − 3)
𝑑𝑥 𝑑𝑥 𝑥 𝑑𝑥 𝑥
𝑒 −𝑥 1 2 2
⟹ 𝑦 ( 𝑥 3 ) = − 𝑥 2 𝑒 −𝑥 − ∫ 𝑥 3 ∙ 𝑒 −𝑥 𝑑𝑥 + ∫ 𝑥 3 ∙ 𝑒 −𝑥 𝑑𝑥 + 𝑐
𝑒 −𝑥 𝑒 −𝑥
⟹ 𝑦 ( 𝑥3 ) = − 𝑥2
+ 𝑐 − − − (2)
Step: 4 Use the initial condition 𝑦(1) = 𝑒 − 1 in(2).
𝑦(1) = 𝑒 − 1 ⟹ If 𝑥 = 1 then 𝑦 = 𝑒 − 1
𝑒 −1 𝑒 −1 1 1
(𝑒 − 1) ( )=− + 𝑐 ⟹ (𝑒 − 1) 𝑒 = − 𝑒 + 𝑐 ⟹ 𝑐 = 1 − − − (3)
1 1
𝑒 −𝑥 𝑒 −𝑥
𝑦 ( 𝑥3 ) = − 𝑥2
+ 1 ANSWER
1 1
EXAMPLE 16 Solve 𝑦 ′ + 3 𝑦 = 3 (1 − 2𝑥 )𝑥 4 (GTU DEC. 2010)
𝑑𝑦 1 1
+ 𝑦 = (1 − 2𝑥)𝑥 4 − − − (1)
𝑑𝑥 3 3
𝑑𝑦
Now compare this differential equation (1) with 𝑑𝑥 + 𝑃(𝑥)𝑦 = 𝑄 (𝑥).
1 1
So, we get 𝑃 (𝑥) = 3 and 𝑄 (𝑥) = 3 (1 − 2𝑥)𝑥 4
I.F. = 𝑒 ∫ 𝑃(𝑥)𝑑𝑥
1
𝑑𝑥
⟹ I.F. = 𝑒 ∫3
𝑥
⟹ I.F. = 𝑒 3 (∵ ∫ 1 𝑑𝑥 = 𝑥)
constant.
𝑥 𝑥
1
⟹ 𝑦 (𝑒 3 ) = ∫ (3 (1 − 2𝑥)𝑥 4 ∙ 𝑒 3 ) 𝑑𝑥 + 𝑐
𝑥 𝑥
1
⟹ 𝑦 (𝑒 3 ) = 3
∫ ((𝑥 4 − 2𝑥 5 ) ∙ 𝑒 3 ) 𝑑𝑥 + 𝑐
𝑥 𝑥 𝑥
1
⟹ 𝑦 (𝑒 3 ) = [(𝑥 4 − 2𝑥 5 ) (3𝑒 3 ) − (4𝑥 3 − 10𝑥 4 ) (9𝑒 3 ) + (12𝑥 2 −
3
𝑥 𝑥
40𝑥 3 ) (27𝑒 3 ) − (24𝑥 − 120𝑥 2 ) (81𝑒 3 ) +
𝑥 𝑥
(24 − 240𝑥) (243𝑒 3 ) − (0 − 240) (729𝑒 3 )] + 𝑐
∵ ∫ 𝑒 𝑥/𝑎 𝑑𝑥 = 𝑎𝑒 𝑥/𝑎 𝑎𝑛𝑑
𝑥
( 𝑢 = 𝑥 4 − 2𝑥 5 , 𝑣 = 𝑒 3 )
∫ 𝑢𝑣 𝑑𝑥 = 𝑢 ∫ 𝑣 𝑑𝑥 − ∫(𝑢′ ∫ 𝑣 𝑑𝑥 )𝑑𝑥
𝑥 𝑥 𝑥
1
⟹ 𝑦 (𝑒 3 ) = [(𝑥 4 − 2𝑥 5 ) (3𝑒 3 ) − (4𝑥 3 − 10𝑥 4 ) (9𝑒 3 ) + (12𝑥 2 −
3
𝑥 𝑥
40𝑥 3 ) (27𝑒 3 ) − (24𝑥 − 120𝑥 2 ) (81𝑒 3 ) +
𝑥 𝑥
(24 − 240𝑥 ) (243𝑒 3 ) + 240 (729𝑒 3 )] + 𝑐 ANSWER
𝑑𝐼 𝑅
+ 𝐼 = 0 − − − (1)
𝑑𝑡 𝐿
𝑑𝐼
Now compare this differential equation (1) with 𝑑𝑡 + 𝑃 (𝑡)𝐼 = 𝑄(𝑡).
𝑅
So, we get 𝑃 (𝑡) = 𝐿
and 𝑄 (𝑡) = 0
I.F. = 𝑒 ∫ 𝑃(𝑡)𝑑𝑡
𝑅
⟹ I.F. = 𝑒 ∫ 𝐿 𝑑𝑡
𝑅
⟹ I.F. = 𝑒 𝐿 𝑡 (∵ 𝑅 and 𝐿 are constants)
constant.
𝑅 𝑅
⟹ 𝐼(𝑒 𝐿 𝑡 ) = ∫ (0 ∙ 𝑒 𝐿 𝑡 ) 𝑑𝑡 + 𝑐
𝑅
⟹ 𝐼(𝑒 𝐿 𝑡 ) = 0 + 𝑐
𝑅
⟹ 𝐼 (𝑒 𝐿 𝑡 ) = 𝑐 − − − (2)
𝐼 (0) = I0 ⟹ If 𝑡 = 0 then 𝐼 = I0
I0 (𝑒 0 ) = 𝑐 ⟹ 𝑐 = I0 − − − (3) (∵ 𝑒 0 = 1)
𝑑𝑦
EXAMPLE 18 Solve 𝑑𝑥 + 𝑦 = 𝑥 (GTU DEC. 2009)
I.F. = 𝑒 ∫ 𝑃(𝑥)𝑑𝑥
⟹ I.F. = 𝑒 ∫ 1𝑑𝑥
⟹ I.F. = 𝑒 𝑥
constant.
⟹ 𝑦(𝑒 𝑥 ) = ∫(𝑥 ∙ 𝑒 𝑥 ) 𝑑𝑥 + 𝑐
⟹ 𝑦(𝑒 𝑥 ) = 𝑥 (𝑒 𝑥 ) − (1)(𝑒 𝑥 ) + 0 + 𝑐
∵ 𝑢 = 𝑥 , 𝑣 = 𝑒 𝑥 𝑎𝑛𝑑
( )
∫ 𝑢𝑣 𝑑𝑥 = 𝑢𝑣1 − 𝑢′𝑣2 + 𝑢′′𝑣3 − 𝑢′′′𝑣4 + ⋯ ⋯ ⋯
𝑑𝑦
− 𝑦 = 𝑒 2𝑥 − − − (1)
𝑑𝑥
𝑑𝑦
Now compare this differential equation (1) with 𝑑𝑥 + 𝑃(𝑥)𝑦 = 𝑄 (𝑥).
I.F. = 𝑒 ∫ 𝑃(𝑥)𝑑𝑥
⟹ I.F. = 𝑒 ∫ −1𝑑𝑥
⟹ I.F. = 𝑒 −𝑥
constant.
⟹ 𝑦(𝑒 −𝑥 ) = ∫(𝑒 𝑥 ) 𝑑𝑥 + 𝑐
𝑒𝑎𝑥
⟹ 𝑦(𝑒 −𝑥 ) = 𝑒 𝑥 + 𝑐 (∵ ∫ 𝑒𝑎𝑥 𝑑𝑥 = )
𝑎
⟹ 𝑦 = 𝑒 𝑥 (𝑒 𝑥 + 𝑐 ) ANSWER
TRY YOURSELF
Note that in this equation 𝑦 is dependent variable and 𝑥 is independent variable. In other words, 𝑦 is
a function of 𝑥.
Also 𝑃(𝑥) and 𝑄(𝑥) are functions of single variable only 𝑥 or 𝑃(𝑥) and 𝑄(𝑥) may be constant
functions. Also f is a function of variable 𝑦.
𝑑𝑦
Note that coefficient of 𝑑𝑥 must be 1.
Note that in this equation 𝑥 is dependent variable and 𝑦 is independent variable. In other words, 𝑥 is
a function of 𝑦.
𝑑𝑦
+ 𝑃(𝑥)𝑦 = 𝑄 (𝑥)𝑦 𝑛 − − − (1)
𝑑𝑥
Step: 2 From (2), consider Coefficient of 𝑃(𝑥) is 𝑦1−𝑛 = 𝑣 − − − (3) and differentiate both sides
with respect to 𝑥, we get
𝑑𝑣 𝑑𝑦 𝑑𝑦 1 𝑑𝑣
𝑑𝑥
= (1 − 𝑛)𝑦 −𝑛 𝑑𝑥 ⟹ 𝑦 −𝑛 𝑑𝑥 = 1−𝑛 𝑑𝑥 − − − (4)
1 𝑑𝑣 𝑑𝑣
+ 𝑃 (𝑥)𝑣 = 𝑄(𝑥) ⟹ + (1 − 𝑛)𝑃 (𝑥)𝑣 = (1 − 𝑛)𝑄(𝑥) − − − (5)
1 − 𝑛 𝑑𝑥 𝑑𝑥
Step: 2 From (2), consider Coefficient of 𝑃(𝑥) is 𝑥1−𝑛 = 𝑣 − − − (3) and differentiate both sides
with respect to 𝑦, we get
𝑑𝑣 𝑑𝑥 𝑑𝑥 1 𝑑𝑣
𝑑𝑦
= (1 − 𝑛)𝑥 −𝑛 𝑑𝑦 ⟹ 𝑥 −𝑛 𝑑𝑦 = 1−𝑛 𝑑𝑦 − − − (4)
SOLUTION Step 1: Convert given Bernoulli’s equation into linear differential equation.
𝑑𝑦 𝑦 −1
𝑦 −2 𝑑𝑥 + 𝑥
= 1 − − − (1)
independent variable 𝑥.
𝑑𝑣
Step: 3 Now compare this differential equation (5) with 𝑑𝑥 + 𝑃 (𝑥)𝑣 = 𝑄(𝑥)
1
So, we get 𝑃 (𝑥) = − 𝑥 and 𝑄(𝑥) = −1
I.F. = 𝑒 ∫ 𝑃(𝑥)𝑑𝑥
1
)𝑑𝑥
⟹ I.F. = 𝑒 ∫(−𝑥
1
⟹ I.F. = 𝑒 − ∫(𝑥)𝑑𝑥
1
⟹ I.F. = 𝑒 −𝑙𝑜𝑔 𝑥 (∵ ∫ 𝑑𝑥 = 𝑙𝑜𝑔 𝑥)
𝑥
−1
⟹ I.F. = 𝑒 𝑙𝑜𝑔 𝑥 (∵ 𝑎 𝑙𝑜𝑔 𝑥 = 𝑙𝑜𝑔 𝑥𝑎 )
constant.
1 1
⟹ 𝑣 (𝑥 ) = ∫ (−1 ∙ 𝑥 ) 𝑑𝑥 + 𝑐
1 1
⟹ 𝑣 (𝑥 ) = − ∫ (𝑥 ) 𝑑𝑦 + 𝑐
1 1
⟹ 𝑣 ( ) = −𝑙𝑜𝑔 𝑥 + 𝑐 (∵ ∫ 𝑑𝑦 = 𝑙𝑜𝑔 𝑥)
𝑥 𝑥
1
⟹ 𝑦 −1 ( ) = −𝑙𝑜𝑔 𝑥 + 𝑐 (∵ 𝑣 = 𝑦 −1 )
𝑥
1
⟹ ( ) = −𝑙𝑜𝑔 𝑥 + 𝑐
𝑥𝑦
⟹ 𝑥𝑦(−𝑙𝑜𝑔 𝑥 + 𝑐) = 1 ANSWER
𝑑𝑦 𝑦
EXAMPLE Find the general solution of the differential equation 𝑑𝑥 + 𝑥 − √𝑦 = 0
𝑑𝑦 𝑦 1/2
𝑦 −1/ 2 𝑑𝑥 + 𝑥
= 1 − − − (1)
Step: 2 Let 𝑣 = 𝑦1/2 − − − (2) and differentiate with respect to 𝑥 both sides
𝑑𝑣 1 𝑑𝑦 𝑑𝑦 𝑑𝑣 𝑑
= 𝑦 −1/2 ⟹ 𝑦 −1/2 =2 − − − (3) (∵ (𝑦 𝑛 ) = 𝑛𝑦 𝑛−1 )
𝑑𝑥 2 𝑑𝑥 𝑑𝑥 𝑑𝑥 𝑑𝑦
independent variable 𝑥.
1 1
So, we get 𝑃 (𝑥) = and 𝑄 (𝑥) =
2𝑥 2
I.F. = 𝑒 ∫ 𝑃(𝑥)𝑑𝑥
1
⟹ I.F. = 𝑒 ∫(2𝑥)𝑑𝑥
1 1
⟹ I.F. = 𝑒 2 ∫(𝑥)𝑑𝑥
1
1
⟹ I.F. = 𝑒 2𝑙𝑜𝑔 𝑥 (∵ ∫ 𝑑𝑥 = 𝑙𝑜𝑔 𝑥)
𝑥
1/2
⟹ I.F. = 𝑒 𝑙𝑜𝑔 𝑥 (∵ 𝑎 𝑙𝑜𝑔 𝑥 = 𝑙𝑜𝑔 𝑥𝑎 )
constant.
1
⟹ 𝑣(√𝑥) = ∫ (√𝑥 ∙ 2) 𝑑𝑥 + 𝑐
1
⟹ 𝑣(√𝑥) = 2 ∫(√𝑥 ) 𝑑𝑥 + 𝑐
1 2 𝑥𝑛+1
⟹ 𝑣(√𝑥) = ∙ 𝑥 3/2 + 𝑐 (∵ ∫ 𝑥𝑛 𝑑𝑥 = )
2 3 𝑛+1
1
⟹ 𝑦1/2 (√𝑥) = 3 𝑥 3/2 + 𝑐 (∵ 𝑣 = 𝑦1/2 )
1 3/2
⟹ √𝑥𝑦 = 𝑥 + 𝑐 ANSWER
3
𝑑𝑦
EXAMPLE 2 Solve the differential equation 𝑥 𝑑𝑥 + 𝑦 = 𝑦 2 𝑙𝑜𝑔 𝑥
SOLUTION Step 1: Convert given Bernoulli’s equation into linear differential equation.
𝑑𝑣 𝑑𝑦 𝑑𝑦 𝑑𝑣 𝑑
𝑑𝑥
= −𝑦 −2 𝑑𝑥 ⟹ 𝑦 −2 𝑑𝑥 = − 𝑑𝑥 − − − (3) (∵
𝑑𝑦
(𝑦 𝑛 ) = 𝑛𝑦 𝑛−1 )
independent variable 𝑥.
𝑑𝑣
Step: 3 Now compare this differential equation (4) with 𝑑𝑥 + 𝑃 (𝑥)𝑣 = 𝑄(𝑥)
1 𝑙𝑜𝑔 𝑥
So, we get 𝑃 (𝑥) = − 𝑥 and 𝑄(𝑥) = − 𝑥
I.F. = 𝑒 ∫ 𝑃(𝑥)𝑑𝑥
1
⟹ I.F. = 𝑒 ∫(−𝑥)𝑑𝑥
1
⟹ I.F. = 𝑒 − ∫(𝑥)𝑑𝑥
1
⟹ I.F. = 𝑒 −𝑙𝑜𝑔 𝑥 (∵ ∫ 𝑑𝑥 = 𝑙𝑜𝑔 𝑥)
𝑥
−1
⟹ I.F. = 𝑒 𝑙𝑜𝑔 𝑥 (∵ 𝑎 𝑙𝑜𝑔 𝑥 = 𝑙𝑜𝑔 𝑥𝑎 )
1
⟹ I.F. = 𝑥 −1 = 𝑥 (∵ 𝑒𝑙𝑜𝑔 𝑓(𝑥) = 𝑓(𝑥))
constant.
1 𝑙𝑜𝑔 𝑥 1
⟹ 𝑣 ( ) = ∫ (− ∙ ) 𝑑𝑥 + 𝑐
𝑥 𝑥 𝑥
1 𝑙𝑜𝑔 𝑥
⟹ 𝑣 (𝑥 ) = − ∫ ( ) 𝑑𝑥 + 𝑐 − − − (5)
𝑥2
1 𝑡
⟹ 𝑣( ) = −∫( ) 𝑒 𝑡 𝑑𝑡 + 𝑐
𝑥 𝑒 2𝑡
1
⟹ 𝑣 (𝑥 ) = − ∫ 𝑡 ∙ 𝑒 −𝑡 𝑑𝑡 + 𝑐
∵ 𝑢 = 𝑡 , 𝑣 = 𝑒 −𝑡 𝑎𝑛𝑑
( )
∫ 𝑢𝑣 𝑑𝑡 = 𝑢𝑣1 − 𝑢′𝑣2 + 𝑢′′𝑣3 − 𝑢′′′𝑣4 + ⋯ ⋯ ⋯
1
⟹ 𝑦 −1 (𝑥 ) = 𝑡𝑒 −𝑡 + 𝑒 −𝑡 + 𝑐 (∵ 𝑣 = 𝑦 −1 )
1
⟹ 𝑦−1 ( ) = 𝑙𝑜𝑔 𝑥𝑒−𝑙𝑜𝑔 𝑥 + 𝑒−𝑙𝑜𝑔 𝑥 + 𝑐 (∵ 𝑡 = 𝑙𝑜𝑔 𝑥)
𝑥
1 −1 −1
⟹ 𝑦−1 ( ) = 𝑙𝑜𝑔 𝑥𝑒𝑙𝑜𝑔 𝑥 + 𝑒𝑙𝑜𝑔 𝑥 + 𝑐 (∵ 𝑎 𝑙𝑜𝑔 𝑥 = 𝑙𝑜𝑔 𝑥𝑎 )
𝑥
1
⟹ 𝑦−1 ( ) = 𝑙𝑜𝑔 𝑥 ∙ 𝑥−1 + 𝑥−1 + 𝑐 (∵ 𝑒𝑙𝑜𝑔 𝑓(𝑥) = 𝑓(𝑥))
𝑥
1 𝑙𝑜𝑔 𝑥 1
⟹( )= + + 𝑐 ANSWER
𝑥𝑦 𝑥 𝑥
𝑑𝑦 𝑡𝑎𝑛𝑦
EXAMPLE 3 Solve the differential equation 𝑑𝑥 − 1+𝑥
= (1 + 𝑥)𝑒 𝑥 𝑠𝑒𝑐 𝑦
SOLUTION Step 1: Convert given Bernoulli’s equation into linear differential equation.
For this, Divide by 𝑠𝑒𝑐 𝑦 (means multiply by 𝑐𝑜𝑠 𝑦) on both sides of the given
differential equation, we get
𝑑𝑦 𝑠𝑖𝑛 𝑦
𝑐𝑜𝑠 𝑦 𝑑𝑥 − 1+𝑥
= (1 + 𝑥)𝑒 𝑥 − − − (1)
Step: 2 Let 𝑣 = 𝑠𝑖𝑛 𝑦 − − − (2) and differentiate with respect to 𝑥 both sides
𝑑𝑣 𝑑𝑦 𝑑
𝑑𝑥
= 𝑐𝑜𝑠 𝑦 𝑑𝑥 − − − (3) (∵
𝑑𝑦
(𝑠𝑖𝑛 𝑦) = 𝑐𝑜𝑠 𝑦)
independent variable 𝑥.
𝑑𝑣
Step: 3 Now compare this differential equation (4) with 𝑑𝑥 + 𝑃 (𝑥)𝑣 = 𝑄(𝑥)
1
So, we get 𝑃 (𝑥) = − 1+𝑥 and 𝑄 (𝑥) = (1 + 𝑥)𝑒 𝑥
I.F. = 𝑒 ∫ 𝑃(𝑥)𝑑𝑥
1
⟹ I.F. = 𝑒 −𝑙𝑜𝑔 (1+𝑥) (∵ ∫ 𝑑𝑥 = 𝑙𝑜𝑔 𝑥)
𝑥
−1
⟹ I.F. = 𝑒 𝑙𝑜𝑔 (1+𝑥) (∵ 𝑎 𝑙𝑜𝑔 𝑥 = 𝑙𝑜𝑔 𝑥𝑎 )
1
⟹ I.F. = (1 + 𝑥)−1 = 1+𝑥 (∵ 𝑒𝑙𝑜𝑔 𝑓(𝑥) = 𝑓(𝑥))
constant.
1 1
⟹ 𝑣 (1+𝑥 ) = ∫ ((1 + 𝑥)𝑒 𝑥 ∙ 1+𝑥 ) 𝑑𝑥 + 𝑐
1
⟹ 𝑣 (1+𝑥 ) = ∫ 𝑒 𝑥 𝑑𝑥 + 𝑐
1
⟹ 𝑣( ) = 𝑒𝑥 + 𝑐 (∵ ∫ 𝑒 𝑥 𝑑𝑥 = 𝑒 𝑥 )
1+𝑥
1
⟹ 𝑠𝑖𝑛 𝑦 (1+𝑥 ) = 𝑒 𝑥 + 𝑐 (∵ 𝑣 = 𝑠𝑖𝑛 𝑦)
𝑑𝑥 𝑒 2𝑥 +𝑦 2 𝑑𝑥 𝑒 2𝑥 𝑦2 𝑑𝑥 𝑒 2𝑥 1 𝑑𝑥 1 𝑒 2𝑥
𝑑𝑦
= 𝑦3
⟹ 𝑑𝑦 = 𝑦3
+ 𝑦3 ⟹ 𝑑𝑦 = 𝑦3
+ 𝑦 ⟹ 𝑑𝑦 − 𝑦 = 𝑦3
− − − (1)
𝑑𝑥 𝑒 −2𝑥 1
𝑒 −2𝑥 − = − − − (2)
𝑑𝑦 𝑦 𝑦3
Step: 2 Let 𝑣 = 𝑒 −2𝑥 − − − (3) and differentiate with respect to 𝑦 both sides
𝑑𝑣 𝑑𝑥 𝑑𝑥 1 𝑑𝑣 𝑑
𝑑𝑦
= −2𝑒 −2𝑥 𝑑𝑦 ⟹ 𝑒 −2𝑥 𝑑𝑦 = − 2 𝑑𝑦 − − − (4) (∵ 𝑑𝑥 (𝑒 −𝑎𝑥 ) = −𝑎𝑒 −𝑎𝑥 )
independent variable 𝑦.
𝑑𝑣
Step: 3 Now compare this differential equation (5) with 𝑑𝑦 + 𝑃(𝑦)𝑣 = 𝑄(𝑦)
2 2
So, we get 𝑃 (𝑦) = 𝑦
and 𝑄(𝑦) = − 𝑦3
I.F. = 𝑒 ∫ 𝑃(𝑦)𝑑𝑦
2
∫(𝑦)𝑑𝑦
⟹ I.F. = 𝑒
1
2 ∫( )𝑑𝑦
⟹ I.F. = 𝑒 𝑦
1
⟹ I.F. = 𝑒 2𝑙𝑜𝑔 𝑦 (∵ ∫ 𝑑𝑦 = 𝑙𝑜𝑔 𝑦)
𝑦
2
⟹ I.F. = 𝑒 𝑙𝑜𝑔 𝑦 (∵ 𝑎 𝑙𝑜𝑔 𝑦 = 𝑙𝑜𝑔 𝑦𝑎 )
constant.
2
⟹ 𝑣(𝑦 2 ) = ∫ (− 𝑦3 ∙ 𝑦 2 ) 𝑑𝑦 + 𝑐
1
⟹ 𝑣(𝑦 2 ) = −2 ∫ (𝑦 ) 𝑑𝑦 + 𝑐
1
⟹ 𝑣(𝑦 2 ) = −2𝑙𝑜𝑔 𝑦 + 𝑐 (∵ ∫ 𝑑𝑦 = 𝑙𝑜𝑔 𝑦)
𝑦
𝑑𝑦 1 1
OR Find the general solution of the differential equation 𝑒 −𝑦 𝑑𝑥 + 𝑒 −𝑦 𝑥 = 𝑥 2
SOLUTION Step 1: Convert given Bernoulli’s equation into linear differential equation.
𝑑𝑣 𝑑𝑦 𝑑𝑦 𝑑𝑣 𝑑
𝑑𝑥
= −𝑒 −𝑦 𝑑𝑥 ⟹ 𝑒 −𝑦 𝑑𝑥 = − 𝑑𝑥 − − − (3) (∵
𝑑𝑦
(𝑒 −𝑦 ) = −𝑒 −𝑦 )
independent variable 𝑥.
𝑑𝑣
Step: 3 Now compare this differential equation (4) with 𝑑𝑥 + 𝑃 (𝑥)𝑣 = 𝑄(𝑥)
1 1
So, we get 𝑃 (𝑥) = − 𝑥 and 𝑄(𝑥) = − 𝑥2
I.F. = 𝑒 ∫ 𝑃(𝑥)𝑑𝑥
1
⟹ I.F. = 𝑒 ∫(−𝑥)𝑑𝑥
1
⟹ I.F. = 𝑒 − ∫(𝑥)𝑑𝑥
1
⟹ I.F. = 𝑒 −𝑙𝑜𝑔 𝑥 (∵ ∫ 𝑑𝑥 = 𝑙𝑜𝑔 𝑥)
𝑥
−1
⟹ I.F. = 𝑒 𝑙𝑜𝑔 𝑥 (∵ 𝑎 𝑙𝑜𝑔 𝑥 = 𝑙𝑜𝑔 𝑥𝑎 )
1
⟹ I.F. = 𝑥 −1 = 𝑥 (∵ 𝑒𝑙𝑜𝑔 𝑓(𝑥) = 𝑓(𝑥))
constant.
1 1 1
⟹ 𝑣 (𝑥 ) = ∫ (− 𝑥2
∙ 𝑥 ) 𝑑𝑥 + 𝑐
1 1
⟹ 𝑣 (𝑥 ) = ∫ (− 𝑥3
) 𝑑𝑥 + 𝑐
1
⟹ 𝑣 (𝑥 ) = ∫(− 𝑥 −3 ) 𝑑𝑥 + 𝑐
1 𝑥 −3+1 𝑥𝑛+1
⟹ 𝑣 (𝑥 ) = − + 𝑐 (∵ ∫ 𝑥𝑛 𝑑𝑥 = )
−3+1 𝑛+1
1 𝑥 −2
⟹ 𝑒 −𝑦 (𝑥 ) = − −2
+ 𝑐 (∵ 𝑣 = 𝑒 −𝑦 )
𝑑𝑦
EXAMPLE 6 Solve the differential equation + 𝑥𝑠𝑖𝑛 2𝑦 = 𝑥 3 𝑐𝑜𝑠 2 𝑦 (GTU JAN. 2015)
𝑑𝑥
SOLUTION Step 1: Convert given Bernoulli’s equation into linear differential equation.
For this, Divide by 𝑐𝑜𝑠 2 𝑦 on both sides of the given differential equation,
we get
1 𝑑𝑦 𝑠𝑖𝑛 2𝑦
𝑐𝑜𝑠 2 𝑦 𝑑𝑥
+ 𝑥 𝑐𝑜𝑠2 𝑦 = 𝑥 3
𝑑𝑦 2𝑠𝑖𝑛 𝑦𝑐𝑜𝑠 𝑦
⟹ 𝑠𝑒𝑐 2 𝑦 +𝑥 = 𝑥3 (∵ 𝑠𝑖𝑛 2𝜃 = 2𝑠𝑖𝑛 𝜃𝑐𝑜𝑠 𝜃)
𝑑𝑥 𝑐𝑜𝑠 2 𝑦
𝑑𝑦 2𝑠𝑖𝑛 𝑦
⟹ 𝑠𝑒𝑐 2 𝑦 𝑑𝑥 + 𝑥 𝑐𝑜𝑠 𝑦
= 𝑥3
𝑑𝑦
⟹ 𝑠𝑒𝑐 2 𝑦 𝑑𝑥 + 2𝑥𝑡𝑎𝑛𝑦 = 𝑥 3 − − − (1)
Step: 2 Let 𝑣 = 𝑡𝑎𝑛 𝑦 − − − (2) and differentiate with respect to 𝑥 both sides
𝑑𝑣 𝑑𝑦 𝑑
𝑑𝑥
= 𝑠𝑒𝑐 2 𝑦 𝑑𝑥 − − − (3) (∵
𝑑𝑦
(tan 𝑦) = 𝑠𝑒𝑐 2 𝑦)
independent variable 𝑥.
𝑑𝑣
Step: 3 Now compare this differential equation (4) with + 𝑃 (𝑥)𝑣 = 𝑄(𝑥)
𝑑𝑥
I.F. = 𝑒 ∫ 𝑃(𝑥)𝑑𝑥
⟹ I.F. = 𝑒 ∫ 2𝑥𝑑𝑥
𝑥2
2( ) 𝑥𝑛+1
⟹ I.F. = 𝑒 2 (∵ ∫ 𝑥𝑛 𝑑𝑥 = )
𝑛+1
2
⟹ I.F. = 𝑒 𝑥
constant.
1
⟹ 𝑣(𝑒 𝑡 ) = 2
∫(𝑡 ∙ 𝑒 𝑡 ) 𝑑𝑡 + 𝑐
1
⟹ 𝑣(𝑒 𝑡 ) = (𝑡 (𝑒 𝑡 ) − (1)(𝑒 𝑡 ) + 0) + 𝑐
2
∵ 𝑢 = 𝑡 , 𝑣 = 𝑒 𝑡 𝑎𝑛𝑑
( )
∫ 𝑢𝑣 𝑑𝑡 = 𝑢𝑣1 − 𝑢′𝑣2 + 𝑢′′𝑣3 − 𝑢′′′𝑣4 + ⋯ ⋯ ⋯
2 1 2 2
⟹ 𝑣(𝑒 𝑥 ) = 2
(𝑥 2 𝑒 𝑥 − 𝑒 𝑥 ) + 𝑐 (∵ 𝑡 = 𝑥 2 )
2 1 2
⟹ 𝑡𝑎𝑛 𝑦 (𝑒 𝑥 ) = 2
(𝑥 2 − 1)𝑒 𝑥 + 𝑐 (∵ 𝑣 = 𝑡𝑎𝑛 𝑦) ANSWER
𝑑𝑦
EXAMPLE Solve 𝑠𝑒𝑐 2 𝑦 + 𝑥𝑡𝑎𝑛𝑦 = 𝑥 3 (GTU JAN. 2020)
𝑑𝑥
𝑑𝑦 𝑦 𝑥 3𝑦6
𝑑𝑥
+𝑥 = 𝑥
𝑑𝑦 𝑦
⟹ 𝑑𝑥
+ 𝑥 = 𝑥 2 𝑦 6 − − − (1)
𝑑𝑦
Equation (1) is of the form 𝑑𝑥 + 𝑃(𝑥)𝑦 = 𝑄(𝑥)𝑦 𝑛 which is Bernoulli’s
differential equation.
Step: 2 Let 𝑣 = 𝑦 −5 − − − (3) and differentiate with respect to 𝑥 both sides, we get
𝑑𝑣 𝑑𝑦 𝑑𝑦 1 𝑑𝑣
= −5𝑦 −6 ⟹ 𝑦 −6 =− − − − (4)
𝑑𝑥 𝑑𝑥 𝑑𝑥 5 𝑑𝑥
independent variable 𝑥.
𝑑𝑣
Step: 3 Now compare this differential equation (5) with 𝑑𝑥 + 𝑃 (𝑥)𝑣 = 𝑄(𝑥)
5
So, we get 𝑃 (𝑥) = − and 𝑄(𝑥) = −5𝑥 2
𝑥
−5
⟹ I.F. = 𝑒 𝑙𝑜𝑔𝑥 (∵ 𝑎𝑙𝑜𝑔𝑥 = 𝑙𝑜𝑔𝑥𝑎 )
1
⟹ I.F. = 𝑥 −5 = 𝑥 5 (∵ 𝑒𝑙𝑜𝑔𝑓(𝑥) = 𝑓(𝑥))
constant.
1 1
⟹ 𝑣(𝑥 5) = ∫ (−5𝑥 2 ∙ 𝑥 5) 𝑑𝑥 + 𝑐
1 1
⟹ 𝑣 (𝑥 5 ) = −5 ∫ (𝑥 3) 𝑑𝑥 + 𝑐
1
⟹ 𝑣 (𝑥 5 ) = −5 ∫(𝑥 −3 ) 𝑑𝑥 + 𝑐
1 𝑥 −2 𝑥𝑛+1
⟹ 𝑣 (𝑥 5 ) = −5 ( −2 ) + 𝑐 (∵ ∫ 𝑥𝑛 𝑑𝑥 = )
𝑛+1
1 5
⟹ 𝑦 −5 (𝑥 5 ) = 2𝑥 2 + 𝑐 (∵ 𝑣 = 𝑦 −5 )
5
⟹ 𝑥 5 𝑦 5 (2𝑥 2 + 𝑐) = 1 ANSWER
SOLUTION Step 1: Rewrite the given differential equation in other form, we get
𝑥 2 𝑦 𝑑𝑥 = (𝑥 3 + 𝑥𝑦 2 )𝑑𝑦
𝑑𝑥 𝑥 3+𝑥𝑦 2 𝑑𝑥 𝑥3 𝑥𝑦 2 𝑑𝑥 𝑥 𝑦
⟹ = ⟹ = + ⟹ = +
𝑑𝑦 𝑥 2𝑦 𝑑𝑦 𝑥 2𝑦 𝑥 2𝑦 𝑑𝑦 𝑦 𝑥
𝑑𝑥 𝑥 𝑦 𝑑𝑥 𝑥
⟹ 𝑑𝑦
− 𝑦 = 𝑥 ⟹ 𝑑𝑦 − 𝑦 = 𝑦𝑥 −1 − − − (1)
Step: 2 Let 𝑣 = 𝑥 2 − − − (3) and differentiate with respect to 𝑦 both sides, we get
𝑑𝑣 𝑑𝑥 𝑑𝑥 𝑑𝑣 1
= 2𝑥 ⟹ = ∙ − − − (4)
𝑑𝑦 𝑑𝑦 𝑑𝑦 𝑑𝑦 2𝑥
independent variable 𝑦.
𝑑𝑣
Step: 3 Now compare this differential equation (5) with + 𝑃(𝑦)𝑣 = 𝑄(𝑦)
𝑑𝑦
2
So, we get 𝑃 (𝑦) = − and 𝑄(𝑦) = 2𝑦
𝑦
−2
⟹ I.F. = 𝑒 𝑙𝑜𝑔𝑦 (∵ 𝑎𝑙𝑜𝑔𝑥 = 𝑙𝑜𝑔𝑥𝑎 )
1
⟹ I.F. = 𝑦 −2 = (∵ 𝑒𝑙𝑜𝑔𝑓(𝑥) = 𝑓(𝑥))
𝑦2
constant.
1 1
⟹ 𝑣(𝑦2 ) = ∫ (2𝑦 ∙ 𝑦2 ) 𝑑𝑦 + 𝑐
𝑣 1
⟹ = 2𝑙𝑜𝑔 𝑦 + 𝑐 (∵ ∫ 𝑑𝑥 = 𝑙𝑜𝑔 𝑥)
𝑦2 𝑥
⟹ 𝑣 = (𝑦 2 )(2𝑙𝑜𝑔 𝑦 + 𝑐)
⟹ 𝑥 2 = (𝑦 2 )(2𝑙𝑜𝑔 𝑦 + 𝑐) (∵ 𝑣 = 𝑥 2 ) ANSWER
𝑑𝑦 𝑥
EXAMPLE 9 Solve
𝑑𝑥
+𝑦=−
𝑦
(GTU MAY. 2011)
𝑑𝑦
Equation (1) is of the form 𝑑𝑥 + 𝑃(𝑥)𝑓 (𝑦) = 𝑄(𝑥)𝑓(𝑦) which is Bernoulli’s
differential equation.
Step 2: Let 𝑣 = 𝑦 2 − − − (3) and differentiate with respect to 𝑥 both sides, we get
𝑑𝑣 𝑑𝑦 𝑑𝑦 1 𝑑𝑣
𝑑𝑥
= 2𝑦 𝑑𝑥 ⟹ 𝑦 𝑑𝑥 = 2 𝑑𝑥 − − − (4)
independent variable 𝑥.
𝑑𝑣
Step: 3 Now compare this differential equation (5) with 𝑑𝑥 + 𝑃 (𝑥)𝑣 = 𝑄(𝑥)
⟹ I.F. = 𝑒 ∫ 2 𝑑𝑥
⟹ I.F. = 𝑒 2 ∫ 1 𝑑𝑥
⟹ I.F. = 𝑒 2𝑥 (∵ ∫ 1 𝑑𝑥 = 𝑥)
constant.
⟹ 𝑣(𝑒 2𝑥 ) = ∫(−2𝑥 ∙ 𝑒 2𝑥 ) 𝑑𝑥 + 𝑐
⟹ 𝑣(𝑒 2𝑥 ) = −2 ∫(𝑥 ∙ 𝑒 2𝑥 ) 𝑑𝑥 + 𝑐
𝑒 2𝑥 𝑒 2𝑥
⟹ 𝑣(𝑒 2𝑥 ) = −2 [𝑥 ( 2
) − (1) (
4
) + 0] + 𝑐
∵ 𝑢 = 𝑥 , 𝑣 = 𝑒 2𝑥 𝑎𝑛𝑑
( )
∫ 𝑢𝑣 𝑑𝑥 = 𝑢𝑣1 − 𝑢′𝑣2 + 𝑢′′𝑣3 − 𝑢′′′𝑣4 + ⋯ ⋯ ⋯
𝑥𝑒 2𝑥 𝑒 2𝑥
⟹ 𝑣(𝑒 2𝑥 ) = −2 [ − ] + 𝑐
2 4
𝑥𝑒 2𝑥 𝑒 2𝑥
⟹ 𝑦 2 (𝑒 2𝑥 ) = −2 [ 2
− 4
] + 𝑐 (∵ 𝑣 = 𝑦 2 )
𝑥𝑒 2𝑥 𝑒 2𝑥
⟹ 𝑦 2 = 𝑒 −2𝑥 [−2 ( − ) + 𝑐] ANSWER
2 4
TRY YOURSELF
THEOREM
The necessary and sufficient condition for the differential equation 𝑀(𝑥, 𝑦)𝑑𝑥 + 𝑁(𝑥, 𝑦)𝑑𝑦 = 0 to
𝜕𝑀 𝜕𝑁
be exact is 𝜕𝑦
= 𝜕𝑥
(Only Statement, GTU JAN. 2013)
Consider given differential equation is 𝑀(𝑥, 𝑦)𝑑𝑥 + 𝑁(𝑥, 𝑦)𝑑𝑦 = 0 OR 𝑀𝑑𝑥 + 𝑁𝑑𝑦 = 0.
𝜕𝑀
Here 𝜕𝑦
indicates partial derivative of 𝑀 with respect to 𝑦 keeping 𝑥 as constant.
𝜕𝑁
Here 𝜕𝑥
indicates partial derivative of 𝑁 with respect to 𝑥 keeping 𝑦 as constant.
constant.
𝜕𝑁 𝜕
𝜕𝑥
= 𝜕𝑥 (7𝑥 + 8𝑦 − 4 ) = 7 + 0 − 0 = 7 − − − (3)
𝜕𝑀 𝜕𝑁
From (2) and (3), we get 𝜕𝑦
= 𝜕𝑥
arbitrary constant.
⟹ ∫(5𝑥 + 7𝑦 + 2 ) 𝑑𝑥 + ∫(8𝑦 − 4) 𝑑𝑦 = 𝐶
𝑥2 𝑦2 𝑥 𝑛+1
⟹5 + 7𝑥𝑦 + 2𝑥 + 8 − 4𝑦 = 𝐶 (∵ ∫ 𝑥 𝑛 𝑑𝑥 = )
2 2 𝑛+1
5
⟹ 𝑥 2 + 7𝑥𝑦 + 2𝑥 + 4𝑦 2 − 4𝑦 = 𝐶 ANSWER
2
1
EXAMPLE 2 Solve (𝑥 + 𝑙𝑜𝑔 𝑥 − 𝑥𝑠𝑖𝑛 𝑦)𝑑𝑦 + [(1 + 𝑥 ) 𝑦 + 𝑐𝑜𝑠 𝑦] 𝑑𝑥 = 0
1
(𝑥 + 𝑙𝑜𝑔 𝑥 − 𝑥𝑠𝑖𝑛 𝑦)𝑑𝑦 + [(1 + ) 𝑦 + 𝑐𝑜𝑠 𝑦] 𝑑𝑥 = 0 − − − (1)
𝑥
1
So, we get 𝑀 = (1 + 𝑥 ) 𝑦 + 𝑐𝑜𝑠 𝑦 and 𝑁 = 𝑥 + 𝑙𝑜𝑔 𝑥 − 𝑥𝑠𝑖𝑛 𝑦
𝜕𝑀 𝜕 1 1
Step 2: = ((1 + ) 𝑦 + 𝑐𝑜𝑠 𝑦 ) = 1 + − 𝑠𝑖𝑛 𝑦 − − − (2) and
𝜕𝑦 𝜕𝑦 𝑥 𝑥
𝜕𝑁 𝜕 1
𝜕𝑥
= 𝜕𝑥 (𝑥 + 𝑙𝑜𝑔 𝑥 − 𝑥𝑠𝑖𝑛 𝑦 ) = 1 + 𝑥 − 𝑠𝑖𝑛 𝑦 − − − (3)
𝜕𝑀 𝜕𝑁
From (2) and (3), we get 𝜕𝑦
= 𝜕𝑥
arbitrary constant.
1
⟹ ∫ [(1 + 𝑥 ) 𝑦 + 𝑐𝑜𝑠 𝑦] 𝑑𝑥 + ∫(0) 𝑑𝑦 = 𝐶
𝑦 𝑥
⟹ (𝑥 + 𝑥 2+𝑦2 ) 𝑑𝑥 + (𝑦 − 𝑥 2+𝑦2 ) 𝑑𝑦 = 0 − − − (1)
𝜕𝑀 𝜕𝑁
From (2) and (3), we get 𝜕𝑦
= 𝜕𝑥
arbitrary constant.
𝑦
⟹ ∫ [𝑥 + ] 𝑑𝑥 + ∫(𝑦) 𝑑𝑦 = 𝐶
𝑥 2+𝑦 2
𝑥2 𝑥 𝑦2 𝑥 𝑛+1 𝑎 𝑥
⟹( + 𝑡𝑎𝑛−1 ) + =𝐶 (∵ ∫ 𝑥 𝑛 𝑑𝑥 = 𝑎𝑛𝑑 ∫ 2 2 𝑑𝑥 = 𝑡𝑎𝑛−1 )
2 𝑦 2 𝑛+1 𝑥 +𝑎 𝑎
𝑥
⟹ 𝑥 2 + 2𝑡𝑎𝑛−1 𝑦 + 𝑦 2 = 2𝐶 ANSWER
𝜕𝑀 𝜕
Step 2: = (𝑦 𝑠𝑖𝑛 2𝑥 ) = 𝑠𝑖𝑛 2𝑥 = 2𝑠𝑖𝑛 𝑥 𝑐𝑜𝑠 𝑥 − − − (2) and
𝜕𝑦 𝜕𝑦
𝜕𝑁 𝜕
𝜕𝑥
= 𝜕𝑥 (−(1 + 𝑦 2 + 𝑐𝑜𝑠 2 𝑥) ) = −2𝑐𝑜𝑠𝑥 ∙ (−𝑠𝑖𝑛 𝑥) = 2𝑠𝑖𝑛 𝑥𝑐𝑜𝑠 𝑥 − −(3)
(∵ 𝑠𝑖𝑛 2𝜃 = 2𝑠𝑖𝑛 𝜃𝑐𝑜𝑠 𝜃)
𝜕𝑀 𝜕𝑁
From (2) and (3), we get 𝜕𝑦
= 𝜕𝑥
arbitrary constant.
⟹ ∫ 𝑦 𝑠𝑖𝑛 2𝑥 𝑑𝑥 + ∫(−(1 + 𝑦 2 )) 𝑑𝑦 = 𝐶
𝜕𝑀 𝜕 𝑥 𝑥
Step 2: 𝜕𝑦
= 𝜕𝑦 (1 + 𝑒 𝑥/𝑦 ) = (0 + 𝑒 𝑥/𝑦 ∙ (− y2 ) ) = −𝑒 𝑥/𝑦 ∙ (𝑦2 ) − − − (2) and
𝜕𝑁 𝜕 𝑥 1 𝑥 1
= (𝑒 𝑥/𝑦 (1 − ) ) = [𝑒 𝑥/𝑦 (0 − ) + (1 − ) 𝑒 𝑥/𝑦 ∙ ]
𝜕𝑥 𝜕𝑥 𝑦 𝑦 𝑦 𝑦
𝜕𝑁 1 1 𝑥 𝑥
⟹ 𝜕𝑥
= −𝑒 𝑥/𝑦 (𝑦) + 𝑒 𝑥/𝑦 ∙ 𝑦 − 𝑒 𝑥/𝑦 ∙ (𝑦2 ) = −𝑒 𝑥/𝑦 ∙ (𝑦2 ) − − − (3)
𝜕𝑀 𝜕𝑁
From (2) and (3), we get 𝜕𝑦
= 𝜕𝑥
𝑒 𝑥/𝑦 𝑒 𝑎𝑥
⟹𝑥+ +0= 𝐶 (∵ ∫ 𝑒 𝑎𝑥 𝑑𝑥 = )
1/𝑦 𝑎
⟹ 𝑥 + 𝑒 𝑥/𝑦 ∙ 𝑦 = 𝐶 ANSWER
𝜕𝑁 𝜕
= (3𝑥 2 𝑦 + 𝑦 3 ) = 6𝑥𝑦 + 0 = 6𝑥𝑦 − − − (3)
𝜕𝑥 𝜕𝑥
𝜕𝑀 𝜕𝑁
From (2) and (3), we get 𝜕𝑦
= 𝜕𝑥
⟹ ∫ 𝑥 3 𝑑𝑥 + 3𝑦 2 ∫ 𝑥𝑑𝑥 + ∫(𝑦 3 ) 𝑑𝑦 = 𝐶
𝑥4 𝑥2 𝑦4
⟹ 4
+ 3𝑦 2 2
+ 4
=𝐶
𝑥4 3 𝑦4
⟹ 4
+ 2 𝑥2 𝑦 2 + 4
=𝐶 ANSWER
𝜕𝑀 𝜕
Step 2: 𝜕𝑦
= 𝜕𝑦 ((𝑥 + 1)𝑒 𝑥 − 𝑒 𝑦 ) = (0 − 𝑒 𝑦 ) = −𝑒 𝑦 − − − (2) and
𝜕𝑁 𝜕 𝜕
𝜕𝑥
= 𝜕𝑥 (−𝑥𝑒 𝑦 ) = −𝑒 𝑦 𝜕𝑥 (𝑥 ) = −𝑒 𝑦 (1) = −𝑒 𝑦 − − − (3)
𝜕𝑀 𝜕𝑁
From (2) and (3), we get 𝜕𝑦
= 𝜕𝑥
⟹ ∫(𝑥 + 1)𝑒 𝑥 𝑑𝑥 − ∫ 𝑒 𝑦 𝑑𝑥 + 0 = 𝐶
∵ 𝑢 = 𝑥 + 1 , 𝑣 = 𝑒 𝑥 𝑎𝑛𝑑
( )
∫ 𝑢𝑣 𝑑𝑥 = 𝑢𝑣1 − 𝑢′𝑣2 + 𝑢′′𝑣3 − 𝑢′′′𝑣4 + ⋯ ⋯ ⋯
⟹ (𝑥 + 1)(𝑒 𝑥 ) − 𝑒 𝑥 − 𝑒 𝑦 𝑥 = 𝐶 − − − (4)
𝑦(1) = 0 ⟹ If 𝑥 = 1 then 𝑦 = 0
From (4),
𝜕𝑁 𝜕
= (𝑠𝑖𝑛 𝑥 + 𝑥𝑐𝑜𝑠 𝑦 + 𝑥) = 𝑐𝑜𝑠 𝑥 + 𝑐𝑜𝑠 𝑦 + 1 − − − (3)
𝜕𝑥 𝜕𝑥
𝜕𝑀 𝜕𝑁
From (2) and (3), we get =
𝜕𝑦 𝜕𝑥
⟹ 𝑦𝑠𝑖𝑛 𝑥 + 𝑥𝑠𝑖𝑛 𝑦 + 𝑦𝑥 + 0 = 𝐶
𝜕𝑁 𝜕
𝜕𝑥
= 𝜕𝑥 (2𝑦 + 𝑒 𝑥 ) = (0 + 𝑒 𝑥 ) = 𝑒 𝑥 − − − (3)
𝜕𝑀 𝜕𝑁
From (2) and (3), we get 𝜕𝑦
= 𝜕𝑥
⟹ 𝑦 ∫ 𝑒 𝑥 𝑑𝑥 + 2 ∫ 𝑦 𝑑𝑦 = 𝐶
𝑦2 𝑦 𝑛+1
⟹ 𝑦𝑒 𝑥 + 2 2
=𝐶 (∵ ∫ 𝑒 𝑥 𝑑𝑥 = 𝑒 𝑥 𝑎𝑛𝑑 ∫ 𝑦 𝑛 𝑑𝑦 =
𝑛+1
)
⟹ 𝑦𝑒 𝑥 + 𝑦 2 = 𝐶 − − − (4)
𝑦(0) = −1 ⟹ If 𝑥 = 0 then 𝑦 = −1
From (4),
TRY YOURSELF
𝜕𝑀 𝜕𝑁
For given differential equation, if 𝜕𝑦
≠ 𝜕𝑥
then it is called non-exact differential equation.
If the differential equation 𝑀(𝑥, 𝑦)𝑑𝑥 + 𝑁(𝑥, 𝑦)𝑑𝑦 = 0 is not exact then it can be converted into
exact differential equation by multiplying integrating factor.
Identify 𝑀 and 𝑁.
𝜕𝑀 𝜕𝑁 𝜕𝑀 𝜕𝑁
Step: 2 Find 𝜕𝑦
and 𝜕𝑥
. If 𝜕𝑦
≠ 𝜕𝑥
then given differential equation is non-exact differential
equation.
Step: 3 Convert the non-exact differential equation into exact differential equation by using
following rules:
1 𝜕𝑀 𝜕𝑁
RULE: 3 If 𝑁 ( 𝜕𝑦 − 𝜕𝑥 ) is constant or function of only 𝑥 (say 𝑔(𝑥)) then integrating factor is
I.F.= 𝑒 ∫ 𝑔(𝑥)𝑑𝑥
1 𝜕𝑁 𝜕𝑀
RULE: 4 If ( − ) is constant or function of only 𝑦 (say 𝑔(𝑦)) then integrating factor is
𝑀 𝜕𝑥 𝜕𝑦
I.F.= 𝑒 ∫ 𝑔(𝑦)𝑑𝑦
constant.
EXAMPLES ON RULE 1
(𝑥 4 − 𝑦 4 )𝑑𝑥 + 𝑥𝑦 3 𝑑𝑦 = 0 − − − (1)
𝜕𝑁 𝜕
= (𝑥𝑦 3 ) = 𝑦 3 − − − (3)
𝜕𝑥 𝜕𝑥
𝜕𝑀 𝜕𝑁
From (2) and (3), we get 𝜕𝑦
≠ 𝜕𝑥
Step: 3 Convert given Non-exact equation into Exact differential equation. For this,
1 1 1
I.F.= (𝑥 4 −𝑦 4 )𝑥+(𝑥𝑦 3 )𝑦
= =
𝑥 5−𝑥𝑦 4+𝑥𝑦 4 𝑥5
1 1 𝑦4
Step: 4 𝑃 = 𝑀 ∙ (I. F. ) = (𝑥 4 − 𝑦 4 ) = −
𝑥5 𝑥 𝑥5
1 𝑦3
𝑄 = 𝑁 ∙ (I. F. ) = (𝑥𝑦 3 ) =
𝑥5 𝑥4
1 𝑦4
⟹ ∫( − ) 𝑑𝑥 + ∫(0) 𝑑𝑦 = 𝐶 (∵ All terms of 𝑁 containing 𝑥)
𝑥 𝑥5
𝑥 −4 𝑥 𝑛+1 1
⟹ 𝑙𝑜𝑔 𝑥 − 𝑦 4 ( −4 ) + 0 = 𝐶 (∵ ∫ 𝑥 𝑛 𝑑𝑥 =
𝑛+1
𝑎𝑛𝑑 ∫ 𝑥 𝑑𝑥 = 𝑙𝑜𝑔 𝑥)
𝑦4
⟹ 𝑙𝑜𝑔 𝑥 + 4𝑥 4 = 𝐶
𝜕𝑀 𝜕
Step 2: 𝜕𝑦
= 𝜕𝑦 (𝑥 2 + 𝑦 2 ) = 0 + 2𝑦 = 2𝑦 − − − (2) and
𝜕𝑁 𝜕
𝜕𝑥
= 𝜕𝑥 (−2𝑥𝑦) = −2𝑦 − − − (3)
𝜕𝑀 𝜕𝑁
From (2) and (3), we get 𝜕𝑦
≠ 𝜕𝑥
Step: 3 Convert given Non-exact equation into Exact differential equation. For this,
1 1 1 1
I.F.= (𝑥 2 +𝑦 2 )𝑥+(−2𝑥𝑦)𝑦
= 𝑥 3+𝑥𝑦2−2𝑥𝑦2 = 𝑥 3−𝑥𝑦2 = 𝑥(𝑥 2−𝑦2 )
1 1 1 1
Step: 4 𝑃 = 𝑀 ∙ (I. F. ) = (𝑥 2 + 𝑦 2 ) 𝑥(𝑥 2−𝑦2) = − 𝑥 + 𝑥−𝑦 + 𝑥+𝑦
1 2𝑦
𝑄 = 𝑁 ∙ (I. F. ) = (−2𝑥𝑦) 𝑥(𝑥 2−𝑦2) = − 𝑥 2−𝑦2
𝑥 2−𝑦 2 𝑎
⟹ 𝑙𝑜𝑔 ( 𝑥
)=𝐶 (∵ log 𝑎 − log 𝑏 = log )
𝑏
⟹ 𝑥 2 − 𝑦 2 = 𝑥𝑒 𝐶 ANSWER
𝜕𝑀 𝜕𝑁
From (2) and (3), we get ≠
𝜕𝑦 𝜕𝑥
Step: 3 Convert given Non-exact equation into Exact differential equation. For this,
1 1
I.F.= (𝑥 2 𝑦−2𝑥𝑦 2)𝑥+(−(𝑥 3−3𝑥 2𝑦))𝑦
= (𝑥 3𝑦−2𝑥 2𝑦2)+(−(𝑥 3𝑦−3𝑥 2𝑦2))
1 1 1
⟹ I.F.= = =
𝑥 3𝑦−2𝑥 2𝑦 2 −𝑥 3𝑦+3𝑥 2𝑦 2 −2𝑥 2 𝑦 2 +3𝑥 2𝑦 2 𝑥 2𝑦2
1 1 2
Step: 4 𝑃 = 𝑀 ∙ (I. F. ) = (𝑥 2 𝑦 − 2𝑥𝑦 2 ) = −
𝑥 2𝑦2 𝑦 𝑥
1 𝑥 3
𝑄 = 𝑁 ∙ (I. F. ) = −(𝑥 3 − 3𝑥 2 𝑦) 𝑥 2𝑦2 = − 𝑦2 + 𝑦
1 2 3 3
⟹ ∫ ( − ) 𝑑𝑥 + ∫ ( ) 𝑑𝑦 = 𝐶 (∵ only term of 𝑁 not containing 𝑥)
𝑦 𝑥 𝑦 𝑦
𝑥 1 𝑥 1
⟹ 𝑦 − 2𝑙𝑜𝑔 𝑥 + 3𝑙𝑜𝑔 𝑦 = 𝐶 (∵ ∫ 𝑑𝑥 = 𝑎𝑛𝑑 ∫ 𝑑𝑥 = 𝑙𝑜𝑔 𝑥)
𝑦 𝑦 𝑥
𝜕𝑀 𝜕
Step 2: 𝜕𝑦
= 𝜕𝑦 (𝑥𝑦 − 2𝑦 2 ) = 𝑥 − 4𝑦 − − − (2) and
𝜕𝑁 𝜕
𝜕𝑥
= 𝜕𝑥 (−(𝑥 2 − 3𝑥𝑦)) = −(2𝑥 − 3𝑦) − − − (3)
𝜕𝑀 𝜕𝑁
From (2) and (3), we get 𝜕𝑦
≠ 𝜕𝑥
1 1
I.F.= (𝑥𝑦−2𝑦 2 )𝑥+(−(𝑥 2−3𝑥𝑦))𝑦
= (𝑥 2
𝑦−2𝑥𝑦 2 )+(−(𝑥 2𝑦−3𝑥𝑦 2 ))
1 1 1
⟹ I.F.= 𝑥 2𝑦−2𝑥𝑦2 −𝑥 2𝑦+3𝑥𝑦2 = −2𝑥𝑦2 +3𝑥𝑦2 = 𝑥𝑦2
1 1 2
Step: 4 𝑃 = 𝑀 ∙ (I. F. ) = (𝑥𝑦 − 2𝑦 2 ) = −
𝑥𝑦 2 𝑦 𝑥
1 𝑥 3
𝑄 = 𝑁 ∙ (I. F. ) = −(−(𝑥 2 − 3𝑥𝑦)) =− +
𝑥𝑦 2 𝑦2 𝑦
𝑥 1 𝑥 1
⟹ − 2𝑙𝑜𝑔 𝑥 + 3𝑙𝑜𝑔 𝑦 = 𝐶 (∵ ∫ 𝑑𝑥 = 𝑎𝑛𝑑 ∫ 𝑥 𝑑𝑥 = 𝑙𝑜𝑔 𝑥)
𝑦 𝑦 𝑦
EXAMPLES ON RULE 2
EXAMPLE 1 Solve (𝑥𝑦 𝑠𝑖𝑛 𝑥𝑦 + 𝑐𝑜𝑠 𝑥𝑦)𝑦 𝑑𝑥 + (𝑥𝑦 𝑠𝑖𝑛 𝑥𝑦 − 𝑐𝑜𝑠 𝑥𝑦)𝑥 𝑑𝑦 = 0
So, we get 𝑀 = (𝑥𝑦 𝑠𝑖𝑛 𝑥𝑦 + 𝑐𝑜𝑠 𝑥𝑦)𝑦 and 𝑁 = (𝑥𝑦 𝑠𝑖𝑛 𝑥𝑦 − 𝑐𝑜𝑠 𝑥𝑦)𝑥
Step: 2 Convert given Non-exact equation into Exact differential equation. For this,
Here it is not necessary to check the condition for exactness because given
equation (1) is of the form 𝑦𝑓(𝑥𝑦)𝑑𝑥 + 𝑥𝑓 (𝑥𝑦)𝑑𝑦 = 0
1
Hence, Integrating factor is 𝑀𝑥−𝑁𝑦
1
I.F.= 𝑀𝑥−𝑁𝑦
1
⟹ I.F.= (𝑥𝑦 𝑠𝑖𝑛 𝑥𝑦+𝑐𝑜𝑠 𝑥𝑦)𝑦𝑥−(𝑥𝑦 𝑠𝑖𝑛 𝑥𝑦−𝑐𝑜𝑠 𝑥𝑦)𝑥𝑦
1
⟹ I.F.=
2𝑥𝑦𝑐𝑜𝑠 𝑥𝑦
1 𝑦𝑡𝑎𝑛 𝑥𝑦 1
Step: 3 𝑃 = 𝑀 ∙ (I. F. ) = (𝑥𝑦 𝑠𝑖𝑛 𝑥𝑦 + 𝑐𝑜𝑠 𝑥𝑦)𝑦 ∙ 2𝑥𝑦𝑐𝑜𝑠 𝑥𝑦 = 2
+ 2𝑥
1 𝑥𝑡𝑎𝑛 𝑥𝑦 1
𝑄 = 𝑁 ∙ (I. F. ) = (𝑥𝑦 𝑠𝑖𝑛 𝑥𝑦 − 𝑐𝑜𝑠 𝑥𝑦)𝑥 ∙ 2𝑥𝑦𝑐𝑜𝑠 𝑥𝑦 = 2
− 2𝑦
𝑦𝑡𝑎𝑛 𝑥𝑦 1 1
⟹ ∫( 2
+ 2𝑥 ) 𝑑𝑥 + ∫ (− 2𝑦) 𝑑𝑦 = 𝐶
1
(∵ only term − 2𝑦 of 𝑁 not containing 𝑥)
1 1 1 1
⟹ ∫ (𝑦𝑡𝑎𝑛 𝑥𝑦 + ) 𝑑𝑥 − ∫ ( ) 𝑑𝑦 = 𝐶
2 𝑥 2 𝑦
1 𝑙𝑜𝑔 𝑠𝑒𝑐(𝑥𝑦) 1
⟹ 2 (𝑦 𝑦
+ 𝑙𝑜𝑔 𝑥) − 2 𝑙𝑜𝑔 𝑦 = 𝐶
𝑥∙𝑠𝑒𝑐(𝑥𝑦)
⟹ = 𝑒 2𝐶 ANSWER
𝑦
(1 + 𝑥𝑦)𝑦 𝑑𝑥 + (1 + 𝑥𝑦 + 𝑥 2 𝑦 2 )𝑥 𝑑𝑦 = 0 − − − (1)
Step: 2 Convert given Non-exact equation into Exact differential equation. For this,
Here it is not necessary to check the condition for exactness because given
equation (1) is of the form 𝑦𝑓(𝑥𝑦)𝑑𝑥 + 𝑥𝑓 (𝑥𝑦)𝑑𝑦 = 0
1
Hence, Integrating factor is 𝑀𝑥−𝑁𝑦
1
⟹ I.F.= (1+𝑥𝑦)𝑦𝑥−(1+𝑥𝑦+𝑥 2
𝑦 2 )𝑥𝑦
1
⟹ I.F.= 𝑥𝑦+𝑥 2𝑦2 −𝑥𝑦−𝑥 2𝑦2−𝑥 3𝑦3
1
⟹ I.F.= − 𝑥 3𝑦3
1 1 1
Step: 3 𝑃 = 𝑀 ∙ (I. F. ) = (1 + 𝑥𝑦)𝑦 ∙ (− 𝑥 3𝑦3 ) = − 𝑥 3𝑦2 − 𝑥 2𝑦
1 1 1 1
𝑄 = 𝑁 ∙ (I. F. ) = (1 + 𝑥𝑦 + 𝑥 2 𝑦 2 )𝑥 ∙ (− 𝑥 3𝑦3 ) = − 𝑥 2𝑦3 − 𝑥𝑦2 − 𝑦
1 1 1
⟹ ∫ (− 𝑥 3𝑦2 − 𝑥 2𝑦) 𝑑𝑥 + ∫ (− 𝑦) 𝑑𝑦 = 𝐶
1
(∵ only term − 𝑦 of 𝑁 not containing 𝑥)
1 1 1 1 1
⟹ − 𝑦2 ∫ 𝑥 3 𝑑𝑥 − 𝑦 ∫ 𝑥 2 𝑑𝑥 − ∫ 𝑦 𝑑𝑦 = 𝐶
1 𝑥 −2 1 𝑥 −1
⟹ − 𝑦2 ( −2 ) − 𝑦 ( −1 ) − 𝑙𝑜𝑔 𝑦 = 𝐶
𝑥𝑛+1 1
(∵ ∫ 𝑥𝑛 𝑑𝑥 = 𝑎𝑛𝑑 ∫ 𝑦 𝑑𝑦 = 𝑙𝑜𝑔 𝑦 )
𝑛+1
1 1 1 1
⟹ ( ) + ( ) − 𝑙𝑜𝑔 𝑦 = 𝐶
𝑦 2 2𝑥 2 𝑦 𝑥
1 1
⟹ 2𝑥 2𝑦 2
+ 𝑥𝑦 − 𝑙𝑜𝑔 𝑦 = 𝐶 ANSWER
(𝑥 2 𝑦 2 + 2)𝑦 𝑑𝑥 + (2 − 𝑥 2 𝑦 2 )𝑥 𝑑𝑦 = 0 − − − (1)
𝜕𝑀 𝜕 𝜕
Step 2: 𝜕𝑦
= 𝜕𝑦 ((𝑥 2 𝑦 2 + 2)𝑦 ) = 𝜕𝑦 (𝑥 2 𝑦 3 + 2𝑦 ) = 3𝑥 2 𝑦 2 + 2 − − − (2) and
𝜕𝑁 𝜕 𝜕
𝜕𝑥
= 𝜕𝑥 ((2 − 𝑥 2 𝑦 2 )𝑥 ) = 𝜕𝑥 (2𝑥 − 𝑥 3 𝑦 2 ) = 2 − 3𝑥 2 𝑦 2 − − − (3)
Step: 3 Convert given Non-exact equation into Exact differential equation. For this,
1
I.F.= 𝑀𝑥−𝑁𝑦
1
⟹ I.F.= (𝑥 2
𝑦 2 +2)𝑦𝑥−(2−𝑥 2𝑦 2 )𝑥𝑦
1
⟹ I.F.=
𝑥 3𝑦 3 +2𝑥𝑦−2𝑥𝑦+𝑥 3𝑦 3
1
⟹ I.F.= 2𝑥 3𝑦3
1 1 1 1
Step: 4 𝑃 = 𝑀 ∙ (I. F. ) = (𝑥 2 𝑦 2 + 2)𝑦 ∙ 2𝑥 3𝑦3 = (𝑥 2 𝑦 3 + 2𝑦) ∙ 2𝑥 3𝑦3 = 2𝑥 + 𝑥 3𝑦2
1 1 1 1
𝑄 = 𝑁 ∙ (I. F. ) = (2 − 𝑥 2 𝑦 2 )𝑥 ∙ 2𝑥 3𝑦3 = (2𝑥 − 𝑥 3 𝑦 2 ) ∙ 2𝑥 3𝑦3 = 𝑥 2𝑦3 − 2𝑦
Now equation 𝑃𝑑𝑥 + 𝑄𝑑𝑦 = 0 becomes exact differential equation.
1
(∵ only term − 2𝑦 of 𝑁 not containing 𝑥)
1 1 1 1 1 1
⟹ 2 ∫ 𝑥 𝑑𝑥 + 𝑦2 ∫ 𝑥 3 𝑑𝑥 − 2 ∫ (𝑦) 𝑑𝑦 = 𝐶
1 1 1 1 1
⟹ 2 ∫ 𝑥 𝑑𝑥 + 𝑦2 ∫ 𝑥 −3 𝑑𝑥 − 2 ∫ (𝑦) 𝑑𝑦 = 𝐶
1 1 𝑥 −2 1
⟹ 2 𝑙𝑜𝑔 𝑥 + 𝑦2 ( −2 ) − 2 𝑙𝑜𝑔 𝑦 = 𝐶
𝑥 𝑛+1 1
(∵ ∫ 𝑥 𝑛 𝑑𝑥 = 𝑎𝑛𝑑 ∫ 𝑦 𝑑𝑦 = 𝑙𝑜𝑔 𝑦)
𝑛+1
1 1 1
⟹ 2 𝑙𝑜𝑔 𝑥 − 2𝑥 2𝑦2 − 2 𝑙𝑜𝑔 𝑦 = 𝐶 ANSWER
EXAMPLES ON RULE 3
𝜕𝑀 𝜕
Step 2: 𝜕𝑦
= 𝜕𝑦 (𝑥 2 + 𝑦 2 + 𝑥 ) = 0 + 2𝑦 + 0 = 2𝑦 − − − (2) and
𝜕𝑁 𝜕
𝜕𝑥
= 𝜕𝑥 (𝑥𝑦) = 𝑦 − − − (3)
𝜕𝑀 𝜕𝑁
From (2) and (3), we get ≠
𝜕𝑦 𝜕𝑥
Step: 3 Convert given Non-exact equation into Exact differential equation. For this,
1 𝜕𝑀 𝜕𝑁 1 1 1
First we find ( − )= (2𝑦 − 𝑦) = (𝑦) =
𝑁 𝜕𝑦 𝜕𝑥 𝑥𝑦 𝑥𝑦 𝑥
1 𝜕𝑀 𝜕𝑁 1
⟹ ( − )= = 𝑔(𝑥)
𝑁 𝜕𝑦 𝜕𝑥 𝑥
I.F.= 𝑒 ∫ 𝑔(𝑥)𝑑𝑥
1
)𝑑𝑥
⟹ I.F.= 𝑒 ∫(𝑥
1
⟹ I.F.= 𝑒 𝑙𝑜𝑔 𝑥 (∵ ∫ 𝑑𝑥 = 𝑙𝑜𝑔 𝑥)
𝑥
Step: 4 𝑃 = 𝑀 ∙ (I. F. ) = (𝑥 2 + 𝑦 2 + 𝑥) ∙ 𝑥 = 𝑥 3 + 𝑥𝑦 2 + 𝑥 2
𝑄 = 𝑁 ∙ (I. F. ) = (𝑥𝑦) ∙ 𝑥 = 𝑦𝑥 2
⟹ ∫(𝑥 3 + 𝑥𝑦 2 + 𝑥 2 ) 𝑑𝑥 + ∫(0) 𝑑𝑦 = 𝐶
𝑥4 𝑥2 𝑥3 𝑥 𝑛+1
⟹ 4
+ 2
𝑦2 + 3
=𝐶 (∵ ∫ 𝑥 𝑛 𝑑𝑥 =
𝑛+1
)
⟹ 3𝑥 4 + 6𝑥 2 𝑦 2 + 4𝑥 3 = 12𝐶 ANSWER
𝜕𝑁 𝜕 1
𝜕𝑥
= 𝜕𝑥 (2𝑥 𝑙𝑜𝑔 𝑥 − 𝑥𝑦) = 2 (𝑥 ∙ 𝑥 + 𝑙𝑜𝑔 𝑥 ∙ 1) − 𝑦
= 2 + 2𝑙𝑜𝑔 𝑥 − 𝑦 − − − (3)
𝜕𝑀 𝜕𝑁
From (2) and (3), we get 𝜕𝑦
≠ 𝜕𝑥
Step: 3 Convert given Non-exact equation into Exact differential equation. For this,
1 𝜕𝑀 𝜕𝑁 1 𝑦−2𝑙𝑜𝑔 𝑥
First we find 𝑁 ( 𝜕𝑦 − 𝜕𝑥 ) = 2𝑥 𝑙𝑜𝑔 𝑥−𝑥𝑦 (2 − 2 − 2𝑙𝑜𝑔 𝑥 + 𝑦) = 2𝑥 𝑙𝑜𝑔 𝑥−𝑥𝑦
1 𝜕𝑀 𝜕𝑁 𝑦−2𝑙𝑜𝑔 𝑥 𝑦−2𝑙𝑜𝑔 𝑥 1
⟹ 𝑁 ( 𝜕𝑦 − 𝜕𝑥 ) = 𝑥(2𝑙𝑜𝑔 𝑥−𝑦) = − 𝑥(𝑦−2𝑙𝑜𝑔 𝑥) = − 𝑥 = 𝑔(𝑥)
I.F.= 𝑒 ∫ 𝑔(𝑥)𝑑𝑥
1
⟹ I.F.= 𝑒 ∫(−𝑥 )𝑑𝑥
1
⟹ I.F.= 𝑒 −𝑙𝑜𝑔 𝑥 (∵ ∫ 𝑑𝑥 = 𝑙𝑜𝑔 𝑥)
𝑥
−1
⟹ I.F.= 𝑒 𝑙𝑜𝑔 𝑥 (∵ 𝑎 𝑙𝑜𝑔 𝑥 = 𝑙𝑜𝑔 𝑥 𝑎 )
1
⟹ I.F.= 𝑥 −1 = 𝑥 (∵ 𝑒 𝑙𝑜𝑔𝑓(𝑥) = 𝑓(𝑥))
1 2𝑦
Step: 4 𝑃 = 𝑀 ∙ (I. F. ) = (2𝑦) ∙ =
𝑥 𝑥
1
𝑄 = 𝑁 ∙ (I. F. ) = (2𝑥 𝑙𝑜𝑔 𝑥 − 𝑥𝑦) ∙ 𝑥 = 2𝑙𝑜𝑔 𝑥 − 𝑦
2𝑦
⟹ ∫ ( ) 𝑑𝑥 + ∫(−𝑦) 𝑑𝑦 = 𝐶
𝑥
1
⟹ 2𝑦 ∫ (𝑥 ) 𝑑𝑥 − ∫ 𝑦 𝑑𝑦 = 𝐶
⟹ 4𝑦 𝑙𝑜𝑔 𝑥 − 𝑦 2 = 2𝐶 ANSWER
3
EXAMPLE 3 Solve (𝑥𝑦 2 − 𝑒1/𝑥 )𝑑𝑥 − 𝑥 2 𝑦 𝑑𝑦 = 0
𝜕𝑀 𝜕 3
Step 2: 𝜕𝑦
= 𝜕𝑦 (𝑥𝑦 2 − 𝑒1/𝑥 ) = 2𝑥𝑦 − 0 = 2𝑥𝑦 − − − (2) and
𝜕𝑁 𝜕
𝜕𝑥
= 𝜕𝑥 (−𝑥 2 𝑦) = −2𝑥𝑦 − − − (3)
𝜕𝑀 𝜕𝑁
From (2) and (3), we get 𝜕𝑦
≠ 𝜕𝑥
Step: 3 Convert given Non-exact equation into Exact differential equation. For this,
1 𝜕𝑀 𝜕𝑁 1 4𝑥𝑦 4
First we find 𝑁 ( 𝜕𝑦 − 𝜕𝑥 ) = −𝑥 2𝑦 (2𝑥𝑦 + 2𝑥𝑦) = − 𝑥 2𝑦 = − 𝑥
1 𝜕𝑀 𝜕𝑁 4
⟹ 𝑁 ( 𝜕𝑦 − 𝜕𝑥 ) = − 𝑥 = 𝑔(𝑥)
I.F.= 𝑒 ∫ 𝑔(𝑥)𝑑𝑥
4
⟹ I.F.= 𝑒 ∫(−𝑥 )𝑑𝑥
1
⟹ I.F.= 𝑒 −4𝑙𝑜𝑔 𝑥 (∵ ∫ 𝑑𝑥 = 𝑙𝑜𝑔 𝑥)
𝑥
−4
⟹ I.F.= 𝑒 𝑙𝑜𝑔 𝑥 (∵ 𝑎 𝑙𝑜𝑔 𝑥 = 𝑙𝑜𝑔 𝑥 𝑎 )
1
⟹ I.F.= 𝑥 −4 = 𝑥 4 (∵ 𝑒 𝑙𝑜𝑔𝑓(𝑥) = 𝑓(𝑥))
3 1 𝑦2 3 1
Step: 4 𝑃 = 𝑀 ∙ (I. F. ) = (𝑥𝑦 2 − 𝑒1/𝑥 ) ∙ 𝑥 4 = 𝑥3
− 𝑒1/𝑥 ∙ 𝑥 4
1 𝑦
𝑄 = 𝑁 ∙ (I. F. ) = (−𝑥 2 𝑦) ∙ 𝑥 4 = − 𝑥 2
1 −3
⟹ ∫ (𝑦 2 𝑥 −3 + (𝑒 𝑥 ∙ −3𝑥 −4 )) 𝑑𝑥 + ∫(0) 𝑑𝑦 = 𝐶
3
𝑥 −2 1 −3
⟹ 𝑦 2 ( −2 ) + 3 𝑒 𝑥 +0=𝐶 (∵ ∫ 𝑒 𝑓(𝑥) ∙ 𝑓′(𝑥)𝑑𝑥 = 𝑒 𝑓(𝑥) )
𝑦2 1 3
⟹ − 2𝑥 2 + 3 𝑒1/𝑥 = 𝐶 ANSWER
EXAMPLES ON RULE 4
𝜕𝑁 𝜕
𝜕𝑥
= 𝜕𝑥 (𝑥𝑦 3 + 2𝑦 4 − 4𝑥) = 𝑦 3 + 0 − 4 = 𝑦 3 − 4 − − − (3)
𝜕𝑀 𝜕𝑁
From (2) and (3), we get 𝜕𝑦
≠ 𝜕𝑥
Step: 3 Convert given Non-exact equation into Exact differential equation. For this,
1 𝜕𝑁 𝜕𝑀 1
First we find 𝑀 ( 𝜕𝑥 − 𝜕𝑦 ) = 𝑦(𝑦3 +2) (𝑦 3 − 4 − 4𝑦 3 − 2)
1 𝜕𝑁 𝜕𝑀 1 −3(𝑦 3 +2) −3
⟹ ( − )= (−3𝑦 3 − 6) = = = 𝑔(𝑦)
𝑀 𝜕𝑥 𝜕𝑦 𝑦(𝑦 3 +2) 𝑦(𝑦 3 +2) 𝑦
I.F.= 𝑒 ∫ 𝑔(𝑦)𝑑𝑦
3
∫(−𝑦 )𝑑𝑦
⟹ I.F.= 𝑒
1
−3 ∫( )𝑑𝑦
⟹ I.F.= 𝑒 𝑦
1
⟹ I.F.= 𝑒 −3𝑙𝑜𝑔 𝑦 (∵ ∫ 𝑑𝑦 = 𝑙𝑜𝑔 𝑦)
𝑦
−3
⟹ I.F.= 𝑒 𝑙𝑜𝑔 𝑦 (∵ 𝑎𝑙𝑜𝑔𝑦 = 𝑙𝑜𝑔𝑦 𝑎 )
⟹ ∫(𝑦 + 2𝑦 −2 ) 𝑑𝑥 + ∫(2𝑦) 𝑑𝑦 = 𝐶
⟹ (𝑦 + 2𝑦 −2 ) ∫(1) 𝑑𝑥 + 2 ∫(𝑦) 𝑑𝑦 = 𝐶
𝑦2
⟹ (𝑦 + 2𝑦 −2 )𝑥 + 2 2
=𝐶
𝑥 𝑛+1
(∵ ∫ 𝑥 𝑛 𝑑𝑥 = 𝑎𝑛𝑑 ∫ 𝑦 𝑑𝑥 = 𝑦𝑥)
𝑛+1
⟹ (𝑦 + 2𝑦 −2 )𝑥 + 𝑦 2 = 𝐶 ANSWER
EXAMPLE 2 State the necessary and sufficient condition to be exact differential equation.
𝜕𝑀 𝜕
Step 2: 𝜕𝑦
= 𝜕𝑦 (𝑥 2 𝑦 ) = 𝑥 2 (1) = 𝑥 2 − − − (2) and
𝜕𝑁 𝜕
𝜕𝑥
= 𝜕𝑥 (−(𝑥 3 + 𝑦 3 )) = −(3𝑥 2 + 0) = −3𝑥 2 − − − (3)
𝜕𝑀 𝜕𝑁
From (2) and (3), we get 𝜕𝑦
≠ 𝜕𝑥
Step: 3 Convert given Non-exact equation into Exact differential equation. For this,
1 𝜕𝑁 𝜕𝑀 1 1 4
First we find 𝑀 ( 𝜕𝑥 − 𝜕𝑦 ) = 𝑥 2𝑦 (−3𝑥 2 − 𝑥 2 ) = 𝑥 2𝑦 (−4𝑥 2 ) = − 𝑦
1 𝜕𝑁 𝜕𝑀 4
⟹ 𝑀 ( 𝜕𝑥 − 𝜕𝑦 ) = − 𝑦 = 𝑔(𝑦)
1
⟹ I.F.= 𝑒 −4𝑙𝑜𝑔 𝑦 (∵ ∫ 𝑑𝑦 = 𝑙𝑜𝑔 𝑦)
𝑦
−4
⟹ I.F.= 𝑒 𝑙𝑜𝑔 𝑦 (∵ 𝑎𝑙𝑜𝑔𝑦 = 𝑙𝑜𝑔𝑦 𝑎 )
𝑄 = 𝑁 ∙ (I. F. ) = −(𝑥 3 + 𝑦 3 ) ∙ 𝑦 −4 = −𝑥 3 𝑦 −4 − 𝑦 3 𝑦 −4 = −𝑥 3 𝑦 −4 − 𝑦 −1
⟹ ∫(𝑥 2 𝑦 −3 ) 𝑑𝑥 + ∫(−𝑦 −1 ) 𝑑𝑦 = 𝐶
⟹ 𝑦 −3 ∫(𝑥 2 ) 𝑑𝑥 + ∫(−𝑦 −1 ) 𝑑𝑦 = 𝐶
𝑥3
⟹ 𝑦 −3 − 𝑙𝑜𝑔 𝑦 = 𝐶
3
𝑥 𝑛+1 1
(∵ ∫ 𝑥 𝑛 𝑑𝑥 = 𝑎𝑛𝑑 ∫ 𝑦 𝑑𝑦 = 𝑙𝑜𝑔 𝑦)
𝑛+1
⟹ 𝑥 3 𝑦 −3 − 3𝑙𝑜𝑔 𝑦 = 3𝐶 ANSWER
TRY YOURSELF
𝑦3
1. (𝑥 3 + 𝑦 3 )𝑑𝑥 − 𝑥𝑦 2 𝑑𝑦 = 0 ANSWER 𝑙𝑜𝑔 𝑥 − 3𝑥 3 = 𝑐
NOTE: Sometimes we can convert the non-exact differential equation into exact differential
equation by selecting proper integrating factor by inspection. Select the proper integrating factor
and multiply it with given non-exact differential equation such that all terms of the resulting
equation can be integrable easily.
The list of exact differentials given below is useful for selecting a proper integrating factor.
2𝑥𝑦 2 𝑑𝑥 + 𝑦𝑒 𝑥 𝑑𝑥 − 𝑒 𝑥 𝑑𝑦 = 0 − − − (2)
𝑦𝑒 𝑥 𝑑𝑥−𝑒 𝑥 𝑑𝑦 𝑒𝑥
2𝑥𝑑𝑥 + 𝑦2
= 0 ⟹ 2𝑥𝑑𝑥 + 𝑑 ( 𝑦 ) = 0 − − − (2)
𝑥2 𝑒𝑥 𝑒𝑥
2 2
+ 𝑦
= 𝑐 ⟹ 𝑥2 + 𝑦
=𝑐 ANSWER
TRY YOURSELF