Differential Equations 2 - Stage-Chem - Dep. (2020-2021)
Differential Equations 2 - Stage-Chem - Dep. (2020-2021)
2nd-Stage-Chem.Dep. (2020-2021)
Lecturer: Sarteep A. Jabbar
Lecture 2
Examples
1) Solve 𝑥𝑥𝑥𝑥 − 2𝑦𝑦́ = 0
𝑑𝑑𝑑𝑑 sin(𝑥𝑥)
3) Solve + = 0 where 𝑦𝑦(0) = 1
𝑑𝑑𝑑𝑑 𝑦𝑦
(Hint: when the question gives initial value, we must find the particular solution)
Solution of (1) :
𝑥𝑥𝑥𝑥 − 2𝑦𝑦́ = 0
𝑑𝑑𝑑𝑑
𝑥𝑥𝑥𝑥 − 2 =0
𝑑𝑑𝑑𝑑
𝑑𝑑𝑑𝑑
𝑥𝑥𝑥𝑥 = 2
𝑑𝑑𝑑𝑑
𝑑𝑑𝑑𝑑
𝑥𝑥𝑥𝑥𝑥𝑥 = 2
𝑦𝑦
𝑑𝑑𝑑𝑑
∫ 𝑥𝑥𝑥𝑥𝑥𝑥 = 2 ∫ 𝑦𝑦
1
� � 𝑥𝑥 2 = 2 ln(𝑦𝑦) + 𝐶𝐶 where 𝐶𝐶 is a constant
2
𝑥𝑥 2 = 4 ln(𝑦𝑦) + 𝑘𝑘
Solution of (2) :
2𝑥𝑥𝑥𝑥 + 6𝑥𝑥 + (𝑥𝑥 2 − 2)𝑦𝑦́ = 0
𝑑𝑑𝑑𝑑
2𝑥𝑥(𝑦𝑦 + 3) + (𝑥𝑥 2 − 2) =0
𝑑𝑑𝑑𝑑
𝑑𝑑𝑑𝑑
(𝑥𝑥 2 − 2) = −2𝑥𝑥(𝑦𝑦 + 3)
𝑑𝑑𝑑𝑑
𝑑𝑑𝑑𝑑 2𝑥𝑥
= − (𝑥𝑥 2 𝑑𝑑𝑑𝑑
(𝑦𝑦+3) − 2)
𝑑𝑑𝑑𝑑 2𝑥𝑥
∫ (𝑦𝑦+3) = − ∫ (𝑥𝑥 2 − 2) 𝑑𝑑𝑑𝑑
ln(𝑦𝑦 + 3) = − ln(𝑥𝑥 2 − 2) + 𝐶𝐶
Solution of (3) :
𝑑𝑑𝑑𝑑 sin(𝑥𝑥)
+ =0
𝑑𝑑𝑑𝑑 𝑦𝑦
𝑑𝑑𝑑𝑑 sin(𝑥𝑥)
=−
𝑑𝑑𝑑𝑑 𝑦𝑦
1 = �2 cos(0) + 𝑘𝑘
1 = √2 + 𝑘𝑘
1 = 2 + 𝑘𝑘
𝑘𝑘 = −1