Reference to Griffith electrodynamics question:- 1.16 Compute the divergence of an inverse square vector field. Now gradient is (∂/∂r)(r cap) Hence upon taking divergence of inverse square field (r cap)/r^2.....We dont get 0. In fact we get (-2)/r^3. But if we write the vector field and the gradient both in terms of x, y & z components, and then compute gradient then it comes out to be 0. Where is the glitch?