Find the extrema values of a multivariable function with one inequality constraint

calculuslagrange multipliermultivariable-calculus

Question: Find the absolute maximum and minimum values of $f(x, y) = xy^2$ on the set $D=\{{(x, y), x^2+y^2 <= 3}\}$.

My attempted Solution: First I computed the following gradients of the functions:

Gradient of $f(x,y)=<y^2, 2xy>$

Gradient of $g(x,y)=<2x, 2y>$

Critical point 1: Since $<y^2, 2xy> = <0, 0>$, $(x, y) = (0, 0)$

By using the Lagrange multipliers, I obtained the following three functions:

$$y^2=2x\lambda$$
$$2xy=2y\lambda$$
$$x^2+y^2=3$$

However, I'm not sure how to continue on from this point to compute the critical points. Since $x$ and $y$ can be zero in both these cases, I'd assume that we can't divide either from both sides of the equation, thus making it hard to solve.

I'd be much appreciated if someone could show me how this is done. Thanks in advance!

Best Answer

$f(x,y) = xy^2$

With condition $x^2 + y^2 \leq 3$

Based on our function $(f(x,y) = xy^2)$, one thing to note is that our extrema would likely occur on the boundary $x^2 + y^2 = 3$.

Continuing from the point that you got to in your question,

$y^2=2x\lambda \implies \lambda = \frac{y^2}{2x} \, $ if $x \ne 0$

$2xy=2y\lambda \implies \lambda = x \,$ or $ \,x = 0$

For $x = 0, y = 0$

For $x \ne 0$, equating $\lambda, \, y = \pm \sqrt2 \, x$

Based on the condition, $-1 \leq x \leq 1$

So potential points to check for min and max are $(-1, - \sqrt2), (-1, \sqrt 2), (1, -\sqrt2), (1, \sqrt 2), (0, 0)$.