Find the maximum and minimum (there are four in total) that the function $f(x,y)=3xy$ achieves when $(x,y)$ travel the ellipse $x^2+y^2+xy=3$
I have thought about doing the following but I do not know if I am doing the right thing:
I'm using Lagrange multipliers and I start with $\bigtriangledown f=\lambda\bigtriangledown g$, so from this I get $(3y,3x)=\lambda(2x+y,2y+x)$ so $\lambda=\frac{3y}{2x+y}$ and $\lambda=\frac{3x}{2y+x}$ so $\frac{3y}{2x+y}=\frac{3x}{2y+x}$ so $x^2=y^2$ so $y=\pm x$. So, I get to that $(0,0), (1,1), (-1,-1), (\sqrt{3},-\sqrt{3})$ and $(-\sqrt{3},\sqrt{3})$ are critical points, the problem is that I do not know how to determine if they are maximum or minimum, how can I do this? Thank you.
Evaluate your function $f(x,y) = 3xy$ at each of these four points, $(0,0), (1,1), (-1,-1), (\sqrt{3},-\sqrt{3})$ and compare the results.You will find maximum is achieved at $(1,1)$ and $(-1,-1)$ and minimum is achieved at $ \pm (\sqrt 3, -\sqrt 3)$