Practical maximum and minimum problems
How should a sheet of card be cut to make the biggest possible box? What shape of can holds using the least metal? These are optimisation problems: a quantity has to be made as large or as small as possible subject to a constraint. Calculus solves them by turning the situation into a function of one variable and finding its stationary points. Paper 1 usually sets one per paper, often with a "show that" first part that gives you the function, followed by the calculus.
The idea
Suppose you have m of fencing to enclose a rectangular field against a straight river, so only three sides need fencing. A long thin field has almost no area; so does a short wide one. Somewhere in between is the best shape. If the area is written as a function of one length, the best shape is where the graph of area against that length reaches its peak, and at the peak the gradient is zero.
The graph shows (set up in Example 1). The maximum is at the top of the hump, where .
So an optimisation problem has two halves:
- Modelling: express the quantity to be optimised as a function of a single variable. This usually needs the constraint (fixed perimeter, fixed volume, fixed material) to eliminate a second variable.
- Calculus: differentiate, set the derivative equal to zero, solve, and show that you have a maximum or minimum as required.
- Draw a diagram and label the variables, say and .
- Write an expression for the quantity to be optimised, in terms of and .
- Write an equation for the constraint, rearrange it for , and substitute to get in terms of only.
- Find , set it equal to and solve. Reject values that are impossible in context (negative lengths, zero volume).
- Show the stationary value is the required type, usually with .
- Answer the question asked: the optimal dimensions, the maximum or minimum value, or both, with units.
Writing the function
The modelling step is where most students get stuck, and it is also where "show that" questions give you help. A few patterns cover nearly everything.
| Situation | Quantity | Constraint | Eliminate |
|---|---|---|---|
| Fencing a rectangle | area | perimeter fixed | from the perimeter |
| Open box from a sheet | volume | sheet size fixed | already one variable |
| Closed cylinder | surface area | volume fixed | |
| Sector of a circle | area | perimeter fixed | from the perimeter |
| Shortest distance to a curve | the point lies on the curve | from the curve |
Two tricks recur.
Minimise the square of a distance. A distance is awkward to differentiate. Since is positive, is smallest exactly when is smallest, so minimise instead.
Ignore positive constant factors. Maximising gives the same as maximising . Keep the constant for the final value, though.
Justifying a maximum or minimum
A stationary value is not automatically the one you want. You must show its nature. The second derivative test is standard: a negative confirms a maximum, a positive one a minimum.
Often the second derivative has an obvious sign without substituting. For , is positive for every , so any stationary point is a minimum. Saying so is enough.
- Express the quantity in one variable using the constraint.
- Optimal value where .
- : maximum. : minimum.
- Minimise rather than .
- Reject stationary values that make no physical sense.
Worked examples
A farmer has m of fencing to make a rectangular enclosure. One side is a straight river and needs no fence. Find the dimensions that give the maximum area, and the maximum area.
Solution
Let the side parallel to the river be m and the two sides perpendicular to it be m each. The fencing gives , so .
, so this is a maximum.
Then . The enclosure is m by m (the side along the river is m), and the maximum area is .
A square sheet of card has side cm. A square of side cm is cut from each corner, and the sides are folded up to make an open box.
(a) Show that the volume of the box is .
(b) Find the value of that gives the maximum volume, and the maximum volume.
Solution
(a) After folding, the base is a square of side and the height is , so .
(b) Expand: .
So or . But uses the whole sheet and gives , so reject it. (In context .)
at , so gives a maximum.
.
A sector of a circle has radius cm and angle radians. Its perimeter is cm.
(a) Show that the area of the sector is .
(b) Find the maximum area and the corresponding value of .
Solution
(a) Using circular measure, the arc length is , so the perimeter is , giving . The area is
(b) gives . , so this is a maximum.
Maximum area . From , radians.
A closed cylindrical can has radius cm and height cm, and its volume is .
(a) Show that the total surface area is .
(b) Find the value of for which is a minimum, and the minimum surface area, giving answers to significant figures.
Solution
(a) The volume gives , so . The surface area is two circles plus the curved surface:
(b) , so
for all , so this is a minimum.
.
(The corresponding height is cm, twice the radius: the most economical can is as tall as it is wide.)
is a point on the curve and is the point . Find the shortest distance from to the curve.
Solution
Let be . Then
Minimise instead of :
, a minimum.
, so the shortest distance is .
A window consists of a rectangle of width m and height m, with an equilateral triangle of side m on top. The total perimeter of the window is m.
(a) Show that the area of the window is .
(b) Find the exact value of for which has a stationary value, and determine its nature.
Solution
(a) The perimeter is the two vertical sides, the bottom and the two slanting sides of the triangle: , so .
The triangle has height , so its area is .
(b)
Rationalising, .
(since ), so this is a maximum. The maximum area is about .
Differentiating with two variables still present. cannot be differentiated with respect to until has been replaced using the constraint.
Giving only . If the question asks for the maximum area, you must substitute back to find it. Read the final line of the question again before you stop.
Keeping impossible solutions. In Example 2, gives zero volume. Reject it with a reason.
No justification. "This is a maximum" without the sign of the second derivative (or another valid argument) loses the mark.
Forgetting a face or edge. Open boxes have no lid; fencing against a wall has one side missing; closed cylinders have two circular ends. Check your expression against the diagram.
- "Show that" parts give you the function. Even if you cannot derive it, use the given result for the rest of the question: the calculus marks are still available.
- The derivative must be correct before the method mark for solving is awarded in some schemes, so differentiate carefully, rewriting as first.
- Nature: write ", so minimum". If the sign is obvious for all positive values, say why.
- Accuracy: when the stationary value is not exact, keep full calculator accuracy for when computing . Rounding to first changes the third significant figure in some problems.
- Context: state the answer in words, with units, for example "maximum volume when ".
- Optimisation = write the quantity in one variable, then find its stationary point.
- Use the constraint to eliminate the second variable.
- Set , solve, and reject values impossible in context.
- Justify the nature, usually with (negative for maximum, positive for minimum).
- Minimise instead of for shortest distances.
- Finish by answering exactly what was asked: dimensions, the optimal value, or both, with units.
Practice questions
- The positive numbers and satisfy . Find the maximum value of .
- An open box has a square base of side cm and height cm, and its volume is . Show that the external surface area is , and find the dimensions that minimise .
- A rectangle has two vertices on the -axis and two on the curve , symmetrical about the -axis. Find the maximum area of the rectangle.
- A closed cuboid has a base measuring cm by cm and a volume of . Show that its surface area is , and find the minimum surface area.
- Find the coordinates of the points on the curve that are closest to the point , and the shortest distance.
- A solid cylinder has radius cm and height cm, and its total surface area is . Show that its volume is , and find the maximum volume.
- A sector of a circle has radius cm, angle radians and area . Show that its perimeter is , and find the minimum perimeter and the corresponding .
- A window is a rectangle of width m with a semicircle of radius m on top. The perimeter of the window is m. Show that its area is and find the maximum area, giving an exact answer.
- A straight line with negative gradient passes through the point and meets the positive - and -axes at and . Let the gradient be , where . Show that the area of triangle is , and find the minimum area.
Answers
-
, so . gives ( is rejected). , maximum. , .
-
, so . Open box: base plus four sides, . gives , . , minimum. The base is cm by cm and the height is cm ().
-
With vertices and , . gives . , maximum. .
-
, so . . gives , . , minimum. .
-
For a point , . gives or . : at it is (a local maximum of distance, ); at it is , minimum. , so the shortest distance is , at .
-
, so . . gives . , maximum. .
-
, so and . gives . , minimum. cm, and radians.
-
The perimeter is the base , two sides and the semicircular arc : , so . . gives . , maximum. At this , , so .
-
The line is . At : . At : . Area . gives . , minimum. Minimum area .