- Understand the divergence theorem
- Calculate flux using the divergence theorem
- Apply the divergence theorem to physical problems
Overview of Theorems
The Main Idea
All the major theorems we’ve studied—from the Fundamental Theorem of Calculus through Stokes’ Theorem—share a common structure: they relate an integral of a “derivative” over a region to an integral over the boundary of that region. Understanding this pattern reveals the deep unity underlying these seemingly different results.
The Common Pattern
Each theorem follows the template: [latex]\text{(Integral of derivative over region)} = \text{(Integral over boundary)}[/latex]
The Hierarchy
- Fundamental Theorem of Calculus: [latex]\int_a^b f'(x)\,dx = f(b) - f(a)[/latex]
- Derivative: [latex]f'[/latex]
- Region: line segment [latex][a,b][/latex]
- Boundary: endpoints [latex]a[/latex] and [latex]b[/latex]
- Fundamental Theorem for Line Integrals: [latex]\int_C \nabla f \cdot d\mathbf{r} = f(P_1) - f(P_0)[/latex]
- Derivative: gradient [latex]\nabla f[/latex]
- Region: curve [latex]C[/latex]
- Boundary: endpoints [latex]P_0[/latex] and [latex]P_1[/latex]
- Green’s Theorem (Circulation Form): [latex]\iint_D (Q_x - P_y)\,dA = \int_C \mathbf{F} \cdot d\mathbf{r}[/latex]
- Derivative: curl ([latex]Q_x - P_y = \text{curl } \mathbf{F} \cdot \mathbf{k}[/latex])
- Region: planar region [latex]D[/latex]
- Boundary: closed curve [latex]C[/latex]
- Green’s Theorem (Flux Form): [latex]\iint_D (P_x + Q_y)\,dA = \int_C \mathbf{F} \cdot \mathbf{N}\,ds[/latex]
- Derivative: divergence ([latex]P_x + Q_y = \text{div } \mathbf{F}[/latex])
- Region: planar region [latex]D[/latex]
- Boundary: closed curve [latex]C[/latex]
- Stokes’ Theorem: [latex]\iint_S \text{curl } \mathbf{F} \cdot d\mathbf{S} = \int_C \mathbf{F} \cdot d\mathbf{r}[/latex]
- Derivative: curl
- Region: surface [latex]S[/latex] (in space, not necessarily planar)
- Boundary: closed curve [latex]C[/latex]
The Big Picture
Each theorem generalizes the previous one to higher dimensions, extending the Fundamental Theorem of Calculus from one dimension to curves, surfaces, and eventually three-dimensional regions. The “derivative” changes (from [latex]f'[/latex] to gradient to curl to divergence), but the fundamental relationship between interior and boundary remains constant.
Stating the Divergence Theorem
The Main Idea
The Divergence Theorem completes the pattern of fundamental theorems by relating a triple integral of divergence over a solid region to a flux integral over its boundary surface. It’s the three-dimensional analog of Green’s Theorem (flux form), extending the relationship between divergence and flux to solid regions.
The Core Formula
For a closed surface [latex]S[/latex] (oriented outward) enclosing solid region [latex]E[/latex] and vector field [latex]\mathbf{F}[/latex]:
[latex]\iiint_E \text{div } \mathbf{F}\,dV = \iint_S \mathbf{F} \cdot d\mathbf{S}[/latex]
The left side integrates divergence throughout the interior volume. The right side measures flux across the boundary surface. This remarkable connection means you can calculate either integral by computing the other.
Understanding the Proof
Imagine dividing solid [latex]E[/latex] into tiny boxes. For each small box with volume [latex]\Delta V[/latex], the flux out of the box is approximately [latex]\text{div } \mathbf{F} \cdot \Delta V[/latex]. When you add up fluxes over all boxes, the fluxes across shared interior faces cancel (one box’s outward flux equals the adjacent box’s inward flux). Only fluxes across faces on the boundary of [latex]E[/latex] survive. As box size shrinks to zero, this sum approaches both the triple integral of divergence and the surface integral of flux.
Physical Interpretation
The Divergence Theorem confirms that divergence measures “outflow per unit volume.” For a tiny ball [latex]B_r[/latex] of radius [latex]r[/latex] centered at point [latex]P[/latex]:
[latex]\text{div } \mathbf{F}(P) = \lim_{r \to 0} \frac{1}{V(B_r)} \iint_{S_r} \mathbf{F} \cdot d\mathbf{S}[/latex]
Divergence at [latex]P[/latex] equals the net outward flux per unit volume in the limit as the region shrinks to [latex]P[/latex].
Strategic Use
Computing flux across a complicated closed surface? Use the Divergence Theorem to convert to a (potentially simpler) triple integral of divergence over the interior.
Using the Divergence Theorem
The Main Idea
The Divergence Theorem is a powerful computational tool that lets you choose between calculating a complicated flux integral over a closed surface or a (potentially simpler) triple integral of divergence over the interior. This flexibility often transforms intractable problems into manageable calculations.
Strategic Thinking
When faced with [latex]\iint_S \mathbf{F} \cdot d\mathbf{S}[/latex] over a closed surface, ask: Would computing [latex]\iiint_E \text{div } \mathbf{F}\,dV[/latex] be easier? For surfaces like cylinders or cubes with multiple pieces, the theorem eliminates the need to break the surface integral into separate pieces—you just compute one triple integral instead.
The Zero Divergence Shortcut
Here’s a remarkable time-saver: if [latex]\mathbf{F}[/latex] has the form [latex]\mathbf{F} = \langle f(y,z), g(x,z), h(x,y) \rangle[/latex] (where each component depends only on two variables, not the “matching” variable), then:
- [latex]\text{div } \mathbf{F} = 0[/latex] automatically
- By the Divergence Theorem, flux across any closed surface equals zero
No calculation needed! This pattern appears when vector fields are rotational in nature—flow entering the region equals flow leaving, so net flux is zero.
Justifying Physical Interpretation
The Divergence Theorem confirms that divergence measures “outflow per unit volume.” Consider a tiny ball [latex]B_r[/latex] centered at point [latex]P[/latex]. The flux across its boundary [latex]S_r[/latex] relates to divergence:
[latex]\text{div } \mathbf{F}(P) = \lim_{r \to 0} \frac{1}{V(B_r)} \iint_{S_r} \mathbf{F} \cdot d\mathbf{S}[/latex]
As the ball shrinks to [latex]P[/latex], divergence emerges as the net outward flux per unit volume—the fundamental measure of how much the field “spreads out” from that point.
When to Use It
Use the Divergence Theorem when the closed surface is complicated (multiple pieces, difficult parameterization) but computing divergence and integrating over the solid is straightforward.


Application to Electrostatic Fields
The Main Idea
The Divergence Theorem provides a powerful framework for understanding electrostatic fields, culminating in Gauss’ Law—one of the fundamental laws of electromagnetism. This connection reveals how abstract mathematical theorems translate directly into physical laws governing electricity.
Electrostatic Fields and Inverse-Square Laws
A stationary point charge [latex]q[/latex] at the origin creates an electrostatic field:
[latex]\mathbf{E} = \dfrac{q}{4\pi\varepsilon_0} \mathbf{F}_r[/latex]
where [latex]\mathbf{F}_r = \frac{1}{r^2}\left\langle\frac{x}{r}, \frac{y}{r}, \frac{z}{r}\right\rangle[/latex] is a radial field and [latex]\varepsilon_0 \approx 8.854 \times 10^{-12}[/latex] F/m is the electric constant. This field obeys an inverse-square law: the force at any point is inversely proportional to the square of the distance from the charge. The field points outward (unlike gravity, which points inward).
Key Properties of the Radial Field
The divergence of [latex]\mathbf{F}_r[/latex] is zero everywhere except at the origin. However, the flux of [latex]\mathbf{F}_r[/latex] across any closed surface [latex]S[/latex] has a remarkable property:
[latex]\iint_S \mathbf{F}_r \cdot d\mathbf{S} = \begin{cases} 0 & \text{if origin is outside } S \\ 4\pi & \text{if origin is inside } S \end{cases}[/latex]
This flux depends only on whether [latex]S[/latex] encloses the origin, not on the shape or size of [latex]S[/latex].
Gauss’ Law
For an electrostatic field [latex]\mathbf{E}[/latex] created by charge [latex]q[/latex], Gauss’ Law states:
[latex]\iint_S \mathbf{E} \cdot d\mathbf{S} = \frac{Q}{\varepsilon_0}[/latex]
where [latex]Q[/latex] is the total charge enclosed by [latex]S[/latex]. The flux across a closed surface equals the enclosed charge divided by the electric constant. This law extends to multiple charges: simply sum all charges inside [latex]S[/latex].
Why This Matters
Gauss’ Law lets you calculate flux without explicitly knowing the electric field everywhere—you only need the total enclosed charge. This demonstrates the Divergence Theorem’s power in physics: relating local properties (charge distribution) to global properties (total flux).