### Learning Objectives

- 6.1.1 Recognize a vector field in a plane or in space.
- 6.1.2 Sketch a vector field from a given equation.
- 6.1.3 Identify a conservative field and its associated potential function.

Vector fields are an important tool for describing many physical concepts, such as gravitation and electromagnetism, which affect the behavior of objects over a large region of a plane or of space. They are also useful for dealing with large-scale behavior such as atmospheric storms or deep-sea ocean currents. In this section, we examine the basic definitions and graphs of vector fields so we can study them in more detail in the rest of this chapter.

### Examples of Vector Fields

How can we model the gravitational force exerted by multiple astronomical objects? How can we model the velocity of water particles on the surface of a river? Figure 6.2 gives visual representations of such phenomena.

Figure 6.2(a) shows a gravitational field exerted by two astronomical objects, such as a star and a planet or a planet and a moon. At any point in the figure, the vector associated with a point gives the net gravitational force exerted by the two objects on an object of unit mass. The vectors of largest magnitude in the figure are the vectors closest to the larger object. The larger object has greater mass, so it exerts a gravitational force of greater magnitude than the smaller object.

Figure 6.2(b) shows the velocity of a river at points on its surface. The vector associated with a given point on the river’s surface gives the velocity of the water at that point. Since the vectors to the left of the figure are small in magnitude, the water is flowing slowly on that part of the surface. As the water moves from left to right, it encounters some rapids around a rock. The speed of the water increases, and a whirlpool occurs in part of the rapids.

Each figure illustrates an example of a vector field. Intuitively, a vector field is a map of vectors. In this section, we study vector fields in ${\mathbb{R}}^{2}$ and ${\mathbb{R}}^{3}.$

### Definition

A vector field $\text{F}$ in ${\mathbb{R}}^{2}$ is an assignment of a two-dimensional vector $\text{F}\left(x,y\right)$ to each point $\left(x,y\right)$ of a subset *D* of ${\mathbb{R}}^{2}.$ The subset *D* is the domain of the vector field.

A vector field **F** in ${\mathbb{R}}^{3}$ is an assignment of a three-dimensional vector $\text{F}\left(x,y,z\right)$ to each point $\left(x,y,z\right)$ of a subset *D* of ${\mathbb{R}}^{3}.$ The subset *D* is the domain of the vector field.

#### Vector Fields in ${\mathbb{R}}^{2}$

A vector field in ${\mathbb{R}}^{2}$ can be represented in either of two equivalent ways. The first way is to use a vector with components that are two-variable functions:

The second way is to use the standard unit vectors:

A vector field is said to be *continuous* if its component functions are continuous.

### Example 6.1

#### Finding a Vector Associated with a Given Point

Let $\text{F}(x,y)=(2{y}^{2}+x-4)\text{i}+\text{cos}(x)\text{j}$ be a vector field in ${\mathbb{R}}^{2}.$ Note that this is an example of a continuous vector field since both component functions are continuous. What vector is associated with point $\left(0,\mathrm{-1}\right)?$

#### Solution

Substitute the point values for *x* and *y*:

### Checkpoint 6.1

Let $\text{G}\left(x,y\right)={x}^{2}y\text{i}-\left(x+y\right)\text{j}$ be a vector field in ${\mathbb{R}}^{2}.$ What vector is associated with the point $\left(\mathrm{-2},3\right)?$

### Drawing a Vector Field

We can now represent a vector field in terms of its components of functions or unit vectors, but representing it visually by sketching it is more complex because the domain of a vector field is in ${\mathbb{R}}^{2},$ as is the range. Therefore the “graph” of a vector field in ${\mathbb{R}}^{2}$ lives in four-dimensional space. Since we cannot represent four-dimensional space visually, we instead draw vector fields in ${\mathbb{R}}^{2}$ in a plane itself. To do this, draw the vector associated with a given point at the point in a plane. For example, suppose the vector associated with point $\left(4,\mathrm{-1}\right)$ is $\langle 3,1\rangle .$ Then, we would draw vector $\langle 3,1\rangle $ at point $\left(4,\mathrm{-1}\right).$

We should plot enough vectors to see the general shape, but not so many that the sketch becomes a jumbled mess. If we were to plot the image vector at each point in the region, it would fill the region completely and is useless. Instead, we can choose points at the intersections of grid lines and plot a sample of several vectors from each quadrant of a rectangular coordinate system in ${\mathbb{R}}^{2}.$

There are two types of vector fields in ${\mathbb{R}}^{2}$ on which this chapter focuses: radial fields and rotational fields. Radial fields model certain gravitational fields and energy source fields, and rotational fields model the movement of a fluid in a vortex. In a radial field, all vectors either point directly toward or directly away from the origin. Furthermore, the magnitude of any vector depends only on its distance from the origin. In a radial field, the vector located at point $\left(x,y\right)$ is perpendicular to the circle centered at the origin that contains point $\left(x,y\right),$ and all other vectors on this circle have the same magnitude.

### Example 6.2

#### Drawing a Radial Vector Field

Sketch the vector field $\text{F}(x,y)=\frac{x}{2}\phantom{\rule{0.1em}{0ex}}\text{i}+\frac{y}{2}\phantom{\rule{0.1em}{0ex}}\text{j}.$

#### Solution

To sketch this vector field, choose a sample of points from each quadrant and compute the corresponding vector. The following table gives a representative sample of points in a plane and the corresponding vectors.

$\left(x,y\right)$ | $\text{F}\left(x,y\right)$ | $\left(x,y\right)$ | $\text{F}\left(x,y\right)$ | $\left(x,y\right)$ | $\text{F}\left(x,y\right)$ |

$\left(1,0\right)$ | $\langle \frac{1}{2},0\rangle $ | $\left(2,0\right)$ | $\langle 1,0\rangle $ | $\left(1,1\right)$ | $\langle \frac{1}{2},\frac{1}{2}\rangle $ |

$\left(0,1\right)$ | $\langle 0,\frac{1}{2}\rangle $ | $\left(0,2\right)$ | $\langle 0,1\rangle $ | $\left(\mathrm{-1},1\right)$ | $\langle -\frac{1}{2},\frac{1}{2}\rangle $ |

$\left(\mathrm{-1},0\right)$ | $\langle -\frac{1}{2},0\rangle $ | $\left(\mathrm{-2},0\right)$ | $\langle \mathrm{-1},0\rangle $ | $\left(\mathrm{-1},\mathrm{-1}\right)$ | $\langle -\frac{1}{2},-\frac{1}{2}\rangle $ |

$\left(0,\mathrm{-1}\right)$ | $\langle 0,-\frac{1}{2}\rangle $ | $\left(0,\mathrm{-2}\right)$ | $\langle 0,\mathrm{-1}\rangle $ | $\left(1,\mathrm{-1}\right)$ | $\langle \frac{1}{2},-\frac{1}{2}\rangle $ |

Figure 6.3(a) shows the vector field. To see that each vector is perpendicular to the corresponding circle, Figure 6.3(b) shows circles overlain on the vector field.

### Checkpoint 6.2

Draw the radial field $\text{F}(x,y)=-\frac{x}{3}\phantom{\rule{0.1em}{0ex}}\text{i}-\frac{y}{3}\phantom{\rule{0.1em}{0ex}}\text{j}.$

In contrast to radial fields, in a rotational field, the vector at point $\left(x,y\right)$ is tangent (not perpendicular) to a circle with radius $r=\sqrt{{x}^{2}+{y}^{2}}.$ In a standard rotational field, all vectors point either in a clockwise direction or in a counterclockwise direction, and the magnitude of a vector depends only on its distance from the origin. Both of the following examples are clockwise rotational fields, and we see from their visual representations that the vectors appear to rotate around the origin.

### Example 6.3

#### Chapter Opener: Drawing a Rotational Vector Field

Sketch the vector field $\text{F}\left(x,y\right)=\langle y,\text{\u2212}x\rangle .$

#### Solution

Create a table (see the one that follows) using a representative sample of points in a plane and their corresponding vectors. Figure 6.6 shows the resulting vector field.

$\left(x,y\right)$ | $\text{F}\left(x,y\right)$ | $\left(x,y\right)$ | $\text{F}\left(x,y\right)$ | $\left(x,y\right)$ | $\text{F}\left(x,y\right)$ |

$\left(1,0\right)$ | $\langle 0,\mathrm{-1}\rangle $ | $\left(2,0\right)$ | $\langle 0,\mathrm{-2}\rangle $ | $\left(1,1\right)$ | $\langle 1,\mathrm{-1}\rangle $ |

$\left(0,1\right)$ | $\langle 1,0\rangle $ | $\left(0,2\right)$ | $\langle 2,0\rangle $ | $\left(\mathrm{-1},1\right)$ | $\langle 1,1\rangle $ |

$\left(\mathrm{-1},0\right)$ | $\langle 0,1\rangle $ | $\left(\mathrm{-2},0\right)$ | $\langle 0,2\rangle $ | $\left(\mathrm{-1},\mathrm{-1}\right)$ | $\langle \mathrm{-1},1\rangle $ |

$\left(0,\mathrm{-1}\right)$ | $\langle \mathrm{-1},0\rangle $ | $\left(0,\mathrm{-2}\right)$ | $\langle \mathrm{-2},0\rangle $ | $\left(1,\mathrm{-1}\right)$ | $\langle \mathrm{-1},\mathrm{-1}\rangle $ |

#### Analysis

Note that vector $\text{F}\left(a,b\right)=\langle b,\text{\u2212}a\rangle $ points clockwise and is perpendicular to radial vector $\langle a,b\rangle .$ (We can verify this assertion by computing the dot product of the two vectors: $\langle a,b\rangle \xb7\langle \text{\u2212}b,a\rangle =\text{\u2212}ab+ab=0.)$ Furthermore, vector $\langle b,\text{\u2212}a\rangle $ has length $r=\sqrt{{a}^{2}+{b}^{2}}.$ Thus, we have a complete description of this rotational vector field: the vector associated with point $\left(a,b\right)$ is the vector with length *r* tangent to the circle with radius *r*, and it points in the clockwise direction.

Sketches such as that in Figure 6.6 are often used to analyze major storm systems, including hurricanes and cyclones. In the northern hemisphere, storms rotate counterclockwise; in the southern hemisphere, storms rotate clockwise. (This is an effect caused by Earth’s rotation about its axis and is called the Coriolis Effect.)

### Example 6.4

#### Sketching a Vector Field

Sketch vector field $\text{F}(x,y)=\frac{y}{{x}^{2}+{y}^{2}}\phantom{\rule{0.1em}{0ex}}\text{i}-\frac{x}{{x}^{2}+{y}^{2}}\phantom{\rule{0.1em}{0ex}}\text{j}.$

#### Solution

To visualize this vector field, first note that the dot product $\text{F}(a,b)\xb7(a\text{i}+b\text{j})$ is zero for any point $\left(a,b\right).$ Therefore, each vector is tangent to the circle on which it is located. Also, as $\left(a,b\right)\to \left(0,0\right),$ the magnitude of $\text{F}\left(a,b\right)$ goes to infinity. To see this, note that

Since $\frac{1}{{a}^{2}+{b}^{2}}\to \infty $ as $\left(a,b\right)\to \left(0,0\right),$ then $\left|\left|\text{F}\left(a,b\right)\right|\right|\to \infty $ as $\left(a,b\right)\to \left(0,0\right).$ This vector field looks similar to the vector field in Example 6.3, but in this case the magnitudes of the vectors close to the origin are large. The table below shows a sample of points and the corresponding vectors, and Figure 6.6 shows the vector field. Note that this vector field models the whirlpool motion of the river in Figure 6.2(b). The domain of this vector field is all of ${\mathbb{R}}^{2}$ except for point $\left(0,0\right).$

$\left(x,y\right)$ | $\text{F}\left(x,y\right)$ | $\left(x,y\right)$ | $\text{F}\left(x,y\right)$ | $\left(x,y\right)$ | $\text{F}\left(x,y\right)$ |

$\left(1,0\right)$ | $\langle 0,\mathrm{-1}\rangle $ | $\left(2,0\right)$ | $\langle 0,-\frac{1}{2}\rangle $ | $\left(1,1\right)$ | $\langle \frac{1}{2},-\frac{1}{2}\rangle $ |

$\left(0,1\right)$ | $\langle 1,0\rangle $ | $\left(0,2\right)$ | $\langle \frac{1}{2},0\rangle $ | $\left(\mathrm{-1},1\right)$ | $\langle \frac{1}{2},\frac{1}{2}\rangle $ |

$\left(\mathrm{-1},0\right)$ | $\langle 0,1\rangle $ | $\left(\mathrm{-2},0\right)$ | $\langle 0,\frac{1}{2}\rangle $ | $\left(\mathrm{-1},\mathrm{-1}\right)$ | $\langle -\frac{1}{2},\frac{1}{2}\rangle $ |

$\left(0,\mathrm{-1}\right)$ | $\langle \mathrm{-1},0\rangle $ | $\left(0,\mathrm{-2}\right)$ | $\langle -\frac{1}{2},0\rangle $ | $\left(1,\mathrm{-1}\right)$ | $\langle -\frac{1}{2},-\frac{1}{2}\rangle $ |

### Checkpoint 6.3

Sketch vector field $\text{F}\left(x,y\right)=\langle \mathrm{-2}y,2x\rangle .$ Is the vector field radial, rotational, or neither?

### Example 6.5

#### Velocity Field of a Fluid

Suppose that $\text{v}\left(x,y\right)=-\frac{2y}{{x}^{2}+{y}^{2}}\phantom{\rule{0.1em}{0ex}}\text{i}+\frac{2x}{{x}^{2}+{y}^{2}}\phantom{\rule{0.1em}{0ex}}\text{j}$ is the velocity field of a fluid. How fast is the fluid moving at point $\left(1,\mathrm{-1}\right)?$ (Assume the units of speed are meters per second.)

#### Solution

To find the velocity of the fluid at point $\left(1,\mathrm{-1}\right),$ substitute the point into **v**:

The speed of the fluid at $\left(1,\mathrm{-1}\right)$ is the magnitude of this vector. Therefore, the speed is $\left|\right|\text{i}+\text{j}||=\sqrt{2}$ m/sec.

### Checkpoint 6.4

Vector field $v(x,y)=\langle 4\left|x\right|,1\rangle $ models the velocity of water on the surface of a river. What is the speed of the water at point $\left(2,3\right)?$ Use meters per second as the units.

We have examined vector fields that contain vectors of various magnitudes, but just as we have unit vectors, we can also have a unit vector field. A vector field **F** is a unit vector field if the magnitude of each vector in the field is 1. In a unit vector field, the only relevant information is the direction of each vector.

### Example 6.6

#### A Unit Vector Field

Show that vector field $\text{F}\left(x,y\right)=\langle \frac{y}{\sqrt{{x}^{2}+{y}^{2}}},-\frac{x}{\sqrt{{x}^{2}+{y}^{2}}}\rangle $ is a unit vector field.

#### Solution

To show that **F** is a unit field, we must show that the magnitude of each vector is 1. Note that

Therefore, **F** is a unit vector field.

### Checkpoint 6.5

Is vector field $\text{F}\left(x,y\right)=\langle \text{\u2212}y,x\rangle $ a unit vector field?

Why are unit vector fields important? Suppose we are studying the flow of a fluid, and we care only about the direction in which the fluid is flowing at a given point. In this case, the speed of the fluid (which is the magnitude of the corresponding velocity vector) is irrelevant, because all we care about is the direction of each vector. Therefore, the unit vector field associated with velocity is the field we would study.

If $\text{F}=\langle P,Q,R\rangle $ is a vector field, then the corresponding unit vector field is $\langle \frac{P}{\left|\left|\text{F}\right|\right|},\frac{Q}{\left|\left|\text{F}\right|\right|},\frac{R}{\left|\left|\text{F}\right|\right|}\rangle .$ Notice that if $\text{F}\left(x,y\right)=\langle y,\text{\u2212}x\rangle $ is the vector field from Example 6.3, then the magnitude of **F** is $\sqrt{{x}^{2}+{y}^{2}},$ and therefore the corresponding unit vector field is the field **G** from the previous example.

If **F** is a vector field, then the process of dividing **F** by its magnitude to form unit vector field $\text{F}\text{/}\left|\left|\text{F}\right|\right|$ is called *normalizing* the field **F**.

#### Vector Fields in ${\mathbb{R}}^{3}$

We have seen several examples of vector fields in ${\mathbb{R}}^{2};$ let’s now turn our attention to vector fields in ${\mathbb{R}}^{3}.$ These vector fields can be used to model gravitational or electromagnetic fields, and they can also be used to model fluid flow or heat flow in three dimensions. A two-dimensional vector field can really only model the movement of water on a two-dimensional slice of a river (such as the river’s surface). Since a river flows through three spatial dimensions, to model the flow of the entire depth of the river, we need a vector field in three dimensions.

The extra dimension of a three-dimensional field can make vector fields in ${\mathbb{R}}^{3}$ more difficult to visualize, but the idea is the same. To visualize a vector field in ${\mathbb{R}}^{3},$ plot enough vectors to show the overall shape. We can use a similar method to visualizing a vector field in ${\mathbb{R}}^{2}$ by choosing points in each octant.

Just as with vector fields in ${\mathbb{R}}^{2},$ we can represent vector fields in ${\mathbb{R}}^{3}$ with component functions. We simply need an extra component function for the extra dimension. We write either

or

### Example 6.7

#### Sketching a Vector Field in Three Dimensions

Describe vector field $\text{F}\left(x,y,z\right)=\langle 1,1,z\rangle .$

#### Solution

For this vector field, the *x* and *y* components are constant, so every point in ${\mathbb{R}}^{3}$ has an associated vector with *x* and *y* components equal to one. To visualize **F**, we first consider what the field looks like in the *xy*-plane. In the *xy*-plane, $z=0.$ Hence, each point of the form $\left(a,b,0\right)$ has vector $\langle 1,1,0\rangle $ associated with it. For points not in the *xy*-plane but slightly above it, the associated vector has a small but positive *z* component, and therefore the associated vector points slightly upward. For points that are far above the *xy*-plane, the *z* component is large, so the vector is almost vertical. Figure 6.7 shows this vector field.

### Checkpoint 6.6

Sketch vector field $\text{G}\left(x,y,z\right)=\langle 2,\frac{z}{2},1\rangle .$

In the next example, we explore one of the classic cases of a three-dimensional vector field: a gravitational field.

### Example 6.8

#### Describing a Gravitational Vector Field

Newton’s law of gravitation states that $\text{F}=\text{\u2212}G\phantom{\rule{0.1em}{0ex}}\frac{{m}_{1}{m}_{2}}{{r}^{2}}\widehat{r},$ where *G* is the universal gravitational constant. It describes the gravitational field exerted by an object (object 1) of mass ${m}_{1}$ located at the origin on another object (object 2) of mass ${m}_{2}$ located at point $\left(x,y,z\right).$ Field **F** denotes the gravitational force that object 1 exerts on object 2, *r* is the distance between the two objects, and $\widehat{r}$ indicates the unit vector from the first object to the second. The minus sign shows that the gravitational force attracts toward the origin; that is, the force of object 1 is attractive. Sketch the vector field associated with this equation.

#### Solution

Since object 1 is located at the origin, the distance between the objects is given by $r=\sqrt{{x}^{2}+{y}^{2}+{z}^{2}}.$ The unit vector from object 1 to object 2 is $\widehat{r}=\frac{\langle x,y,z\rangle}{\left|\left|\langle x,y,z\rangle \right|\right|},$ and hence $\widehat{r}=\langle \frac{x}{r},\frac{y}{r},\frac{z}{r}\rangle .$ Therefore, gravitational vector field **F** exerted by object 1 on object 2 is

This is an example of a radial vector field in ${\mathbb{R}}^{3}.$

Figure 6.8 shows what this gravitational field looks like for a large mass at the origin. Note that the magnitudes of the vectors increase as the vectors get closer to the origin.

### Checkpoint 6.7

The mass of asteroid 1 is 750,000 kg and the mass of asteroid 2 is 130,000 kg. Assume asteroid 1 is located at the origin, and asteroid 2 is located at $\left(15,\mathrm{-5},10\right),$ measured in units of 10 to the eighth power kilometers. Given that the universal gravitational constant is $G=6.67384\phantom{\rule{0.2em}{0ex}}\times \phantom{\rule{0.2em}{0ex}}{10}^{\mathrm{-11}}{\phantom{\rule{0.2em}{0ex}}\text{m}}^{3}{\text{kg}}^{\mathrm{-1}}{\text{s}}^{\mathrm{-2}},$ find the gravitational force vector that asteroid 1 exerts on asteroid 2.

### 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 $f$ is a (scalar) function of *x* and *y*, then the gradient of $f$ is

We can see from the form in which the gradient is written that $\text{\u2207}f$ is a vector field in ${\mathbb{R}}^{2}.$ Similarly, if $f$ is a function of *x*, *y*, and *z*, then the gradient of $f$ is

The gradient of a three-variable function is a vector field in ${\mathbb{R}}^{3}.$

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 $\text{F}$ in ${\mathbb{R}}^{2}$ or in ${\mathbb{R}}^{3}$ is a gradient field if there exists a scalar function $f$ such that $\text{\u2207}f=\text{F}.$

### Example 6.9

#### Sketching a Gradient Vector Field

Use technology to plot the gradient vector field of $f\left(x,y\right)={x}^{2}{y}^{2}.$

#### Solution

The gradient of $f$ is $\text{\u2207}f=\langle 2x{y}^{2},2{x}^{2}y\rangle .$ To sketch the vector field, use a computer algebra system such as Mathematica. Figure 6.9 shows $\text{\u2207}f.$

### Checkpoint 6.8

Use technology to plot the gradient vector field of $f\left(x,y\right)=\text{sin}\phantom{\rule{0.2em}{0ex}}x\phantom{\rule{0.2em}{0ex}}\text{cos}\phantom{\rule{0.2em}{0ex}}y.$

Consider the function $f\left(x,y\right)={x}^{2}{y}^{2}$ from Example 6.9. Figure 6.11 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 $\text{F}$ is a conservative vector field, or a gradient field if there exists a scalar function $f$ such that $\text{\u2207}f=\text{F}.$ In this situation, $f$ is called a potential function for $\text{F}.$ 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 $f$ for **F** is defined instead as a function such that $\text{\u2212}\text{\u2207}f=\text{F}.$ This is the case for certain contexts in physics, for example.

### Example 6.10

#### Verifying a Potential Function

Is $f\left(x,y,z\right)={x}^{2}yz-\text{sin}\left(xy\right)$ a potential function for vector field

#### Solution

We need to confirm whether $\text{\u2207}f=\text{F}.$ We have

Therefore, $\text{\u2207}f=\text{F}$ and $f$ is a potential function for $\text{F}.$

### Checkpoint 6.9

Is $f(x,y,z)={x}^{2}\text{cos}(yz)+{y}^{2}{z}^{2}$ a potential function for $\text{F}(x,y,z)=\langle 2x\phantom{\rule{0.2em}{0ex}}\text{cos}(yz),\text{\u2212}{x}^{2}z\phantom{\rule{0.2em}{0ex}}\text{sin}(yz)+2y{z}^{2},{y}^{2}\rangle ?$

### Example 6.11

#### Verifying a Potential Function

The velocity of a fluid is modeled by field $\text{v}\left(x,y\right)=\langle xy,\frac{{x}^{2}}{2}-y\rangle .$ Verify that $f\left(x,y\right)=\frac{{x}^{2}y}{2}-\frac{{y}^{2}}{2}$ is a potential function for **v**.

#### Solution

To show that $f$ is a potential function, we must show that $\text{\u2207}f=\text{v}.$ Note that ${f}_{x}=xy$ and ${f}_{y}=\frac{{x}^{2}}{2}-y.$ Therefore, $\text{\u2207}f=\langle xy,\frac{{x}^{2}}{2}-y\rangle $ and $f$ is a potential function for v (Figure 6.11).

### Checkpoint 6.10

Verify that $f\left(x,y\right)={x}^{3}{y}^{2}+x$ is a potential function for velocity field $\mathbf{\text{v}}(x,y)=\u27e82x{y}^{2}+1,2{x}^{2}y\u27e9.$

If **F** is a conservative vector field, then there is at least one potential function $f$ such that $\text{\u2207}f=\text{F}.$ 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 $k\left(x\right)$ is an integrable function, then *k* has infinitely many antiderivatives. Furthermore, if *F* and *G* are both antiderivatives of *k*, then *F* and *G* differ only by a constant. That is, there is some number *C* such that $F\left(x\right)=G\left(x\right)+C.$

Now let $\mathbf{F}$ be a conservative vector field and let $f$ and *g* be potential functions for $\mathbf{F}$. Since the gradient is like a derivative, $\mathbf{F}$ being conservative means that $\mathbf{F}$ is “integrable” with “antiderivatives” $f$ and *g*. Therefore, if the analogy with single-variable calculus is valid, we expect there is some constant *C* such that $f\left(x\right)=g\left(x\right)+C.$ 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 ${P}_{1}$ and ${P}_{2}$ are any two points in the domain, then you can walk from ${P}_{1}$ to ${P}_{2}$ along a path that stays entirely inside the domain.

### Theorem 6.1

#### Uniqueness of Potential Functions

Let **F** be a conservative vector field on an open and connected domain and let $f$ and *g* be functions such that $\text{\u2207}f=\text{F}$ and $\text{\u2207}g=\text{F}.$ Then, there is a constant *C* such that $f=g+C.$

#### Proof

Since $f$ and *g* are both potential functions for **F**, then $\text{\u2207}\left(f-g\right)=\text{\u2207}f-\text{\u2207}g=\text{F}-\text{F}=0.$ Let $h=f-g,$ then we have $\text{\u2207}h=0.$ We would like to show that *h* is a constant function.

Assume *h* is a function of *x* and *y* (the logic of this proof extends to any number of independent variables). Since $\text{\u2207}h=0,$ we have ${h}_{x}=0$ and ${h}_{y}=0.$ The expression ${h}_{x}=0$ implies that *h* is a constant function with respect to *x—*that is, $h\left(x,y\right)={k}_{1}\left(y\right)$ for some function *k _{1}*. Similarly, ${h}_{y}=0$ implies $h\left(x,y\right)={k}_{2}\left(x\right)$ for some function

*k*. Therefore, function

_{2}*h*depends only on

*y*and also depends only on

*x*. Thus, $h\left(x,y\right)=C$ for some constant

*C*on the connected domain of

**F**. Note that we really do need connectedness at this point; if the domain of

**F**came in two separate pieces, then

*k*could be a constant

*C*on one piece but could be a different constant

_{1}*C*on the other piece. Since $f-g=h=C,$ we have that $f=g+C,$ as desired.

_{2}□

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 6.2

#### 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 **F** have continuous second-order mixed-partial derivatives on the domain of **F**.

If $\text{F}(x,y)=\langle P(x,y),Q(x,y)\rangle $ is a conservative vector field in ${\mathbb{R}}^{2},$ then $\frac{\partial P}{\partial y}=\frac{\partial Q}{\partial x}.$ If $\text{F}\left(x,y,z\right)=\langle P\left(x,y,z\right),Q\left(x,y,z\right),R\left(x,y,z\right)\rangle $ is a conservative vector field in ${\mathbb{R}}^{3},$ then

#### Proof

Since **F** is conservative, there is a function $f(x,y)$ such that $\text{\u2207}f=\text{F}.$ Therefore, by the definition of the gradient, ${f}_{x}=P$ and ${f}_{y}=Q.$ By Clairaut’s theorem, ${f}_{xy}={f}_{yx},$ But, ${f}_{xy}={P}_{y}$ and ${f}_{yx}={Q}_{x},$ and thus ${P}_{y}={Q}_{x}.$

□

Clairaut’s theorem gives a fast proof of the cross-partial property of conservative vector fields in ${\mathbb{R}}^{3},$ just as it did for vector fields in ${\mathbb{R}}^{2}.$

The Cross-Partial Property of Conservative Vector Fields 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 6.12

#### Showing a Vector Field Is Not Conservative

Show that rotational vector field $\text{F}\left(x,y\right)=\langle y,\text{\u2212}x\rangle $ is not conservative.

#### Solution

Let $P\left(x,y\right)=y\phantom{\rule{0.2em}{0ex}}\text{and}\phantom{\rule{0.2em}{0ex}}Q\left(x,y\right)=\text{\u2212}x.$ If **F** is conservative, then the cross-partials would be equal—that is, ${P}_{y}$ would equal ${Q}_{x.}$ Therefore, to show that **F** is not conservative, check that ${P}_{y}\ne {Q}_{x}.$ Since ${P}_{y}=1$ and ${Q}_{x}=\mathrm{-1},$ the vector field is not conservative.

### Checkpoint 6.11

Show that vector field $\text{F}\left(x,y\right)x=y\text{i}-{x}^{2}y\text{j}$ is not conservative.

### Example 6.13

#### Showing a Vector Field Is Not Conservative

Is vector field $\text{F}\left(x,y,z\right)=\langle 7,\mathrm{-2},{x}^{3}\rangle $ conservative?

#### Solution

Let $P(x,y,z)=7,$ $Q(x,y,z)=\mathrm{-2},$ and $R(x,y,z)={x}^{3}.$ If **F** is conservative, then all three cross-partial equations will be satisfied—that is, if **F** is conservative, then ${P}_{y}$ would equal ${Q}_{x},{Q}_{z}$ would equal ${R}_{y},$ and ${R}_{x}$ would equal ${P}_{z}.$ Note that ${P}_{y}={Q}_{x}={R}_{y}={Q}_{z}=0,$ so the first two necessary equalities hold. However, ${R}_{x}=3{x}^{2}$ and ${P}_{z}=0$ so ${R}_{x}\ne {P}_{z}.$ Therefore, $\text{F}$ is not conservative.

### Checkpoint 6.12

Is vector field $G\left(x,y,z\right)=\langle y,x,xyz\rangle $ conservative?

We conclude this section with a word of warning: The Cross-Partial Property of Conservative Vector Fields says that if **F** is conservative, then **F** has the cross-partial property. The theorem does *not* say that, if **F** has the cross-partial property, then **F** 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 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 $\text{F}(x,y)=\langle {x}^{2}y,\frac{{x}^{3}}{3}\rangle .$ This field has the cross-partial property, so it is natural to try to use The Cross-Partial Property of Conservative Vector Fields to conclude this vector field is conservative. However, this is a misapplication of the theorem. We learn later how to conclude that **F** is conservative.

### Section 6.1 Exercises

The domain of vector field $\text{F}=\text{F}\left(x,y\right)$ is a set of points $\left(x,y\right)$ in a plane, and the range of **F** is a set of *what* in the plane?

For the following exercises, determine whether the statement is *true or false*.

Vector field $\text{F}=\langle 3{x}^{2},1\rangle $ is a gradient field for both ${\varphi}_{1}\left(x,y\right)={x}^{3}+y$ and ${\varphi}_{2}\left(x,y\right)=y+{x}^{3}+100.$

Vector field $\text{F}=\frac{\langle y,x\rangle}{\sqrt{{x}^{2}+{y}^{2}}}$ is constant in direction and magnitude on a unit circle.

Vector field $\text{F}=\frac{\langle y,x\rangle}{\sqrt{{x}^{2}+{y}^{2}}}$ is neither a radial field nor a rotation.

For the following exercises, describe each vector field by drawing some of its vectors.

**[T]** $\text{F}(x,y)=\text{\u2212}y\text{i}+x\text{j}$

**[T]** $\text{F}(x,y)=\text{i}+\text{j}$

**[T]** $\text{F}(x,y)=3\text{i}+x\text{j}$

**[T]** $\text{F}(x,y,z)=x\text{i}+y\text{j}+z\text{k}$

**[T]** $\text{F}(x,y,z)=\frac{y}{z}\phantom{\rule{0.1em}{0ex}}\text{i}-\frac{x}{z}\phantom{\rule{0.1em}{0ex}}\text{j}$

For the following exercises, find the gradient vector field of each function $f.$

$f(x,y)=x\phantom{\rule{0.2em}{0ex}}\text{sin}\phantom{\rule{0.2em}{0ex}}y+\text{cos}\phantom{\rule{0.2em}{0ex}}y$

$f(x,y,z)=z{e}^{\text{\u2212}xy}$

$f(x,y)={x}^{2}\text{sin}(5y)$

$f(x,y,z)=x\phantom{\rule{0.2em}{0ex}}\text{cos}\left(\frac{y}{z}\right)$

What is vector field $\text{F}\left(x,y\right)$ with a value at $\left(x,y\right)$ that is of unit length and points toward $\left(1,0\right)?$

For the following exercises, write formulas for the vector fields with the given properties.

All vectors are parallel to the *x*-axis and all vectors on a vertical line have the same magnitude.

All vectors are of unit length and are perpendicular to the position vector at that point.

Give a formula $\text{F}(x,y)=M(x,y)\text{i}+N(x,y)\text{j}$ for the vector field in a plane that has the properties that $\text{F}=0$ at $\left(0,0\right)$ and that at any other point $\left(a,b\right),$ **F** is tangent to circle ${x}^{2}+{y}^{2}={a}^{2}+{b}^{2}$ and points in the clockwise direction with magnitude $||\mathbf{F}||=\sqrt{{a}^{2}+{b}^{2}}.$

Is vector field $\text{F}(x,y)=\left(P(x,y),Q(x,y)\right)=\left(\text{sin}\phantom{\rule{0.2em}{0ex}}x+y\right)\text{i}+\left(\text{cos}\phantom{\rule{0.2em}{0ex}}y+x\right)\text{j}$ a gradient field?

Find a formula for vector field $\text{F}(x,y)=M(x,y)\text{i}+N(x,y)\text{j}$ given the fact that for all points $(x,y),$ **F** points toward the origin and $||\mathbf{F}||=\frac{10}{{x}^{2}+{y}^{2}}.$

For the following exercises, assume that an electric field in the *xy*-plane caused by an infinite line of charge along the *x*-axis is a gradient field with potential function $V\left(x,y\right)=c\phantom{\rule{0.2em}{0ex}}\text{ln}\left(\frac{{r}_{0}}{\sqrt{{x}^{2}+{y}^{2}}}\right),$ where $c>0$ is a constant and ${r}_{0}$ is a reference distance at which the potential is assumed to be zero.

Find the components of the electric field in the *x*- and *y*-directions, where $\text{E}\left(x,y\right)=\text{\u2212}\text{\u2207}V\left(x,y\right).$

Show that the electric field at a point in the *xy*-plane is directed outward from the origin and has magnitude $||\mathbf{E}||=\frac{c}{r},$

A *flow line* (or *streamline*) of a vector field $\text{F}$ is a curve $\text{r}\left(t\right)$ such that $d\text{r}\text{/}dt=\text{F}\left(\text{r}\left(t\right)\right).$ If $\text{F}$ represents the velocity field of a moving particle, then the flow lines are paths taken by the particle. Therefore, flow lines are tangent to the vector field. For the following exercises, show that the given curve $\text{c}\left(t\right)$ is a flow line of the given velocity vector field $\text{F}\left(x,y,z\right).$

$\text{c}\left(t\right)=\left({e}^{2t},\text{ln}\left|t\right|,\frac{1}{t}\right),t\ne 0;\text{F}\left(x,y,z\right)=\langle 2x,z,\text{\u2212}{z}^{2}\rangle $

$\text{c}\left(t\right)=\left(\text{sin}\phantom{\rule{0.2em}{0ex}}t,\text{cos}\phantom{\rule{0.2em}{0ex}}t,{e}^{t}\right);\text{F}\left(x,y,z\right)=\langle y,\text{\u2212}x,z\rangle $

For the following exercises, let $\text{F}=x\text{i}+y\text{j},$ $\text{G}=\text{\u2212}y\text{i}+x\text{j},$ and $\text{H}=x\text{i}-y\text{j}.$ Match **F**, **G**, and **H** with their graphs.

For the following exercises, let $\text{F}=x\text{i}+y\text{j},$ $\text{G}=\text{\u2212}y\text{i}+x\text{j},$ and $\text{H}=x\text{i}\u2013y\text{j}.$ Match the vector fields with their graphs in $\left(\text{I}\right)-\left(\text{IV}\right).$

- $\text{F}+\text{G}$
- $\text{F}+\text{H}$
- $\text{G}+\text{H}$
- $\text{\u2212}\text{F}+\text{G}$