$\vec{w} = \begin{pmatrix}w_r \\ w_{phi} \end{pmatrix} = \begin{pmatrix}\frac{Q_0}{2 \pi r} \\ 0 \end{pmatrix} $
1) Show that the flow satisfys the continuity equation
2) Show that $\vec{w}$ has a potential $\Phi$
3) Calculate $\Phi$
Task 1
$\nabla \cdot \vec{w} = 0$ I can't derive $\frac{\partial w_r}{\partial r} + \frac{1}{r} \frac{\partial w_{\phi}}{\partial \phi} + \frac{\partial w_z}{\partial z} + \frac{w_r}{r} = 0$ from that. The last part $+ \frac{w_r}{r}$ remains a mystery to me.
Task 2
I would have used $\vec{\nabla} \times \vec{w} = 0$ However if I calculate that vector product I see that the equation is satisfyed, if I assume $w_z$ is zero since it is not given. From the solution however it states that: $w_z = \frac{w_{\phi}}{r} + \frac{\partial w_{\phi}}{\partial r} - \frac{1}{r}\frac{\partial w_r}{\partial \phi} = 0$ This is due to the fact that a plane flow can only have the third compoment $w_z$ different from zero. Neither can I imagine why that component is the only one that can be different from zeor nor where the equation comes from.