A point moving around the circle keeps the value of fixed at . Differentiate that fact with the chain rule and you get , a differential equation. Exact equations run this backwards. You are handed the equation, you recognize it as the differential of some function , and the solutions are the level curves of .
Key terms
The differential form M dx + N dy
Definition Let and be continuous real functions on an open set in the plane. The equation
is a first-order differential equation in differential form. A solution is a differentiable function on an open interval whose graph lies in and which satisfies
Solutions of the form , with , are allowed in the same way, so the form treats and symmetrically.
In plain words The form is the equation written without dividing, which keeps the points where in view instead of throwing them away.
Example The form on the whole plane says . Where that is
and the function on is a solution, since .
Potential function
Definition A potential function for the form on an open set is a function with continuous first partial derivatives on such that
Then , and the vector field is the gradient of . When is connected, any two potentials differ by a constant.
In plain words A potential is a function whose two partial derivatives are exactly the two coefficients. It is the same object as the potential of a conservative vector field in the fundamental theorem for line integrals.
Example For on the plane, integrate in while holding fixed,
where is a function of alone. Matching with gives , so and . A potential is
Check it by differentiating. The partials are and , as required.
Exactness
Definition The equation is exact on the open set if the form has a potential on . In that case a differentiable function on an interval , with graph in , is a solution exactly when is constant on , because by the chain rule
So the solution curves lie on the level sets .
In plain words Exact means the left side is already a total differential . Saying along a curve says does not change along it.
Example With the potential from the previous section, every solution of satisfies
for some constant . The point gives , so the solution through lies on the curve .
Continuous partial derivatives and the test
Definition Suppose and have continuous first partial derivatives on an open set . If the equation is exact on , then
The reason is that a potential then has continuous second partials and , and Clairaut’s theorem says these mixed partials are equal. This condition is necessary on every open set. Whether it is also sufficient depends on the shape of , which is the next section.
In plain words Before hunting for , compare with . If they differ anywhere in , no potential exists there and you can stop.
Example For both coefficients are smooth on the plane, and
The test passes. For , on the other hand,
which differ wherever . Every nonempty open set contains points off the line , so that equation is not exact on any nonempty open set.
The simply connected domain condition
Definition An open set in the plane is simply connected if it is connected and every simple closed curve in encloses only points of , so has no holes. The theorem on exact equations states the following. Let be an open, simply connected set, and let and have continuous first partial derivatives on . Then is exact on if and only if at every point of . In the simplest case is an open rectangle , . Fix a point in it. Integrating the form from horizontally to and then vertically to , two segments that stay inside the rectangle, gives a potential on the whole rectangle,
In plain words Equal cross partials guarantee a potential only on a region without holes. Around a hole the line integral of the form can be nonzero, and then no single valued exists.
Example On the punctured plane, without the origin, take
Both have continuous partials on and . Yet the line integral of the form around the unit circle, counterclockwise with and , is
while the integral of around a closed curve would be . So the equation is not exact on the punctured plane. On the right half plane , which is simply connected, it is exact with potential , and its solutions there lie on the rays .
Integrating factors
Definition A function with continuous first partials and on is an integrating factor for if is exact on . Two cases reduce to one variable. Suppose is open and simply connected and and have continuous first partials on . In each case below the new coefficients have equal cross partials, so the previous theorem makes the new equation exact.
- If on for a function continuous on an interval containing every coordinate of , then is an integrating factor.
- If on for a continuous in the same sense, then is an integrating factor.
Because never vanishes on , the old and new equations have the same solutions in . Multiplying by a factor that is zero or undefined somewhere can gain or lose solutions there, so those points must be checked by hand.
In plain words When the cross partials disagree by a multiple of that depends only on , an exponential in fixes the mismatch. The same works with and .
Example For the mismatch is
On the half plane this gives and , which is positive there. The new equation
has and potential . The solutions with lie on the curves . The line , where vanishes, needs its own check. Along it and , so it is a solution of the original equation that the half plane computation never sees.
Implicit solutions
Definition An equation is an implicit solution of on an interval if some differentiable on has there and solves the differential equation. For an exact equation with potential on and a point of with , the implicit function theorem gives an open interval around on which the level set is, near , the graph of a unique differentiable with . That is the solution of the initial value problem. It extends as long as its graph stays in and along it.
In plain words A level set is not automatically a graph. The solution through a given point is the single branch of the level curve through it, and it ends where the branch turns vertical or leaves the domain.
Example For the potential is , and the level sets behave in three ways.
| Value of | Level set |
|---|---|
| circle of radius | |
| only the origin, which carries no solution curve | |
| empty |
With the value is . Here at , and the solution is the upper half
It stops at , where and the circle turns vertical. The whole circle is the level set, but it is not the graph of one solution.
Check yourself
- Show that is exact on the plane and find its solutions in implicit form.
Show the answer
The coefficients are smooth on the plane, which is simply connected, and , so the equation is exact. Integrating in gives , and matching the partial with forces . The solutions satisfy
- Solve the initial value problem with , give the solution explicitly, and find the largest interval on which it exists.
Show the answer
Since on the plane, a potential is , and gives . Solving for and choosing the root with gives
Along this branch , which is nonzero exactly where the square root is positive. The cubic has one real root , so the solution exists on and ends at , where its slope becomes infinite.
- Find an integrating factor for on the half plane and solve the equation there.
Show the answer
Here , so and , which is positive for . The equation is exact, and its solutions satisfy