Firstly I do not see that this is a problem of 3 dimensions, for me it is 2. But a similar problem can very well arise in 3 dimensions, or any number. As a matter of fact almost the same problem in 3 dimensions, max/minimising xyz on a sphere did arise for me in a biophysical problem.
Important to realise this is really two different problems. Your solving f
x = 0, f
y = 0, gives you all the extrema in the
plane as a whole. Then you see whether any of these are within the disk f<

and in this case we find a whole pair of lines where they are. From these, four points are actually
on the
circle x
2 + y
2 = 2.
But then
a different question is to find any points that are
not extrema in the plane as a whole but are the max or min values of f encountered as you go around the circle. For any continuous closed curve unless f is simply constant there you are bound to have at least one max and one min of the function which in general are not extrema in the plane as a whole. But the problem need not be about closed curves - you might be (soon will be) asked to find the max/min of some f(x, y) along a curve g(x, y) = 0 between x = a and x = b for instance. (In such a case x=a and x=b are candidates).
In simple cases you can solve it by eliminating a variable. In this case you could express the equation in polar co-ordinates and as the circle is r= constant you reduce it to finding where (

has max and I think you'll get a nice thing involving 4

by standard manips. I am a bit too error-prone to give you that, but I found it very easy keeping the original x,y co-ordinates. You have along the circle f = 2x
2 - x
4 and a similar equation for y, which you can now differentiate (this is now now df/dx
as you go along the circle) you easily find solutions

.
You can see that in less simple cases such an elimination may not be possible or convenient and then you have to use another method such as Lagrange's or equivalent which you are probably being introduced to.