Unit II Module 4 ENS181
Unit II Module 4 ENS181
𝑦 𝑑𝑥 + 𝑥 𝑑𝑦 = 0
is separable, we can solve the equation in an alternative manner by recognizing that the expression on the
left-hand side of the equality is the differential of the function 𝑓 𝑥, 𝑦 = 𝑥𝑦 ; that is,
𝑑 𝑥𝑦 = 𝑦 𝑑𝑥 + 𝑥 𝑑𝑦.
We recall from calculus that if a function 𝑓 = 𝑓(𝑥, 𝑦) has continuous partial derivatives, its differential
𝜕𝑓 𝜕𝑓
(also called its total differential) is 𝑑𝑓 = 𝑑𝑥 + 𝑑𝑦. From this it follows that if 𝑓 𝑥, 𝑦 = 𝑐 = 𝑐𝑜𝑛𝑠𝑡𝑎𝑛𝑡
𝜕𝑥 𝜕𝑥
then 𝑑𝑢 = 0
𝑑𝑓 = 1 + 2𝑥𝑦 3 𝑑𝑥 + 3𝑥 2 𝑦 2 𝑑𝑦 = 0
or
𝑑𝑦 1+2𝑥𝑦 3
= − 2 2
𝑑𝑥 3𝑥 𝑦
an ODE that we can solve by going backward. This idea leads to a powerful solution method that we’ll
discussed as follows.
EXACT EQUATIONS
(4.1)
is called an exact differential equation if the differential form 𝑀 𝑥, 𝑦 𝑑𝑥 + 𝑁 𝑥, 𝑦 𝑑𝑦 is exact, that is,
this form is the differential
(4.2)
(4.3)
Comparing (4.1) and (4.2), we see that (4.1) is an exact differential equation if there is some function
𝑓(𝑥, 𝑦) such that
𝜕𝑓 𝜕𝑓 (4.4)
=𝑀 and =𝑁
𝜕𝑥 𝜕𝑦
From this we can derive a formula for checking whether (4.1) is exact or not, as follows.
Let 𝑀 and 𝑁 be continuous and have continuous first partial derivatives in a region in the 𝑥𝑦-plane
whose boundary is a closed curve without self-intersections. Then by partial differentiation of (4.4),
By the assumption of continuity the two second partial derivates are
equal. Thus,
(4.5)
This condition is not only necessary but also sufficient for (4.1) to be
an exact differential equation.
EXACT EQUATIONS
If (4.1) is exact, the solution 𝑓 𝑥, 𝑦 = 𝑐 can be found by inspection or in the following systematic way.
2
3 4
EXACT EQUATIONS
3
Example 4.1 Solve 2𝑥𝑦 𝑑𝑥 + 𝑥2 − 1 𝑑𝑦 = 0
1 2
4
EXACT EQUATIONS
4
EXACT EQUATIONS
4
EXACT EQUATIONS
4
EXACT EQUATIONS
𝑑𝑦 𝑥𝑦 2 −cos 𝑥 sin 𝑥 3
Example 4.5 Solve = ; 𝑦 0 =2
𝑑𝑥 𝑦(1−𝑥 2 )
2
1
4
REDUCTION TO EXACT FORM: INTEGRATING FACTORS
1
The ODE −𝑦 𝑑𝑥 + 𝑥 𝑑𝑦 = 0 is not exact. However, if we multiply it by , we get an exact equation
𝑥2
[check exactness!],
𝑦
Integration then gives the general solution = 𝑐 = 𝑐𝑜𝑛𝑠𝑡𝑎𝑛𝑡.
𝑥
This example gives the idea. All we did was to multiply a given nonexact equation, say,
(4.6)
by a function 𝐹 that, in general, will be a function of both 𝑥 and 𝑦. The result was an equation
(4.7)
that is exact, so we can solve it as just discussed. Such a function 𝐹(𝑥, 𝑦) is then called an integrating factor
of equation (4.7).
REDUCTION TO EXACT FORM: INTEGRATING FACTORS
INTEGRATING FACTORS
REDUCTION TO EXACT FORM: INTEGRATING FACTORS
𝜕𝑀 𝜕𝑁
For 𝑀 𝑑𝑥 + 𝑁 𝑑𝑦 = 0, the exactness condition is = .
𝜕𝑦 𝜕𝑥
By the product rule, with subscripts denoting partial derivatives, this gives
(4.8)
Hence we look for an integrating factor depending only on one variable: fortunately, in many practical
cases, there are such factors, as we shall see.
REDUCTION TO EXACT FORM: INTEGRATING FACTORS
(4.9)
(4.10)
EXACT EQUATIONS 2
Example 4.6 Solve 𝑥𝑦 𝑑𝑥 + 2𝑥 2 + 3𝑦 2 − 20 𝑑𝑦 = 0
1
EXACT EQUATIONS
Example 4.6 Solve 𝑥𝑦 𝑑𝑥 + 2𝑥 2 + 3𝑦 2 − 20 𝑑𝑦 = 0 5
6
EXACT EQUATIONS
Example 4.7 Solve (𝑒 𝑥+𝑦 +𝑦𝑒 𝑦 ) 𝑑𝑥 + 𝑥𝑒 𝑦 − 1 𝑑𝑦 = 0 ; 𝑦 0 = −1
2
EXACT EQUATIONS 5
4
References