I want to differentiate $\frac{\mathbf{r}}{r}$ wrt t (time). I know the following; $$\frac{\mathrm{d}\mathbf{r}}{\mathrm{d}t} = \mathbf{\dot{r}}$$ $$\frac{\mathrm{d}{r}}{\mathrm{d}t} = {\dot{r}}$$ and so $$\frac{\mathrm{d}\frac{1}{r}}{\mathrm{d}t} = -\frac{1}{r^2}\dot{r}$$ and putting this together gives; $$\frac{\mathrm{d}\frac{\mathbf{r}}{r}}{\mathrm{d}t} = \frac{\mathbf{\dot{r}}}{r} - \frac{\dot{r}\mathbf{r}}{r^2}$$
Is this correct as I would have instinctively thought that since $\frac{\mathbf{r}}{r} = \mathbf{\hat{{r}}}$, the correct answer would be $\mathbf{\hat{\dot{r}}}$