if $\phi = \frac{1}{|\underline{r}|}$ and $E = -\operatorname{grad} \phi$ then show $\operatorname{div}E = 0$
the question does not say what $\underline{r}$ is explicitly, the solution shows the following steps:
$\underline{E} = - \nabla \phi = - \nabla \frac{1}{r} = \dfrac{\underline{r}}{r^3}$ then he computes the divergence. I am confused as to how he went from $- \nabla \frac{1}{r} = \dfrac{\underline{r}}{r^3}$, we defined $\nabla = \begin{pmatrix} \partial _x \\ \partial _y \\ \partial _z \end{pmatrix}$ but $\underline{r}$ is not defined explicitly and he does not compute it explicitly, similarly for finding $\nabla \cdot E$ he goes from $\nabla \cdot \left (\dfrac{\underline{r}}{r^3}\right ) = \dfrac{\nabla \cdot \underline{r}}{r^3} - 3 \dfrac{\underline{r} \cdot \underline{r}}{r^5}$ which I don't see how