The basic outline of steps on these problems will be as follows:
- Label the length of one side of one shape with a variable, and the length of one side of the other shape with a different variable
- Create an expression for the perimeter of the two shapes involved. This is made easier by the fact that all the shapes you're working with are regular.
- Add these together to get a formula for the total perimeter
- Create an expression for the area of the shapes involved. Again, the fact that all the shapes are regular helps out a lot.
- Add these together to get a formula for the total area
- Set the perimeter expression equal to 50 ft
- Use the equation for the perimeter to solve for one variable in terms of the other
- Plug that value into the area formula to "reduce" it to an expression of one variable
- Find the derivative of the new area formula with respect to its variable
- Set the derivative equal to zero to find any maxima
- Return to the perimeter equation to solve for the value of the other variable
I'll work an example with a regular octagon and a regular decagon.
- Let the length of one side of the octagon be o and the length of one side of the decagon be d
- The perimeter of a regular octagon is 8o, and the perimeter of a regular decagon is 10d.
- P = 8o + 10d
- The area of a regular octagon is \(\displaystyle 2(1+\sqrt{2}) \cdot o^2\), and the area of a regular decagon is \(\displaystyle \dfrac{5}{2} \sqrt{5+2\sqrt{5}} \cdot d^2\)
- \(\displaystyle A = 2(1+\sqrt{2}) \cdot o^2 + \dfrac{5}{2} \sqrt{5+2\sqrt{5}} \cdot d^2\)
- 8o + 10d = 50
- 10d = 50 - 8o ; d = 5 - 4o/5
- \(\displaystyle A = 2(1+\sqrt{2}) \cdot o^2 + \dfrac{5}{2} \sqrt{5+2\sqrt{5}}\cdot \left(5-\dfrac{4o}{5}\right)^2\)
- \(\displaystyle \dfrac{dA}{do} = 4(1+\sqrt{2}) \cdot o - 4 \left(\sqrt{5+2\sqrt{5}}\right)\cdot \left(5-\dfrac{4o}{5}\right)\)
- \(\displaystyle 4(1+\sqrt{2}) \cdot o - 4 \left(\sqrt{5+2\sqrt{5}}\right)\cdot \left(5-\dfrac{4o}{5}\right) = 0 \implies o \approx 3.1557\)
- \(\displaystyle 50 = 8o + 10d \implies 50 = 8(3.1557) + 10d \implies d \approx 2.47544\)
This result says that, to maximize the enclosed area, you'd want to use about 25.25 feet on the octagon and the remaining 24.75 feet on the decagon. To solve the problems, you may need to know the formulas for the area of a regular pentagon and a regular hexagon. You can either look these up on Google (they may also be in your textbook somewhere) or derive them
from the general formula for the area of a regular polygon:
\(\displaystyle A = \dfrac{1}{4} ns^2 \cdot cot \left( \dfrac{\pi}{n} \right)\)
where
n is the number of sides and
s is the length of one side