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 [latex]f[/latex] is a (scalar) function of [latex]x[/latex] and [latex]y[/latex], then the gradient of [latex]f[/latex] is
[latex]\large{\text{grad}f=\nabla{f}=f_x(x,y){\bf{i}}+f_y(x,y){\bf{j}}}[/latex].
We can see from the form in which the gradient is written that [latex]\nabla{f}[/latex]. is a vector field in [latex]\mathbb{R}^2[/latex]. Similarly, if [latex]f[/latex] is a function of [latex]x[/latex], [latex]y[/latex], and [latex]z[/latex], then the gradient of [latex]f[/latex] is
[latex]\large{\text{grad}f=\nabla{f}=f_x(x,y,z){\bf{i}}+f_y(x,y,z){\bf{j}}+f_z(x,y,z){\bf{k}}}[/latex].
The gradient of a three-variable function is a vector field in [latex]\mathbb{R}^3[/latex].
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 [latex]\bf{F}[/latex] in [latex]\mathbb{R}^2[/latex] or in [latex]\mathbb{R}^3[/latex] is a gradient field if there exists a scalar function [latex]f[/latex] such that [latex]\nabla{f}={\bf{F}}[/latex].
Example: sketching a gradient vector field
Use technology to plot the gradient vector field of [latex]f(x, y)=x^{2}y^{2}[/latex].
try it
Use technology to plot the gradient vector field of [latex]f(x,y)=\sin{x}\cos{y}[/latex].
Consider the function [latex]f(x, y)=x^{2}y^{2}[/latex] 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.
As we learned earlier, a vector field [latex]{\bf{F}}[/latex] is a conservative vector field, or a gradient field if there exists a scalar function [latex]f[/latex] such that [latex]\nabla{f}={\bf{F}}[/latex]. In this situation, [latex]f[/latex] is called a potential function for [latex]{\bf{F}}[/latex]. 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 [latex]f[/latex] for [latex]{\bf{F}}[/latex] is defined instead as a function such that [latex]-\nabla{f}={\bf{F}}[/latex]. This is the case for certain contexts in physics, for example.
Example: verifying a potential function
Is [latex]f(x,y,z)=x^2yz-\sin{(xy)}[/latex] a potential function for vector field [latex]{\bf{F}}(x,y,z)=\langle2xyz-y\cos{(xy)},x^2z-x\cos{(xy)},x^2y\rangle[/latex]?
try it
Is [latex]f(x,y,z)=x^2\cos{(yz)}+y^2z^2[/latex] a potential function for [latex]{\bf{F}}(x,y,z)=\langle2x\cos{(yz)},-x^2z\sin{(yz)}+2yz^2,y^2\rangle[/latex]?
Example: verifying a potential function
The velocity of a fluid is modeled by field [latex]{\bf{v}}(x,y)=\langle{x}y,\frac{x^2}2-y\rangle[/latex]. Verify that [latex]f(x,y)=\frac{x^2y}2-\frac{y^2}2[/latex] is a potential function for [latex]\bf{v}[/latex].
try it
Verify that [latex]f(x, y)=x^{2}y^{2}+x[/latex] is a potential function for velocity field [latex]{\bf{v}}(x,y)=\langle2xy^2+1,2x^2y\rangle[/latex].
Watch the following video to see the worked solution to the above Try It
If [latex]\bf{F}[/latex] is a conservative vector field, then there is at least one potential function [latex]f[/latex] such that [latex]\nabla{f}=\bf{F}[/latex]. 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 [latex]k(x)[/latex] is an integrable function, then [latex]k[/latex] has infinitely many antiderivatives. Furthermore, if [latex]F[/latex] and [latex]G[/latex] are both antiderivatives of [latex]k[/latex], then [latex]F[/latex] and [latex]G[/latex] differ only by a constant. That is, there is some number [latex]C[/latex] such that [latex]F(x)=G(x)+C[/latex].
Now let [latex]\bf{F}[/latex] be a conservative vector field and let [latex]f[/latex] and [latex]g[/latex] be potential functions for [latex]\bf{F}[/latex]. Since the gradient is like a derivative, [latex]\bf{F}[/latex] being conservative means that [latex]\bf{F}[/latex] is “integrable” with “antiderivatives” [latex]f[/latex] and [latex]g[/latex]. Therefore, if the analogy with single-variable calculus is valid, we expect there is some constant [latex]C[/latex] such that [latex]f(x)=g(x)+C[/latex]. 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 [latex]P_1[/latex] and [latex]P_2[/latex] are any two points in the domain, then you can walk from [latex]P_1[/latex] to [latex]P_2[/latex] along a path that stays entirely inside the domain.
theorem: uniqueness of potential functions
Let [latex]\bf{F}[/latex] be a conservative vector field on an open and connected domain and let [latex]f[/latex] and [latex]g[/latex] be functions such that [latex]\nabla{f}=\bf{F}[/latex] and [latex]\nabla{g}=\bf{F}[/latex]. Then, there is a constant [latex]C[/latex] such that [latex]f=g+C[/latex].
Proof
Since [latex]f[/latex] and [latex]g[/latex] are both potential functions for [latex]\bf{F}[/latex], then [latex]\nabla{(f-g)}=\nabla{f}-\nabla{g}={\bf{F}}-{\bf{F}}=0[/latex]. Let [latex]h=f-g[/latex] then we have [latex]\nabla{h}=0[/latex]. We would like to show that [latex]h[/latex] is a constant function.
Assume [latex]h[/latex] is a function of [latex]x[/latex] and [latex]y[/latex] (the logic of this proof extends to any number of independent variables). Since [latex]\nabla{h}=0[/latex], we have [latex]h_x=0[/latex] and [latex]h_y=0[/latex]. The expression [latex]h_x=0[/latex] implies that [latex]h[/latex] is a constant function with respect to [latex]x[/latex]—that is, [latex]h(x, y)=k_1(y)[/latex] for some function [latex]k_1[/latex]. Similarly, [latex]h_y=0[/latex] implies [latex]h(x, y)=k_2(x)[/latex] for some function [latex]k_2[/latex]. Therefore, function [latex]h[/latex] depends only on [latex]y[/latex] and also depends only on [latex]x[/latex]. Thus, [latex]h(x, y)=C[/latex] for some constant [latex]C[/latex] on the connected domain of [latex]\bf{F}[/latex]. Note that we really do need connectedness at this point; if the domain of [latex]\bf{F}[/latex] came in two separate pieces, then [latex]k[/latex] could be a constant [latex]C_1[/latex] on one piece but could be a different constant [latex]C_2[/latex] on the other piece. Since [latex]f-g=h=C[/latex], we have that [latex]f=g+C[/latex], as desired.
[latex]_\blacksquare[/latex]
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 [latex]\bf{F}[/latex] have continuous second-order mixed-partial derivatives on the domain of [latex]\bf{F}[/latex].
If [latex]{\bf{F}}(x,y)=\langle{P}(x,y),Q(x,y)\rangle[/latex] is a conservative vector field in [latex]\mathbb{R}^2[/latex], then [latex]\frac{\partial{P}}{\partial{y}}=\frac{\partial{Q}}{\partial{x}}[/latex]. If [latex]{\bf{F}}(x,y,z)=\langle{P}(x,y,z),Q(x,y,z),R(x,y,z)\rangle[/latex] is a conservative vector field in [latex]\mathbb{R}^3[/latex], then
[latex]\large{\frac{\partial{P}}{\partial{y}}=\frac{\partial{Q}}{\partial{x}},\frac{\partial{Q}}{\partial{z}}=\frac{\partial{R}}{\partial{y}},\text{ and }\frac{\partial{R}}{\partial{x}}=\frac{\partial{P}}{\partial{z}}}[/latex].
Proof
Since [latex]\bf{F}[/latex] is conservative, there is a function [latex]f(x, y)[/latex] such that [latex]\nabla{f}=\bf{F}[/latex]. Therefore, by the definition of the gradient, [latex]f_x=P[/latex] and [latex]f_y=Q[/latex]. By Clairaut’s theorem, [latex]f_{xy}=f_{yx}[/latex], but, [latex]f_{xy}=P_y[/latex] and [latex]f_{yx}=Q_x[/latex], and thus [latex]P_y=Q_x[/latex].
[latex]_\blacksquare[/latex]
Clairaut’s theorem gives a fast proof of the cross-partial property of conservative vector fields in [latex]\mathbb{R}^3[/latex], just as it did for vector fields in [latex]\mathbb{R}^2[/latex].
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 [latex]{\bf{F}}(x,y)=\langle{y},-x\rangle[/latex] is not conservative.
try it
Show that vector field [latex]{\bf{F}}(x,y)x=y{\bf{i}}-x^2y{\bf{j}}[/latex] is not conservative.
Example: showing a vector field is not conservative
Is vector field [latex]{\bf{F}}(x,y,z)=\langle7,-2,x^3\rangle[/latex] conservative?
try it
Is vector field [latex]{\bf{G}}(x,y,z)=\langle{y},x,xyz\rangle[/latex] conservative?
We conclude this section with a word of warning: The Cross-Partial Property of Conservative Vector Fields Theorem says that if [latex]\bf{F}[/latex] is conservative, then [latex]\bf{F}[/latex] has the cross-partial property. The theorem does not say that, if [latex]\bf{F}[/latex] has the cross-partial property, then [latex]\bf{F}[/latex] 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 [latex]{\bf{F}}(x,y)=\langle{x}^2y,\frac{x^3}3\rangle[/latex]. 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 [latex]\bf{F}[/latex] 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