Given:
- $\vec{r}(x, y, z) = (x,y,z)$
- $r(x,y,z) = ||\vec{r}|| = \sqrt{x^2 + y^2 + z^2}$
Through a set of computations, it can be shown that: $$\nabla{r}=\frac{\vec{r}}{r}=\hat{{\mathbf{r}}}$$
How can I predict $\nabla{r}=\hat{{\mathbf{r}}}$ by only geometric reasoning, without any computation?
The hint tells me to consider the level sets of $r$ (which, I assume, would be a bunch of circles) and use symmetry, but I haven't been able to figure how to use this hint.
The gradient is always perpendicular to the level sets. For this function, the level sets are spheres centered at the origin. The vectors perpendicular to those spheres point outwards or inwards radially, i.e. $\nabla = k\hat r$ for some constant $k$.
Now we use symmetry to compute $k$. The (signed) norm of the gradient is the directional derivative in the direction it points. Since spheres are symmetric, we can just look at one direction, say, the positive x-axis. On that axis, the function is just $r(x,0,0) = x$, and the directional derivative is just the partial derivative $k = \frac{\partial r}{\partial x}(x,0,0) = 1.$