Exact Differential Equation: Linear and First Order
Exact Differential Equation: Linear and First Order
Differential Equation
Linear and First Order
Let us consider the family of functions 𝐹 𝑥, 𝑦 = 𝑐. An
example is 𝑒 𝑥𝑦 = 𝑐 . Such a family of functions can be the
general solution of a first order linear ODE. For instance
𝑒 𝑥𝑦 = 𝑐 is the general solution of the ODE
𝑥𝑦 𝑥𝑦
𝑦𝑒 𝑑𝑥 + 𝑥𝑒 𝑑𝑦 = 0
To prove this, we consider the equation 𝑒 𝑥𝑦 = 𝑐 and take
the differential of both sides of the equation. The
differential of the right-hand side is 0 since 𝑐 is a constant.
For the left-hand side, we use the definition
𝜕𝐹 𝜕𝐹
𝑑 𝐹 𝑥, 𝑦 = 𝑑𝑥 + 𝑑𝑦
𝜕𝑥 𝜕𝑦
Therefore,
𝑥𝑦 𝑥𝑦 𝑥𝑦
𝑑𝑒 = 𝑦𝑒 𝑑𝑥 + 𝑥𝑒 𝑑𝑦
𝐹 = න 𝑦𝑒 𝑥𝑦 𝑑𝑥 = න 𝑒 𝑥𝑦 𝑦𝑑𝑥 = 𝑒 𝑥𝑦 + 𝑇(𝑦)
The arbitrary constant of integration is a function of 𝑦
because 𝑦 is treated as constant. Let us differentiate the
result partially with respect to 𝑦.
𝐹 = 𝑒 𝑥𝑦 + 𝑇(𝑦)
𝜕𝐹 𝑥𝑦
= 𝑥𝑒 + 𝑇′(𝑦)
𝜕𝑦
𝜕𝐹 𝑥𝑦 ′ 𝑥𝑦
But = 𝑁. Hence, 𝑥𝑒 + 𝑇 𝑦 = 𝑥𝑒 . This implies that
𝜕𝑦
𝑇′ 𝑦 = 0
𝑥𝑦
Therefore, 𝑇 𝑦 = 𝑐. This gives us 𝐹 𝑥, 𝑦 = 𝑒 + 𝑐.
General solution is therefore 𝑒 𝑥𝑦 + 𝑐 = 0.
Example. Test for exactness and then solve. (Page 34, #2)
6𝑥 + 𝑦 2 𝑑𝑥 + 𝑦 2𝑥 − 3𝑦 𝑑𝑦 = 0
Solution. 𝑀 = 6𝑥 + 𝑦 2 and 𝑁 = 𝑦(2𝑥 − 3𝑦)
𝜕𝑀 𝜕𝑁
= 2𝑦 and = 2𝑦. Therefore, the equation is exact.
𝜕𝑦 𝜕𝑥
𝜕𝐹
= 𝑀 = 6𝑥 + 𝑦 2 → 𝐹 = 3𝑥 2 + 𝑥𝑦 2 + 𝑇(𝑦)
𝜕𝑥
𝜕𝐹
= 2𝑥𝑦 + 𝑇 ′ 𝑦 = 𝑁 = 2𝑥𝑦 − 3𝑦 2
𝜕𝑦
Therefore, 𝑇 ′ 𝑦 = −3𝑦 2 which gives 𝑇 𝑦 = −𝑦 3 + 𝑐.
Substitution to 𝐹 gives us 𝐹 𝑥 = 3𝑥 2 + 𝑥𝑦 2 − 3𝑦 2 + 𝑐.
Therefore, the general solution is 3𝑥 2 + 𝑥𝑦 2 − 3𝑦 2 + 𝑐 =
0.
Exercises. (page 34) Verify that the equation is exact and
then solve.
1. 6𝑥 + 𝑦 2 𝑑𝑥 + 𝑦 2𝑥 − 3𝑦 𝑑𝑦 = 0
2. 2𝑥𝑦 + 𝑦 𝑑𝑥 + 𝑥 2 + 𝑥 𝑑𝑦 = 0
3. 2𝑥 − 3𝑦 𝑑𝑥 + 2𝑦 − 3𝑥 𝑑𝑦 = 0
4. 1 + 𝑦 2 𝑑𝑥 + 𝑥 2 𝑦 + 𝑦 + 2𝑥𝑦 𝑑𝑦 = 0