[Physics] Relation of unit vectors of spherical and cartesian coordinates

coordinate systemselectromagnetismelectrostaticsvectors

Okay in the adjoining picture the doubt or query is simple,how did is
$\hat{\theta}=\frac{\frac{\partial\mathbf{r}}{\partial \theta}}{\left|\frac{\partial\mathbf{r}}{\partial \theta}\right|}$

I have seen many youtube videos but still can't find the answer
I am new to electrodynamics and griffiths

A snapshot from Griffiths solution manual

Best Answer

As the text says, $\frac{\partial {\bf{r}}}{\partial r}$ is a vector which points in the $\hat r$ direction. If this is not clear, consider the difference quotient:

$$\frac{\partial {\bf{r}}}{\partial r} \equiv \lim_{\delta r \rightarrow 0} \frac{{\bf{r}}(r+\delta r,\theta,\phi) - {\bf{r}}(r,\theta,\phi)}{\delta r}$$

The numerator is an arrow which points from a point $(r,\theta,\phi)$ to the point $(r+\delta r,\theta,\phi)$, and so it points in the $\hat r$ direction. There is no particular reason that this should be a unit vector, though, so if we want the radial unit vector, we should say that

$$\hat r = \frac{\frac{\partial {\bf{r}}}{\partial r}}{\left|\frac{\partial {\bf{r}}}{\partial r}\right|}$$

Precisely the same reasoning holds for $\hat \theta$ and $\hat \phi$.