A pentagon is formed by placing an isosceles triangle on a rectangle, as shown in the figure. If the pentagon has fixed perimeter P, find the lengths of the sides of the pentagon that maximize the area of the pentagon
Expert's answer
The object is to maximize the area A(x,y,z) of the pictured pentagon while keeping the perimeter P(x,y,z) constant.
A(x,y,z)=xy+2xz2−(2x)2
A(x,y,z)=xy+4x4z2−x2
P(x,y,z)=x+2y+2z
∇A=λ∇P
∇A=⎝⎛y+24z2−x22z2−x2x4z2−x2xz⎠⎞
∇P=⎝⎛122⎠⎞
So,we accomplish these equations:
y+24z2−x22z2−x2=λ
x=2λ
4z2−x2xz=2λ
P=x+2y+2z
Since P is the only fixed quantity it would be best to solve for x,y and z in terms of P. One way to do that is to first solve for x,y and z in terms of λ then use the fourth equation to solve for λ in terms of P.
This strategy results in:
x=2λ
y=(33+3)λ
z=323λ
λ=22−3P
Solving for the values of x,y and z in terms of P gives: