Carry a backpack from the bottom of a hill to the top. Gravity does the same work on it whether you take the steep trail or the long switchbacks, because only the change in height matters. Fields with this property are called conservative, and for them a line integral collapses to a subtraction of two numbers. The catch is deciding when a field really has this property, and that turns out to depend on the shape of its domain as well as on its formula.
Key terms
Conservative fields and potentials
Definition Let be an open set in or and a vector field that is continuous on . The field is conservative on if there is a differentiable function on with
Such an is a potential function for . Since its partial derivatives are the continuous components of , a potential is automatically on . In physics the potential energy is usually taken to be .
In plain words A conservative field is the gradient of some function. That function plays the role of height, and wherever the field is nonzero it points in the direction where the height increases fastest.
Example The field is conservative on all of , since the function has and .
Connected open domains
Definition An open set is connected if any two points of can be joined by a piecewise regular curve that lies entirely in . For open sets this agrees with the general notions of connected and path-connected, and the curve can even be taken to be a chain of line segments. A connected open set is often called a domain. If is open and connected and on , then is constant on . So on a connected open set a potential is unique up to an added constant.
In plain words A connected set comes in one piece. Line integrals can only compare points that some path in the set reaches, so this is the natural setting for everything below.
Example The set is open but not connected, since no path inside it crosses the -axis. The function equal to for and to for has gradient on , yet it is not constant. On a connected set this cannot happen.
Potential difference and the fundamental theorem
Definition Let be an open set, a function on , and an oriented piecewise regular curve in from the point to the point . Then
The right side is the potential difference between the endpoints. To prove it, take a regular piece with parametrization , . By the chain rule
so the fundamental theorem of calculus gives on that piece. Adding over the pieces, the values at the joints cancel and only remains.
In plain words For a gradient field the line integral is the final value of the potential minus the starting value. The path in between does not matter.
Example For , along any piecewise regular curve from to ,
As a check, the parabola , , joins these points, and the direct computation also gives .
Path independence
Definition Let be continuous on an open set . The integral is path independent in if any two oriented piecewise regular curves in with the same initial point and the same terminal point give the same value.
If is continuous on a connected open set , then the integral of is path independent in if and only if is conservative on .
One direction is the fundamental theorem. For the other, fix a point in and define as the integral of along any path in from to . Connectedness makes such a path exist, and path independence makes the value well defined. Because is open, a path to can end with a short horizontal segment, and differentiating along that segment gives . A vertical segment gives , and similarly in space.
In plain words Same endpoints, same answer, for every route. That happens exactly when the field has a potential.
Example For the straight segment from to gives
the same as along the parabola. In contrast, the field gives work along the segment from to and along the quarter circle, so it is not conservative on any open set containing both paths.
Closed-loop integrals
Definition Let be continuous on an open set . The integral of is path independent in if and only if
for every closed oriented piecewise regular curve in . The reason is that two paths and from to form the closed curve followed by , whose integral is the difference of their integrals. Conversely, choosing two points and on a loop splits it into two paths from to , one of them traversed backwards.
In plain words A conservative field does zero net work around every loop. You end where you started, so the potential difference is zero.
Example For the circulation around the unit circle counterclockwise is . One loop with a nonzero integral is enough to prove that the field is not conservative on any open set containing that loop.
The cross-partial test
Definition Let have continuous first partial derivatives on an open set in . If is conservative on , then
Indeed a potential then has continuous second partials, and Clairaut’s theorem gives . For with continuous first partials on an open set in , conservative implies the three equations
These say that the curl is , a quantity studied in the next lesson.
In plain words This is a quick local check. If the cross partials differ anywhere in , the field cannot be conservative on . Passing the test, though, does not by itself prove the field is conservative.
Example For we get and . They differ everywhere, so is not conservative on any open set.
Curl-free fields on simply connected domains
Definition A connected open set is simply connected if every closed curve in can be continuously shrunk to a point within , that is, deformed through a continuous family of closed curves, all lying in , that ends at a single point. In the plane this means has no holes. In space, with one point removed is still simply connected, while with the -axis removed is not, since a loop around the axis cannot be shrunk. The converse of the cross-partial test holds under the following hypotheses.
Let be an open, simply connected set in and let and have continuous first partial derivatives on . If everywhere on , then is conservative on . In the same holds for with continuous first partials on an open, simply connected satisfying all three cross-partial equations, that is with zero curl on .
In plain words Passing the local test is enough only when the domain has no holes for a loop to wrap around. On a domain with a hole, a field can pass the test at every point and still circulate around the hole.
Example The field
has continuous partials on , and both cross partials equal
Still, around the unit circle counterclockwise the integrand is and the circulation is , so is not conservative on . The theorem does not apply because has a hole at the origin. On the half plane , which is simply connected, the same field equals .
Finding potentials
Definition Suppose has continuous first partials and passes the cross-partial test on a simply connected open set such as all of , an open box or an open ball, so a potential exists. To find it, integrate the first component with respect to ,
where the constant of integration may depend on the other variables. Differentiate with respect to and match with to find up to a function , then match with to find up to a constant. In the plane stop after the second step. Finish by checking that .
In plain words Undo one partial derivative at a time, and let each new step pin down the unknown part left by the previous one.
Example Let on . The cross partials agree, , and , and is simply connected. Integrating gives . Then , so . Finally , so and
The work along any path from to is
Check yourself
- Find a potential for on and the work it does along any path from to .
Show the answer
Both cross partials equal and is simply connected. Integrating gives , and gives . So , and the work is
- The field satisfies the cross-partial test on , which is not simply connected. Is it conservative there?
Show the answer
Yes. The function is on the punctured plane and . A domain with a hole means the test cannot guarantee a potential, not that a potential cannot exist.
- Let be the field . Find its integral along any piecewise regular path from to that stays in the half plane .
Show the answer
On the half plane the field has the potential , so the integral is
A path that loops around the origin leaves the half plane, and then the answer can differ by a multiple of .