Given $f(x,y)$, a function that has continuous partial derivatives in every point.
such that $\nabla f(0,-18)=-2i+3j$
We define a new function $g(x,y)=f(xy+x^2,xy-y^2)$ calculate $\nabla g(3,-3)$
How I tried to solve this? I need to find: $$\nabla g(3,-3)$ = g_x'(3,-3)i+g_y'(3,-3)j=f(xy+x^2,xy-y^2)_x'(3,-3)i+f(xy+x^2,xy-y^2)_y'(3,-3)j$$
and I have a formula for $\nabla g(3,-3)$, in other words I am evaluating the gradient of $g$ at the point $x=3$ and $y=-3$. In this formula I have the terms $f(xy+x^2, xy-y^2)^{'}_x$ and $f(xy+x^2, xy-y^2)^{'}_y$ so I need to substitute $x=3$ and $y=-3$ into them which gives me a final answer of $-2i+3j$ which is wrong.