Lecture3 part1
Lecture3 part1
Exercise:
Solve 𝑥 2 + 𝑦 2 𝑑𝑥 + 𝑥 2 − 𝑥𝑦 𝑑𝑦 = 0
Solution:
𝑦 ′ = (4𝑥 − 𝑦 + 1)2
𝑑𝑢 𝑑𝑦 𝑑𝑢 𝑑𝑢 𝑑𝑢
Let 𝑢 = 4𝑥 − 𝑦 + 1 → 𝑑𝑥 = 4 − 𝑑𝑥 = 4 − 𝑢2 → 4−𝑢2 = 𝑑𝑥 𝑡ℎ𝑒𝑛 4−𝑢2 = 𝑥 + 𝐶1 𝑡ℎ𝑒𝑛 − 𝑢( −2)(𝑢+2) = 𝑥 + 𝐶1
1 + 3𝐶 1 − 9𝑒 −4𝑥
𝑦 0 = 2 𝑡ℎ𝑒𝑛 2 = − 𝑡ℎ𝑒𝑛 𝐶 = −3 𝑡ℎ𝑒𝑛 𝑦 = 4𝑥 −
1−𝐶 1 + 3𝑒 −4𝑥
Math 2270-Differential equations Dr Mohammad Taoubi 2020-2021 Chapter 2: First order differential equations Page 18
Exercise:
Solve 𝑦 ′ = (𝑥 − 𝑦 + 5)2
Solving of 𝒂𝟏 𝒙 𝒚′ + 𝒂𝟎 𝒙 𝒚 = 𝒇(𝒙)
𝑎1 𝑒 1 𝑎1 𝑒 1
EXAMPLE 𝟏
Solving 𝒚′ − 𝟏+𝒙 𝒚 = (𝒙 + 𝟏)𝟐
1 𝑑𝑦 𝑑𝑥
Take the HLDE 𝑦 ′ − 1+𝑥 𝑦 = 0 Then = 1+𝑥 Integrate ln 𝑦 = ln 1 + 𝑥 + 𝑐1 = ln 𝑐2 1 + 𝑥 → 𝑦 = 𝑐2 1 + 𝑥
𝑦
1
Now, take 𝑦 ′ − 1+𝑥 𝑦 = (𝑥 + 1)2 and let 𝑐2 = 𝑐2 (𝑥)
1
𝑦 ′ = 𝑐2′ 𝑥 + 1 + 𝑐2 then 𝑐2′ 𝑥 + 1 + 𝑐2 − 1+𝑥 𝑐2 1 + 𝑥 = (𝑥 + 1)2 then 𝑐2′ 𝑥 + 1 = (𝑥 + 1)2 then 𝑐2′ = (𝑥 + 1) then
1 1 2
𝑐2 = 2 𝑥 2 + 𝑥 + 𝑐 The final solution is 𝑦 = 𝑥 +𝑥+𝑐 1+x .
2