For in Cartesian coordinates,
For a continuously differentiable vector field, the divergence is the limiting outward flux per unit volume through a small closed surface. Opposite faces of a small rectangular box almost cancel; the remaining differences in the three components give the sum of partial derivatives above. The divergence theorem extends this local balance to a whole region.
For , the divergence is . In a planar unit square, the right edge contributes outward flux and the top contributes , while the left and bottom contribute zero. The total equals the integral of the planar divergence over area .
If is a velocity field, positive divergence means local volume expansion, not automatically creation of mass. The continuity equation gives , where is the material derivative. For this field, a uniform initial density evolves as while material volumes grow as . Their product stays constant.
Mnemonic: it gives out the amount of fluid that is going in or out of a given volume per unit of time.
New to topics? Read the docs here!