9.3: Conservative vector Fields
( \newcommand{\kernel}{\mathrm{null}\,}\)
Learning Objectives
- Describe simple and closed curves; define connected and simply connected regions.
- Explain how to find a potential function for a conservative vector field.
- Use the Fundamental Theorem for Line Integrals to evaluate a line integral in a vector field.
- Explain how to test a vector field to determine whether it is conservative.
In this section, we continue the study of conservative vector fields. We examine the Fundamental Theorem for Line Integrals, which is a useful generalization of the Fundamental Theorem of Calculus to line integrals of conservative vector fields. We also discover show how to test whether a given vector field is conservative, and determine how to build a potential function for a vector field known to be conservative.
Curves and Regions
Before continuing our study of conservative vector fields, we need some geometric definitions. The theorems in the subsequent sections all rely on integrating over certain kinds of curves and regions, so we develop the definitions of those curves and regions here. We first define two special kinds of curves: closed curves and simple curves. As we have learned, a closed curve is one that begins and ends at the same point. A simple curve is one that does not cross itself. A curve that is both closed and simple is a simple closed curve (Figure
DEFINITION: Closed Curves
Curve
Example
Is the curve with parameterization
Solution
Note that
Exercise
Is the curve given by parameterization
- Hint
-
Sketch the curve.
- Answer
-
Yes
Many of the theorems in this chapter relate an integral over a region to an integral over the boundary of the region, where the region’s boundary is a simple closed curve or a union of simple closed curves. To develop these theorems, we need two geometric definitions for regions: that of a connected region and that of a simply connected region. A connected region is one in which there is a path in the region that connects any two points that lie within that region. A simply connected region is a connected region that does not have any holes in it. These two notions, along with the notion of a simple closed curve, allow us to state several generalizations of the Fundamental Theorem of Calculus later in the chapter. These two definitions are valid for regions in any number of dimensions, but we are only concerned with regions in two or three dimensions.
DEFINITION: connected regions
A region D is a connected region if, for any two points
All simply connected regions are connected, but not all connected regions are simply connected (Figure
Exercise
Is the region in the below image connected? Is the region simply connected?

- Hint
-
Consider the definitions.
- Answer
-
The region in the figure is connected. The region in the figure is not simply connected.
Fundamental Theorem for Line Integrals
Now that we understand some basic curves and regions, let’s generalize the Fundamental Theorem of Calculus to line integrals. Recall that the Fundamental Theorem of Calculus says that if a function
If we think of the gradient as a derivative, then the same theorem holds for vector line integrals. We show how this works using a motivational example.
Example
Let
Solution
We use the method from the previous section to calculate
Notice that
and
In other words, the integral of a “derivative” can be calculated by evaluating an “antiderivative” at the endpoints of the curve and subtracting, just as for single-variable integrals.
The following theorem says that, under certain conditions, what happened in the previous example holds for any gradient field. The same theorem holds for vector line integrals, which we call the Fundamental Theorem for Line Integrals.
Theorem: THE FUNDAMENTAL THEOREM FOR LINE INTEGRALS
Let C be a piecewise smooth curve with parameterization
Proof
First,
By the chain rule,
Therefore, by the Fundamental Theorem of Calculus,
We know that if
In other words, just as with the Fundamental Theorem of Calculus, computing the line integral
- Find a potential function (“antiderivative”)
for and - Compute the value of
at the endpoints of and calculate their difference .
Keep in mind, however, there is one major difference between the Fundamental Theorem of Calculus and the Fundamental Theorem for Line Integrals:
A function of one variable that is continuous must have an antiderivative. However, a vector field, even if it is continuous, does not need to have a potential function.
Example
Calculate integral
- without using the Fundamental Theorem of Line Integrals and
- using the Fundamental Theorem of Line Integrals.
Solution
1. First, let’s calculate the integral without the Fundamental Theorem for Line Integrals and instead use [link] or link:
Integral
and
Therefore,
Thus,
2. Given that
This calculation is much more straightforward than the calculation we did in (a). As long as we have a potential function, calculating a line integral using the Fundamental Theorem for Line Integrals is much easier than calculating without the theorem.
Example
Exercise
Given that

- Hint
-
The Fundamental Theorem for Line Intervals says this integral depends only on the value of
at the endpoints of . - Answer
-
2
The Fundamental Theorem for Line Integrals has two important consequences. The first consequence is that if
Recall that the reason a conservative vector field
The second important consequence of the Fundamental Theorem for Line Integrals (Equation
DEFINITION: Path Independence
Let
for any paths
The second consequence is stated formally in the following theorem.
Theorem: CONSERVATIVE FIELDS
If
Proof
Let
Therefore,
To visualize what independence of path means, imagine three hikers climbing from base camp to the top of a mountain. Hiker 1 takes a steep route directly from camp to the top. Hiker 2 takes a winding route that is not steep from camp to the top. Hiker 3 starts by taking the steep route but halfway to the top decides it is too difficult for him. Therefore he returns to camp and takes the non-steep path to the top. All three hikers are traveling along paths in a gravitational field. Since gravity is a force in which energy is conserved, the gravitational field is conservative. By independence of path, the total amount of work done by gravity on each of the hikers is the same because they all started in the same place and ended in the same place. The work done by the hikers includes other factors such as friction and muscle movement, so the total amount of energy each one expended is not the same, but the net energy expended against gravity is the same for all three hikers.
We have shown that if
THE PATH INDEPENDENCE TEST FOR CONSERVATIVE FIELDS
If
Proof
We prove the theorem for vector fields in
Since domain
The first integral does not depend on
If we parameterize
By the Fundamental Theorem of Calculus (part 1),
A similar argument using a vertical line segment rather than a horizontal line segment shows that
Therefore
We have spent a lot of time discussing and proving Note and Note, but we can summarize them simply: a vector field
Example
Use path independence to show that vector field
Solution
We can indicate that
Let
and
Since
Exercise
Show that
- Hint
-
Calculate the corresponding line integrals.
- Answer
-
If
and represent the two curves, then
Conservative Vector Fields and Potential Functions
As we have learned, the Fundamental Theorem for Line Integrals says that if
Example
Find a potential function for
Solution
Suppose that
Integrating the equation
Notice that since we are integrating a two-variable function with respect to
Since
and therefore
This implies that
To verify that
Exercise
Find a potential function for
- Hint
-
Follow the steps in Example
. - Answer
-
The logic of the previous example extends to finding the potential function for any conservative vector field in
PROBLEM-SOLVING STRATEGY: FINDING A POTENTIAL FUNCTION FOR A CONSERVATIVE VECTOR FIELD
- Integrate
with respect to . This results in a function of the form , where is unknown. - Take the partial derivative of
with respect to , which results in the function . - Use the equation
to find . - Integrate
to find . - Any function of the form
, where is a constant, is a potential function for .
We can adapt this strategy to find potential functions for vector fields in
Example
Find a potential function for
Solution
Suppose that
Since
Therefore,
Integrating this function with respect to
for some function
To find
This implies that
To verify that
Exercise
Find a potential function for
- Hint
-
Following Example
, begin by integrating with respect to . - Answer
-
We can apply the process of finding a potential function to a gravitational force. Recall that, if an object has unit mass and is located at the origin, then the gravitational force in
where
Example
Find a potential function
Solution
Suppose that
To integrate this function with respect to
for some function
Since
Since
Therefore,
which implies that
is a potential function for the gravitational field
Exercise
Find a potential function
- Hint
-
Follow the Problem-Solving Strategy.
- Answer
-
Testing a Vector Field
Until now, we have worked with vector fields that we know are conservative, but if we are not told that a vector field is conservative, we need to be able to test whether it is conservative. Recall that, if
Theorem: THE CROSS-PARTIAL TEST FOR CONSERVATIVE FIELDS
If
Although a proof of this theorem is beyond the scope of the text, we can discover its power with some examples. Later, we see why it is necessary for the region to be simply connected.
Combining this theorem with the cross-partial property, we can determine whether a given vector field is conservative:
Theorem: CROSS-PARTIAL PROPERTY OF CONSERVATIVE FIELDS
Let
The version of this theorem in
Example
Determine whether vector field
Solution
Note that the domain of
and
Since
Example
Determine vector field
Solution
Note that the domain of
Then
Exercise
Determine whether
- Hint
-
Use The Cross-Partial Property of Conservative Vector Fields.
- Answer
-
It is conservative.
When using The Cross-Partial Property of Conservative Vector Fields, it is important to remember that a theorem is a tool, and like any tool, it can be applied only under the right conditions. In the case of The Cross-Partial Property of Conservative Vector Fields, the theorem can be applied only if the domain of the vector field is simply connected.
To see what can go wrong when misapplying the theorem, consider the vector field from Example
This vector field satisfies the cross-partial property, since
and
Since
be a parameterization of the upper half of a unit circle oriented counterclockwise (denote this
be a parameterization of the lower half of a unit circle oriented clockwise (denote this
and
Therefore,
and
Thus,
To summarize:
We close this section by looking at an example of the usefulness of the Fundamental Theorem for Line Integrals. Now that we can test whether a vector field is conservative, we can always decide whether the Fundamental Theorem for Line Integrals can be used to calculate a vector line integral. If we are asked to calculate an integral of the form
Example
Calculate line integral
Solution
Before trying to compute the integral, we need to determine whether
so that
Therefore,
To evaluate
Now that we have a potential function, we can use the Fundamental Theorem for Line Integrals to evaluate the integral. By the theorem,
Analysis
Notice that if we hadn’t recognized that
Exercise
Calculate integral
- Hint
-
Use the Fundamental Theorem for Line Integrals.
- Answer
-
Example
Let
Solution
We show that
To show that
If
Let
Since
Analysis
Notice that this problem would be much more difficult without using the Fundamental Theorem for Line Integrals. To apply the tools we have learned, we would need to give a curve parameterization and use [link]. Since the path of motion
Exercise
Let
- Hint
-
Use the Fundamental Theorem for Line Integrals.
- Answer
-
Negative
Key Concepts
- The theorems in this section require curves that are closed, simple, or both, and regions that are connected or simply connected.
- The line integral of a conservative vector field can be calculated using the Fundamental Theorem for Line Integrals. This theorem is a generalization of the Fundamental Theorem of Calculus in higher dimensions. Using this theorem usually makes the calculation of the line integral easier.
- Conservative fields are independent of path. The line integral of a conservative field depends only on the value of the potential function at the endpoints of the domain curve.
- Given vector field
, we can test whether is conservative by using the cross-partial property. If has the cross-partial property and the domain is simply connected, then is conservative (and thus has a potential function). If is conservative, we can find a potential function by using the Problem-Solving Strategy. - The circulation of a conservative vector field on a simply connected domain over a closed curve is zero.
Key Equations
- Fundamental Theorem for Line Integrals
- Circulation of a conservative field over curve C that encloses a simply connected region
Glossary
- closed curve
- a curve that begins and ends at the same point
- connected region
- a region in which any two points can be connected by a path with a trace contained entirely inside the region
- Fundamental Theorem for Line Integrals
- the value of line integral
depends only on the value of at the endpoints of
- independence of path
- a vector field
has path independence if for any curves and in the domain of with the same initial points and terminal points
- simple curve
- a curve that does not cross itself
- simply connected region
- a region that is connected and has the property that any closed curve that lies entirely inside the region encompasses points that are entirely inside the region
Contributors and Attributions
Gilbert Strang (MIT) and Edwin “Jed” Herman (Harvey Mudd) with many contributing authors. This content by OpenStax is licensed with a CC-BY-SA-NC 4.0 license. Download for free at http://cnx.org.


