MTHN31E - Topic 3.4 - Exact Diffl Equations
MTHN31E - Topic 3.4 - Exact Diffl Equations
DIFFERENTIAL EQUATIONS
LEARNING OBJECTIVES:
At the end of the discussion, the student should be able to:
1. determine whether or not a differential equation is exact
2. solve exact differential equations
KEY TERMS
CORE CONTENT
Example:
The equation 3𝑥 2 𝑦 2 𝑑𝑥 + 2𝑥 3 𝑦 𝑑𝑦 = 0 is exact since there is a function 𝐹(𝑥, 𝑦) = 𝑥 3 𝑦 2 whose total
differential is
𝑑𝐹 = 3𝑥 2 𝑦 2 𝑑𝑥 + 2𝑥 3 𝑦 𝑑𝑦
𝑀 𝑁
The function 𝑥 3 𝑦 2 = 𝑐 is the general solution of 3𝑥 2 𝑦 2 𝑑𝑥 + 2𝑥 3 𝑦 𝑑𝑦 = 0.
Theorem: (Test for Exactness)
𝜕𝑀 𝜕𝑁
If 𝑀, 𝑁 , 𝜕𝑦 , 𝜕𝑥 are continuous functions of x and y , then the equation 𝑀(𝑥, 𝑦)𝑑𝑥 + 𝑁(𝑥, 𝑦)𝑑𝑦 = 0
is exact if and only if
𝜕𝑀 𝜕𝑁
= or 𝑀𝑦 = 𝑁𝑥
𝜕𝑦 𝜕𝑥
Example:
The equation 3𝑥 2 𝑦 2 𝑑𝑥 + 2𝑥 3 𝑦 𝑑𝑦 = 0 is exact since
𝑀 = 3𝑥 2 𝑦 2 𝑁 = 2𝑥 3 𝑦
𝜕𝑀 𝜕𝑁
= 3𝑥 2 ∙ 2𝑦 = 6𝑥 2 𝑦 = 2𝑦 ∙ 3𝑥 2 = 6𝑥 2 𝑦
𝜕𝑦 𝜕𝑥
(x is constant) (y is constant)
Using F1,
∫ 𝑁(𝑦)𝑑𝑦 + ∫ 𝑀(𝑥, 𝑦)𝑑𝑥 = 𝑐
∫ 2𝑦 𝑑𝑦 + ∫(2𝑥𝑦 − 𝑠𝑒𝑐 2 𝑥)𝑑𝑥 = 𝑐
𝑦2
2∙ + 2𝑦 ∫ 𝑥 𝑑𝑥 − ∫ 𝑠𝑒𝑐 2 𝑥 𝑑𝑥 = 𝑐
2
𝑥2
𝑦 2 + 2𝑦 ∙ − 𝑡𝑎𝑛𝑥 = 𝑐
2
2 2
𝑦 + 𝑥 𝑦 − 𝑡𝑎𝑛𝑥 = 𝑐
Using F2,
∫ 𝑀(𝑥)𝑑𝑥 + ∫ 𝑁(𝑥, 𝑦)𝑑𝑦 = 𝑐
∫ −𝑠𝑒𝑐 2 𝑥𝑑𝑥 + ∫(𝑥 2 + 2𝑦)𝑑𝑦 = 𝑐
−𝑡𝑎𝑛𝑥 + 𝑥 2 ∫ 𝑑𝑦 + 2 ∫ 𝑦 𝑑𝑦 = 𝑐
𝑦2
−𝑡𝑎𝑛𝑥 + 𝑥 2 ∙ 𝑦 + 2 ∙ =𝑐
2
𝑦 2 + 𝑥 2 𝑦 − 𝑡𝑎𝑛𝑥 = 𝑐
Example 3: Solve the equation (2𝑥𝑦 𝑐𝑜𝑠𝑥 2 − 2𝑥𝑦 + 1)𝑑𝑥 + (𝑠𝑖𝑛𝑥 2 − 𝑥 2 )𝑑𝑦 = 0.
Solution:
Verify if the equation is exact.
𝑀 = 2𝑥𝑦 𝑐𝑜𝑠𝑥 2 − 2𝑥𝑦 + 1 𝑁 = 𝑠𝑖𝑛𝑥 2 − 𝑥 2
𝑀𝑦 = 2𝑥𝑐𝑜𝑠𝑥 2 ∙ 1 − 2𝑥 ∙ 1 + 0=2𝑥𝑐𝑜𝑠𝑥 2 − 2𝑥 𝑁𝑥 = 𝑐𝑜𝑠𝑥 2 ∙ 2𝑥 − 2𝑥 = 2𝑥𝑐𝑜𝑠𝑥 2 − 2𝑥
The equation is exact since 𝑀𝑦 = 𝑁𝑥 .
Using F1,
∫ 𝑁(𝑦)𝑑𝑦 + ∫ 𝑀(𝑥, 𝑦)𝑑𝑥 = 𝑐
∫ 0 𝑑𝑦 + ∫(2𝑥𝑦 𝑐𝑜𝑠𝑥 2 − 2𝑥𝑦 + 1)𝑑𝑥 = 𝑐
𝑦 ∫ 2𝑥 𝑐𝑜𝑠𝑥 2 𝑑𝑥 − 2𝑦 ∫ 𝑥 𝑑𝑥 + ∫ 𝑑𝑥 = 𝑐 (let 𝑢 = 𝑥 2 , 𝑑𝑢 = 2𝑥 𝑑𝑥)
𝑥2
𝑦 ∫ 𝑐𝑜𝑠𝑢 𝑑𝑢 − 2𝑦 ∙ +𝑥 =𝑐
2
𝑦 𝑠𝑖𝑛𝑥 2 − 𝑥 𝑦 + 𝑥 = 𝑐
2
Using F2,
∫ 𝑀(𝑥)𝑑𝑥 + ∫ 𝑁(𝑥, 𝑦)𝑑𝑦 = 𝑐
∫ 1 𝑑𝑥 + ∫(𝑠𝑖𝑛𝑥 2 − 𝑥 2 )𝑑𝑦 = 𝑐
∫ 𝑑𝑥 + (𝑠𝑖𝑛𝑥 2 − 𝑥 2 ) ∫ 𝑑𝑦=c
𝑥 + (𝑠𝑖𝑛𝑥 2 − 𝑥 2 )𝑦 = 𝑐
𝑥 + 𝑦𝑠𝑖𝑛𝑥 2 − 𝑥 2 𝑦 = 𝑐
Example 4: Solve the equation 3𝑦(𝑥 2 − 1)𝑑𝑥 + (𝑥 3 + 8𝑦 − 3𝑥)𝑑𝑦 = 0 such that when 𝑥 = 0, 𝑦 = 1.
Solution:
𝑀 = 3𝑦(𝑥 2 − 1) = 3𝑥 2 𝑦 − 3𝑦 𝑁 = 𝑥 3 + 8𝑦 − 3𝑥
2
𝑀𝑦 = 3𝑥 − 3 𝑁𝑥 = 3𝑥 2 − 3
The equation is exact.
∫ 𝑁(𝑦)𝑑𝑦 + ∫ 𝑀(𝑥, 𝑦)𝑑𝑥 = 𝑐
∫ 8𝑦 𝑑𝑦 + ∫(3𝑥 2 𝑦 − 3𝑦)𝑑𝑥 = 𝑐
𝑦2 𝑥3
8∙ + 3𝑦 ∙ − 3𝑦 ∙ 𝑥 = 𝑐
2 3
𝑥 3 𝑦 − 3𝑥𝑦 + 4𝑦 2 = 𝑐
Find 𝑐. When 𝑥 = 0, 𝑦 = 1.
(0)3 (1) − 3(0)(1) + 4(1)2 = 𝑐
𝑐=4
The required particular solution is
𝑥 3 𝑦 − 3𝑥𝑦 + 4𝑦 2 = 4
IN-TEXT ACTIVITY
1. Additional Lecture
REFERENCES
Rainville & Bedient (2014). Elementary Differential Equations, 8th Edition. Pearson Education
Zill & Wright (2013). Succeeding with Differential Equations, 8th Edition.Singapore: Cengage Learning
SELF-ASSESSMENT
Problem Set 7
(Exact Differential Equations)
Solve the following exact differential equations. Show all necessary steps (including the
the test for exactness) in your solutions and box your final answers. (5 pts each)
4. (𝑤 3 + 𝑤𝑧 2 − 𝑧) 𝑑𝑤 + (𝑧 3 + 𝑤 2 𝑧 − 𝑤)𝑑𝑧 = 0