Conservative Vector Fields and Potential Functions
Defining Conservative Vector Fields
A conservative vector field is one where the work done moving between two points doesn't depend on the path you take. Only the endpoints matter. This is a powerful property because it lets you skip painful line integral computations entirely.
Three equivalent ways to recognize a conservative field:
- The line integral between any two points is the same regardless of path (path independence)
- The field can be written as the gradient of some scalar function, called a potential function
- The line integral around every closed loop is zero:
These three conditions are all saying the same thing from different angles. If one holds (on a simply connected domain), the others follow.
Path Independence and Potential Functions
Path independence means that depends only on the starting point and ending point , not on the curve connecting them.
A potential function (or scalar potential) is a scalar function whose gradient recovers the vector field:
If you can find such an , the field is conservative. The potential function is unique up to an additive constant, just like antiderivatives in single-variable calculus.
Exact Differentials and Conservativeness
When is conservative, the expression is an exact differential, meaning it equals for some function . That's just another way of saying , , and .
The necessary and sufficient condition for conservativeness on a simply connected domain is that the mixed partials match up (which, as you'll see below, is equivalent to the curl being zero).

Gradient and Curl
Gradient and Its Properties
The gradient of a scalar function is the vector field:
- points in the direction of greatest increase of , and its magnitude gives the rate of change in that direction.
- is always perpendicular to the level surfaces of (the surfaces where ).
These properties matter here because a conservative field inherits all of them. The field vectors are always perpendicular to the equipotential surfaces of .
Curl and Its Interpretation
The curl of is the vector field:
Curl measures the tendency of the field to rotate around a point. A field with zero curl everywhere is called irrotational.
The key test for conservativeness: if throughout a simply connected domain, then is conservative. The "simply connected" condition is critical. On domains with holes, a zero-curl field can still fail to be conservative (the classic example is on ).
Why does this work? If , then by Clairaut's theorem the mixed partials of are equal, which forces every component of to vanish. The converse (zero curl implies conservative) requires the domain to be simply connected.

Finding a Potential Function
When you've confirmed , here's how to find :
- Integrate with respect to . You'll get , where is an unknown function (it plays the role of the "constant" of integration, but it can depend on the other variables).
- Differentiate your result with respect to and set it equal to . Solve for , then integrate to get .
- Differentiate with respect to and set equal to . Solve for and integrate.
- Combine everything. The result is your potential function , determined up to a constant.
Example: Suppose . You can verify . Then:
Line Integrals and the Fundamental Theorem
Line Integrals and Their Computation
The line integral of along a curve is written and represents the work done by the field along that path.
To compute it in general, you parameterize as for , then evaluate:
This can be tedious. For conservative fields, you don't need to do any of this.
Fundamental Theorem of Line Integrals
This is the payoff. If is conservative with potential function , then for any smooth curve from point to point :
Just evaluate the potential function at the two endpoints and subtract. The curve itself doesn't matter at all.
This is a direct generalization of the single-variable Fundamental Theorem of Calculus () to line integrals in higher dimensions.
Using the earlier example: To find the work done by along any path from to , just compute:
No parameterization needed.