Could somebody help me with this exercise please?
Let $f$ be a function of two variables $y$ and $x$: $$f(x,y)=e^y(y^2-2x^2)$$
(1) Determine the maxima and minima of $f$ under the constraint $$g(x,y)=2x^2+y^2=6$$
(2) Determine the maxima and minima of $f$ on the set $$M=\{(x,y)\in\mathbb{R}^2|2x^2+y^2\leq 6\}$$
I would really appreciate your help.
1)
as you mentioned in the comments for $L_x=0$ we get $x=0$ or $\lambda=e^y$
for $x=0$:
$L_\lambda=2\cdot0^2+y^2-6=0 \rightarrow y=\pm \sqrt6$
so we have the points $(0,\sqrt6)$ and $(0,-\sqrt6)$
for $\lambda=e^y$:
$L_y=e^y(y^2-2x^2+2y+2y)=0$
so
$x^2=\frac{y^2+4y}{2}$
so we input $x^2$ in $L_\lambda$ we get:
$y^2+4y+y^2-6 \rightarrow y=-3$ and $y=1$
so we get the point $(\sqrt{\frac{7}{2}},1)$(no valid point for $y=-3$)
now we input all the points in $f(x,y)$:
we get the values: $6e^{\sqrt6},6e^{-\sqrt6}$ and $-\frac{5}{2}e$
so the maximum value is $6e^{\sqrt6}$ and minimum is $-\frac{5}{2}e$.