Exact Equations Notes 3
Exact Equations Notes 3
Definition:
Let M and N be functions of two variables such that M, N, My and Nx are continuous on
a rectangular region R. Then
M(x,y) dx + N(x,y) dy = 0 Equation 1
is the exact equation of some function f with the value z = f(x,y) if and only if
∂M ∂ N
=
∂x ∂ y .
When this condition is satisfied, the differential equation
M(x,y) dx + N(x,y) dy = 0,
is said to be exact.
Thus we seek a function f such that
∂f ∂f
= M( x , y) =N ( x, y )
∂x and ∂ y .
1
( xy− y 2 )dx− y 2 dy=0
Example 4. Identify if the differential equation 2 is exact.
Solution:
1
2 N ( x , y )= y 2
Let M (x , y)=( xy− y ) and 2
Then,
∂ ( M ( x, y))= ∂ ( xy− y 2 ) = y ∂ ( N ( x , y ))= ∂ 1 y 2 = y
∂x ∂x and ∂ y
( )
∂y 2
∂M ∂ N
=
Since ∂ x ∂ y , therefore the differential equation is exact.
3. Find the solution of the differential equation (6x2 − y +3)dx + (3y2 − x − 2)dy = 0.
is called an exact differential equation if there exists a function of two variables u(x,y) with continuous partial
derivatives such that
1. First it's necessary to make sure that the differential equation is exact using the test for exactness:
2. Then we write the system of two differential equations that define the function u(x,y):
3. Integrate the first equation over the variable x. Instead of the constant C, we write an unknown function
of y:
4. Differentiating with respect to y, we substitute the function u(x,y) into the second equation:
From here we get expression for the derivative of the unknown function φ(y):
5. By integrating the last expression, we find the function φ(y) and, hence, the function u(x,y):
Note: In Step 3, we can integrate the second equation over the variable y instead of integrating the first equation
over x.
After integration we can search for the unknown function ψ(x).
Example 1
Solution.
The given equation is exact because the partial derivatives are the same:
Example 2
Find the solution of the differential equation (6x2 − y +3)dx + (3y2 − x − 2)dy = 0.
Solution.
Check this equation for exactness:
Hence, the given differential equation is exact. Write the system of equations to determine the function u(x,y):
Integrate the first equation with respect to the variable x assuming that y is a constant. This produces:
We get equation for the derivative φ'(y):
Hence, the general solution of the equation is defined by the following implicit expression:
where C is an arbitrary real number.
Example 3
Solve the differential equation e ydx + (2y + xe y)dy = 0.
Solution.
First we check this equation for exactness:
We see that , so that this equation is exact. Find the function u(x,y) from the system of equations:
Hence,
Now, by differentiating this expression with respect to y and equating it to , we find the derivative φ'(y):
Solution.
This differential equation is exact because
Hence,
so that the general solution of the differential equation is given by the implicit formula:
Example 5
Solution.
First of all we determine whether this equation is exact:
As it can be seen, . Hence, this equation is exact. Find the function u(x,y), satisfying the system of equa
Thus, the general solution of the given differential equation has the form:
Example 6
Solution.
Check the equation for exactness by transforming it into standard form:
Hence, the given equation is exact. Therefore, we can write the following system of equations to determine the
function u(x,y):
In the given case, it is more convenient to integrate the second equation with respect to the variable y:
Thus, the general solution of the differential equation in implicit form is given by the expression:
The particular solution can be found using the initial condition y(1) = 1. By substituting the initial values, we find
constant C:
Using an Integrating Factor
the equation is not exact. However, we can try to find so-called integrating factor, which is a function µ(x,y)
such that the equation becomes exact after multiplication by this factor. If so, then the relationship
The last expression is the partial differential equation of first order that defines the integrating factor µ(x,y).
Unfortunately, there is no general method to find the integrating factor. However, one can mention some
particular cases for which the partial differential equation can be solved and as a result we can construct
the integrating factor.
1. Integrating Factor Depends on the Variable x: µ = µ (x).
The right side of this equation must be a function of only x. We can find the function µ(x) by integrating the
last equation.
2. Integrating Factor Depends on the Variable y: µ = µ (y).
Similarly, if , we get the following ordinary differential equation for the integrating factor µ:
where the right side depends only on y. The function µ(y) can be found by integrating the given equation.
3. Integrating Factor Depends on a Certain Combination of the Variables x and y: µ = µ (z(x,y)).
The new function z(x,y) can be, for example, of the following type:
and so on.
We assume that the right side of the equation depends only on z and the denominator is not zero.
where we can determine the integrating factor. The general conditions of existence of the integrating
Example 1
Solve the equation (1 + y2)dx + xydy = 0.
Solution.
Test this differential equation for exactness:
As it can be seen, this equation is not exact. We try to find an integrating factor to convert the equation into
exact. Calculate the function
depends only on the variable x. Hence, the integrating factor will also depend only on x: µ = µ(x). We can
get it from the equation:
Separating variables and integrating, we obtain:
We choose µ = x. Multiplying the original differential equation by µ = x, produces the exact equation:
Indeed, now we have
Solve the resulting equation. The function u(x,y) can be found from the system of equations:
Substitute this in the second equation to determine φ(y):
Example 2
Solution.
If we test this equation for exactness, we find that
Hence, this equation is not exact. We try to construct an integrating factor. Notice that
and the expression
is the constant.
Hence, we can find the integrating factor as a function µ(x) by solving the following equation:
We choose the function µ = e−x and make sure that the equation becomes exact after multiplication by
µ = e−x:
Here it is more convenient to integrate the second equation with respect to y:
Example 3
Solution.
The given equation is not exact, because
We try to find the general solution of the equation using an integrating factor. Calculate the difference
Integrating, we get:
By choosing as the integrating factor and then multiplying the original differential equation by it,
we get the exact equation:
Indeed, we see that
Notice that when we multiplied by the integrating factor we lost the solution y = 0. This can be proved by
direct substitution of the solution y = 0 in the original differential equation.
where C is a constant.
Example 4
Solution.
First of all we check this equation for exactness:
The partial derivatives are not equal to each other. Therefore, this equation is not exact. Calculate the
difference of the derivatives:
Now we try to use the integrating factor in the form z = xy. Here we have
Then
We see that the integrating factor depends only on z:
By choosing the function µ = exy we can convert the original differential equation into exact:
As it can be seen, now this equation is exact. We find its general solution form the system of equations:
Hence, the general solution of the given differential equation is written in the form:
Example 5
Solve the equation ydx + (x2 + y2 − x)dy = 0 using the integrating factor µ(x,y) = x2 + y2.
Solution.
We can make sure that this equation is not exact:
Using the integrating factor µ = z = x2 + y2, we find that
We can choose the integrating factor . After multiplication by the original
differential equation is converted into exact:
Thus, the general solution of differential equation in implicit form is defined by the formula:
where C is a constant.