I have been doing doing this problem $∇ × (\varphi∇\varphi)=0$
I am just having trouble applying the product result i get which is below.
$$i(( \frac {d}{dy} )(\varphi \frac {d}{dz} \varphi) - ((\frac {d}{dz})(\varphi \frac {d}{dy} \varphi)) )$$
if i take the first part
$$(\varphi \frac {d}{dz} \varphi)$$
and use the product rule i get the following
$$\frac {d}{dx}(uv)= ((\varphi \frac {d}{dz} \varphi) + ((\frac {d^2}{d^2z} \varphi^2)))$$
this doesnt seem right, can someone help by going through the how to apply the product rule to this. thank you
You don't need to use product rule. Use the identity $$\nabla\times(\psi\vec{A})=\psi\nabla\times\vec{A}+(\nabla\psi)\times \vec{A}$$
Your equation becomes $$\varphi\nabla\times(\nabla\varphi)+\nabla\varphi\times\nabla\varphi=0$$ because each of the two terms is zero.
For future reference, to apply product rule on $\varphi\frac{\partial \phi}{\partial z}$:
$$\frac{\partial}{\partial y}(\varphi\frac{\partial \phi}{\partial z})=\frac{\partial \varphi}{\partial y}\frac{\partial \varphi}{\partial z}+\varphi\frac{\partial^2 \varphi}{\partial y \partial z}$$
This is by the product rule $$\frac{d}{dy}(uv)=\frac{du}{dy}v+u\frac{dv}{dy}$$
Directly applying this rule should give you the above equation. And by the way, this has nothing to do with your first equation in the question. That question does not need product rule.