- #1
meteorologist1
- 100
- 0
Hi, I'm doing a problem of finding the divergence of a radius vector from the origin to any point in Cartesian, cylindrical, and spherical coordinates. The answers look kind of strange to me. I just want to make sure what I did was correct.
To find: [tex] \nabla\cdot \vec{r} [/tex]
Cartesian: r = (x, y, z). I got the answer to be 3.
Cylindrical: r = (rho, phi, z). I got the answer to be 3 + 1/rho
Spherical: r = (r, theta, phi). I got the answer to be 3 + (1/r sin(theta))(sin(theta) + theta cos(theta) + 1).
Thanks.
To find: [tex] \nabla\cdot \vec{r} [/tex]
Cartesian: r = (x, y, z). I got the answer to be 3.
Cylindrical: r = (rho, phi, z). I got the answer to be 3 + 1/rho
Spherical: r = (r, theta, phi). I got the answer to be 3 + (1/r sin(theta))(sin(theta) + theta cos(theta) + 1).
Thanks.