Let $\mathbf{r} = xi+yj+zk$, write $r= \|\mathbf{r}\|$ and let $f:\mathbb{R}\to\mathbb{R}$ be a function of class $C^1$
So from what I know, we can derive the function at least once and we know gradients are just the derivative of the function with respect to each variable .
Anyways $$r=\sqrt{x^2+y^2+z^2}$$ now replacing $$\nabla f\left(\sqrt{x^2+y^2+z^2}\right)$$
where do I go from here to get the proof? I feel like I'm overthinking this.
The follow up is to use the answer from the above to calculate $\nabla \left(\frac{r}{\sin r}\right)$.
I am guessing $$\nabla f(r)=\nabla f\left(\frac{r}{\sin r}\right)=f'\left(\frac{r}{\sin r}\right) \frac{\|\frac{r}{\sin r}\|}{\frac{r}{\sin r}}$$