Let$\;\mathbf{H}(x,y,z) = x^2y\mathbf{i}+y^2z\mathbf{j}+z^2x\mathbf{k}$. Find a vector field $\mathbf{F}$ and a scalar field g, such that $\mathbf{H}$ = curl(F) + ∇(g).
I took divergence on both sides which gave me $2xy+2yz+2xz=∇^2g$. I took curl on both sides which gave me three horrible equations one of which I have written down below:
$$\frac{\partial^2f_1}{\partial y^2}-\frac{\partial^2f_2}{\partial x\partial y}-\frac{\partial^2f_3}{\partial x\partial z}+\frac{\partial^2f_1}{\partial z\partial y}=-y^2$$ where I have taken $$\mathbf{F}=f_1\mathbf{i}+f_2\mathbf{j}+f_3\mathbf{k}$$
I tried to assign some values hoping to work out the rest but this gave me nothing. Please help.
I don't know if there is a 'canonical' way to approach this problem. Here's my thinking.
The critical observation is that if there exists $F$ and $g$ such that $H = \nabla \times F + \nabla g$, then $$\nabla\cdot H = \nabla\cdot\nabla F + \nabla^2 g = \nabla^2g$$ as div of a curl of a vector field $F$ is zero.
Now $\nabla \cdot H = 2(xy + yz + zx)$. As $2(xy + yz + xz) = \nabla^2 g = g_{xx} + g_{yy} + g_{zz}$ it's not to hard to find one such $g$: $$g(x,y,z) = x^2yz + y^2xz + z^2xy$$ In which case $\nabla g = (2xyz + y^2z + z^2y, 2xyz + x^2z + z^2x, 2xyz + x^2y + y^2z)$.
If $H = \nabla \times F + \nabla g$ for some $F$, then
$$\begin{align*} \nabla \times F & = H - \nabla g \\ & = (x^2y - y^2z - z^2y - 2xyz, \\ & \ \ \ \ \ \ \ y^2z - x^2z - z^2x - 2xyz, \\ & \ \ \ \ \ \ \ z^2x - x^2y - y^2x - 2xyz)\end{align*}$$
...which if you stare at long enough and play around, you can convince yourself there is no field $F$ which gives this result.
So better, we should find an $g$ where terms from $\nabla g$ cancels out terms from $H$ instead of adding to them. For example,
$$g(x,y,z) = \frac{1}{3} \left( x^3y + y^3z + z^3x \right)$$
We still have $\nabla^2 g = 2(xy + yz + xz)$. But also
$$\nabla g = \frac{1}{3}(3x^2y + z^3, 3y^2z + z^3,3z^2x + y^3 )$$
Thus as desired, $\nabla \times F$ is the relatively simple $$\nabla \times F = H - \nabla g = -\frac{1}{3}(z^3, x^3, y^3) $$
Such an $F$ is given by $F(x,y,z) = -\frac{1}{3}(x^3z, y^3x, z^3y)$.
Whew.