- #1
naele
- 202
- 1
Homework Statement
Find the gradient of [itex]3r^2[/itex] in spherical coordinates, then do it in Cartesian coordinates
Homework Equations
[tex]
\nabla f=\hat r \frac{\partial f}{\partial r} + \hat \theta \frac{1}{r} \frac{\partial f}{\partial \theta}+ \hat \phi \frac{1}{r\sin \theta}\frac{\partial f}{\partial \phi}
[/tex]
[tex]z=r \cos \theta[/tex]
The Attempt at a Solution
Since there's no [itex]\theta, \phi[/itex] then the gradient is simply [itex]6r \hat r[/itex]. Transforming to cartesian coordinates gives [tex]\frac{z}{6}\hat z[/tex] because cos 0 = 1. Any of the other coordinate transforms involve [itex] \sin \theta [/itex] or [itex] \sin \phi[/itex] so z is the only non-zero coordinate.
Last edited: