Lana is arranging cardboard rectangles on a table. Lana follows a rule that says she can only put one rectangle on top of another if the bottom rectangle is wider than the top rectangle.
For example the arrangement on the left is allowed, but the arrangement on the right is not allowed.
Suppose Lana has the following four rectangles:
Find one way that Lana can arrange these rectangles one on top of the other while following the rule. Note that Lana is able to rotate the rectangles. Determine the total height from the bottom of the rectangle on the bottom to the top of the rectangle on the top.
How can Lana arrange the rectangles one on top of the other so that the total height is as large as possible? Justify your answer. What is this height?
There are many possible answers. One way is to arrange the rectangles so they are in the order \(A\), \(B\), \(C\), \(D\), from top to bottom, as shown.
This follows the rule because the rectangles get wider as you move from top to bottom. In this case, the total height is \(4+3+7+5=19\) cm.
The maximum possible height of the stacked rectangles would be the sum of the longer sides of each of the rectangles. If we can find some arrangement where all the rectangles are rotated so that the longer sides are vertical and the shorter sides are horizontal, this would be the optimal solution.
It turns out this is possible if we stack the rectangles in the order \(B\), \(A\), \(D\), \(C\), from top to bottom, as shown.
As with part (a), this follows the rule because the rectangles get wider as you move from top to bottom.
Since we found an arrangement of the rectangles where all the longer sides are vertical, this is the arrangement with the largest possible height. Its height is \(6+4+10+8=28\) cm.