Away from the origin, the electric field is , with here denoting the position vector in the numerator and its Euclidean norm in the denominator. The spherical-coordinate formula for divergence gives
At the origin the electric field is singular, so the ordinary divergence is undefined there. The equation above must not be extended to the whole space as an ordinary smooth-field identity. Its correct distributional divergence, derived in solution, includes the point source.