having a bit of trouble wrapping my head around why the following result is true. I cant come up with a proof and it wasn't shown to me in class and I can't find it in any books. Any clarification on it would be nice. Thank you!
Let u = $\nabla \phi$. Then, $\nabla \times (\phi \nabla \phi) = 0$
$\nabla \phi=(\phi_x,\phi_y,\phi_z)$
so $$\nabla \times (\phi\nabla \phi)=\begin{vmatrix} \mathbf{i}&\mathbf{j}&\mathbf{k}\\ \frac{\partial}{\partial x}&\frac{\partial}{\partial y}&\frac{\partial}{\partial z}\\ \phi \phi_x&\phi \phi_y&\phi \phi_z\\ \end{vmatrix}$$
Take for example the coefficient of $\mathbf{k}$, it is $$\frac{\partial}{\partial x}\phi \phi_y-\frac{\partial}{\partial y}\phi \phi_x$$
Now using the product rule
$$\phi_x \phi_y +\phi\phi_{yx}-\phi_y \phi_x -\phi\phi_{xy}=0$$ since $\phi_{xy}=\phi_{yx}$.