On the outward-oriented sphere of radius , , so . Hence
Away from the origin, the divergence and curl of a radial vector field with give
If the enclosed volume excludes the origin and its boundary avoids it, this field is smooth throughout the volume. The divergence theorem then gives . The nonzero sphere flux is compatible with zero divergence away from the origin because the enclosed singularity prevents applying that smooth-volume theorem directly to the full ball.
In three dimensions the curl can be written with the Levi-Civita symbol:
Both terms contract an antisymmetric array with a symmetric one, and therefore vanish. Every differentiable radial field of this form has zero curl away from the origin. This is the three-dimensional part of the divergence and curl of a radial vector field.
Apply the product rule and the preceding gradient formula to the vector field . Summing over the repeated index gives
Here for the Kronecker delta. Thus the divergence and curl of a radial vector field give, in any dimension,