The problem I've been stuck on is this:
A rectangle is inscribed in the ellipse $$\frac{x^2}{20} + \frac{y^2}{12} = 1$$ What is the maximum perimeter of the rectangle?
I don't even know if I'm taking the right approach. So far, I've been trying to solve for $y$, giving me $y = \sqrt{12-(3/5)x}$, and plugging that into the equation $P = 4x + 4y$, which should be the equation for the perimeter of an inscribed rectangle. I then took the derivative of $P$ after plugging in the equation for $y$, giving me $$P' = 4 - \frac{12x}{5\sqrt{12-(3/5)x}}.$$ To find a maximum, I'd set the equation to zero right? Well, I don't know where to go from this step, since simplifying from here only seems to make it harder.
Any help would be much appreciated, even a nudge in the right direction. I have no idea where to go from here, or even if I got to the right place. Thanks for your time
Let me squeeze the ellipse into a circle:
$$\frac{x^2}{12}+\frac{y^2}{12}=1$$
And I would claim that the maximum perimeter rectangle inside the circle is the square. Its perimeter is
$$4\sqrt2\space r = 4\sqrt2\cdot2\sqrt3 = 8\sqrt6$$
Now let me recover the circle back to an ellipse. And the square is also stretched into a rectangle and one of its side is magnified by factor of $\sqrt{20/12}=\sqrt{5/3}$. And then the new perimeter is
$$8\sqrt6\cdot\frac{\sqrt5}{\sqrt3}=8\sqrt10$$