1. SOLUTION OF
FIRST ORDER AND FIRST DEGREE
DIFFERENTIAL EQUATIONS
Variable separation method
Md. Aminul Islam
2. A differential equation of first order and first degree is an equation of the form
𝑑𝑦
𝑑𝑥
= 𝑓 𝑥, 𝑦 , 𝑜𝑟 𝑀 𝑑𝑥 + 𝑁 𝑑𝑦 = 0
If in an equation, it is possible to get all the functions of x and dx to one side, and all
the functions of 𝑦 and 𝑑𝑦 to the other, the variables are said to be separable.
Variables separable
First order and first degree differential equations
3. Rule to solve an equation in which the variables are separable
Consider the equation
𝑑𝑦
𝑑𝑥
= 𝑋𝑌 , where 𝑋 is a function of 𝑥 and 𝑌 is a function of 𝑦 only.
Given equation is
𝑑𝑦
𝑑𝑥
= 𝑋𝑌
1
𝑌
𝑑𝑦 = 𝑋 𝑑𝑥, that is, variables have been separated
Integrating both sides,
1
𝑌
𝑑𝑦 = 𝑋 𝑑𝑥 + 𝑐, where c is the arbitrary constant, is the
required solution.
Note:
Never forget to add an arbitrary constant on one side only. A solution without this
constant is wrong, for it is not the general solution.
The nature of the arbitrary constant depends upon on the nature of the problem.
The solution of a differential equation must be put in a form as simple as possible.
5. 11. 1 − 𝑥2 𝑑𝑦 + 𝑥𝑦 𝑑𝑥 = 𝑥𝑦2 𝑑𝑥
12. 𝑥 cos 𝑦 𝑑𝑦 = 𝑒 𝑥
𝑥 log 𝑥 + 1 𝑑𝑥
13. 1 + 𝑥 1 + 𝑦2
𝑑𝑥 + 1 + 𝑦 1 + 𝑥2
𝑑𝑦 = 0
14. If
𝑑𝑦
𝑑𝑥
= 𝑒 𝑥+𝑦 and it is given that for 𝑥 = 1, 𝑦 = 1, find y when 𝑥 = −1.
15.Find the particular solution of the differential equation log
𝑑𝑦
𝑑𝑥
= 3𝑥 + 4𝑦 given that
𝑦 = 0 when 𝑥 = 0
16. Find the equation of the curve represented by 𝑦 − 𝑦𝑥 𝑑𝑥 + 𝑥 + 𝑥𝑦 𝑑𝑦 = 0 and
passing through the point 1,1 .
17. Find the equation of the curve that passes through the point (1,2) and has at every
point
𝑑𝑦
𝑑𝑥
= −
2𝑥𝑦
𝑥2+1
Solve the following differential equations
15. 14. If
𝑑𝑦
𝑑𝑥
= 𝑒 𝑥+𝑦
and it is given that for
𝑥 = 1, 𝑦 = 1, find y when 𝑥 = −1.
Solution: we have
𝑑𝑦
𝑑𝑥
= 𝑒 𝑥+𝑦 = 𝑒 𝑥 𝑒 𝑦 𝑜𝑟, 𝑒−𝑦 𝑑𝑦 = 𝑒 𝑥 𝑑𝑥
𝑜𝑟, 𝑒−𝑦
𝑑𝑦 = 𝑒 𝑥
𝑑𝑥
𝑜𝑟, −𝑒−𝑦 = 𝑒 𝑥 + 𝑐 … … (𝑖)
given that for 𝑥 = 1, 𝑦 = 1, then (𝑖) becomes
−𝑒−1
= 𝑒1
+ 𝑐
𝑜𝑟, 𝑐 = −𝑒 −
1
𝑒
= −
𝑒2 + 1
𝑒
From i , we get − 𝑒−𝑦
= 𝑒 𝑥
−
𝑒2 + 1
𝑒
when 𝑥 = −1, −𝑒−𝑦 =
1
𝑒
−
𝑒2
+ 1
𝑒
= −
𝑒2
𝑒
𝑜𝑟, −𝑒−𝑦 = −𝑒1
𝑜𝑟, 𝑒−𝑦 = 𝑒1
𝑜𝑟, −𝑦 = 1
Therefore, 𝑦 = −1
15. Find the particular solution of the
differential equation log
𝑑𝑦
𝑑𝑥
= 3𝑥 + 4𝑦 given
that 𝑦 = 0 when 𝑥 = 0
Solution: Given equation is
log
𝑑𝑦
𝑑𝑥
= 3𝑥 + 4𝑦
𝑜𝑟,
𝑑𝑦
𝑑𝑥
= 𝑒3𝑥+4𝑦
= 𝑒3𝑥
𝑒4𝑦
𝑜𝑟, 𝑒−4𝑦 𝑑𝑦 = 𝑒3𝑥 𝑑𝑥
𝑜𝑟, 𝑒−4𝑦
𝑑𝑦 = 𝑒3𝑥
𝑑𝑥
𝑜𝑟,
𝑒−4𝑦
−4
=
𝑒3𝑥
3
+ 𝑐
given that 𝑦 = 0 when 𝑥 = 0.
then we get
1
−4
=
1
3
+ 𝑐 𝑜𝑟, 𝑐 = −
7
12
Then the required particular solution is
𝑒−4𝑦
−4
=
𝑒3𝑥
3
−
7
12
16. 16. Find the equation of the curve represented by 𝑦 − 𝑦𝑥 𝑑𝑥 + 𝑥 + 𝑥𝑦 𝑑𝑦 = 0
and passing through the point 1,1 .
Solution: Given equation is 𝑦 − 𝑦𝑥 𝑑𝑥 + 𝑥 + 𝑥𝑦 𝑑𝑦 = 0
𝑜𝑟, 𝑥 1 + 𝑦 𝑑𝑦 = −𝑦 1 − 𝑥 𝑑𝑥
𝑜𝑟,
1 + 𝑦
𝑦
𝑑𝑦 = −
1 − 𝑥
𝑥
𝑑𝑥
𝑜𝑟,
1
𝑦
+ 1 𝑑𝑦 = −
1
𝑥
− 1 𝑑𝑥
𝑜𝑟,
1
𝑦
+ 1 𝑑𝑦 = −
1
𝑥
− 1 𝑑𝑥
𝑜𝑟, ln 𝑦 + 𝑦 = − ln 𝑥 − 𝑥 + 𝑐 … … (𝑖)
Since the curve 𝑖 passing through the point 1,1 , we get
ln 1 + 1 = − ln 1 − 1 + 𝑐 𝑜𝑟, 𝑐 = 0
Putting 𝑐 = 0 in 𝑖 , we get
ln 𝑦 + 𝑦 = − ln 𝑥 − 𝑥 𝑜𝑟, ln 𝑦 + ln 𝑥 + 𝑦 − 𝑥 = 0
𝑜𝑟, ln 𝑥𝑦 + 𝑦 − 𝑥 = 0 which is the required equation of the curve
17. 17. Find the equation of the curve that passes through the point (1,2) and has at
every point
𝑑𝑦
𝑑𝑥
= −
2𝑥𝑦
𝑥2+1
Solution: Given equation is
𝑑𝑦
𝑑𝑥
= −
2𝑥𝑦
𝑥2+1
𝑜𝑟,
1
𝑦
𝑑𝑦 = −
2𝑥
𝑥2 + 1
𝑑𝑥
𝑜𝑟,
1
𝑦
𝑑𝑦 = −
2𝑥
𝑥2 + 1
𝑑𝑥
𝑜𝑟, ln 𝑦 = − ln 𝑥2 + 1 + ln 𝑐
𝑜𝑟, ln 𝑦 + ln 𝑥2
+ 1 = ln 𝑐
𝑜𝑟, ln 𝑦 𝑥2
+ 1 = ln 𝑐
𝑜𝑟, 𝑦 𝑥2 + 1 = 𝑐 … … (𝑖)
Since the curve 𝑖 passing through the point 1,2 , we get
2 12 + 1 = 𝑐
𝑜𝑟, 𝑐 = 4
Putting 𝑐 = 4 in 𝑖 , we get
𝑦 𝑥2 + 1 = 4 which is the required equation of the curve