Divergence Theorem (Gauss's Theorem)
The divergence theorem converts a surface flux integral into a volume integral of the divergence.
Used in electromagnetism, fluid mechanics, and heat transfer.
The Formula
The divergence theorem (also called Gauss's theorem or Gauss-Ostrogradsky theorem) states that the total flux of a vector field through a closed surface equals the integral of the divergence of that field over the enclosed volume. This is the 3D analog of the fundamental theorem of calculus and is one of the most powerful tools in mathematical physics.
Variables
| Symbol | Meaning |
|---|---|
| S | Closed surface (boundary of volume V), with outward-pointing normal |
| V | Volume enclosed by S |
| F | Vector field with continuous partial derivatives in V |
| ∇ · F | Divergence of F = ∂F_x/∂x + ∂F_y/∂y + ∂F_z/∂z |
| dS | Outward-pointing area element vector on S |
Example 1 — Flux Through a Sphere
Find the flux of F = (x, y, z) through the sphere of radius R centered at the origin.
Divergence: ∇ · F = ∂x/∂x + ∂y/∂y + ∂z/∂z = 1 + 1 + 1 = 3
By divergence theorem: flux = ∭V 3 dV = 3 × (volume of sphere)
= 3 × (4/3)πR³
Flux = 4πR³ — much easier than computing the surface integral directly!
Example 2 — Gauss's Law for Electric Fields
Gauss's law in differential form: ∇ · E = ρ/ε&sub0;. Apply divergence theorem to get the integral form.
∭V (∇ · E) dV = ∭V ρ/ε&sub0; dV = Qenc/ε&sub0;
By divergence theorem: &oiint;S E · dS = Qenc/ε&sub0;
This is the integral form of Gauss's law: the total electric flux through any closed surface equals the enclosed charge divided by ε&sub0;
When to Use It
Use the divergence theorem when:
- Calculating flux through a closed surface when the volume integral is easier
- Deriving Gauss's law, Gauss's law for magnetism, and the heat equation
- Analyzing conservation laws in fluid mechanics (mass, momentum, energy)
- Proving that the divergence of a magnetic field is always zero (∇ · B = 0)
- Simplifying calculations in electrostatics with symmetric charge distributions
The divergence theorem, Stokes' theorem, and Green's theorem are all special cases of the general Stokes' theorem in differential geometry. Together they form the backbone of classical electromagnetism as expressed by Maxwell's equations.