Professional Documents
Culture Documents
Exact Differential Equations: Dy Pxy Qxy DX Fxy Pxy F Xy Qxy F Xy
Exact Differential Equations: Dy Pxy Qxy DX Fxy Pxy F Xy Qxy F Xy
dy
P x, y Q x , y 0 is called an exact equation if there exists a function f x, y such that
dx
P x, y f x x, y and Q x, y f y x, y
PROOF
If M x, y dx N x, y dy 0 is exact in D then M x, y dx N x, y dy is an exact differential
in D, and by definition there exists a function F such that
F ( x, y )
M ( x, y) (i)
x
F ( x, y)
And N ( x, y) (ii)
y
for all ( xy ) D on differentiating (i) and (ii) w.r.t. y and x respectively we have
2 f ( x, y ) M ( x, y ) 2 f ( x, y ) N ( x, y )
and .
yx y xy x
2 f ( x, y) 2 f ( x, y ) M ( x, y ) N ( x, y)
yx xy y x
Conversely
M x, y N x, y
Assume that for all ( xy ) D we need to show M ( x, y)dx N ( x, y)dy 0
y dx
is exact
i.e. to prove that there exists a function f such that
f ( x, y )
M ( x, y ) (1)
x
f ( x, y )
N ( x, y ) (2)
y
F ( x, y )
For all ( x, y) D suppose f ( x, y) satisfies (1) then M ( x, y) integrating
x
w.r.t y and x partially we have
F ( x, y) M ( x, y)dx h y (3)
Now (3) represents all functions (solutions) of (1). Differentiating (3) partially with respect to y
we have
f ( x, y ) d h y
M ( x, y )dx (4)
dy y dy
f ( x, y) d h y
N ( x, y) M ( x, y)dx (5)
dy y dy
d h y
Hence N ( x, y )
y M ( x, y )dx
dy
(6)
y
( N ( x, y ) M ( x, y )dx ) (7)
is independent of x.
N ( xy ) M ( xy )
which implies 0
x y
and thus (7) is independent of x for all ( x, y) D
d h y
thus N ( x, y ) M ( x, y )dx holds and on integrating we have
dy y
h y N ( x, y ) M ( x, y )dx dy
y
M ( x, y )
f ( x, y ) M ( x, y )dx N ( x, y ) dx dy (8)
y
f ( xy ) f ( xy )
Satisfies both M ( xy ) and N ( xy ) thus M x, y dx N x, y dy 0 is exact
x y
which completes the proof.
From the definition, if the equation M x, y dx N x, y dy 0 is exact then there exists a
f ( x, y ) f ( x, y )
function f such that M ( x, y ) and N ( x, y ) for all ( x, y) D . Thus the
x y
F ( x, y) F ( x, y)
equation may be written as dx dy 0 or simply df ( x, y) 0 . Then the
x y
relation f ( x, y) C where C is an arbitrary constant is a solution of the exact equation
f ( x, y ) f ( x, y )
M ( x, y ) And N ( x, y ) for all ( xy ) D and C is an arbitrary.
x y
Example 1
Show the differential equation is exact and hence solve it
x2 y dx y 2 x dy 0
Solution
M x 2 y and N y2 x
M N
1 1
y x
M N
Hence the equation is exact.
y x
By definition
f f
M and N
x y
f
M x2 y
x
f x 2 y dx
x3
xy h y
3
f
x h y ................................................................. (i)
y
f
But N y 2 x .............................................................................(ii)
y
Example 2
Show the differential equation is exact and hence solve it
x3 3xy2 dx 3x2 y y3 dy 0
M x3 3xy 2 and N 3x 2 y y 3
M N
6 xy 6 xy
y x
M N
Hence the equation is exact.
y x
By definition
f f
M and N
x y
f
M x3 3xy 2
x
f x3 3xy 2 dx
x4 3 2 2
x y h y
4 2
f
3x 2 y h y ....................................................................... (i)
y
But
f
N 3x 2 y y 3 .................................................................... (ii)
y
Example 3
1
Solve y 1 cos y dx x ln x x sin y dy 0
x
Example 4
Solve the equation 3x 2
4 xy dx 2 x 2 2 y dy 0
Exercise
1. show that the following differential equation are exact and solve them
a) y dx x dy 0
b) y3 dx 3xy 2 dy 0
c) cosh y cos y dx sinh x sin x dy
d) 2x e dx x e dy 0
y y
Most differential equations are not exact. However it is possible to multiply a non-exact
differential equation by a non-zero function F x, y chosen so that the resulting differential
equation is exact
P x, y dx Q x, y dy 0 is a non-exact equation, we multiply with F x, y
FP x, y dx FQ x, y dy 0 is an exact equation
The function F x, y is called an Integrating Factor
1 P 1 F 1 Q
Q y F x Q x
Or
1 F 1 P Q
F x Q y x
Let R.H.S. be R x
1 F
R x
F x
1
dF R x dx
F
1
F dF R x dx
ln F R x dx
F e
R x dx
NB
F
If F F y then 0
x
Equation (3) becomes
F P Q
P F F
y y x
Dividing through by FP
1 F 1 P 1 Q
F y P y P x
or
1 F 1 Q P
F y P x y
Let R.H.S. be R y
1 F
R y
F y
1
dF R y dy
F
1
F dF R y dy
ln F R y dy
F e
R y dy
Example
Solve 2 y dx x dy 0
Solution
P 2 y and Qx
P Q
2 1
y x
1
R x 2 1
x
1
x
1
x dx
F x e
eln x x
2 xy dx x2 dy 0 is an exact equation
M 2 xy and N x 2
By definition
f f
M and N
x y
f
M 2 xy
x
f 2 xy dx
x2 y h y
f
Now x 2 h y ............................................................... (i)
y
f
But N x 2 .................................................................... (ii)
y
Example 2
Solve x 2 y dx x3 y dy 0
Solution
P x 2 y and Q x3 y
P Q
x2 3x 2
y x
2
3x 2 x 2
1
R y
x y
2 x2 2
2
x y y
2
y dx
F y e
eln y y 2
2
x 2 y3 dx x3 y 2 y 3 dy 0 is an exact equation
By definition
f
M x2 y3
x
f x 2 y 3 dx
x3 y 3
h y
3
f
Now x3 y 2 h y ............................................................... (i)
y
f
But N x3 y 2 y 3 .................................................................... (ii)
y
Example 3
Find the integrating factor of the differential equation 2 y 2 3x dx xy dy 0 hence solve
Example 4
Find the integrating factor of the differential equation 3 y dx 2 x dy 0 hence solve
Example 5
Find the integrating factor of the differential equation x 2 y dx x3 2 y dy 0 hence solve
The general solution
y4
x3 y 2 K
2
Example 6
Solve the initial value problem
2 xy dx 3x 2 4 y dy 0 y 0.2 1.5