Differential Equations MTH 242 Lecture # 04 Dr. Manshoor Ahmed
Differential Equations MTH 242 Lecture # 04 Dr. Manshoor Ahmed
MTH 242
Lecture # 04
.
Exact differential equation:
An equation
=0, (3)
is called an exact differential equation iff the expression
is an exact differential of some function . Therefore, by using (2) we
can write (3) in the form
,
i.e
So that is the general solution of (3).
Theorem:
The differential equation
=0,
is called an exact differential equation iff
,
where the function and
has cont. first order partial derivatives.
Method of Solution:
If the given equation is exact then the solution procedure consists of
the following steps:
Step 1. Check that the equation is exact by verifying the condition
M N
y x
Step 2. Write down the system F M ( x, y ) , F N ( x, y )
x y
F ( x, y ) M ( x, y ) dx ( y )
The function ( y ) is an arbitrary function of y, integration w.r.to x;
y being constant.
6
Step 4. Use second equation in step 2 and the equation in step 3 to
find ( y ) .
F
y y
M ( x, y )dx ( y ) N ( x, y )
( y ) N ( x, y ) M ( x, y )dx
y
Step 5. Integrate to find ( y ) and write down the function F (x, y);
Step 6. All the solutions are given by the implicit equation
F ( x, y ) C
Step 7. If you are given an IVP, plug in the initial condition to find
the constant C.
M u u u
u M u N
y y x x
Example 1
Show that 1 /( x 2
y 2
) is an integrating factor for the equation
x 2
y 2
x dx ydy 0,
and then solve the equation.
Solution: Since M x 2 y 2 x, N y
Therefore M N
2 y, 0
y x
So that M N
y x
and the equation is not exact. However, if the equation is multiplied by
1 /( x 2 y 2 )
then the equation becomes
x y
1 2
2
dx 2 dy 0
x y x y 2
Now x y
M 1 and N
x2 y2 x2 y2
Therefore M 2 xy N
y
x2 y2 2 x
So that this new equation is exact. The equation can be solved.
However, it is simpler to observe that the given equation can also
written
xdx ydy
dx 2
x y 2
0 or
1
dx d ln( x 2 y 2 ) 0
2
or
d x
ln x 2 y 2
0
2
Hence, integrating, we have
x ln x 2 y 2 k
Example 2 Solve the differential equation
dy 3xy y 2
2
dx x xy
whose integrating factor is x.
Solution:
The given differential equation can be written in form
(3xy y 2 )dx ( x 2 xy )dy 0
Therefore, M ( x, y ) 3xy y 2 and N ( x, y ) x 2 xy
Now
M N
3x 2 y , 2x y
y x
M N
y x
Multiplying the given equation with the IF, we obtain
(3 x 2 y xy 2 )dx ( x 3 x 2 y )dy 0
which is exact.
1. Since M 3x 2 2 xy N , the equation is exact.
y x
2. We find F (x, y) by solving the system
F
x 3 x 2
y xy 2
F
x 3 x 2 y.
y
3. We integrate the first equation to get
x2 2
F ( x, y ) x y
3
y ( y)
2
4. We differentiate w. r. t y and use the second equation of the
system in step 2 to obtain
F
x 3 x 2 y ( y ) x 3 x 2 y
y
Example Solve dx x sin y dy ,0 with IF u( y) y
y
x
Solution: Here M 1, N sin y
y
M N 1
0,
y x y
M N
y x
The equation is not exact.
y
The IF is u ( y )Multiplying the equation by y, we have
or
ydx ( x y sin y )dy 0
or ydx xdy y sin ydy 0
d ( xy ) y sin ydy 0
• Total differential.
• Integrating factor.