Let $\ f(x,y)=xy$. Use the method of Lagrange multipliers to find the maximum and minimum values of the function f on the circle $\ x^2+y^2=1$
First we note that the function $f$ is continuous and the set $S={(x,y):x^2+y^2=1}$ is compact, hence extrema are guaranteed. Using the method Lagrange multipliers, I set $\nabla f=\lambda\nabla g$, where $g(x,y)=x^2+y^2-1$. Following through the calculations, I arrived at four critical points: $$\Big(\frac{1}{\sqrt{2}},\frac{1}{\sqrt{2}}\Big),\Big(\frac{1}{\sqrt{2}},-\frac{1}{\sqrt{2}}\Big),\Big(-\frac{1}{\sqrt{2}},\frac{1}{\sqrt{2}}\Big),\Big(-\frac{1}{\sqrt{2}},-\frac{1}{\sqrt{2}}\Big)$$ Substituting these points into the function $f$, I obtained a maximum at $$\Big(\pm\frac{1}{\sqrt{2}},\pm\frac{1}{\sqrt{2}}\Big)=\frac{1}{2}$$ and a minimum at $$\Big(\pm\frac{1}{\sqrt{2}},\mp\frac{1}{\sqrt{2}}\Big)=-\frac{1}{2}$$
My question is, how do we now find the absolute maximum and absolute minimum of the function $f$ on the unit disc $x^2+y^2\leq 1$?
My attempt so far:
We want to find all the critical points. So to find stationary points, we set $$\nabla f=\vec{0}$$ Solving this, we find that $(0,0)$ is a stationary point. So, $f(0,0)=0$. Hence the absolute maximum is $\frac{1}{2}$ and the absolute minimum is $-\frac{1}{2}$, as these are all the critical points of $f$. This does not sit well with me, as I am unsure of my working/logic. Can this be improved on?
The method of Lagrange multipliers tells us the the local extremes of the restriction of $f$ to circle are the ones that you got. So, the absolute maximum and the absolute minimum must be attained at some of them (the absolute maximum and the absolute minimum are local extremes). Since $f$ takes the value $\frac12$ in two of them and no value greater than $\frac12$, $\frac12$ is necessarily the maximum. The same argument applies to the minimum.