Skip to ContentGo to accessibility page
Calculus Volume 3

6.8 The Divergence Theorem

Calculus Volume 36.8 The Divergence Theorem

6.8 The Divergence Theorem

Learning Objectives

  • 6.8.1 Explain the meaning of the divergence theorem.
  • 6.8.2 Use the divergence theorem to calculate the flux of a vector field.
  • 6.8.3 Apply the divergence theorem to an electrostatic field.

We have examined several versions of the Fundamental Theorem of Calculus in higher dimensions that relate the integral around an oriented boundary of a domain to a “derivative” of that entity on the oriented domain. In this section, we state the divergence theorem, which is the final theorem of this type that we will study. The divergence theorem has many uses in physics; in particular, the divergence theorem is used in the field of partial differential equations to derive equations modeling heat flow and conservation of mass. We use the theorem to calculate flux integrals and apply it to electrostatic fields.

Overview of Theorems

Before examining the divergence theorem, it is helpful to begin with an overview of the versions of the Fundamental Theorem of Calculus we have discussed:

  1. The Fundamental Theorem of Calculus:
    ∫abf′(x)dx=f(b)−f(a).∫abf′(x)dx=f(b)−f(a).

    This theorem relates the integral of derivative f′f′ over line segment [a,b][a,b] along the x-axis to a difference of ff evaluated on the boundary.
  2. The Fundamental Theorem for Line Integrals:
    ∫C∇f·dr=f(P1)−f(P0),∫C∇f·dr=f(P1)−f(P0),

    where P0P0 is the initial point of C and P1P1 is the terminal point of C. The Fundamental Theorem for Line Integrals allows path C to be a path in a plane or in space, not just a line segment on the x-axis. If we think of the gradient as a derivative, then this theorem relates an integral of derivative ∇f∇f over path C to a difference of ff evaluated on the boundary of C.
  3. Green’s theorem, circulation form:
    ∬D(Qx−Py)dA=∫CF·dr.∬D(Qx−Py)dA=∫CF·dr.

    Since Qx−Py=curlF·kQx−Py=curlF·k and curl is a derivative of sorts, Green’s theorem relates the integral of derivative curlF over planar region D to an integral of F over the boundary of D.
  4. Green’s theorem, flux form:
    ∬D(Px+Qy)dA=∫CF·Nds.∬D(Px+Qy)dA=∫CF·Nds.

    Since Px+Qy=divFPx+Qy=divF and divergence is a derivative of sorts, the flux form of Green’s theorem relates the integral of derivative divF over planar region D to an integral of F over the boundary of D.
  5. Stokes’ theorem:
    ∬ScurlF·dS=∫CF·dr.∬ScurlF·dS=∫CF·dr.

    If we think of the curl as a derivative of sorts, then Stokes’ theorem relates the integral of derivative curlF over surface S (not necessarily planar) to an integral of F over the boundary of S.

Stating the Divergence Theorem

The divergence theorem follows the general pattern of these other theorems. If we think of divergence as a derivative of sorts, then the divergence theorem relates a triple integral of derivative divF over a solid to a flux integral of F over the boundary of the solid. More specifically, the divergence theorem relates a flux integral of vector field F over a closed surface S to a triple integral of the divergence of F over the solid enclosed by S.

Theorem 6.20

The Divergence Theorem

Let S be a piecewise, smooth closed surface that encloses solid E in space. Assume that S is oriented outward, and let F be a vector field with continuous partial derivatives on an open region containing E (Figure 6.87). Then

∭EdivFdV=∬SF·dS.∭EdivFdV=∬SF·dS.
(6.24)
Figure 6.87 The divergence theorem relates a flux integral across a closed surface S to a triple integral over solid E enclosed by the surface.

Recall that the flux form of Green’s theorem states that ∬DdivFdA=∫CF·Nds.∬DdivFdA=∫CF·Nds. Therefore, the divergence theorem is a version of Green’s theorem in one higher dimension.

The proof of the divergence theorem is beyond the scope of this text. However, we look at an informal proof that gives a general feel for why the theorem is true, but does not prove the theorem with full rigor. This explanation follows the informal explanation given for why Stokes’ theorem is true.

Proof

Let B be a small box with sides parallel to the coordinate planes inside E (Figure 6.88). Let the center of B have coordinates (x,y,z)(x,y,z) and suppose the edge lengths are Δx,Δy,Δx,Δy, and ΔzΔz (Figure 6.88(b)). The normal vector out of the top of the box is k and the normal vector out of the bottom of the box is −k.−k. The dot product of F=〈P,Q,R〉F=〈P,Q,R〉 with k is R and the dot product with −k−k is −R.−R. The area of the top of the box (and the bottom of the box) ΔSΔS is ΔxΔy.ΔxΔy.

Figure 6.88 (a) A small box B inside surface E has sides parallel to the coordinate planes. (b) Box B has side lengths Δx,Δy,Δx,Δy, and ΔzΔz (c) If we look at the side view of B, we see that, since (x,y,z)(x,y,z) is the center of the box, to get to the top of the box we must travel a vertical distance of Δz/2Δz/2 up from (x,y,z).(x,y,z). Similarly, to get to the bottom of the box we must travel a distance Δz/2Δz/2 down from (x,y,z).(x,y,z).

The flux out of the top of the box can be approximated by R(x,y,z+Δz2)ΔxΔyR(x,y,z+Δz2)ΔxΔy (Figure 6.88(c)) and the flux out of the bottom of the box is −R(x,y,z−Δz2)ΔxΔy.−R(x,y,z−Δz2)ΔxΔy. If we denote the difference between these values as ΔR,ΔR, then the net flux in the vertical direction can be approximated by ΔRΔxΔy.ΔRΔxΔy. However,

ΔRΔxΔy=(ΔRΔz)ΔxΔyΔz≈(∂R∂z)ΔV.ΔRΔxΔy=(ΔRΔz)ΔxΔyΔz≈(∂R∂z)ΔV.

Therefore, the net flux in the vertical direction can be approximated by (∂R∂z)ΔV.(∂R∂z)ΔV. Similarly, the net flux in the x-direction can be approximated by (∂P∂x)ΔV(∂P∂x)ΔV and the net flux in the y-direction can be approximated by (∂Q∂y)ΔV.(∂Q∂y)ΔV. Adding the fluxes in all three directions gives an approximation of the total flux out of the box:

Total flux≈(∂P∂x+∂Q∂y+∂R∂z)ΔV=divFΔV.Total flux≈(∂P∂x+∂Q∂y+∂R∂z)ΔV=divFΔV.

This approximation becomes arbitrarily close to the value of the total flux as the volume of the box shrinks to zero.

The sum of divFΔVdivFΔV over all the small boxes approximating E is approximately ∭EdivFdV.∭EdivFdV. On the other hand, the sum of divFΔVdivFΔV over all the small boxes approximating E is the sum of the fluxes over all these boxes. Just as in the informal proof of Stokes’ theorem, adding these fluxes over all the boxes results in the cancelation of a lot of the terms. If an approximating box shares a face with another approximating box, then the flux over one face is the negative of the flux over the shared face of the adjacent box. These two integrals cancel out. When adding up all the fluxes, the only flux integrals that survive are the integrals over the faces approximating the boundary of E. As the volumes of the approximating boxes shrink to zero, this approximation becomes arbitrarily close to the flux over S.

□

Example 6.77

Verifying the Divergence Theorem

Verify the divergence theorem for vector field F=〈x−y,x+z,z−y〉F=〈x−y,x+z,z−y〉 and surface S that consists of cone x2+y2=z2,0≤z≤1,x2+y2=z2,0≤z≤1, and the circular top of the cone (see the following figure). Assume this surface is oriented outward.

Checkpoint 6.65

Verify the divergence theorem for vector field F(x,y,z)=〈x+y+z,y,2x−y〉F(x,y,z)=〈x+y+z,y,2x−y〉 and surface S given by the cylinder x2+y2=1,0≤z≤3x2+y2=1,0≤z≤3 plus the circular top and bottom of the cylinder. Assume that S is oriented outward.

Recall that the divergence of continuous field F at point P is a measure of the “outflowing-ness” of the field at P. If F represents the velocity field of a fluid, then the divergence can be thought of as the rate per unit volume of the fluid flowing out less the rate per unit volume flowing in. The divergence theorem confirms this interpretation. To see this, let P be a point and let BrBr be a ball of small radius r centered at P (Figure 6.89). Let SrSr be the boundary sphere of Br.Br. Since the radius is small and F is continuous, divF(Q)≈divF(P)divF(Q)≈divF(P) for all other points Q in the ball. Therefore, the flux across SrSr can be approximated using the divergence theorem:

∬SrF·dS=∭BrdivFdV≈∭BrdivF(P)dV.∬SrF·dS=∭BrdivFdV≈∭BrdivF(P)dV.

Since divF(P)divF(P) is a constant,

∭BrdivF(P)dV=divF(P)V(Br).∭BrdivF(P)dV=divF(P)V(Br).

Therefore, flux ∬SrF·dS∬SrF·dS can be approximated by divF(P)V(Br).divF(P)V(Br). This approximation gets better as the radius shrinks to zero, and therefore

divF(P)=limr→01V(Br)∬SrF·dS.divF(P)=limr→01V(Br)∬SrF·dS.

This equation says that the divergence at P is the net rate of outward flux of the fluid per unit volume.

Figure 6.89 Ball BrBr of small radius r centered at P.

Using the Divergence Theorem

The divergence theorem translates between the flux integral of closed surface S and a triple integral over the solid enclosed by S. Therefore, the theorem allows us to compute flux integrals or triple integrals that would ordinarily be difficult to compute by translating the flux integral into a triple integral and vice versa.

Example 6.78

Applying the Divergence Theorem

Calculate the surface integral ∬SF·dS,∬SF·dS, where S is cylinder x2+y2=1,0≤z≤2,x2+y2=1,0≤z≤2, including the circular top and bottom, and F=〈x33+yz,y33−sin(xz),z−x−y〉.F=〈x33+yz,y33−sin(xz),z−x−y〉.

Checkpoint 6.66

Use the divergence theorem to calculate flux integral ∬SF·dS,∬SF·dS, where S is the boundary of the box given by 0≤x≤2,1≤y≤4,0≤z≤1,0≤x≤2,1≤y≤4,0≤z≤1, and F=〈x2+yz,y-z,2x+2y+2z〉F=〈x2+yz,y-z,2x+2y+2z〉 (see the following figure).

Example 6.79

Applying the Divergence Theorem

Let v=〈−yz,xz,0〉v=〈−yz,xz,0〉 be the velocity field of a fluid. Let C be the solid cube given by 1≤x≤4,2≤y≤5,1≤z≤4,1≤x≤4,2≤y≤5,1≤z≤4, and let S be the boundary of this cube (see the following figure). Find the flow rate of the fluid across S.

Figure 6.90 Vector field v=〈−yz,xz,0〉.v=〈−yz,xz,0〉.

Checkpoint 6.67

Let v=〈xz,yz,0〉v=〈xz,yz,0〉 be the velocity field of a fluid. Let C be the solid cube given by 1≤x≤4,2≤y≤5,1≤z≤4,1≤x≤4,2≤y≤5,1≤z≤4, and let S be the boundary of this cube (see the following figure). Find the flow rate of the fluid across S.

Example 6.79 illustrates a remarkable consequence of the divergence theorem. Let S be a piecewise, smooth closed surface and let F be a vector field defined on an open region containing the surface enclosed by S. If F has the form F=〈f(y,z),g(x,z),h(x,y)〉,F=〈f(y,z),g(x,z),h(x,y)〉, then the divergence of F is zero. By the divergence theorem, the flux of F across S is also zero. This makes certain flux integrals incredibly easy to calculate. For example, suppose we wanted to calculate the flux integral ∬SF·dS∬SF·dS where S is a cube and

F=〈sin(y)eyz,x2z2,cos(xy)esinx〉.F=〈sin(y)eyz,x2z2,cos(xy)esinx〉.

Calculating the flux integral directly would be difficult, if not impossible, using techniques we studied previously. At the very least, we would have to break the flux integral into six integrals, one for each face of the cube. But, because the divergence of this field is zero, the divergence theorem immediately shows that the flux integral is zero.

We can now use the divergence theorem to justify the physical interpretation of divergence that we discussed earlier. Recall that if F is a continuous three-dimensional vector field and P is a point in the domain of F, then the divergence of F at P is a measure of the “outflowing-ness” of F at P. If F represents the velocity field of a fluid, then the divergence of F at P is a measure of the net flow rate out of point P (the flow of fluid out of P less the flow of fluid in to P). To see how the divergence theorem justifies this interpretation, let BrBr be a ball of very small radius r with center P, and assume that BrBr is in the domain of F. Furthermore, assume that BrBr has a positive, outward orientation. Since the radius of BrBr is small and F is continuous, the divergence of F is approximately constant on Br.Br. That is, if P′P′ is any point in Br,Br, then divF(P)≈divF(P′).divF(P)≈divF(P′). Let SrSr denote the boundary sphere of Br.Br. We can approximate the flux across SrSr using the divergence theorem as follows:

∬SrF·dS=∭BrdivFdV≈∭BrdivF(P)dV=divF(P)V(Br).∬SrF·dS=∭BrdivFdV≈∭BrdivF(P)dV=divF(P)V(Br).

As we shrink the radius r to zero via a limit, the quantity divF(P)V(Br)divF(P)V(Br) gets arbitrarily close to the flux. Therefore,

divF(P)=limr→01V(Br)∬SrF·dSdivF(P)=limr→01V(Br)∬SrF·dS

and we can consider the divergence at P as measuring the net rate of outward flux per unit volume at P. Since “outflowing-ness” is an informal term for the net rate of outward flux per unit volume, we have justified the physical interpretation of divergence we discussed earlier, and we have used the divergence theorem to give this justification.

Application to Electrostatic Fields

The divergence theorem has many applications in physics and engineering. It allows us to write many physical laws in both an integral form and a differential form (in much the same way that Stokes’ theorem allowed us to translate between an integral and differential form of Faraday’s law). Areas of study such as fluid dynamics, electromagnetism, and quantum mechanics have equations that describe the conservation of mass, momentum, or energy, and the divergence theorem allows us to give these equations in both integral and differential forms.

One of the most common applications of the divergence theorem is to electrostatic fields. An important result in this subject is Gauss’ law. This law states that if S is a closed surface in electrostatic field E, then the flux of E across S is the total charge enclosed by S (divided by an electric constant). We now use the divergence theorem to justify the special case of this law in which the electrostatic field is generated by a stationary point charge at the origin.

If (x,y,z)(x,y,z) is a point in space, then the distance from the point to the origin is r=x2+y2+z2.r=x2+y2+z2. Let FrFr denote radial vector field Fr=1r2〈xr,yr,zr〉.Fr=1r2〈xr,yr,zr〉. The vector at a given position in space points in the direction of unit radial vector 〈xr,yr,zr〉〈xr,yr,zr〉 and is scaled by the quantity 1/r2.1/r2. Therefore, the magnitude of a vector at a given point is inversely proportional to the square of the vector’s distance from the origin. Suppose we have a stationary charge of q Coulombs at the origin, existing in a vacuum. The charge generates electrostatic field E given by

E=q4πε0Fr,E=q4πε0Fr,

where the approximation ε0=8.854×10−12ε0=8.854×10−12 farad (F)/m is an electric constant. (The constant ε0ε0 is a measure of the resistance encountered when forming an electric field in a vacuum.) Notice that E is a radial vector field similar to the gravitational field described in Example 6.6. The difference is that this field points outward whereas the gravitational field points inward. Because

E=q4πε0Fr=q4πε0(1r2〈xr,yr,zr〉),E=q4πε0Fr=q4πε0(1r2〈xr,yr,zr〉),

we say that electrostatic fields obey an inverse-square law. That is, the electrostatic force at a given point is inversely proportional to the square of the distance from the source of the charge (which in this case is at the origin). Given this vector field, we show that the flux across closed surface S is zero if the charge is outside of S, and that the flux is q/ε0q/ε0 if the charge is inside of S. In other words, the flux across S is the charge inside the surface divided by constant ε0.ε0. This is a special case of Gauss’ law, and here we use the divergence theorem to justify this special case.

To show that the flux across S is the charge inside the surface divided by constant ε0,ε0, we need two intermediate steps. First we show that the divergence of FrFr is zero and then we show that the flux of FrFr across any smooth surface S is either zero or 4π.4π. We can then justify this special case of Gauss’ law.

Example 6.80

The Divergence of FrFr Is Zero

Verify that the divergence of FrFr is zero where FrFr is defined (away from the origin).

Notice that since the divergence of FrFr is zero and E is FrFr scaled by a constant, the divergence of electrostatic field E is also zero (except at the origin).

Theorem 6.21

Flux across a Smooth Surface

Let S be a connected, piecewise smooth closed surface and let Fr=1r2〈xr,yr,zr〉.Fr=1r2〈xr,yr,zr〉. Then,

∬SFr·dS={0ifSdoes not encompass the origin4πifSencompasses the origin.∬SFr·dS={0ifSdoes not encompass the origin4πifSencompasses the origin.

In other words, this theorem says that the flux of FrFr across any piecewise smooth closed surface S depends only on whether the origin is inside of S.

Proof

The logic of this proof follows the logic of Example 6.46, only we use the divergence theorem rather than Green’s theorem.

First, suppose that S does not encompass the origin. In this case, the solid enclosed by S is in the domain of Fr,Fr, and since the divergence of FrFr is zero, we can immediately apply the divergence theorem and find that ∬SF·dS∬SF·dS is zero.

Now suppose that S does encompass the origin. We cannot just use the divergence theorem to calculate the flux, because the field is not defined at the origin. Let SaSa be a sphere of radius a inside of S centered at the origin. The outward normal vector field on the sphere, in spherical coordinates, is

tϕ×tθ=〈a2cosθsin2ϕ,a2sinθsin2ϕ,a2sinϕcosϕ〉tϕ×tθ=〈a2cosθsin2ϕ,a2sinθsin2ϕ,a2sinϕcosϕ〉

(see Example 6.64). Therefore, on the surface of the sphere, the dot product Fr·NFr·N (in spherical coordinates) is

Fr·N=〈sinϕcosθa2,sinϕsinθa2,cosϕa2〉·〈a2cosθsin2ϕ,a2sinθsin2ϕ,a2sinϕcosϕ〉=sinϕ(〈sinϕcosθ,sinϕsinθ,cosϕ〉·〈sinϕcosθ,sinϕsinθ,cosϕ〉)=sinϕ.Fr·N=〈sinϕcosθa2,sinϕsinθa2,cosϕa2〉·〈a2cosθsin2ϕ,a2sinθsin2ϕ,a2sinϕcosϕ〉=sinϕ(〈sinϕcosθ,sinϕsinθ,cosϕ〉·〈sinϕcosθ,sinϕsinθ,cosϕ〉)=sinϕ.

The flux of FrFr across SaSa is

∬SaFr·NdS=∫02π∫0πsinϕdϕdθ=4π.∬SaFr·NdS=∫02π∫0πsinϕdϕdθ=4π.

Now, remember that we are interested in the flux across S, not necessarily the flux across Sa.Sa. To calculate the flux across S, let E be the solid between surfaces SaSa and S. Then, the boundary of E consists of SaSa and S. Denote this boundary by S−SaS−Sa to indicate that S is oriented outward but now SaSa is oriented inward. We would like to apply the divergence theorem to solid E. Notice that the divergence theorem, as stated, can’t handle a solid such as E because E has a hole. However, the divergence theorem can be extended to handle solids with holes, just as Green’s theorem can be extended to handle regions with holes. This allows us to use the divergence theorem in the following way. By the divergence theorem,

∬S−SaFr·dS=∬SFr·dS−∬SaFr·dS=∭EdivFrdV=∭E0dV=0.∬S−SaFr·dS=∬SFr·dS−∬SaFr·dS=∭EdivFrdV=∭E0dV=0.

Therefore,

∬SFr·dS=∬SaFr·dS=4π,∬SFr·dS=∬SaFr·dS=4π,

and we have our desired result.

□

Now we return to calculating the flux across a smooth surface in the context of electrostatic field E=q4πε0FrE=q4πε0Fr of a point charge at the origin. Let S be a piecewise smooth closed surface that encompasses the origin. Then

∬SE·dS=∬Sq4πε0Fr·dS=q4πε0∬SFr·dS=qε0.∬SE·dS=∬Sq4πε0Fr·dS=q4πε0∬SFr·dS=qε0.

If S does not encompass the origin, then

∬SE·dS=q4πε0∬SFr·dS=0.∬SE·dS=q4πε0∬SFr·dS=0.

Therefore, we have justified the claim that we set out to justify: the flux across closed surface S is zero if the charge is outside of S, and the flux is q/ε0q/ε0 if the charge is inside of S.

This analysis works only if there is a single point charge at the origin. In this case, Gauss’ law says that the flux of E across S is the total charge enclosed by S. Gauss’ law can be extended to handle multiple charged solids in space, not just a single point charge at the origin. The logic is similar to the previous analysis, but beyond the scope of this text. In full generality, Gauss’ law states that if S is a piecewise smooth closed surface and Q is the total amount of charge inside of S, then the flux of E across S is Q/ε0.Q/ε0.

Example 6.81

Using Gauss’ law

Suppose we have four stationary point charges in space, all with a charge of 0.002 Coulombs (C). The charges are located at (0,1,1),(1,1,4),(−1,0,0),and(−2,−2,2).(0,1,1),(1,1,4),(−1,0,0),and(−2,−2,2). Let E denote the electrostatic field generated by these point charges. If S is the sphere of radius 2 oriented outward and centered at the origin, then find ∬SE·dS.∬SE·dS.

Checkpoint 6.68

Work the previous example for surface S that is a sphere of radius 4 centered at the origin, oriented outward.

Section 6.8 Exercises

For the following exercises, use a computer algebraic system (CAS) and the divergence theorem to evaluate surface integral ∬SF·Nds∬SF·Nds for the given choice of F and the boundary surface S. For each closed surface, assume N is the outward unit normal vector.

376.

[T] F(x,y,z)=xi+yj+zk;F(x,y,z)=xi+yj+zk; S is the surface of cube 0≤x≤1,0≤y≤1,0<z≤1.0≤x≤1,0≤y≤1,0<z≤1.

377.

[T] F(x,y,z)=(cosyz)i+exzj+3z2k;F(x,y,z)=(cosyz)i+exzj+3z2k; S is the surface of hemisphere z=4−x2−y2z=4−x2−y2 together with disk x2+y2≤4x2+y2≤4 in the xy-plane.

378.

[T] F(x,y,z)=(x2+y2−x2)i+x2yj+3zk;SF(x,y,z)=(x2+y2−x2)i+x2yj+3zk;S is the surface of the unit cube 0≤x≤1,0≤y≤1,0≤z≤10≤x≤1,0≤y≤1,0≤z≤1 excluding the face z=0z=0.

379.

[T] F(x,y,z)=xi+yj+zk;F(x,y,z)=xi+yj+zk; S is the surface of the solid bounded by the parabola z=x2+y2z=x2+y2 and the plane z=9z=9.

380.

[T] F(x,y,z)=x2i+y2j+z2k;F(x,y,z)=x2i+y2j+z2k; S is the surface of sphere x2+y2+z2=4.x2+y2+z2=4.

381.

[T] F(x,y,z)=xi+yj+(z2−1)k;F(x,y,z)=xi+yj+(z2−1)k; S is the surface of the solid bounded by cylinder x2+y2=4x2+y2=4 and planes z=0andz=1.z=0andz=1.

382.

[T] F(x,y,z)=xy2i+yz2j+x2zk;F(x,y,z)=xy2i+yz2j+x2zk; S is the surface of the solid bounded above by sphere ρ=2ρ=2 and below by cone φ=π4φ=π4 in spherical coordinates. (Think of S as the surface of an “ice cream cone.”)

383.

[T] F(x,y,z)=x3i+y3j+3a2zk(constanta>0);F(x,y,z)=x3i+y3j+3a2zk(constanta>0); S is the surface of the solid bounded by cylinder x2+y2=a2x2+y2=a2 and planes z=0andz=1.z=0andz=1.

384.

[T] Surface integral ∬SF·dS,∬SF·dS, where S is the surface of the solid bounded by paraboloid z=x2+y2z=x2+y2 and plane z=4,z=4, and F(x,y,z)=(x+y2z2)i+(y+z2x2)j+(z+x2y2)kF(x,y,z)=(x+y2z2)i+(y+z2x2)j+(z+x2y2)k

385.

Use the divergence theorem to calculate surface integral ∬SF·dS,∬SF·dS, where F(x,y,z)=(ey2)i+(y+sin(z2))j+(z−1)kF(x,y,z)=(ey2)i+(y+sin(z2))j+(z−1)k and S is the surface of the solid bounded by the sphere x2+y2+z2=1,x2+y2+z2=1, and below by the plane z=0z=0.

386.

Use the divergence theorem to calculate surface integral ∬SF·ds,∬SF·ds, where F(x,y,z)=x4i−x3z2j+4xy2zkF(x,y,z)=x4i−x3z2j+4xy2zk and SS is the surface bounded by cylinder x2+y2=1x2+y2=1 and planes z=x+2z=x+2 and z=0.z=0.

387.

Use the divergence theorem to calculate surface integral ∬SF·dS∬SF·dS when F(x,y,z)=x2z3i+2xyz3j+xz4kF(x,y,z)=x2z3i+2xyz3j+xz4k and S is the surface of the box with vertices (±1,±2,±3).(±1,±2,±3).

388.

Use the divergence theorem to calculate surface integral ∬SF·dS∬SF·dS when F(x,y,z)=ztan−1(y2)i+z3ln(x2+1)j+zkF(x,y,z)=ztan−1(y2)i+z3ln(x2+1)j+zk and S is the surface of the solid bounded by the paraboloid x2+y2+z=2x2+y2+z=2 and the plane z=1z=1.

389.

[T] Use a CAS and the divergence theorem to calculate flux ∬SF·dS,∬SF·dS, where F(x,y,z)=(x3+y3)i+(y3+z3)j+(z3+x3)kF(x,y,z)=(x3+y3)i+(y3+z3)j+(z3+x3)k and S is a sphere with center (0, 0, 0) and radius 2.

390.

Use the divergence theorem to compute the value of flux integral ∬SF·dS,∬SF·dS, where F(x,y,z)=(y3+3x)i+(xz+y)j+[z+x4cos(x2y)]kF(x,y,z)=(y3+3x)i+(xz+y)j+[z+x4cos(x2y)]k and S is the surface of the solid bounded by x2+y2=1,x≥0,y≥0,and0≤z≤1.x2+y2=1,x≥0,y≥0,and0≤z≤1.

391.

Use the divergence theorem to compute flux integral ∬SF·dS,∬SF·dS, where F(x,y,z)=yj−zkF(x,y,z)=yj−zk and S consists of the union of paraboloid y=x2+z2,0≤y≤1,y=x2+z2,0≤y≤1, and disk x2+z2≤1,y=1,x2+z2≤1,y=1, oriented outward. What is the flux through just the paraboloid?

392.

Use the divergence theorem to compute flux integral ∬SF·dS,∬SF·dS, where F(x,y,z)=x+yj+z4kF(x,y,z)=x+yj+z4k and S is a part of cone z=x2+y2z=x2+y2 beneath top plane z=1,z=1, oriented downward.

393.

Use the divergence theorem to calculate surface integral ∬SF·dS∬SF·dS for F(x,y,z)=x4i−x3z2j+4xy2zk,F(x,y,z)=x4i−x3z2j+4xy2zk, where S is the surface inside the cylinder x2+y2=1x2+y2=1 between the planes z=x+2andz=0.z=x+2andz=0.

394.

Consider F(x,y,z)=x2i+xyj+(z+1)k.F(x,y,z)=x2i+xyj+(z+1)k. Let E be the solid enclosed by paraboloid z=4−x2−y2z=4−x2−y2 and plane z=0z=0 with normal vectors pointing outside E. Compute flux F across the boundary of E using the divergence theorem.

For the following exercises, use a CAS along with the divergence theorem to compute the net outward flux for the fields across the given surfaces S.

395.

[T] F=〈x,−2y,3z〉;F=〈x,−2y,3z〉; S is sphere {(x,y,z):x2+y2+z2=6}.{(x,y,z):x2+y2+z2=6}.

396.

[T] F=〈x,2y,z〉;F=〈x,2y,z〉; S is the boundary of the tetrahedron in the first octant formed by plane x+y+z=1.x+y+z=1.

397.

[T] F=〈y−2x,x3−y,y2−z〉;F=〈y−2x,x3−y,y2−z〉; S is sphere {(x,y,z):x2+y2+z2=4}.{(x,y,z):x2+y2+z2=4}.

398.

[T] F=〈x,y,z〉;F=〈x,y,z〉; S is the surface of paraboloid z=4−x2−y2,z=4−x2−y2, for z≥0,z≥0, plus its base in the xy-plane.

For the following exercises, use a CAS and the divergence theorem to compute the net outward flux for the vector fields across the boundary of the given regions D.

399.

[T] F=〈z−x,x−y,2y−z〉;F=〈z−x,x−y,2y−z〉; D is the region between spheres of radius 2 and 4 centered at the origin.

400.

[T] F=r||r||=〈x,y,z〉x2+y2+z2;F=r||r||=〈x,y,z〉x2+y2+z2; D is the region between spheres of radius 1 and 2 centered at the origin.

401.

[T] F=〈x2,−y2,z2〉;F=〈x2,−y2,z2〉; D is the region in the first octant between planes z=4−x−yz=4−x−y and z=2−x−y.z=2−x−y.

402.

Let F(x,y,z)=2xi−3xyj+xz2k.F(x,y,z)=2xi−3xyj+xz2k. Use the divergence theorem to calculate ∬SF·dS,∬SF·dS, where S is the surface of the cube with corners at (0,0,0),(1,0,0),(0,1,0),(0,0,0),(1,0,0),(0,1,0), (1,1,0),(0,0,1),(1,0,1),(0,1,1),and(1,1,1),(1,1,0),(0,0,1),(1,0,1),(0,1,1),and(1,1,1), oriented outward.

403.

Use the divergence theorem to find the outward flux of field F(x,y,z)=(x3−3y)i+(2yz+1)j+xyzkF(x,y,z)=(x3−3y)i+(2yz+1)j+xyzk through the cube bounded by planes x=±1,y=±1,andz=±1.x=±1,y=±1,andz=±1.

404.

Let F(x,y,z)=2xi−3yj+5zkF(x,y,z)=2xi−3yj+5zk and let S be hemisphere z=9−x2−y2z=9−x2−y2 together with disk x2+y2≤9x2+y2≤9 in the xy-plane. Use the divergence theorem to calculate ∬S F ⋅dS∬S F ⋅dS.

405.

Evaluate ∬SF·NdS,∬SF·NdS, where F(x,y,z)=x2i+xyj+x3y3kF(x,y,z)=x2i+xyj+x3y3k and S is the surface consisting of all faces of the tetrahedron bounded by plane x+y+z=1x+y+z=1 and the coordinate planes, with outward unit normal vector N.

406.

Find the net outward flux of field F=〈bz−cy,cx−az,ay−bx〉F=〈bz−cy,cx−az,ay−bx〉 across any smooth closed surface in R3,R3, where a, b, and c are constants.

407.

Use the divergence theorem to evaluate ∬S‖R‖R·ndS,∬S‖R‖R·ndS, where R(x,y,z)=xi+yj+zkR(x,y,z)=xi+yj+zk and S is sphere x2+y2+z2=a2,x2+y2+z2=a2, with constant a>0.a>0.

408.

Use the divergence theorem to evaluate ∬SF·dS,∬SF·dS, where F(x,y,z)=y2zi+y3j+xzkF(x,y,z)=y2zi+y3j+xzk and S is the boundary of the cube defined by −1≤x≤1,−1≤y≤1,and0≤z≤2.−1≤x≤1,−1≤y≤1,and0≤z≤2.

409.

Let R be the region defined by x2+y2+z2≤1.x2+y2+z2≤1. Use the divergence theorem to find ∭Rz2dV.∭Rz2dV.

410.

Let E be the solid bounded by the xy-plane and paraboloid z=4−x2−y2z=4−x2−y2 so that S is the surface of the paraboloid piece together with the disk in the xy-plane that forms its bottom. If F(x,y,z)=(xzsin(yz)+x3)i+cos(yz)j+(3zy2−ex2+y2)k,F(x,y,z)=(xzsin(yz)+x3)i+cos(yz)j+(3zy2−ex2+y2)k, find ∬SF·dS∬SF·dS using the divergence theorem.

411.

Let E be the solid unit cube with diagonally opposite corners at the origin and (1, 1, 1), and faces parallel to the coordinate planes. Let S be the surface of E, oriented with the outward-pointing normal. Use a CAS to find ∬SF·dS∬SF·dS using the divergence theorem if F(x,y,z)=2xyi+3yezj+xsinzk.F(x,y,z)=2xyi+3yezj+xsinzk.

412.

Use the divergence theorem to calculate the flux of F(x,y,z)=x3i+y3j+z3kF(x,y,z)=x3i+y3j+z3k through sphere x2+y2+z2=1.x2+y2+z2=1.

413.

Find ∬SF·dS,∬SF·dS, where F(x,y,z)=xi+yj+zkF(x,y,z)=xi+yj+zk and S is the outwardly oriented surface obtained by removing cube [1,2]×[1,2]×[1,2][1,2]×[1,2]×[1,2] from cube [0,2]×[0,2]×[0,2].[0,2]×[0,2]×[0,2].

414.

Consider radial vector field F=r|r|=〈x,y,z〉(x2+y2+z2)1/2.F=r|r|=〈x,y,z〉(x2+y2+z2)1/2. Compute the surface integral, where S is the surface of a sphere of radius a centered at the origin.

415.

Compute the flux of water through parabolic cylinder S:y=x2,S:y=x2, from 0≤x≤2,0≤z≤3,0≤x≤2,0≤z≤3, if the velocity vector is F(x,y,z)=3z2i+6j+6xzk.F(x,y,z)=3z2i+6j+6xzk.

416.

[T] Use a CAS to find the flux of vector field F(x,y,z)=zi+zj+x2+y2kF(x,y,z)=zi+zj+x2+y2k across the portion of hyperboloid x2+y2=z2+1x2+y2=z2+1 between planes z=0z=0 and z=33,z=33, oriented so the unit normal vector points away from the z-axis.

417.

[T] Use a CAS to find the flux of vector field F(x,y,z)=(ey+x)i+(3cos(xz)−y)j+zkF(x,y,z)=(ey+x)i+(3cos(xz)−y)j+zk through surface S, where S is given by z2=4x2+4y2z2=4x2+4y2 from 0≤z≤4,0≤z≤4, oriented so the unit normal vector points downward.

418.

[T] Use a CAS to compute ∬SF·dS,∬SF·dS, where F(x,y,z)=xi+yj+2zkF(x,y,z)=xi+yj+2zk and S is the boundary of a part of solid sphere x2+y2+z2≤2x2+y2+z2≤2 with 0≤z≤1.0≤z≤1.

419.

Evaluate ∬SF·dS,∬SF·dS, where F(x,y,z)=bxy2i+bx2yj+(x2+y2)z2kF(x,y,z)=bxy2i+bx2yj+(x2+y2)z2k and S is the boundary of the solid cylinder x2+y2≤a2x2+y2≤a2 and 0≤z≤b.0≤z≤b.

420.

[T] Use a CAS to calculate the flux of F(x,y,z)=(x3+ysinz)i+(y3+zsinx)j+3zkF(x,y,z)=(x3+ysinz)i+(y3+zsinx)j+3zk across surface S, where S is the boundary of the solid bounded by hemispheres z=4−x2−y2z=4−x2−y2 and z=1−x2−y2,z=1−x2−y2, and plane z=0.z=0.

421.

Use the divergence theorem to evaluate ∬SF·dS,∬SF·dS, where F(x,y,z)=xyi−12y2j+zkF(x,y,z)=xyi−12y2j+zk and S is the surface consisting of three pieces: z=4−3x2−3y2,1≤z≤4z=4−3x2−3y2,1≤z≤4 on the top; x2+y2=1,0≤z≤1x2+y2=1,0≤z≤1 on the sides; and z=0z=0 on the bottom.

422.

[T] Use a CAS and the divergence theorem to evaluate ∬SF·dS,∬SF·dS, where F(x,y,z)=(2x+ycosz)i+(x2−y)j+y2zkF(x,y,z)=(2x+ycosz)i+(x2−y)j+y2zk and S is sphere x2+y2+z2=4x2+y2+z2=4 orientated outward.

423.

Use the divergence theorem to evaluate ∬SF·dS,∬SF·dS, where F(x,y,z)=xi+yj+zkF(x,y,z)=xi+yj+zk and S is the boundary of the solid enclosed by paraboloid y=x2+z2−2,y=x2+z2−2, cylinder x2+z2=1,x2+z2=1, and plane x+y=2,x+y=2, and S is oriented outward.

For the following exercises, Fourier’s law of heat transfer states that the heat flow vector F at a point is proportional to the negative gradient of the temperature; that is, F=−k∇T,F=−k∇T, which means that heat energy flows hot regions to cold regions. The constant k>0k>0 is called the conductivity, which has metric units of joules per meter per second-kelvin or watts per meter-kelvin. A temperature function for region D is given. Use the divergence theorem to find net outward heat flux ∬SF·NdS=−k∬S∇T·NdS∬SF·NdS=−k∬S∇T·NdS across the boundary S of D, where k=1.k=1.

424.

T(x,y,z)=100+x+2y+z;T(x,y,z)=100+x+2y+z; D={(x,y,z):0≤x≤1,0≤y≤1,0≤z≤1}D={(x,y,z):0≤x≤1,0≤y≤1,0≤z≤1}

425.

T(x,y,z)=100+e−z;T(x,y,z)=100+e−z; D={(x,y,z):0≤x≤1,0≤y≤1,0≤z≤1}D={(x,y,z):0≤x≤1,0≤y≤1,0≤z≤1}

426.

T(x,y,z)=100e−x2−y2−z2;T(x,y,z)=100e−x2−y2−z2; D is the sphere of radius a centered at the origin.

Citation/Attribution
Reuse and redistribution of this content in digital or print format:
  • This book may not be used in the training of large language models or otherwise be ingested into large language models or generative AI offerings without OpenStax's prior written permission.
  • This book uses the Creative Commons Attribution-NonCommercial-ShareAlike License, which means that you can reuse and modify the material only for noncommercial purposes, must attribute OpenStax, and must distribute any derivative works under the same license.
  • Any commercial printing of this textbook, including using a local or custom printer, must be approved by OpenStax, and proper citation provided.
  • OpenStax-copyrighted images, activities, assessments, and similar components of this book are subject to the same licensing – CC-BY-NC-SA. They can be used for noncommercial purposes with attribution. Commercial use requires permission.
  • Permission requests: Anyone who intends to incorporate this content (including text, images, and other components) into large language models, use it in AI offerings, use it commercially (including in print), and/or has questions about another use case is welcome to complete our reuse request form.
Attribution information
  • If you are redistributing all or part of this book in a noncommercial print format, then you must include on every physical page the following attribution:

    Access for free at https://openstax.org/books/calculus-volume-3/pages/1-introduction

  • If you are redistributing all or part of this book in a noncommercial digital format, then for every page that includes OpenStax content, you must license the derivative work under the same CC-BY-NC-SA license as the original, and include on every digital page view the following attribution:

    Access for free at https://openstax.org/books/calculus-volume-3/pages/1-introduction

Citation information

The information below includes the information needed to generate citations in most major styles (APA, MLA, etc.); you must reformat and organize the information as needed to fit the requirements of the style. Use the information below to generate a citation. We recommend using a citation tool such as this one.

© Jul 15, 2026 OpenStax. Textbook content produced by OpenStax is licensed under a Creative Commons Attribution-NonCommercial-ShareAlike License. The OpenStax name, OpenStax logo, OpenStax book covers, OpenStax CNX name, and OpenStax CNX logo, and Rice University name, and Rice University logo trademarks, or wordmarks are not subject to the Creative Commons license and may not be reproduced without the prior and express written consent of Rice University.