Prove that the maximum area of a rectangle inscribed in an ellipse $\dfrac{x^2}{a^2}+\dfrac{y^2}{b^2}=1$ is $2ab$.
My attempt:
Equation of ellipse: $\dfrac{x^2}{a^2}+\dfrac{y^2}{b^2}=1$.
Assume that $a>b$ & let $l$ & $w$ are length and width of rectangle then area will be $$A=l\times w \tag{1}$$
Now, I substituted the point $\left(\dfrac {l}{2}, \dfrac {w}{2}\right)$ in the equation of ellipse $$\frac{(l/2)^2}{a^2}+\frac{(w/2)^2}{b^2}=1,$$ $$b^2l^2+a^2w^2=4a^2b^2.\tag{2}$$
I am not sure how to proceed from here.
Here is an easier method to prove (without using Calculus).
The sides (i.e. length and width) of inscribed rectangle have to be parallel to the axes of ellipse to make all four vertices of inscribed rectangle lie on the ellipse.
Consider $(\pm a\cos\theta, \pm b\sin\theta)$ as four vertices of inscribed rectangle lying on the ellipse: $\frac{x^2}{a^2}+\frac{y^2}{b^2}=1$
Then the area of inscribed rectangle will be $A=(2a\cos\theta)(2b\sin\theta)=2ab\sin2\theta$
Now, the area $2ab\sin2\theta$ will be maximum when $\color{red}{\sin2\theta}$ is maximum i.e. $\color{red}{1}$
Therefore the maximum area of rectangle inscribed in an ellipse is $\color{blue}{2ab}$