Before you begin
- Critical numbers, EVT, sign charts, and elementary geometry.
Learning objectives
- Separate objective, constraint, and feasible domain.
- Reduce a constrained problem to one variable.
- Establish a global optimum rather than merely a stationary point.
An optimization problem does not begin with a derivative. It begins by deciding what is being optimized, which quantities may change, and what restrictions connect them. Different assumptions create different mathematics even when the objects look similar.
A rectangle beside a wall
A rectangular enclosure needs fencing on three sides because an existing wall supplies the fourth. Let be each perpendicular side and the parallel fenced side, in metres. With metres of fencing, . The objective is area . Substituting the constraint gives
The closed interval includes degenerate rectangles so that boundary behavior is explicit. The polynomial is continuous, so EVT gives a global maximum. Since , the only interior stationary point is , giving and area square metres. The endpoint areas are zero. This comparison establishes the absolute maximum. Alternatively, proves the same conclusion without differentiation.
If fencing were required on all four sides, the constraint would be and the maximizing rectangle would be a square of side , area . A correct derivative applied to the wrong constraint solves the wrong problem perfectly.
An open box
Cut squares of side from the corners of a by centimetre sheet and fold the sides. The volume is
Differentiation in factored form gives
The interior stationary point is , giving dimensions by by and volume cubic centimetres. Both endpoints give zero volume. The factor also vanishes at , but that is an endpoint, not an additional interior stationary box. We have checked the entire feasible interval, including the cases that are geometrically degenerate.
Minimizing on an unbounded interval
A closed cylinder has prescribed volume . With radius and height , and surface area is
The derivative vanishes when , or . At this radius, the constraint gives . Because throughout , the derivative is increasing and the stationary point is a global minimum. Also as or , ruling out an escaped finite boundary optimum. EVT alone cannot be invoked on the open unbounded domain.
The model assumes the same material cost per unit area for the side and both ends, negligible thickness, and no seam allowance. Different manufacturing costs alter the objective and may alter the optimum.
Sensitivity and discrete decisions
A continuous optimum can guide a decision constrained to integer quantities, but rounding must respect the feasible set. Evaluate neighboring feasible integers, not just the nearest decimal in isolation. If an objective is unimodal, those nearby candidates often suffice; justify that structure before excluding distant alternatives.
Dimensions and parameters also matter. For fencing length , the wall problem gives , , and maximum area . Doubling available fencing quadruples the maximum area in this model. A parameterized result conveys more than one isolated numerical answer.
Exercises
- Maximize the area of a four-sided rectangle with perimeter metres.
- Repeat the three-sided wall problem for fencing length .
- For a square sheet of side , determine the cut that maximizes the open-box volume.
- A cylinder must have volume cubic centimetres. Find the minimum-area radius and height.
- Explain why finding does not by itself prove an absolute maximum.
- Identify an assumption that would change the cylinder’s objective without changing its volume constraint.
Worked solutions
- Write on . The maximum is square metres at .
- ; its stationary point is , giving and area . Endpoint areas vanish.
- on , with derivative . The maximum occurs at , giving volume .
- , so and centimetres.
- Stationary points can be minima or neither; boundaries, nondifferentiable points, and nonattainment must be checked.
- More expensive end material, seam allowance, a missing lid, or thickness-dependent costs would change the surface-cost expression.