Find the maximum and minimum values of $f(x,y)=xy$
subject to $\frac{y^2}{2}+\frac{x^2}{4}=1$
Write the Lagrange function in the form $f(x,y) = \lambda g(x,y)$
So far I've got $x=\sqrt2$ or $2\sqrt2$ and $y=1,-1$ or $y=2,-2$
I'm kinda stuck from here and not sure what to do next, can anyone please help me with the question?

$\frac{x^2}{4} + \frac{y^2}{2} = 1 \,$ or $x^2 + 2y^2 = 4 \implies (x - \sqrt2 \, y)^2 + 2 \sqrt2 xy = 4$
$\implies xy = \sqrt2 - \frac{(x -\sqrt2 \, y)^2}{2 \sqrt2} $. The min value of $(x -\sqrt2 \, y)^2$ is zero at $x = \sqrt 2y,$ (where $xy \ne 0)$
That gives max value of $xy = \sqrt2$.
Similarly $(x + \sqrt2 \, y)^2 - 2 \sqrt2 xy = 4 \implies xy = -\sqrt2 + \frac{(x -\sqrt2 \, y)^2}{2 \sqrt2} $
And that gives min value of $xy = -\sqrt2$.
But as the question is specifically asking to use Lagrange method,
Given constraint, $\frac{x^2}{4} + \frac{y^2}{2} = 1$ ..(i)
using Lagrange multiplier, $xy = \lambda (\frac{x^2}{4} + \frac{y^2}{2} - 1)$
Taking partial derivatives, you get -
$y = \frac{ \lambda x}{2}, x = \lambda y$
So you get $x^2 = 2y^2\, (xy \ne 0)$ and substituting in (i), $y = \pm 1, x = \pm \sqrt 2$
So maximum value of $xy = \sqrt2$, minimum value = $-\sqrt2$.