Differential Equations:: Cagayan State University-Carig Campus
Differential Equations:: Cagayan State University-Carig Campus
COLLEGE OF ENGINEERING
DEPARTMENT OF CIVIL ENGINEERING
LECTURE MODULE 6
DIFFERENTIAL EQUATIONS: CHAPTER 2
TOPIC 6
EXACT DIFFERENTIAL EQUATIONS
It was discussed in the first module how to classify a differential equation according to its type, degree, order
and linearity. In Chapter 2, we are going to study all the different solutions in solving a differential equation in the
first order and first degree. There are several solutions in solving these types of differential equations but each one
must follow a particular condition in order to use the solution.
A differential equation may also be solved in more than one solution and it is up to you, students, what to use
for as long as the equation satisfies the condition for the particular solution. Each solution will be presented then
according to the level of difficulty.
𝜕𝑓 𝜕𝑓
𝜕𝑓(𝑥, 𝑦) = 𝑑𝑥 + 𝑑𝑦
𝜕𝑥 𝜕𝑥
In the equation, the right member is called an exact differential and if the right member is equated to zero, it is
called an exact differential equation.
An exact differential equation is written in the form 𝑀(𝑥, 𝑦)𝑑𝑥 + 𝑁(𝑥, 𝑦)𝑑𝑦 = 0 where,
𝜕 𝑀(𝑥, 𝑦) 𝜕𝑁(𝑥, 𝑦)
=
𝜕𝑦 𝜕𝑥
Solution 1:
Alternative Solution:
The solution to the exact differential equation must be the same at either process.
LECTURE MODULE 6
DIFFERENTIAL EQUATIONS: CHAPTER 2
Example 1:
Solution:
𝜕 𝑀(𝑥,𝑦) 𝜕𝑁(𝑥,𝑦)
Since 𝜕𝑦
= 𝜕𝑥
, then the equation is an exact differential equation. Using solution 1,
𝑓(𝑥) = 3𝑦 ∫ 𝑥 2 𝑑𝑥 − ∫ 6𝑥𝑑𝑥
𝑓(𝑥) = 𝑥 3 𝑦 − 3𝑥 2
𝑑𝑓(𝑥) = 𝑑(𝑥 3 𝑦 − 3𝑥 2 )
𝑓 ′ (𝑥) = 3𝑥 2 𝑦𝑑𝑥 + 𝑥 3 𝑑𝑦 − 6𝑥𝑑𝑥
𝑓 ′ (𝑦) = 2𝑦𝑑𝑦
𝑓(𝑦) = ∫ 2𝑦𝑑𝑦
𝑓(𝑦) = 𝑦 2
Since 𝑓(𝑥) = 𝑥 3 𝑦 − 3𝑥 2 and 𝑓(𝑦) = 𝑦 2 , then the solution of the exact differential equation is,
𝒙𝟑 𝒚 − 𝟑𝒙𝟐 + 𝒚𝟐 = 𝑪
Now, let us try solving the problem using the alternative solution. We must be getting the same answer.
𝑓(𝑦) = ∫ 𝑥 3 𝑑𝑦 + ∫ 2𝑦𝑑𝑦
𝑓(𝑦) = 𝑥 3 𝑦 + 𝑦 2
LECTURE MODULE 6
DIFFERENTIAL EQUATIONS: CHAPTER 2
𝑑𝑓(𝑦) = 𝑑(𝑥 3 𝑦 + 𝑦 2 )
𝑓 ′ (𝑦) = 3𝑥 2 𝑦𝑑𝑥 + 𝑥 3 𝑑𝑦 + 2𝑦𝑑𝑦
𝑓 ′ (𝑥) = −6𝑥𝑑𝑥
𝑓(𝑥) = ∫ −6𝑥𝑑𝑥
𝑓(𝑥) = −3𝑥 2
Since 𝑓(𝑥) = −3𝑥 2 and 𝑓(𝑦) = 𝑥 3 𝑦 + 𝑦 2 , then the solution of the exact differential equation is,
−3𝑥 2 + 𝑥 3 𝑦 + 𝑦 2 = 𝐶
𝒙𝟑 𝒚 − 𝟑𝒙𝟐 + 𝒚𝟐 = 𝑪
Our answer using the alternative solution is the same as our previous answer.
Example 2:
Solution:
𝜕 𝑀(𝑥,𝑦) 𝜕𝑁(𝑥,𝑦)
Since 𝜕𝑦
= 𝜕𝑥
, then the equation is an exact differential equation. Using solution 1,
𝑓(𝑥) = sin 𝑦 ∫ 𝑑𝑥 − 3 ∫ 𝑥 2 𝑑𝑥 + 5 ∫ 𝑑𝑥
𝑓(𝑥) = 𝑥 sin 𝑦 − 𝑥 3 + 5𝑥
LECTURE MODULE 6
DIFFERENTIAL EQUATIONS: CHAPTER 2
𝑓 ′ (𝑦) = 𝑦𝑑𝑦
𝑓(𝑦) = ∫ 𝑦𝑑𝑦
𝑦2
𝑓(𝑦) =
2
𝑦2
Since 𝑓(𝑥) = 𝑥 sin 𝑦 − 𝑥 3 + 5𝑥 and 𝑓(𝑦) = 2
, then the solution of the exact differential equation is,
𝑦2
𝑥 sin 𝑦 − 𝑥 3 + 5𝑥 + =𝐶
2
2𝑥 sin 𝑦 − 2𝑥 3 + 10𝑥 + 𝑦 2 = 2𝐶
𝟐𝒙 𝐬𝐢𝐧 𝒚 − 𝟐𝒙𝟑 + 𝟏𝟎𝒙 + 𝒚𝟐 = 𝑪
You may try solving the problem by using the alternative solution. You must get same answer.
Example 3:
Solution:
𝜕 𝑀(𝑥,𝑦) 𝜕𝑁(𝑥,𝑦)
Since 𝜕𝑦
= 𝜕𝑥
, then the equation is an exact differential equation. Using the alternative solution,
𝑓(𝑦) = ∫ 2𝑥 2 𝑑𝑦 + ∫ 2𝑥𝑦𝑑𝑦 − ∫ 3𝑦 2 𝑑𝑦
𝑓(𝑦) = 2𝑥 2 ∫ 𝑑𝑦 + 2𝑥 ∫ 𝑦𝑑𝑦 − 3 ∫ 𝑦 2 𝑑𝑦
𝑓(𝑦) = 2𝑥 2 𝑦 + 𝑥𝑦 2 − 𝑦 3
𝑑𝑓(𝑦) = 𝑑(2𝑥 2 𝑦 + 𝑥𝑦 2 − 𝑦 3 )
𝑓 ′ (𝑦) = 2𝑥 2 𝑑𝑦 + 4𝑥𝑦𝑑𝑥 + 2𝑥𝑦𝑑𝑦 + 𝑦 2 𝑑𝑥 − 3𝑦 2 𝑑𝑦
LECTURE MODULE 6
DIFFERENTIAL EQUATIONS: CHAPTER 2
𝑓 ′ (𝑥) = 6𝑥 2 𝑑𝑥
𝑓(𝑥) = ∫ 6𝑥 2 𝑑𝑥
𝑓(𝑥) = 2𝑥 3
Since 𝑓(𝑥) = 2𝑥 3and 𝑓(𝑦) = 2𝑥 2 𝑦 + 𝑥𝑦 2 − 𝑦 3 , then the solution of the exact differential equation is,
You may try solving the problem by using solution 1. You must get same answer.