The divergence theorem (Gauss's theorem) links a volume integral of divergence to a surface integral of flux:
Here, is the closed surface bounding volume with an outward-pointing normal.
Physical meaning: Total flux leaving a closed surface equals total source strength inside.
| Situation | Best Direction |
|---|---|
| Hard surface, easy divergence | Surface volume |
| Hard volume, easy flux | Volume surface |
| everywhere | Flux is zero |
Example: For on the unit sphere, . The volume integral is , matching the flux integral.
Physics & Pitfalls
Applications in physics:
- Gauss's law:
- Continuity equation:
Key insight: It reduces 2D surface integrals to 3D volume integrals, or vice versa. Always pick the easier side.
Common pitfall: The theorem requires a closed surface and a field that is smooth throughout the volume.
An open surface, or a singularity inside like at the origin, invalidates the equality entirely.