MODULE 3 - Separation of Variables
MODULE 3 - Separation of Variables
MODULE 3
SEPARATION OF VARIABLES
A differential equation of first order and first degree must be written in the
differential form:
𝐴(𝑥)𝑑𝑥 + 𝐵(𝑦)𝑑𝑦 = 0
Then the variables have been separated and the General Solution is obtained by:
∫ 𝐴(𝑥)𝑑𝑥 + ∫ 𝐵(𝑦)𝑑𝑦 = 𝐶
3.3 Examples
1. 𝑥 2 𝑑𝑥 + 𝑦(𝑥 − 1)𝑑𝑦 = 0
𝑥2
∫ 𝑑𝑥 + ∫ 𝑦 𝑑𝑦 = 0
(𝑥 − 1)
1 of 4
M213 | DIFFERENTIAL EQUATIONS
1
∫ [(𝑥 + 1) + ] 𝑑𝑥 + ∫ 𝑦 𝑑𝑦 = 0
(𝑥 − 1)
Perform integration:
1
∫(𝑥 + 1)𝑑𝑥 + ∫ 𝑑𝑥 + ∫ 𝑦 𝑑𝑦 = 0
(𝑥 − 1)
(𝑥 + 1)2 𝑦2
+ ln|𝑥 − 1| + =𝐶
2 2
(𝑥 + 1)2 +2ln|𝑥 − 1| + 𝑦 2 = 2𝐶
Let 2C = ln C
(𝑥 + 1)2 + 𝑦 2 = ln 𝐶 − 2ln|𝑥 − 1|
𝐶
(𝑥 + 1)2 + 𝑦 2 = 𝑙𝑛| |
(𝑥 − 1)2
2 of 4
M213 | DIFFERENTIAL EQUATIONS
2
2. 𝑥𝑦 3 𝑑𝑥 + 𝑒 𝑥 𝑑𝑦 = 0
2
Separate the variables. Divide the equation by 𝑦 3 𝑒 𝑥 :
𝑥 𝑑𝑥 𝑑𝑦
∫ 2 + ∫ =0
𝑒𝑥 𝑦3
Perform integration:
2
∫ 𝑒 −𝑥 (𝑥 𝑑𝑥) + ∫ 𝑦 −3 𝑑𝑦 = 0
1 2
− ∫ 𝑒 −𝑥 (−2𝑥 𝑑𝑥) + ∫ 𝑦 −3 𝑑𝑦 = 0
2
1 2 𝑦 −2
− 𝑒 −𝑥 − =𝐶
2 2
Simplify:
3. 𝑦 𝑙𝑛|𝑥|𝑙𝑛|𝑦|𝑑𝑥 + 𝑑𝑦 = 0
𝑑𝑦
∫ 𝑙𝑛|𝑥|𝑑𝑥 + ∫ =0
𝑦 𝑙𝑛|𝑦|
Perform integration:
Integration by Parts:
∫ 𝑢 𝑑𝑣 = 𝑢𝑣 − ∫ 𝑣 𝑑𝑢
𝑑𝑥
Let: 𝑢 = 𝑙𝑛|𝑥| 𝑑𝑢 =
𝑥
𝑑𝑣 = 𝑑𝑥 𝑣=𝑥
3 of 4
M213 | DIFFERENTIAL EQUATIONS
𝑑𝑦
𝑑𝑥 𝑦
𝑥 𝑙𝑛|𝑥| − ∫ 𝑥 +∫ =0
𝑥 𝑙𝑛|𝑦|
Reference
This module may contain copyrighted material, the use of which may not have
been specifically authorized by the copyright owner. The material contained in
this module is distributed without profit for educational purposes. This should
constitute a ‘fair use’ of any such copyrighted material. If you wish to use any
copyrighted material from this module for purposes of your own that go beyond
‘fair use’, you must obtain expressed permission from the copyright owner.
4 of 4