How to find the solution to an exact differential equation
Exact differential equations have a specific format, and are solved using a specific set of steps
In order for a differential equation to be called an exact differential equation, it must be given in the form
and have a solution such that
and
Hi! I'm krista.
I create online courses to help you rock your math class. Read more.
If we assume that is a continuous function, then we can also assume that its mixed second-order partial derivatives are equal.
We can rewrite this equation in a different form as
In other words, we just used the fact that has to be a solution to the exact differential equation to develop a test for exact differential equations, and the test tells us that a differential equation is exact if . So, if the partial derivative of with respect to is equal to the partial derivative of with respect to , then the differential equation is exact.
This is a test we can use to say whether or not the differential equation is exact, before we go about finding the solution .
The general or implicit solution to an exact differential equation is given by
where is a constant. If we want to, we can prove that this is the solution by starting with the standard form of an exact differential equation
We already said that
and
so we can substitute into the standard form and get
Using chain rule for multivariable functions, we can change the left-hand side to
Integrating both sides with respect to to get by itself, we get
Now that we’ve proven that is always the solution to an exact differential equation, we need to work on finding .
We’ve already used the fact that
and
and we’ll use it again here to find the solution. We’ll start with
and
The left-hand sides of both of these are partial derivatives of , but we need to get back to itself. To do that, we’d need to take the integrals
and
Taking the integral with respect to of the partial derivative with respect to cancels both operations and leaves us with just , in the same way that taking the integral with respect to of the partial derivative with respect to cancels those operations and leaves us with just .
and
In other words, if we want to find an equation for , we can either take the integral of with respect to , or the integral of with respect to . Both integrals will work, so we should look at and and then choose whichever function will be easier to integrate.
If we use the first integral, the one with , we have to remember that we’re integrating a multivariable function in terms of and with respect to only. Which means that, instead of adding to account for the constant of integration after we integrate, we’ll have to add to account for a function in terms of .
Similarly, if we use the second integral, the one with , we have to remember that we’re integrating a multivariable function in terms of and with respect to only. Which means that, instead of adding to account for the constant of integration after we integrate, we’ll have to add to account for a function in terms of .
Then it’s just a matter of solving for or , which we’ll do by differentiating the equation for with respect to if we’re trying to find , or with respect to if we’re trying to find .
That differentiation process will give us either with or with . We’ll substitute for or for , and then simplify the equation to solve for or . Then we can integrate both sides of the remaining equation to solve for or .
Finally, we’ll plug or back into the equation for , set the equation equal to , and this will be the general or implicit solution to the exact differential equation.
In summary, to find the solution to an exact differential equation, we’ll
Verify that to confirm the differential equation is exact.
Use or to find , including a value for or .
Set to get the implicit solution.
How to solve an exact differential equation
Take the course
Want to learn more about Differential Equations? I have a step-by-step course for that. :)
Step-by-step solution for finding the solution to the exact differential equation
Example
If the differential equation is exact, find its solution.
First, we’ll test to see whether or not the differential equation is exact. Matching the given equation to the standard form of an exact differential equation, we can say that
and
We’ll test to see whether .
Both integrals will work, so we should look at M and N and then choose whichever function will be easier to integrate.
Since , we know that the given differential equation is an exact differential equation. Now we just need to find the solution .
and are equally easy to integrate, we’ll just use and the integral
We had to add instead of just because we integrated a multivariable function with respect to only, which doesn’t account for the integration of . Now we need to find , which we’ll do by taking the partial derivative of both sides of the equation with respect to .
Because we know that , we’ll make that substitution and then solve for .
To find , we’ll integrate both sides with respect to .
Plugging this into the equation for gives
Finally, setting to find the solution to the exact differential equation, we get
We can say that the equation is exact and that its general (implicit) solution is
Sometimes we’ll be given an initial condition and asked to find an explicit solution, instead of a general (implicit) solution. If that’s the case, we just plug the initial condition into the solution to find a value for . For example, if the previous example had given the initial condition , our solution would have been