Of all rectangles with base on the $x$-axis and upper corners on the parabola $y=5−x^2$, what are the dimensions (width and height) of the rectangle that has the greatest possible area?
I have no idea how to solve this. I tried graphing $y=0$ and the parabola, but then I don't know where to put the vertical lines. How do I approach this question?
Actually, there is a solution for this problem that does not use calculus, but instead uses the AM-GM inequality.
Let the bottom right corner of the rectangle be the point $(x, 0)$, then the area of the rectangle is
$ A(x) = 2 x (5 - x^2) $
This can be factored as
$ A(x) = 2 x (\sqrt{5} - x) ( \sqrt{5} + x ) $
So, we want to maximize $ x (\sqrt{5} - x) ( \sqrt{5} + x ) $
Let $F = a x , G = b (\sqrt{5} - x) , H = \sqrt{5} + x $
Assuming $a,b$ are positive, we want to maximize the product FGH.
Now we know from $AM-GM$ inequality that
$ \left( \dfrac{F + G + H}{3} \right) \ge \sqrt[3]{ FGH } $
Equality occurs when $F= G = H$ and this is the optimum point. Now, the idea is to make $F+G+H$ a constant, and to impose on the parameters $a,b$ the condition that $x$ obtained from $F=G$ is equal to $x$ obtained from $F = H$.
This means that the coefficient of $x$ in $F+G+H$ is zero, i.e.
$ a - b + 1 = 0 $
And, from $F = G$ , we obtain,
$ x = \dfrac{b \sqrt{5}}{a + b} $
And, from $F = H$, we obtain,
$ x = \dfrac{\sqrt{5}}{ a - 1} $
So the second equation relating $a$ and $b$ is
$ \dfrac{b \sqrt{5}}{a + b} = \dfrac{\sqrt{5}}{a-1} $
which simplifies to
$ b (a - 1) = a + b $
We need to solve for $a$ and $b$ from these two equations. From the first equation, we have
$ b = a + 1 $
Substituting into the second equation,
$ a^2 - 1 = 2 a + 1 $
so that
$ a^2 - 2 a - 2 = 0 $
whose positive solution is
$ a = \dfrac{1}{2} ( 2 + \sqrt{12} ) = 1 + \sqrt{3} $
hence,
$ b = a + 1= 2 + \sqrt{3} $
Now,
$ F + G + H = \sqrt{5} (3 + \sqrt{3}) $
And
$ FGH = (1 + \sqrt{3}) (2 + \sqrt{3}) x (5 - x^2) = \dfrac{1}{2} (5 + 3 \sqrt{3} ) A$
Hence, the AM-GM inequality we have
$ \left( \dfrac{ \sqrt{5} (3 + \sqrt{3}) }{3} \right) \ge \sqrt[3]{\dfrac{1}{2} (5 + 3 \sqrt{3} ) A }$
Therefore,
$ A \le \dfrac{2}{5 + 3 \sqrt{3}} \left(\dfrac{ \sqrt{5} (3 + \sqrt{3}) }{3} \right)^3 $
Numerically, this is
$ A \le 8.606629658424 $
i.e.
$ \text{Maximum Rectangle Area } = 8.606629658424 $
This is the same value obtained in the other answer that uses calculus.
The value of $x$ at which this happens is given by
$x = \dfrac{\sqrt{5}}{a - 1} = \sqrt{\dfrac{5}{3}} $
using this, we can express the maximum area as follows
$ \text{ Maximum Rectangle Area } = 2 x (5 - x^2) = 2 \sqrt{ \dfrac{5}{3} } \left(\dfrac{10}{3} \right) = \dfrac{ 20 \sqrt{5}}{3 \sqrt{3}} $