Learning Objectives
- Explain the meaning of the divergence theorem.
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:
- The Fundamental Theorem of Calculus:
[latex]\large{\displaystyle\int_a^bf^\prime(x)dx=f(b)-f(a)}[/latex].
This theorem relates the integral of derivative [latex]f'[/latex] over line segment [latex][a,b][/latex] along the [latex]x[/latex]-axis to a difference of [latex]f[/latex] evaluated on the boundary. - The Fundamental Theorem for Line Integrals:
[latex]\large{\displaystyle\int_C\nabla f\cdot d{\bf{r}}=f(P_1)-f(P_0)}[/latex].
where [latex]P_0[/latex] is the initial point of [latex]C[/latex] and [latex]P_1[/latex] is the terminal point of [latex]C[/latex]. The Fundamental Theorem for Line Integrals allows path [latex]C[/latex] to be a path in a plane or in space, not just a line segment on the [latex]x[/latex]-axis. If we think of the gradient as a derivative, then this theorem relates an integral of derivative [latex]\nabla f[/latex] over path [latex]C[/latex] to a difference of [latex]f[/latex] evaluated on the boundary of [latex]C[/latex]. - Green’s theorem, circulation form:
[latex]\large{\displaystyle\iint_D(Q_x-P_y)dA=\displaystyle\int_C{\bf{F}}\cdot d{\bf{r}}}[/latex].
Since [latex]Q_x-P_y=\text{curl }{\bf{F}}\cdot{\bf{k}}[/latex] and curl is a derivative of sorts, Green’s theorem relates the integral of derivative curl[latex]{\bf{F}}[/latex] over planar region [latex]D[/latex] to an integral of [latex]{\bf{F}}[/latex] over the boundary of [latex]D[/latex]. - Green’s theorem, flux form:
[latex]\large{\displaystyle\iint_D(P_x+Q_y)dA=\displaystyle\int_C{\bf{F}}\cdot{\bf{N}}ds}[/latex].
Since [latex]P_x+Q_y=\text{div }{\bf{F}}[/latex] and divergence is a derivative of sorts, the flux form of Green’s theorem relates the integral of derivative div [latex]{\bf{F}}[/latex] over planar region [latex]D[/latex] to an integral of [latex]{\bf{F}}[/latex] over the boundary of [latex]D[/latex]. - Stokes’ theorem:
[latex]\large{\displaystyle\iint_S\text{curl }{\bf{F}}\cdot ds=\displaystyle\int_C{\bf{F}}\cdot d{\bf{r}}}[/latex]
If we think of the curl as a derivative of sorts, then Stokes’ theorem relates the integral of derivative curl[latex]{\bf{F}}[/latex] over surface [latex]S[/latex] (not necessarily planar) to an integral of [latex]{\bf{F}}[/latex] over the boundary of [latex]S[/latex].
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 div[latex]{\bf{F}}[/latex] over a solid to a flux integral of [latex]{\bf{F}}[/latex] over the boundary of the solid. More specifically, the divergence theorem relates a flux integral of vector field [latex]{\bf{F}}[/latex] over a closed surface [latex]S[/latex] to a triple integral of the divergence of [latex]{\bf{F}}[/latex] over the solid enclosed by [latex]S[/latex].
theorem: The divergence theorem
Let [latex]S[/latex] be a piecewise, smooth closed surface that encloses solid [latex]E[/latex] in space. Assume that [latex]S[/latex] is oriented outward, and let [latex]{\bf{F}}[/latex] be a vector field with continuous partial derivatives on an open region containing [latex]E[/latex] (Figure 1). Then
[latex]\large{\displaystyle\iiint_e\text{div }{\bf{F}}dV=\displaystyle\int_C{\bf{F}}\cdot d{\bf{S}}}[/latex].
Recall that the flux form of Green’s theorem states that [latex]\displaystyle\iint_D\text{div }{\bf{F}}dA=\displaystyle\int_C{\bf{F}}\cdot{\bf{N}}ds[/latex]. 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 [latex]B[/latex] be a small box with sides parallel to the coordinate planes inside [latex]E[/latex] (Figure 2). Let the center of [latex]B[/latex] have coordinates [latex](x, y, z)[/latex] and suppose the edge lengths are [latex]\Delta x[/latex], [latex]\Delta y[/latex], and [latex]\Delta z[/latex] (Figure 2(b)). The normal vector out of the top of the box is [latex]{\bf{k}}[/latex] and the normal vector out of the bottom of the box is [latex]-{\bf{k}}[/latex]. The dot product of [latex]{\bf{F}}=\langle P,Q,R\rangle[/latex] with [latex]{\bf{k}}[/latex] is [latex]R[/latex] and the dot product with [latex]-{\bf{k}}[/latex] is [latex]-R[/latex]. The area of the top of the box (and the bottom of the box) [latex]\Delta S[/latex] is [latex]\Delta x\Delta y[/latex].
The flux out of the top of the box can be approximated by [latex]R\left(x,y,z+\frac{\Delta z}{2}\right)\Delta x\Delta y[/latex] (Figure 2(c)) and the flux out of the bottom of the box is [latex]-R\left(x,y,z-\frac{\Delta z}{2}\right)\Delta x\Delta y[/latex]. If we denote the difference between these values as [latex]\Delta R[/latex], then the net flux in the vertical direction can be approximated by [latex]\Delta R\Delta x\Delta y[/latex]. However,
[latex]\large{\Delta R\Delta x\Delta y=\left(\frac{\Delta R}{\Delta z}\right)\Delta x\Delta y\Delta z\approx\left(\frac{\partial R}{\partial z}\right)\Delta V}[/latex].
Therefore, the net flux in the vertical direction can be approximated by [latex]\left(\frac{\partial R}{\partial z}\right)\Delta V[/latex]. Similarly, the net flux in the [latex]x[/latex]-direction can be approximated by [latex]\left(\frac{\partial P}{\partial x}\right)\Delta V[/latex] and the net flux in the [latex]y[/latex]-direction can be approximated by [latex]\left(\frac{\partial Q}{\partial y}\right)\Delta V[/latex]. Adding the fluxes in all three directions gives an approximation of the total flux out of the box:
Total flux [latex]\approx\left(\frac{\partial P}{\partial x}+\frac{\partial Q}{\partial y}+\frac{\partial R}{\partial z}\right)\Delta V=\text{div }{\bf{F}}\Delta V[/latex].
This approximation becomes arbitrarily close to the value of the total flux as the volume of the box shrinks to zero.
The sum of [latex]\text{div }{\bf{F}}\Delta V[/latex] over all the small boxes approximating [latex]E[/latex] is approximately [latex]\displaystyle\iiint_E\text{div }{\bf{F}}dV[/latex]. On the other hand, the sum of [latex]\text{div }{\bf{F}}\Delta V[/latex] over all the small boxes approximating [latex]E[/latex] 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 [latex]E[/latex]. As the volumes of the approximating boxes shrink to zero, this approximation becomes arbitrarily close to the flux over [latex]S[/latex].
[latex]_\blacksquare[/latex]
Example: verifying the divergence theorem
Verify the divergence theorem for vector field [latex]{\bf{F}}=\langle x-y,x+z, z-y\rangle[/latex] and surface [latex]S[/latex] that consists of cone [latex]x^{2}+y^{2}=z^{2}[/latex], [latex]0\leq z\leq1[/latex], and the circular top of the cone (see the following figure). Assume this surface is positively oriented.
try it
Verify the divergence theorem for vector field [latex]{\bf{F}}(x,y,z)=\langle x+y+z,y,2x-y\rangle[/latex] and surface [latex]S[/latex] given by the cylinder [latex]x^{2}+y^{2}=1[/latex], [latex]0\leq z\leq3[/latex] plus the circular top and bottom of the cylinder. Assume that [latex]S[/latex] is positively oriented.
Watch the following video to see the worked solution to the above Try It
Recall that the divergence of continuous field [latex]{\bf{F}}[/latex] at point [latex]P[/latex] is a measure of the “outflowing-ness” of the field at [latex]P[/latex]. If [latex]{\bf{F}}[/latex] 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 [latex]P[/latex] be a point and let [latex]B_r[/latex] be a ball of small radius [latex]r[/latex] centered at [latex]P[/latex] (Figure 4). Let [latex]S_r[/latex] be the boundary sphere of [latex]B_r[/latex]. Since the radius is small and [latex]{\bf{F}}[/latex] is continuous, [latex]\text{div }{\bf{F}}(Q)\approx\text{div }{\bf{F}}(P)[/latex] for all other points [latex]Q[/latex] in the ball. Therefore, the flux across [latex]S_r[/latex] can be approximated using the divergence theorem:
[latex]\large{\displaystyle\iint_{S_r}{\bf{F}}\cdot dS=\displaystyle\iiint_{B_r}\text{div }{\bf{F}}dV\approx\displaystyle\iiint_{B_r}\text{div }{\bf{F}}(P)dV}[/latex].
Since [latex]\text{div }{\bf{F}}(P)[/latex] is a constant,
[latex]\large{\displaystyle\iiint_{B_r}\text{div }{\bf{F}}(P)dV=\text{div }{\bf{F}}(P)V(B_r)}[/latex].
Therefore, flux [latex]\displaystyle\iint_{S_r}{\bf{F}}\cdot d{\bf{S}}[/latex] can be approximated by [latex]\text{div }{\bf{F}}(P)V(B_r)[/latex]. This approximation gets better as the radius shrinks to zero, and therefore
[latex]\large{\text{div }{\bf{F}}(P)=\displaystyle\lim_{r\to0}\frac{1}{V(B_r)}\displaystyle\iint_{S_r}{\bf{F}}\cdot d{\bf{S}}}[/latex].
This equation says that the divergence at [latex]P[/latex] is the net rate of outward flux of the fluid per unit volume.
Candela Citations
- CP 6.65. Authored by: Ryan Melton. License: CC BY: Attribution
- Calculus Volume 3. Authored by: Gilbert Strang, Edwin (Jed) Herman. Provided by: OpenStax. Located at: https://openstax.org/books/calculus-volume-3/pages/1-introduction. License: CC BY-NC-SA: Attribution-NonCommercial-ShareAlike. License Terms: Access for free at https://openstax.org/books/calculus-volume-3/pages/1-introduction