An exact equation is a first-order ODE in the form
where there exists a potential function such that
If such an exists, the ODE is exact, and the implicit solution is simply .
The level curves of are exactly the solution curves of the ODE.
Why is the solution
Along any solution curve , compute the total derivative of :
But the ODE says . So , meaning is constant along solution curves.
That’s the level curve idea: defines a family of curves, and each is a solution of the ODE.
Test for exactness: Clairaut’s theorem
How do you know whether such an exists, given and ?
Clairaut’s theorem (mixed partials): if has continuous second partial derivatives, then
If we want and , then and . So:
This is the exactness condition. If it holds (in some region ), then exists and the ODE is exact. If it fails, no such exists, and the ODE is not exact.
How to find
Once you’ve verified exactness, find by integration:
- Integrate with respect to :
The “constant of integration” is actually a function of only, since we integrated with respect to .
- Differentiate with respect to and equate to :
-
Solve for , integrate to find .
-
Implicit solution: .
Worked example 1
.
Rearrange into standard form : multiply through by to get . So , .
Check exactness: , . Equal ✓.
Integrate wrt : .
Differentiate wrt , equate to : , so , hence (constant).
Implicit solution: .
Worked example 2 (not exact)
. So , .
Check exactness: , . Not equal — the equation is not exact.
You’d need to either find an integrating factor that makes it exact, or use a different method.
Integrating factors for non-exact equations
If but the ratio is a function of only (or is a function of only), there’s an Integrating factor (or ) that makes the equation exact. Multiply through and proceed.
For the broader theory of integrating factors, see Integrating factor. For the specific test, see Clairaut’s theorem.