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 got stuck here; I don't have f to calculate the partial directive for it...
To simplify notation, let us define $u= xy+x^2$, $v=xy-y^2$, so that: $$ \frac{\partial u}{\partial x}=y+2x ,\quad \frac{\partial v}{\partial x}=y $$
Then, using the chain rule, since $g(x,y)=f(u,v)$: $$\frac{\partial g}{\partial x}=\frac{\partial f}{\partial u}\frac{\partial u}{\partial x}+\frac{\partial f}{\partial v}\frac{\partial v}{\partial x}$$
Now, if $q=(x,y)=(3,-3)$ we have $p=(u,v)=(0,-18)$, and we already know: $$ \left.\frac{\partial f}{\partial u}\right|_p =-2 , \quad \left.\frac{\partial f}{\partial v}\right|_p =3 $$ Also we can compute from above: $$ \left.\frac{\partial u}{\partial x}\right|_q =3 ,\quad \left. \frac{\partial v}{\partial x}\right|_q=-3 $$
Then, $$\left.\frac{\partial g}{\partial x}\right|_p=-2 \cdot 3+ 3 \cdot (-3)=-15 $$
Can you repeat the operation with $\dfrac{\partial g}{\partial y}$ ?