$f(x,y)=x^{4}-x^{2}+y^{2}$
$B={(x,y)\in \mathbb R, x^{2}+y^{2}\leq 1 }$
I should find minimum and maximum of this function on the range B.
I tried it with Lagrange Multiplier and I got these points $P(-1,0)$ and $P(1,0)$. If I put that in function I will get $0$.
So what is my minimum and maximum in this case? Is this good?
First we look for candidates in the interior of the disk. Setting the partials equal to $0$, we find that the candidates are $x=0,y=0$ and $x=\pm \frac{1}{\sqrt{2}}$, $y=0$.
Next we look for candidates on the boundary of the disk. Lagrange multipliers are fine, or else use the fact that $y^2=1-x^2$ to note that we are maximizing/minimizing $(x^2-1)^2$ on the boundary. So the maximum on the boundary is clearly $1$, and the minimum is $0$.
Now put together the information gathered in the preceding two paragraphs.