Let σ be a closed, piecewise smooth, orientable surface that encloses a solid region V in R3. Suppose F is a vector field whose component functions have continuous first-order partial derivatives on an open set containing V and its boundary σ. If n^ is the outward unit normal field for σ,
∬σF⋅n^dS=∭VdivFdV
Flux of F out through the closed surface σ (orange arrows, along n̂) equals
the divergence summed over the solid R (green arrows spreading from a
source).
The left side is the total outward flux through the boundary. The right side is the total divergence inside the solid. The theorem replaces a surface integral over σ with a triple integral over V.
divF=∇⋅F=∂x∂P+∂y∂Q+∂z∂R
Here:
F
Pi+Qj+Rk
V
Solid enclosed by σ
n^
Outward unit normal
Interpreting Divergence
Divergence measures the local excess of outward flow over inward flow.
Positive divergence means that the field behaves like a source near the point.
Negative divergence means that the field behaves like a sink near the point.
Zero divergence means that the local outward and inward flow balance.
For a small solid G centered at P0,
divF(P0)=G→P0limVol(G)1∬∂GF⋅n^dS
The divergence theorem is the corresponding whole-region statement. It adds the local flux densities throughout V.
Applying the Theorem
Use the following procedure when the surface is closed.
Identify the solid V enclosed by the surface.
Check that the normal is outward.
Compute divF.
Set up ∭VdivFdV using convenient coordinates.
Evaluate the triple integral.
Examples
Sphere
Find the outward flux of F=xi+yj+zk through the sphere x2+y2+z2=a2.
Solution RevealHide
divF=1+1+1=3
Let V be the solid ball of radius a, with volume 34πa3.
Φ=∭V3dV=3⋅34πa3=4πa3
Cube
Find the outward flux of F=x2i+y2j+z2k through the surface of the cube 0≤x,y,z≤1.
Solution RevealHide
divF=2x+2y+2zΦ=∫01∫01∫012(x+y+z)dxdydz
Each term integrates to 21 over the unit cube, so the 3 terms add to 2⋅3⋅21.
Φ=3
Hemisphere
Find the upward flux of F=zk through the hemisphere x2+y2+z2=1, z≥0.
Solution RevealHide
The hemisphere is not closed. Close it with the disk D={x2+y2≤1,z=0}. The closed surface encloses the solid half-ball V.
divF=1∭V1dV=21⋅34π=32π
The outward normal on D is −k. On D, z=0, so
∬DF⋅(−k)dS=∬D(−z)dS=0
The flux across the closed surface is the sum of the flux across the hemisphere and across D.