For in Cartesian coordinates,
For the Levi-Civita connection of a Riemannian metric, the divergence of is . In coordinates it equals . On an oriented manifold it satisfies . The codifferential on a one-form satisfies , where is the musical isomorphism; this follows by integration by parts or the Hodge star formula.
For a vector field directed radially from a fixed axis and depending only on distance from that axis, cylindrical coordinates give . Zero divergence gives on any positive radial interval. Unless , this field is singular on the axis, so applications of the divergence theorem must use a domain avoiding it or account separately for that singularity.
For a locally integrable vector field, this formula defines its divergence as a distribution. For a piecewise smooth field, a jump of its normal component across an interface adds a surface measure to the smooth divergences. A continuous normal component eliminates that measure, as follows by integration by parts on the two sides.
For ,
A total divergence has the form . The divergence theorem converts its volume integral into a boundary flux, which vanishes when the field has suitable decay or boundary conditions.
For a twice continuously differentiable vector field, commuting partial derivatives and antisymmetry of the Levi-Civita symbol give
Articles by others on the same topic
Mnemonic: it gives out the amount of fluid that is going in or out of a given volume per unit of time.