Exact and Inexact Differential Equation
Exact and Inexact Differential Equation
Exact and Inexact Differential Equation
MATHEMATICAL METHODS
IN ENGINEERING
Exact and Inexact Differential Equation
𝜕𝐹 𝜕𝐹
𝑑𝐹 = 𝑑𝑥 + 𝑑𝑦
𝜕𝑥 𝜕𝑦
And by the assumption of continuity the
second partial derivatives
2 2
𝜕 𝐹 𝜕 𝐹
and
𝜕𝑥𝜕𝑦 𝜕𝑦𝜕𝑥
Should be equal, so that
2
𝜕 𝐹 2
𝜕 𝐹
=
𝜕𝑥𝜕𝑦 𝜕𝑦𝜕𝑥
This suggests the test for exactness
Exact Differential Equations
A given differential equation M(x,y)dx +
N(x,y)dy = 0 is an exact differential
equation if the following condition is
satisfied:
𝜕𝑀 𝜕𝑁 𝜕𝑀 𝜕𝑁
− =0 ↔ =
𝜕𝑦 𝜕𝑥 𝜕𝑦 𝜕𝑥
Exact differential equation is solved by
reversing the method in getting the
complete derivative of the function
F(x,y). Thus we can let
𝜕𝐹 𝜕𝐹
𝑀= and 𝑁 =
𝜕𝑥 𝜕𝑦
Methods of Solutions
Method 1 – Working on M(x,y)
Step 1. Solve for F(x,y) by integrating Mdx
with respect to x
𝜕𝐹
𝐹 𝑥, 𝑦 = 𝑑𝑥 = 𝑀 𝑥, 𝑦 𝑑𝑥
𝜕𝑥
= 𝑀 𝑥, 𝑦 𝑑𝑥 + 𝑔(𝑦)
= 𝑁 𝑥, 𝑦 𝑑𝑥 + (𝑥)
Ф𝑀𝑑𝑥 + Ф𝑁𝑑𝑦 = 0
Method of Solutions
Step 1. Determination of the integrating
factor Ф using some known methods based
on the assumptions on the nature of Ф
Step 2. Multiplying the integrating factor Ф
to both sides of the equation and solving
the resulting exact differential equation
ФMdx + ФNdy = 0
Determination of the Integrating Factor
Ф𝑀𝑑𝑥 + Ф𝑁𝑑𝑦 = 0
Applying the condition for exactness
𝜕(Ф𝑀) 𝜕(Ф𝑁)
=
𝜕𝑦 𝜕𝑥
Since Ф, in general, is not a constant, then
we can differentiate the test for exactness
as follows
𝜕𝑀 𝜕Ф 𝜕𝑁 𝜕Ф
Ф +𝑀 =Ф +𝑁
𝜕𝑦 𝜕𝑦 𝜕𝑥 𝜕𝑥
Determination of the Integrating Factor
This equation can now be written as
𝜕𝑀 𝜕𝑁 𝜕Ф 𝜕Ф
Ф − =𝑁 −𝑀
𝜕𝑦 𝜕𝑥 𝜕𝑥 𝜕𝑦
or
𝜕𝑀 𝜕𝑁 𝜕Ф 𝜕Ф
Ф − =− 𝑀 −𝑁
𝜕𝑦 𝜕𝑥 𝜕𝑦 𝜕𝑥
Determination of the Integrating Factor
Case 1: Ф = Ф(x)
𝑓 𝑥 𝑑𝑥
Ф 𝑥 =𝑒
1 𝜕𝑀 𝜕𝑁
If − = 𝑓(𝑥) a function of x only
𝑁 𝜕𝑦 𝜕𝑥
Case 2: Ф = Ф(y)
𝑔 𝑦 𝑑𝑦
Ф 𝑦 =𝑒
1 𝜕𝑀 𝜕𝑁
If − − = 𝑔(𝑦) a function of y only
𝑀 𝜕𝑦 𝜕𝑥