I was trying to solve the following problem
Find the extreme values of the function $$f(x,y)=2(x-y)^2-x^4-y^4$$
My attempt- $$p=\frac{\delta f}{\delta x}=4(x-x^3-y)$$ and $$q=\frac{\delta f}{\delta y}=4(y-y^3-x)$$ Equating p and q to 0 I get $$x-x^3-y=0$$ and $$y-y^3-x=0$$ I have no idea on how to solve the above 2 equations
We next simultaneously solve these equations to determine the potential critical points.
We have:
$$x-x^3-y=0 \\ y-y^3-x=0$$
We can write the second equation as $x = y-y^3$ and substitute into the first and get:
$$ y^3(y^2-2)(y^4-y^2+1) = 0 \rightarrow y = 0, \pm~ \sqrt{2}$$
We do not care about the four complex roots.
Next, substitute back into the original equation to find $x$ and this leads to the following potential critical points for test:
$$(x, y) = (0, 0), (-\sqrt{2},\sqrt{2}), (\sqrt{2},-\sqrt{2})$$
Can you proceed?