Find the extreme values of the function
on the circle
.
We set up the system of equations grad(f) = h * grad(g), g = 1. (We do not use "lambda" because that name is already reserved for an existing function in Maxima.)
Now we solve the system for x, y, and h.
We see that the extreme values lie among ,
,
,
.
So the minima occur at and
; the maxima occur at
and
.