I was working through a proof for a class I'm currently in, proving the identity of
$ r \frac{\partial f}{\partial r} = \vec x \cdot\nabla f $
where
$ \vec x \epsilon \mathbb{R}^n \\ r = |\vec x| $
And f is any real valued differentiable function.
One of the given identities to us by the TA when we asked about how to go about the proof was:
$ \frac{\partial f}{\partial r} = \nabla {f}\cdot \nabla {r} $
What is the name of the above partial to gradient identity mentioned by the TA? How would you prove it?
Recall that $\partial f/\partial r$ at a point $\vec x$ is the radial derivative, i.e., the directional derivative of $f$ in the direction of the unit vector $\vec x/\|\vec x\| = \vec x/r$. So $$\frac{\partial f}{\partial r} = \nabla f\cdot\frac{\vec x}r.$$ Multiply by $r$.
By the way, it makes no sense to take a partial derivative with respect to a function.