What is it?
The total divergence inside a region equals the flux out through its boundary: what is produced inside must leave through the surface. It is the foundation of conservation laws and finite-volume methods.
Statement
Idea of the proof
Chop into tiny boxes. For each box, flux out ≈ divergence × volume. Adding all boxes, fluxes through shared internal faces cancel, leaving only the outer boundary.
Where it shows up in computing
Finite-volume CFD is the divergence theorem applied cell by cell — the proof idea above, as an algorithm.
Gauss's law in integral form: the flux of through a closed surface is the enclosed charge over .
Where is it used?
Computing topics reachable from here, through the chain of ideas that leads to them: