naele
- 199
- 1
Homework Statement
Find the gradient of 3r^2 in spherical coordinates, then do it in Cartesian coordinates
Homework Equations
<br /> \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}<br />
z=r \cos \theta
The Attempt at a Solution
Since there's no \theta, \phi then the gradient is simply 6r \hat r. Transforming to cartesian coordinates gives \frac{z}{6}\hat z because cos 0 = 1. Any of the other coordinate transforms involve \sin \theta or \sin \phi so z is the only non-zero coordinate.
Last edited: