Learning Objectives
- Identify a conservative field and its associated potential function.
Gradient Fields
In this section, we study a special kind of vector field called a gradient field or a conservative field. These vector fields are extremely important in physics because they can be used to model physical systems in which energy is conserved. Gravitational fields and electric fields associated with a static charge are examples of gradient fields.
Recall that if is a (scalar) function of and , then the gradient of is
.
We can see from the form in which the gradient is written that . is a vector field in . Similarly, if is a function of , , and , then the gradient of is
.
The gradient of a three-variable function is a vector field in .
A gradient field is a vector field that can be written as the gradient of a function, and we have the following definition.
Definition
A vector field in or in is a gradient field if there exists a scalar function such that .
Example: sketching a gradient vector field
Use technology to plot the gradient vector field of .
try it
Use technology to plot the gradient vector field of .
Consider the function from Example “Sketching a Gradient Vector Field”. Figure 4 shows the level curves of this function overlaid on the function’s gradient vector field. The gradient vectors are perpendicular to the level curves, and the magnitudes of the vectors get larger as the level curves get closer together, because closely grouped level curves indicate the graph is steep, and the magnitude of the gradient vector is the largest value of the directional derivative. Therefore, you can see the local steepness of a graph by investigating the corresponding function’s gradient field.

Figure 3. The gradient field of and several level curves of . Notice that as the level curves get closer together, the magnitude of the gradient vectors increases.
As we learned earlier, a vector field is a conservative vector field, or a gradient field if there exists a scalar function such that . In this situation, is called a potential function for . Conservative vector fields arise in many applications, particularly in physics. The reason such fields are called conservative is that they model forces of physical systems in which energy is conserved. We study conservative vector fields in more detail later in this chapter.
You might notice that, in some applications, a potential function for is defined instead as a function such that . This is the case for certain contexts in physics, for example.
Example: verifying a potential function
Is a potential function for vector field ?
try it
Is a potential function for ?
Example: verifying a potential function
The velocity of a fluid is modeled by field . Verify that is a potential function for .
try it
Verify that is a potential function for velocity field .
Watch the following video to see the worked solution to the above Try It
If is a conservative vector field, then there is at least one potential function such that . But, could there be more than one potential function? If so, is there any relationship between two potential functions for the same vector field? Before answering these questions, let’s recall some facts from single-variable calculus to guide our intuition. Recall that if is an integrable function, then has infinitely many antiderivatives. Furthermore, if and are both antiderivatives of , then and differ only by a constant. That is, there is some number such that .
Now let be a conservative vector field and let and be potential functions for . Since the gradient is like a derivative, being conservative means that is “integrable” with “antiderivatives” and . Therefore, if the analogy with single-variable calculus is valid, we expect there is some constant such that . The next theorem says that this is indeed the case.
To state the next theorem with precision, we need to assume the domain of the vector field is connected and open. To be connected means if and are any two points in the domain, then you can walk from to along a path that stays entirely inside the domain.
theorem: uniqueness of potential functions
Let be a conservative vector field on an open and connected domain and let and be functions such that and . Then, there is a constant such that .
Proof
Since and are both potential functions for , then . Let then we have . We would like to show that is a constant function.
Assume is a function of and (the logic of this proof extends to any number of independent variables). Since , we have and . The expression implies that is a constant function with respect to —that is, for some function . Similarly, implies for some function . Therefore, function depends only on and also depends only on . Thus, for some constant on the connected domain of . Note that we really do need connectedness at this point; if the domain of came in two separate pieces, then could be a constant on one piece but could be a different constant on the other piece. Since , we have that , as desired.
Conservative vector fields also have a special property called the cross-partial property. This property helps test whether a given vector field is conservative.
theorem: the cross-partial property of conservative vector fields
Let F be a vector field in two or three dimensions such that the component functions of have continuous second-order mixed-partial derivatives on the domain of .
If is a conservative vector field in , then . If is a conservative vector field in , then
.
Proof
Since is conservative, there is a function such that . Therefore, by the definition of the gradient, and . By Clairaut’s theorem, , but, and , and thus .
Clairaut’s theorem gives a fast proof of the cross-partial property of conservative vector fields in , just as it did for vector fields in .
The Cross-Partial Property of Conservative Vector Fields Theorem shows that most vector fields are not conservative. The cross-partial property is difficult to satisfy in general, so most vector fields won’t have equal cross-partials.
Example: showing a vector field is not conservative
Show that rotational vector field is not conservative.
try it
Show that vector field is not conservative.
Example: showing a vector field is not conservative
Is vector field conservative?
try it
Is vector field conservative?
We conclude this section with a word of warning: The Cross-Partial Property of Conservative Vector Fields Theorem says that if is conservative, then has the cross-partial property. The theorem does not say that, if has the cross-partial property, then is conservative (the converse of an implication is not logically equivalent to the original implication). In other words, The Cross-Partial Property of Conservative Vector Fields Theorem can only help determine that a field is not conservative; it does not let you conclude that a vector field is conservative. For example, consider vector field . This field has the cross-partial property, so it is natural to try to use The Cross-Partial Property of Conservative Vector Fields Theorem to conclude this vector field is conservative. However, this is a misapplication of the theorem. We learn later how to conclude that is conservative.
Candela Citations
- CP 6.10. Authored by: Ryan Melton. License: CC BY: Attribution
- Calculus Volume 3. Authored by: Gilbert Strang, Edwin (Jed) Herman. Provided by: OpenStax. Located at: https://openstax.org/books/calculus-volume-3/pages/1-introduction. License: CC BY-NC-SA: Attribution-NonCommercial-ShareAlike. License Terms: Access for free at https://openstax.org/books/calculus-volume-3/pages/1-introduction