The inverse-square radial vector field has zero ordinary divergence at every nonzero radius but flux through every centred sphere. It is locally integrable in three dimensions. For a smooth compactly supported test function , integrate by parts outside a ball of radius . The inward-oriented inner boundary gives , which tends to . This proves the displayed distributional divergence, with the three-dimensional Dirac delta function representing the point source.
For , the radial vector field has components . The product rule gives
Thus for ,
When , and the ordinary divergence is zero at every nonzero radius. However, the field is singular at the origin. Its outward flux through a radius- sphere is , so one cannot apply the smooth-field divergence theorem across the origin and conclude that this flux vanishes.
In the language of distributions, the complete distributional divergence identity is . Here is the three-dimensional Dirac delta function. Without that generalized interpretation, the correct statement is simply zero divergence away from the origin and undefined ordinary divergence at the singular point. Removing a small ball around the origin restores the ordinary theorem: the inner boundary has inward radial orientation and cancels the outer flux.