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 gives visual representations of such phenomena.
Figure (a) The gravitational field exerted by two astronomical bodies on a small object. (b) The vector velocity field of water on the surface of a river shows the varied speeds of water. Red indicates that the magnitude of the vector is greater, so the water flows more quickly; blue indicates a lesser magnitude and a slower speed of water flow.
Figure 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 the 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 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 a 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 and .
DEFINITION: vector field
A vector field in is an assignment of a two-dimensional vector to each point of a subset D of . The subset D is the domain of the vector field.
A vector field in is an assignment of a three-dimensional vector to each point of a subset D of . The subset D is the domain of the vector field.
Vector Fields in
A vector field in 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 : Finding a Vector Associated with a Given Point
Let be a vector field in . Note that this is an example of a continuous vector field since both component functions are continuous. What vector is associated with point ?
Solution:
Substitute the point values for and :
Exercise
Let be a vector field in . What vector is associated with the point ?
Hint
Substitute the point values into the vector function.
Answer
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 , as is the range. Therefore the “graph” of a vector field in lives in four-dimensional space. Since we cannot represent four-dimensional space visually, we instead draw vector fields in 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 is . Then, we would draw vector at point .
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 .
There are two types of vector fields in 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 is perpendicular to the circle centered at the origin that contains point , and all other vectors on this circle have the same magnitude.
Example : Drawing a Radial Vector Field
Sketch the vector field .
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.
Table
Figure shows the vector field. To see that each vector is perpendicular to the corresponding circle, Figure shows circles overlain on the vector field.
Figure : (a) A visual representation of the radial vector field . (b) The radial vector field with overlaid circles. Notice that each vector is perpendicular to the circle on which it is located.
Exercise
Draw the radial field .
Hint
Sketch enough vectors to get an idea of the shape.
Answer
In contrast to radial fields, in a rotational field, the vector at point is tangent (not perpendicular) to a circle with radius . 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 : Drawing a Rotational Vector Field
Sketch the vector field .
Solution
Create a table (see the one that follows) using a representative sample of points in a plane and their corresponding vectors. Figure shows the resulting vector field.
Table
Figure : (a) A visual representation of vector field . (b) Vector field with circles centered at the origin. (c) Vector is perpendicular to radial vector at point .
Analysis
Note that vector points clockwise and is perpendicular to radial vector . (We can verify this assertion by computing the dot product of the two vectors: .) Furthermore, vector has length . Thus, we have a complete description of this rotational vector field: the vector associated with point 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 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.)
Figure : (credit: modification of work by NASA)
Example : Sketching a Vector Field
Sketch vector field .
Solution
To visualize this vector field, first note that the dot product is zero for any point . Therefore, each vector is tangent to the circle on which it is located. Also, as , the magnitude of goes to infinity. To see this, note that
.
Since as , then as . This vector field looks similar to the vector field in Example , but in this case the magnitudes of the vectors close to the origin are large. Table shows a sample of points and the corresponding vectors, and Figure shows the vector field. Note that this vector field models the whirlpool motion of the river in Figure (b). The domain of this vector field is all of except for point .
Table
Figure : A visual representation of vector field . This vector field could be used to model whirlpool motion of a fluid.
Exercise
Sketch vector field . Is the vector field radial, rotational, or neither?
Hint
Substitute enough points into to get an idea of the shape.
Answer
Rotational
Example : Velocity Field of a Fluid
Suppose that is the velocity field of a fluid. How fast is the fluid moving at point ? (Assume the units of speed are meters per second.)
Solution
To find the velocity of the fluid at point , substitute the point into :
.
The speed of the fluid at is the magnitude of this vector. Therefore, the speed is m/sec.
Exercise
Vector field models the velocity of water on the surface of a river. What is the speed of the water at point ? Use meters per second as the units.
Hint
Remember, speed is the magnitude of velocity.
Answer
m/sec
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 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 : A Unit Vector Field
Show that vector field is a unit vector field.
Solution
To show that is a unit field, we must show that the magnitude of each vector is . Note that
Therefore, is a unit vector field.
Exercise
Is vector field a unit vector field?
Hint
Calculate the magnitude of at an arbitrary point .
Answer
No.
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 is a vector field, then the corresponding unit vector field is . Notice that if is the vector field from Example , then the magnitude of is , and therefore the corresponding unit vector field is the field from the previous example.
If is a vector field, then the process of dividing by its magnitude to form unit vector field is called normalizing the field .
Vector Fields in
We have seen several examples of vector fields in ; let’s now turn our attention to vector fields in . 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 more difficult to visualize, but the idea is the same. To visualize a vector field in , plot enough vectors to show the overall shape. We can use a similar method to visualizing a vector field in by choosing points in each octant.
Just as with vector fields in , we can represent vector fields in with component functions. We simply need an extra component function for the extra dimension. We write either
or
Example : Sketching a Vector Field in Three Dimensions
Describe vector field .
Solution
For this vector field, the - and -components are constant, so every point in has an associated vector with - and -components equal to one. To visualize , we first consider what the field looks like in the -plane. In the -plane, . Hence, each point of the form has vector associated with it. For points not in the -plane but slightly above it, the associated vector has a small but positive -component, and therefore the associated vector points slightly upward. For points that are far above the -plane, the -component is large, so the vector is almost vertical. Figure shows this vector field.
Figure : A visual representation of vector field .
Exercise
Sketch vector field .
Hint
Substitute enough points into the vector field to get an idea of the general shape.
Answer
In the next example, we explore one of the classic cases of a three-dimensional vector field: a gravitational field.
Example : Describing a Gravitational Vector Field
Newton’s law of gravitation states that , where G is the universal gravitational constant. It describes the gravitational field exerted by an object (object 1) of mass located at the origin on another object (object 2) of mass located at point . Field denotes the gravitational force that object 1 exerts on object 2, is the distance between the two objects, and 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 . The unit vector from object 1 to object 2 is , and hence . Therefore, gravitational vector field exerted by object 1 on object 2 is
This is an example of a radial vector field in .
Figure 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.
Figure : A visual representation of gravitational vector field for a large mass at the origin.
Exercise
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 , measured in units of 10 to the eighth power kilometers. Given that the universal gravitational constant is , find the gravitational force vector that asteroid 1 exerts on asteroid 2.
Hint
Follow Example and first compute the distance between the asteroids.
Answer
, , N
Gradient Fields (Conservative 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: Gradient Field
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 .
Solution
The gradient of is . To sketch the vector field, use a computer algebra system such as Mathematica. Figure shows .
Figure : The gradient vector field is , where .
Exercise
Use technology to plot the gradient vector field of .
Hint
Find the gradient of .
Answer
Consider the function from Example . Figure 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 : 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
?
Solution
We need to confirm whether . We have
Therefore, and is a potential function for .
Exercise
Is a potential function for ?
Hint
Compute the gradient of .
Answer
No
Example : Verifying a Potential Function
The velocity of a fluid is modeled by field . Verify that is a potential function for .
Solution
To show that is a potential function, we must show that . Note that and . Therefore, and is a potential function for (Figure ).
Figure : Velocity field has a potential function and is a conservative field.
Exercise
Verify that is a potential function for velocity field .
Hint
Calculate the gradient.
Answer
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.
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.
THE CROSS-PARTIAL PROPERTY OF CONSERVATIVE VECTOR FIELDS
Let 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 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.
Solution
Let and . If is conservative, then the cross-partials would be equal—that is, would equal .Therefore, to show that is not conservative, check that . Since and , the vector field is not conservative.
Exercise
Show that vector field is not conservative.
Hint
Check the cross-partials.
Answer
and . Since , is not conservative.
Example : Showing a Vector Field Is Not Conservative
Is vector field conservative?
Solution
Let , , and . If is conservative, then all three cross-partial equations will be satisfied—that is, if is conservative, then would equal , would equal , and would equal . Note that
so the first two necessary equalities hold. However, and so . Therefore, is not conservative.
Exercise
Is vector field conservative?
Hint
Check the cross-partials.
Answer
No
We conclude this section with a word of warning: The Cross-Partial Property of Conservative Vector Fields 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 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 to conclude this vector field is conservative. However, this is a misapplication of the theorem. We learn later how to conclude that is conservative.
Key Concepts
A vector field assigns a vector to each point in a subset of or . to each point in a subset of .
Vector fields can describe the distribution of vector quantities such as forces or velocities over a region of the plane or of space. They are in common use in such areas as physics, engineering, meteorology, oceanography.
We can sketch a vector field by examining its defining equation to determine relative magnitudes in various locations and then drawing enough vectors to determine a pattern.
A vector field is called conservative if there exists a scalar function such that .
Key Equations
Vector field in
or
Vector field in
or
Glossary
conservative field
a vector field for which there exists a scalar function such that
gradient field
a vector field for which there exists a scalar function such that ; in other words, a vector field that is the gradient of a function; such vector fields are also called conservative
potential function
a scalar function such that
radial field
a vector field in which all vectors either point directly toward or directly away from the origin; the magnitude of any vector depends only on its distance from the origin
rotational field
a vector field in which the vector at point is tangent to a circle with radius ; in a rotational field, all vectors flow either clockwise or counterclockwise, and the magnitude of a vector depends only on its distance from the origin
unit vector field
a vector field in which the magnitude of every vector is 1
vector field
measured in , an assignment of a vector to each point of a subset of ; in , an assignment of a vector to each point of a subset of
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.