Let be the independent variable and write . The solutions of lie on the circles , so the quantity stays constant along every solution. Many first-order equations hide a conserved quantity of this kind, a function of both variables whose differential is the equation itself. This lesson shows how to recognize such an exact equation, how to build that function one variable at a time, and why a hole in the domain can prevent one function from working on the whole region.
Key terms
Exact differential
Definition Let have continuous first partial derivatives on an open set in the plane. The partial derivative is the derivative in with held fixed, and is the derivative in with held fixed. The total differential of is
An expression is an exact differential on if it equals for such a function , which means and at every point of . Along a differentiable graph inside , with , the chain rule gives
with both partial derivatives evaluated at .
In plain words An exact differential records how one function changes when and both change a little. Its two coefficients are the rates of change of in the two coordinate directions.
Example For , holding fixed gives , and holding fixed gives . So
is an exact differential on the whole plane, namely .
Exact equation
Definition Let and be continuous functions of on an open set . The equation
is exact on if is an exact differential there. With as the independent variable and , a solution is a differentiable function on an open interval whose graph lies in and which satisfies . For an exact equation with , the chain rule shows that is a solution exactly when is constant on the interval. So every solution lies on a level curve . Conversely, if is a point of with , the implicit function theorem shows that the part of the level curve near is the graph of a differentiable solution with , and its slope is .
In plain words An exact equation says that the change of some function along the solution is zero. So stays constant along every solution, and the solutions follow its level curves.
Example Where , the equation can be written , which is for . Its solutions lie on circles centered at the origin. Through the level curve is , and since there, the solution near that point is the upper half . It continues on and ends at , where and the circle turns vertical.
Potential function
Definition A potential function for on an open set is a function with continuous first partial derivatives such that and on . On a connected set any two potentials differ by a constant, so they have the same level curves. When the equation is exact on a rectangle or on the whole plane, a potential is built in three steps.
- Integrate in with held fixed, and add an unknown function in place of the constant of integration.
- Differentiate the result in and set it equal to . Exactness guarantees that the resulting equation for involves alone.
- Integrate , then check both and .
In plain words Recover from its two partial derivatives one variable at a time. The function holds the part of that the first integration cannot see, because its derivative in is zero.
Example Take and , polynomials on the whole plane. Integrating in gives
Then must equal , so and , up to an additive constant that can be dropped. The potential is
and its partial derivatives are and , as required. The solution through lies on the level curve where ,
Since , this relation defines a differentiable solution near , and its slope is there, so the tangent at the initial point is horizontal. Solving the relation as a quadratic in and keeping the root with shows that along this solution . That is positive for , where is the smallest positive root of , so the solution interval is . At we get , the slope formula fails and the level curve has a vertical tangent.
Test for exactness
Definition Let and have continuous first partial derivatives on an open set . If is exact on , then
The reason is that a potential then has continuous mixed partial derivatives and , and continuous mixed partial derivatives are equal. Conversely, if everywhere on and is an open rectangle, an open disk or more generally an open simply connected set, the equation is exact on . If at even one point of , the equation is not exact on , and by continuity it is not exact on any open set containing that point.
In plain words Before looking for , compare with . If they differ at some point, no potential exists near that point. If they agree throughout , a potential exists at least on every rectangle inside .
Example For the polynomial example above, and , so the test passes on the whole plane, which agrees with the potential already found. For the test gives and . They agree only on the line , and every open set contains points off that line, so this equation is not exact on any open set. Not exact does not mean unsolvable. On the half-plane , dividing by gives , which is , so the solutions there are . Multipliers of this kind are the integrating factors of the next lesson.
Local exactness
Definition The equation is locally exact on an open set if every point of lies in an open rectangle inside on which the equation is exact. If and have continuous first partial derivatives on and on , the equation is locally exact on . On an open rectangle inside that contains , a potential is
the integral of the form along a horizontal segment and then a vertical segment, both inside . Local potentials on overlapping rectangles differ by constants, and those constants need not fit together around the whole of . So a locally exact equation need not be exact on .
In plain words Equal mixed partial derivatives always give a potential on small pieces of the domain. Whether the pieces join into one potential depends on the shape of the domain.
Example On the punctured plane, the plane without the origin, consider the angular form
Its coefficients satisfy
On the half-planes and the function is a potential, and on the half-planes and the function is one. Every point other than the origin lies in one of these half-planes, so is locally exact on the punctured plane. In the first quadrant both potentials apply, and they differ by the constant .
Simply connected domain
Definition A connected open set in the plane is simply connected if every closed curve in can be shrunk continuously to a point without leaving . For sets in the plane this means that has no holes. Open disks, rectangles, half-planes and the whole plane are simply connected, while the punctured plane and an annulus are not. If is open and simply connected, and and have continuous first partial derivatives with throughout , then is exact on , with one potential defined on all of . Without that condition the conclusion can fail. The integral of an exact differential around any closed curve in is , because returns to its starting value, so a form with a nonzero integral around some closed curve has no potential on .
In plain words A loop around a hole can carry a nonzero total change, which no single valued potential allows. In a region without holes every loop shrinks to a point, and this obstruction cannot occur.
Example Go once around the unit circle with and , so that , and . The numerator becomes , so the angular form becomes and
So is not exact on the punctured plane, even though the test passes at every point there. On the plane with the nonpositive -axis removed, which is simply connected, the polar angle with is a potential, and the solution curves there are the open rays from the origin that lie in this region.
Check yourself
- Show that is exact on the plane and find its solutions in implicit form.
Show the answer
The coefficients have continuous partial derivatives on the plane, which is simply connected, and , so the equation is exact. Integrating in gives . Then must equal , so and . The solutions satisfy
As a check, and .
- Solve with , write the solution explicitly and give its solution interval.
Show the answer
Both coefficients are polynomials and on the plane, so the equation is exact. Integrating in gives , and matching with gives , so . The point gives , so the solution lies on the ellipse . As a quadratic in this is , and the root with is
Along it , which is positive exactly when . The solution interval is , about . At the endpoints and the ellipse has a vertical tangent, so the graph cannot be continued as a function of .
- The equations and both pass the test for exactness on the punctured plane. Which of them is exact there, and what does the answer say about the role of simple connectivity?
Show the answer
The first is exact on the punctured plane, with potential , whose partial derivatives are and . Its solutions lie on the circles with . The second is not exact there, because its integral around the unit circle is , while the integral of around a closed curve is .
The test passes for both, and the punctured plane is not simply connected, so the theorem decides neither case. Simple connectivity is a sufficient condition for the test to give one potential on the whole domain, not a necessary one.