I am asked to find, using Lagrange multipliers, the position of the vertices of a right triangle inscribed on $x^2+4y^2=1$ that has the maximum area. The two legs of the triangle (which are not the hypothenuse) are parallel to the elypsis' axis.
What I have so far is:
$$ 2y = 2 \lambda x\\ 2x = 8 \lambda y\\ x^2+4y^2=1 $$
By solving these equations it is known that both $\lambda$ and $x$ cannot be zero. I got minimum points to be:
$$ f \left( \mp \frac{1}{\sqrt{2}} , \pm \frac{1}{2\sqrt{2}} \right) = \frac{1}{2} $$
Since the textbook has no answer, I want to make sure if that is correct.
EDIT
Let's say that we need to find a rectangle given the same conditions. Are the critical points the same (which would lead to an area of $1$)?
EDIT 2
Cheers.

You wish to maximize $A = f(x,y) = {1 \over 2} (2 x) (2 y) = 2 x y$ subject to the constraint $g(x,y) = x^2 + 4 y^2 - 1 = 0$.
Form the Lagrangian:
${\cal L}(x,y,\lambda) = f(x, y) - \lambda g(x,y) = 2 x y - \lambda (x^2 + 4 y^2 - 1)$.
Take the three derivatives and set them to zero:
Then solve these three simultaneous equations for $x,y, \lambda$, then plug in $x$ and $y$ to the formula for area.
I get $x = -{1 \over \sqrt{2}}, y = -{1 \over 2 \sqrt{2}}$ and thus $A = {1 \over 2}$.
If the problem is instead to maximize the area of a rectangle, then the area function is doubled: $f(x,y) = (2 x)(2 y)$ and the optimum turns out to be the same geometry (and of course twice the area), even though the solution $\lambda$ differs from the triangle case.