Can anybody help me with this optimization problem?

A rectangle has one vertex at the origin, one of the x-axis, one on the y-axis, and one on the graph of y=sqrt(4-x)y=4x

What is the largest the rectangle can have, and what are its dimensions?enter image source here
This is everything I've figured out so far. I'm guessing that

A=xyA=xy
and
A=x(sqrt(4-x))A=x(4x)

But I don't know how to continue

Thank you!

1 Answer
Mar 4, 2017

Dimensions of largest rectangle are 8/383 and 2/sqrt323 and its area is 3.083.08

Explanation:

By largest one means largest area.

As area is given by A=xsqrt(4-x)A=x4x

it will be maximized when (dA)/(dx)=0dAdx=0 and (d^2A)/(dx^2)<0d2Adx2<0

As A=xsqrt(4-x)A=x4x, using product rule

(dA)/(dx)=1xxsqrt(4-x)+x xx(1/2xx1/sqrt(4-x)xx(-1))dAdx=1×4x+x×(12×14x×(1))

= sqrt(4-x)-x/(2sqrt(4-x))4xx24x

and (d^2A)/(dx^2)=-x/(2sqrt(4-x))-(2sqrt(4-x)-2x((-1)/(2sqrt(4-x))))/(4(4-x))d2Adx2=x24x24x2x(124x)4(4x)

or -x/(2sqrt(4-x))-(sqrt(4-x)+x/(2sqrt(4-x)))/(2(4-x))x24x4x+x24x2(4x)

= -x/(2sqrt(4-x))-(2(4-x)+x)/(4sqrt(4-x)(4-x))x24x2(4x)+x44x(4x)

= -x/(2sqrt(4-x))-(8-x)/(4(4-x)^(3/2))x24x8x4(4x)32

and (dA)/(dx)=0dAdx=0, when sqrt(4-x)=x/(2sqrt(4-x))4x=x24x

or 2(4-x)=x2(4x)=x i.e. 8-2x=x82x=x i.e. x=8/3x=83 and one can check that at x=8/3x=83, (d^2A)/(dx^2)<0d2Adx2<0

Dimensions of largest rectangle are 8/383 and sqrt(4/3)43

and its area is 8/3sqrt(4-8/3)=3/8sqrt(29/8)~=3.0883483=382983.08

Below is graph of xsqrt(4-x)x4x
graph{xsqrt(4-x) [-3.063, 6.937, -1.12, 3.88]}