In Cartesian components, , with constant . Taking the gradient component by component gives
The constancy of matters: if it depended on position, derivatives of its components would also contribute.
The vector calculus identity gives zero because a constant vector field has zero curl and . Thus
Equivalently, the Cartesian components are , and each component is independent of the coordinate used in its contribution to the divergence.
Away from the origin, the product rule and give
The field is undefined at . It has outward flux through any sphere centred there, so its global distributional divergence is , not the zero distribution. The pointwise result must not be extended through the singularity when applying the divergence theorem.

Articles by others on the same topic (0)

There are currently no matching articles.