Learning Objectives
- 6.5.1 Determine divergence from the formula for a given vector field.
- 6.5.2 Determine curl from the formula for a given vector field.
- 6.5.3 Use the properties of curl and divergence to determine whether a vector field is conservative.
In this section, we examine two important operations on a vector field: divergence and curl. They are important to the field of calculus for several reasons, including the use of curl and divergence to develop some higher-dimensional versions of the Fundamental Theorem of Calculus. In addition, curl and divergence appear in mathematical descriptions of fluid mechanics, electromagnetism, and elasticity theory, which are important concepts in physics and engineering. We can also apply curl and divergence to other concepts we already explored. For example, under certain conditions, a vector field is conservative if and only if its curl is zero.
In addition to defining curl and divergence, we look at some physical interpretations of them, and show their relationship to conservative and source-free vector fields.
Divergence
Divergence is an operation on a vector field that tells us how the field behaves toward or away from a point. Locally, the divergence of a vector field F in or at a particular point P is a measure of the “outflowing-ness” of the vector field at P. If F represents the velocity of a fluid, then the divergence of F at P measures the net rate of change with respect to time of the amount of fluid flowing away from P (the tendency of the fluid to flow “out of” P). In particular, if the amount of fluid flowing into P is the same as the amount flowing out, then the divergence at P is zero.
Definition
If is a vector field in and and all exist, then the divergence of F is defined by
Note the divergence of a vector field is not a vector field, but a scalar function. In terms of the gradient operator divergence can be written symbolically as the dot product
Note this is merely helpful notation, because the dot product of a vector of operators and a vector of functions is not meaningfully defined given our current definition of dot product.
If is a vector field in and and both exist, then the divergence of F is defined similarly as
To illustrate this point, consider the two vector fields in Figure 6.50. At any particular point, the amount flowing in is the same as the amount flowing out, so at every point the “outflowing-ness” of the field is zero. Therefore, we expect the divergence of both fields to be zero, and this is indeed the case, as
By contrast, consider radial vector field in Figure 6.51. At any given point, more fluid is flowing in than is flowing out, and therefore the “outgoingness” of the field is negative. We expect the divergence of this field to be negative, and this is indeed the case, as
To get a global sense of what divergence is telling us, suppose that a vector field in represents the velocity of a fluid. Imagine taking an elastic circle (a circle with a shape that can be changed by the vector field) and dropping it into a fluid. If the circle maintains its exact area as it flows through the fluid, then the divergence is zero. This would occur for both vector fields in Figure 6.50. On the other hand, if the circle’s shape is distorted so that its area shrinks or expands, then the divergence is not zero. Imagine dropping such an elastic circle into the radial vector field in Figure 6.51 so that the center of the circle lands at point (3, 3). The circle would flow toward the origin, and as it did so the front of the circle would travel more slowly than the back, causing the circle to “scrunch” and lose area. This is how you can see a negative divergence.
Example 6.48
Calculating Divergence at a Point
If then find the divergence of F at
Solution
The divergence of F is
Therefore, the divergence at is If F represents the velocity of a fluid, then more fluid is flowing out than flowing in at point
Checkpoint 6.40
Find for
One application for divergence occurs in physics, when working with magnetic fields. A magnetic field is a vector field that models the influence of electric currents and magnetic materials. Physicists use divergence in Gauss’s law for magnetism, which states that if B is a magnetic field, then in other words, the divergence of a magnetic field is zero.
Example 6.49
Determining Whether a Field Is Magnetic
Is it possible for to be a magnetic field?
Solution
If F were magnetic, then its divergence would be zero. The divergence of F is
and therefore F cannot model a magnetic field (Figure 6.52).
Another application for divergence is detecting whether a field is source free. Recall that a source-free field is a vector field that has a stream function; equivalently, a source-free field is a field with a flux that is zero along any closed curve. The next two theorems say that, under certain conditions, source-free vector fields are precisely the vector fields with zero divergence.
Theorem 6.14
Divergence of a Source-Free Vector Field
If is a source-free continuous vector field with differentiable component functions, then
Proof
Since F is source free, there is a function with and Therefore, and by Clairaut’s theorem.
□
The converse of Divergence of a Source-Free Vector Field is true on simply connected regions, but the proof is too technical to include here. Thus, we have the following theorem, which can test whether a vector field in is source free.
Theorem 6.15
Divergence Test for Source-Free Vector Fields
Let be a continuous vector field with differentiable component functions with a domain that is simply connected. Then, if and only if F is source free.
Example 6.50
Determining Whether a Field Is Source Free
Is field source free?
Solution
Note the domain of F is which is simply connected. Furthermore, F is continuous with differentiable component functions. Therefore, we can use Divergence Test for Source-Free Vector Fields to analyze F. The divergence of F is
Therefore, F is source free by Divergence Test for Source-Free Vector Fields.
Checkpoint 6.41
Let be a rotational field where a and b are positive constants. Is F source free?
Recall that the flux form of Green’s theorem says that
where C is a simple closed curve and D is the region enclosed by C. Since Green’s theorem is sometimes written as
Therefore, Green’s theorem can be written in terms of divergence. If we think of divergence as a derivative of sorts, then Green’s theorem says the “derivative” of F on a region can be translated into a line integral of F along the boundary of the region. This is analogous to the Fundamental Theorem of Calculus, in which the derivative of a function on a line segment can be translated into a statement about on the boundary of Using divergence, we can see that Green’s theorem is a higher-dimensional analog of the Fundamental Theorem of Calculus.
We can use all of what we have learned in the application of divergence. Let v be a vector field modeling the velocity of a fluid. Since the divergence of v at point P measures the “outflowing-ness” of the fluid at P, implies that more fluid is flowing out of P than flowing in. Similarly, implies the more fluid is flowing in to P than is flowing out, and implies the same amount of fluid is flowing in as flowing out.
Example 6.51
Determining Flow of a Fluid
Suppose models the flow of a fluid. Is more fluid flowing into point than flowing out?
Solution
To determine whether more fluid is flowing into than is flowing out, we calculate the divergence of v at
To find the divergence at substitute the point into the divergence: Since the divergence of v at is negative, more fluid is flowing in than flowing out (Figure 6.53).
Checkpoint 6.42
For vector field find all points P such that the amount of fluid flowing in to P equals the amount of fluid flowing out of P.
Curl
The second operation on a vector field that we examine is the curl, which measures the extent of rotation of the field about a point. Suppose that F represents the velocity field of a fluid. Then, the curl of F at point P is a vector that measures the tendency of particles near P to rotate about the axis that points in the direction of this vector. The magnitude of the curl vector at P measures how quickly the particles rotate around this axis. In other words, the curl at a point is a measure of the vector field’s “spin” at that point. Visually, imagine placing a paddlewheel into a fluid at P, with the axis of the paddlewheel aligned with the curl vector (Figure 6.54). The curl measures the tendency of the paddlewheel to rotate.
Consider the vector fields in Figure 6.50. In part (a), the vector field is constant and there is no spin at any point. Therefore, we expect the curl of the field to be zero, and this is indeed the case. Part (b) shows a rotational field, so the field has spin. In particular, if you place a paddlewheel into a field at any point so that the axis of the wheel is perpendicular to a plane, the wheel rotates counterclockwise. Therefore, we expect the curl of the field to be nonzero, and this is indeed the case (the curl is
To see what curl is measuring globally, imagine dropping a leaf into the fluid. As the leaf moves along with the fluid flow, the curl measures the tendency of the leaf to rotate. If the curl is zero, then the leaf doesn’t rotate as it moves through the fluid.
Definition
If is a vector field in and all exist, then the curl of F is defined by
Note that the curl of a vector field is a vector field, in contrast to divergence.
The definition of curl can be difficult to remember. To help with remembering, we use the notation to stand for a “determinant” that gives the curl formula:
The determinant of this matrix is
Thus, this matrix is a way to help remember the formula for curl. Keep in mind, though, that the word determinant is used very loosely. A determinant is not really defined on a matrix with entries that are three vectors, three operators, and three functions.
If is a vector field in then the curl of F, by definition, is
Example 6.52
Finding the Curl of a Three-Dimensional Vector Field
Find the curl of
Solution
The curl is
Checkpoint 6.43
Find the curl of at point
Example 6.53
Finding the Curl of a Two-Dimensional Vector Field
Find the curl of
Solution
Notice that this vector field consists of vectors that are all parallel. In fact, each vector in the field is parallel to the x-axis. This fact might lead us to the conclusion that the field has no spin and that the curl is zero. To test this theory, note that
Therefore, this vector field does have spin. To see why, imagine placing a paddlewheel at any point in the first quadrant (Figure 6.55). The larger magnitudes of the vectors at the top of the wheel cause the wheel to rotate. The wheel rotates in the clockwise (negative) direction, causing the coefficient of the curl to be negative.
Note that if is a vector field in a plane, then Therefore, the circulation form of Green’s theorem is sometimes written as
where C is a simple closed curve and D is the region enclosed by C. Therefore, the circulation form of Green’s theorem can be written in terms of the curl. If we think of curl as a derivative of sorts, then Green’s theorem says that the “derivative” of F on a region can be translated into a line integral of F along the boundary of the region. This is analogous to the Fundamental Theorem of Calculus, in which the derivative of a function on line segment can be translated into a statement about on the boundary of Using curl, we can see the circulation form of Green’s theorem is a higher-dimensional analog of the Fundamental Theorem of Calculus.
We can now use what we have learned about curl to show that gravitational fields have no “spin.” Suppose there is an object at the origin with mass at the origin and an object with mass Recall that the gravitational force that object 1 exerts on object 2 is given by field
Example 6.54
Determining the Spin of a Gravitational Field
Show that a gravitational field has no spin.
Solution
To show that F has no spin, we calculate its curl. Let and Then,
Since the curl of the gravitational field is zero, the field has no spin.
Checkpoint 6.44
Field models the flow of a fluid. Show that if you drop a leaf into this fluid, as the leaf moves over time, the leaf does not rotate.
Using Divergence and Curl
Now that we understand the basic concepts of divergence and curl, we can discuss their properties and establish relationships between them and conservative vector fields.
If F is a vector field in then the curl of F is also a vector field in Therefore, we can take the divergence of a curl. The next theorem says that the result is always zero. This result is useful because it gives us a way to show that some vector fields are not the curl of any other field. To give this result a physical interpretation, recall that divergence of a velocity field v at point P measures the tendency of the corresponding fluid to flow out of P. Since the net rate of flow in vector field curl(v) at any point is zero. Taking the curl of vector field F eliminates whatever divergence was present in F.
Theorem 6.16
Divergence of the Curl
Let be a vector field in such that the component functions all have continuous second-order partial derivatives. Then,
Proof
By the definitions of divergence and curl, and by Clairaut’s theorem,
□
Example 6.55
Showing That a Vector Field Is Not the Curl of Another
Show that is not the curl of another vector field. That is, show that there is no other vector G with
Solution
Notice that the domain of F is all of and the second-order partials of F are all continuous. Therefore, we can apply the previous theorem to F.
The divergence of F is If F were the curl of vector field G, then But, the divergence of F is not zero, and therefore F is not the curl of any other vector field.
Checkpoint 6.45
Is it possible for to be the curl of a vector field?
With the next two theorems, we show that if F is a conservative vector field then its curl is zero, and if the domain of F is simply connected then the converse is also true. This gives us another way to test whether a vector field is conservative.
Theorem 6.17
Curl of a Conservative Vector Field
If is conservative, then
Proof
Since conservative vector fields satisfy the cross-partials property, all the cross-partials of F are equal. Therefore,
□
The same theorem is true for vector fields in a plane.
Since a conservative vector field is the gradient of a scalar function, the previous theorem says that for any scalar function In terms of our curl notation, This equation makes sense because the cross product of a vector with itself is always the zero vector. Sometimes equation is simplified as
Theorem 6.18
Curl Test for a Conservative Field
Let be a vector field in space on a simply connected domain. If then F is conservative.
Proof
Since we have that and Therefore, F satisfies the cross-partials property on a simply connected domain, and Cross-Partial Property of Conservative Fields implies that F is conservative.
□
The same theorem is also true in a plane. Therefore, if F is a vector field in a plane or in space and the domain is simply connected, then F is conservative if and only if
Example 6.56
Testing Whether a Vector Field Is Conservative
Use the curl to determine whether is conservative.
Solution
Note that the domain of F is all of which is simply connected (Figure 6.56). Therefore, we can test whether F is conservative by calculating its curl.
The curl of F is
Thus, F is conservative.
We have seen that the curl of a gradient is zero. What is the divergence of a gradient? If is a function of two variables, then We abbreviate this “double dot product” as This operator is called the Laplace operator, and in this notation Laplace’s equation becomes Therefore, a harmonic function is a function that becomes zero after taking the divergence of a gradient.
Similarly, if is a function of three variables then
Using this notation we get Laplace’s equation for harmonic functions of three variables:
Harmonic functions arise in many applications. For example, the potential function of an electrostatic field in a region of space that has no static charge is harmonic.
Example 6.57
Analyzing a Function
Is it possible for to be the potential function of an electrostatic field that is located in a region of free of static charge?
Solution
If were such a potential function, then would be harmonic. Note that and and so Therefore, is not harmonic and cannot represent an electrostatic potential.
Checkpoint 6.46
Is it possible for function to be the potential function of an electrostatic field located in a region of free of static charge?
Section 6.5 Exercises
For the following exercises, determine whether the statement is true or false.
If the coordinate functions of have continuous second partial derivatives, then equals zero.
All vector fields of the form are conservative.
If F is a constant vector field then
For the following exercises, find the curl of F.
For the following exercises, find the divergence of F.
For the following exercises, determine whether each of the given scalar functions is harmonic.
If and find
Find given that where
Find the divergence of F for vector field
For the following exercises, use and
Find the
Let where F is defined on Find
For the following exercises, use a computer algebra system to find the curl of the given vector fields.
[T]
For the following exercises, find the divergence of F at the given point.
at
at (1, 2, 1)
For the following exercises, find the curl of F at the given point.
at
at (3, 2, 0)
at (0, 0, 3)
Given vector field on domain is F conservative?
Find the work done by force field in moving an object from P(0, 1) to Q(2, 0). Is the force field conservative?
Compute curl
For the following exercises, consider a rigid body that is rotating about the x-axis counterclockwise with constant angular velocity If P is a point in the body located at the velocity at P is given by vector field
Find
In the following exercises, suppose that and
Does necessarily have zero divergence?
In the following exercises, suppose a solid object in has a temperature distribution given by The heat flow vector field in the object is where is a property of the material. The heat flow vector points in the direction opposite to that of the gradient, which is the direction of greatest temperature decrease. The divergence of the heat flow vector is
Compute the heat flow vector field.
[T] Consider rotational velocity field If a paddlewheel is placed in plane with its axis normal to this plane, using a computer algebra system, calculate how fast the paddlewheel spins in revolutions per unit time.