Approach: Set up the total wire length as a constraint linking and , use it to write in terms of (and ), then express the total area as a function of alone and maximise it.
Let the total area of the rectangle and the semicircle be .
The rectangle has perimeter . The semicircle, including its diameter, has perimeter (the curved arc plus the straight diameter) . Since the wire is cut into exactly these two pieces,
Since , this requires .
The total area is the rectangle’s area plus the semicircle’s area:
Substituting the expression for ,
Note: the terms cancel exactly, so depends on but not directly on at this stage.
Differentiating,
At a stationary point, :
Since (as ), this value of lies in the valid range.
so is maximum at .
Substituting back,
| To check your answer: at , since , confirming this is a genuine (feasible) maximum. ✓ |
the maximum total area is , so . (shown)