Exact DE
Exact DE
Exact DE
First-Order ODEs
I. Separable
II. Homogeneous
III. Linear
IV. Exact
V. Bernoulli
a. 𝑓(𝑥, 𝑦) = 4𝑥 + 2𝑦 + 2𝑥 3 𝑦 2
b. ℎ(𝑥, 𝑦) = 3𝑥 − 𝑥 2 𝑦 2 + 2𝑥 3 𝑦
1
2𝑦
c. 𝑔(𝑥, 𝑦) = 𝑥𝑒 𝑥
d. 𝑧 = 𝑥 4 𝑠𝑖𝑛(𝑥𝑦 3 )
2
Definition: A first-order ODE of the form 𝑀(𝑥, 𝑦)𝑑𝑥 + 𝑁(𝑥, 𝑦)𝑑𝑦 = 0 is said to be exact if
𝜕𝑀 𝜕𝑁
and only if 𝜕𝑦
= 𝜕𝑥
(test for exactness).
In this case, there exists a function 𝑓(𝑥, 𝑦) satisfying:
𝜕𝑓 𝜕𝑓
𝜕𝑥
= 𝑀(𝑥, 𝑦), 𝜕𝑦
= 𝑁(𝑥, 𝑦) and hence 𝑦 is implicitly defined by 𝑓(𝑥, 𝑦) = 𝑐.
1. Write the given DE in differential form 𝑀(𝑥, 𝑦)𝑑𝑥 + 𝑁(𝑥, 𝑦)𝑑𝑦 = 0 (𝐼)
𝜕𝑀 𝜕𝑁
2. Test for exactness 𝜕𝑦
= 𝜕𝑥
. If the partial derivatives are equal, proceed to the
following steps.
𝜕𝑓
3. Write 𝜕𝑥 = 𝑀(𝑥, 𝑦) and integrate w.r.t 𝑥 ⇒ 𝑓(𝑥, 𝑦) = ∫ 𝑀(𝑥, 𝑦)𝑑𝑥 + ℎ(𝑦) (𝐼𝐼)
4. Take the partial derivative w.r.t 𝑦 of 𝑓(𝑥, 𝑦) in (𝐼𝐼) and equate it to 𝑁(𝑥, 𝑦)
3
Example 2: Solve the following IVP.
4
Example 3: Solve (𝑥 + 𝑠𝑖𝑛𝑦)𝑑𝑥 + (𝑥𝑐𝑜𝑠𝑦𝑦 − 2𝑦)𝑑𝑦 = 0
5
2+𝑦𝑒 𝑥𝑦
Example 4: 𝑦 ′ =
2𝑦−𝑥𝑒 𝑥𝑦
6
Special Integrating Factors
𝜕𝑀 𝜕𝑁
Given 𝑀(𝑥, 𝑦)𝑑𝑥 + 𝑁(𝑥, 𝑦)𝑑𝑦 = 0 (𝐼) and suppose 𝜕𝑦
≠ 𝜕𝑥
Find:
𝜕𝑀 𝜕𝑁
−
𝜕𝑦 𝜕𝑥
1. = 𝑓(𝑥) ⇒ 𝜇(𝑥) = 𝑒 ∫ 𝑓(𝑥)𝑑𝑥
𝑁
𝜕𝑁 𝜕𝑀
−
𝜕𝑥 𝜕𝑦
2. 𝑀
= 𝑔(𝑦) ⇒ 𝜇(𝑦) = 𝑒 ∫ 𝑔(𝑦)𝑑𝑦
and multiply (𝐼) by one of the integrating factors to change it to an exact DE.
𝑦 1 𝑑𝑦
Example 5: Solve 𝑥 2 + 1 + 𝑥 𝑑𝑥 = 0
7
8
Example 6: Solve 2𝑥𝑦𝑑𝑥 + (𝑦 2 − 3𝑥 2 )𝑑𝑦 = 0
9
10