I have recently been puzzled by the following gradient vector and with calculating its parent function.
$$ \nabla f = <4y*sin(xy),4x*sin(xy)> $$
I don't see any clear way of producing the parent function $f(x,y)$ from this vector. Could anyone possibly provide insight into this problem?
Note that we must have:
$f_x=4y*\sin(xy)$ $f_y=4x*\sin(xy)$
Where might have this come from? Notice that $\frac{\partial g}{\partial x}=y\sin(xy)$ where $g=-\cos(xy)$. This is a great hint; see if you can figure it out.
Solution down here.
.
.
.
You should get $f(x, y)=-4\cos(xy)$ (technically plus a constant C, but it won't do much)
Edit: The OP corrected my sin/cosine stuff, thx :P