We find the maximum of $f(x,y) = x y$ on the circle $x^2+y^2 = 1$.
Contour Plot
Lagrange Multiplier Optimization