[Math] How to find the maximum and minimum points of f(x,y) on a unit circle

lagrange multipliermultivariable-calculusoptimization

I'm supposed to find the maximum and minimum values of $f(x,y) = xy^2$ on the circle $x^2 + y^2 = 1$.

My work so far:

$\bigtriangledown f = (y^2 ,xy)$

Let $g(x,y) = x^2 + y^2 $
$\bigtriangledown g = (2x,2y)$

$\bigtriangledown f = \lambda \bigtriangledown g$

and I'm not really sure where to go from here.

Best Answer

Have you tried the old-school approach? Every point $(x,y)$ on the unit circle can be written as $(\cos\theta,\sin\theta)$ for some $\theta\in[0,2\pi]$, and the stationary points of $\cos(\theta)\sin(\theta)^2$ lie at the roots of $\sin(\theta)\left(2\cos^2\theta-\sin^2\theta\right)$, hence the maximum is attained at $\theta=\arctan\sqrt{2}$ and its value is $\frac{2\sqrt{3}}{9}$. By symmetry ($(x,y)\mapsto(-x,y)$) the minimum is just the opposite.