Precalculus – How to Find the Width and Height of a Constrained Rectangle

algebra-precalculusquadratics

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?

Best Answer

As I could not personally find a solution using only pre-calculus, this answer uses calculus:

The formula for the area of this rectangle will be $A(x)=(2x)(5-x^2)$ where we define x as the positive corner of the rectangle that intersects the parabola.
The formula is $A(x)=(2x)(5-x^2)$ because a rectangle's formula for area is $A=LW$ because the width will be the height of the function and the length will be twice x, and as the function is even, x and -x will be the same height. $0<x<\sqrt5$ because if $|x|>\sqrt5$ then $5-x^2$ will be less than 0, so it will not be above the x axis.

To approach this question, we can use calculus. So we are trying to find the maximum of $(2x)(5-x^2)$ or equivalently $-2x^3+10x$ on the interval $(0,\sqrt5)$. To do this, we must analyze the critical points of the derivative, $A'(x)$ and the endpoints of the interval.
$A'(x)=-6x^2+10$
Then to find critical points, set $A'(x)=0$
$-6x^2+10=0$
$x^2=\frac {10}6$
$ x= \pm \sqrt {\frac {5}3}$
We are looking on the interval $(0,\sqrt5)$ so we will disregard the critical point at $x=-\sqrt {\frac {5}3}$. Our largest area will either be at the critical point or at the endpoints of the interval, so we will test those three cases: $x=0, \sqrt {\frac {5}3}, \sqrt {5}$
$A(0)=(2(0))(5-(0)^2)=0$
$A(\sqrt {\frac {5}3})=(2(\sqrt {\frac {5}3}))(5-(\sqrt {\frac {5}3})^2)=(2\sqrt {\frac {5}3})({\frac {10}3})=\frac {20\sqrt {\frac {5}3}} 3≈8.60662965824$
$A(\sqrt 5)=(2(\sqrt 5))(5-(\sqrt 5)^2)=0$
Of these, $A(\sqrt {\frac {5}3})$ is greatest, so it is the maximum.
So the maximum area is about $8.607$, the base is twice x, or $2\sqrt {\frac {5}3}$, and the height is $5-{\frac {5}3}$ or $\frac {10}3$.