The divergence theorem (or Gauss’s theorem) is the 3D analog of Green’s flux form. It converts a closed-surface flux integral into a triple integral of divergence over the enclosed volume.
Statement
Let be a solid region in with piecewise-smooth boundary surface , oriented outward. Let be a vector field on a region containing . Then
Total outward flux across the boundary surface = total divergence over the enclosed volume. The 2D boundary controls a 3D interior; one dimension is consumed by the divergence on the right.
Physical content
If is a fluid velocity field, the left side is the net volume of fluid leaving per unit time, and the right side is the total source strength inside. The theorem is conservation: what flows out equals what is being produced inside.
Why divergence theorem matters
Source-free closed-surface flux vanishes. If throughout , then . The 3D analog of “conservative ⇒ zero closed-loop circulation.”
Divergence as flux density. Applied to a tiny ball of volume around a point:
So is the flux per unit volume out of an infinitesimal ball — the precise meaning of “source density” claimed when introducing divergence.
Surface deformation principle. If in a region between two closed surfaces and (with inside , both oriented outward), then applying the divergence theorem to the region between gives
The flux through a closed surface is invariant under deforming the surface through source-free regions. This is the 3D version of the deformation principle for contour integrals — and it sets up the inverse-square result.
Worked examples
Easy. outward across the unit sphere.
. Volume of unit ball . Flux .
Direct verification (hard) vs. div theorem (easy). across the closed cylinder , .
Direct: three integrals (top disk, bottom disk, lateral cylinder).
By div theorem: . Volume of cylinder: . Flux: .
In context
The divergence theorem is one of the two grand 3D theorems of vector calculus (the other being Stokes’ theorem), and the foundation of Gauss’s law in electrostatics:
The left side is the flux of the electric field through any closed surface; the right side is the total enclosed charge divided by . Derivation: from Maxwell’s equation (a local statement) and the divergence theorem, .
Gauss’s law is the divergence theorem applied to electrostatics — the local-to-global content is exactly the theorem.
Connection to FTC family
| Theorem | Boundary | Interior |
|---|---|---|
| FTC | ||
| FTLI | ||
| Green’s (both) | over plane | |
| Stokes’ | ||
| Divergence |
All “integral of derivative on the inside = boundary integral on the outside.” All unified by the generalized Stokes’ theorem on differential forms.
The two parallel stories
The divergence theorem closes out the flux story (zero divergence ⇔ zero closed-surface flux ⇔ has a vector potential), the dual of the circulation story that runs through conservativeness, curl, FTLI, Green’s circulation, and Stokes’. Both stories are completed in vector calculus before complex analysis picks them up in Chapter 10 of Vector Calculus and Complex Analysis via the Cauchy-Riemann equations.