| Extremes on a closed interval |
|---|
Lesson
The theory — Optimisation: the Box and the Can
Optimisation with a derivative: write the quantity you want largest or smallest as a function of one variable on the interval the problem allows, find where its derivative is zero, and compare the values there with the values at the ends of the interval. A differentiable function's largest and smallest values on a closed interval are among those candidates.
What each symbol means
x- the side of the square cut from each corner of the sheet, in cm
r- the radius of the can, in cm; its height then follows from the volume
k- what a cm² of end costs, measured in cm² of wall
- Assumes
- The sheet is square and the box has no lid. The can is a closed cylinder, and its metal is counted by area alone: no seams, no rims, no allowance for the thickness of the sheet.
Problems solved in full
-
The best box from a 24 cm square 3 steps
Cut equal squares from the corners of a 24 cm square sheet and fold up the sides. Which cut gives the box of largest volume, and what does it hold?
-
Write the volume in the cut x. The cut cannot pass half the side:
-
Differentiate with the product rule and take out the common factor:
-
Both roots are candidates, and so are the two ends of the range:
Answer
Cut 4 cm from each corner. The box is 16 cm square and 4 cm deep, and holds 1,024 cm³. The cut is a sixth of the side, as it is on every square sheet. The root x = 12 is a candidate too, and gives no box at all: the two cuts on each side meet and leave no base.
-
-
The same sheet, at most 3 cm deep 3 steps
The box from the 24 cm sheet has to fit a shelf, so it can be at most 3 cm deep. What is the best cut now, and is the derivative zero there?
Show solution
-
The volume is the same function on a shorter range:
-
Both factors of V′ stay positive across the range:
-
So the volume rises all the way to the limit, and the best box is at the end:
Answer
Cut 3 cm. The box holds 972 cm³, and the rate there is 108 cm³ per cm, not zero. Setting V′ = 0 gives x = 4, which is ruled out. The largest value sits at an end of the interval, and only checking the ends finds it.
-
-
The can of least metal 3 steps
A closed cylindrical can must hold 1000 cm³, and its ends are cut from the same sheet as its wall. Which radius uses the least metal, and how tall is that can?
Show solution
-
The volume fixes the height, which leaves the metal as a function of r alone:
-
Set M′(r) = 0:
-
The height and the metal. M′ is negative below this radius and positive above it, so this is the minimum:
Answer
r ≈ 5.42 cm and h ≈ 10.84 cm: the can is as tall as it is wide, and uses 553.6 cm² of metal. h = 2r is exact, not a coincidence of rounding: with πr³ = 500, h = 1000/(πr²) = 2r.
-
-
Lids stamped from squares 3 steps
The same 1000 cm³ can, but each end is stamped from a square of side 2r and the corners are thrown away. Counting the whole squares, which radius uses the least metal now?
Show solution
-
A cm² of end now costs the square’s area over the circle’s, 4/π, so the ends weigh more:
-
Set M′(r) = 0:
-
The metal, and the height:
Answer
r = 5 cm, 600 cm² of metal, and the can is 12.73 cm tall. The ends take 200 cm² and the wall 400 cm², half, as at every best can. Dearer ends make the best can narrower and taller: 1.27 diameters, which is 4/π.
-
-
The best box from a sheet of A4 4 steps
A sheet of A4 paper is 21 cm by 29.7 cm. Cut the same square from each corner, fold up the sides, and find the cut that gives the box of largest volume, and that volume. The page's sheets are square. Press A4's short side to see a 21 cm square, whose best cut is 3.5 cm and whose box holds 686 cm³.
Show solution
-
With a cut of x the base is 21 − 2x by 29.7 − 2x and the box is x deep. Multiplied out, for cuts up to half the short side:
-
Differentiate term by term:
-
Set V′(x) = 0 and use the quadratic formula. The number under the root is 16 × 699.39, which tidies it:
-
The second root is past 10.5 cm, where the short side is used up, so it is not a box. At both ends of the range the volume is 0, so the best box comes from the first root:
Answer
Cut 4.04 cm from each corner: the box is 12.92 cm by 21.62 cm and 4.04 cm deep, and it holds about 1,128.5 cm³, a little over a litre. The cut lies between a sixth of the short side, 3.5 cm, and a sixth of the long side, 4.95 cm, and is neither. For a sheet a by b the best cut is (a + b − √(a² − ab + b²))/6. On a square sheet the root is just a, and the formula collapses to the page's L/6.
-
Learning path
Differentiation: how rates combine
References (2)
- The method in the definition and in the step-through (evaluate at the endpoints, find the critical points inside the interval, compare all the values: “the absolute extrema must occur at endpoints or critical points”), the Extreme Value Theorem (Theorem 4.1) and Fermat's theorem (Theorem 4.2) behind it: G. Strang and E. Herman, Calculus Volume 1, OpenStax (2016), section 4.3, “Maxima and Minima”.
- The open box worked on a rectangular sheet, 24 in. by 36 in., whose best cut is x = 10 − 2√7 ≈ 4.7 in. for about 1,825 in³ (Example 4.33, the same calculation as the page's A4 worked problem), and the applied-problem strategy's step that sets the domain from the physical problem before looking for the extremum (Step 5) and the remark that locating it “typically involves looking for critical points and evaluating a function at endpoints” (Step 6): G. Strang and E. Herman, Calculus Volume 1, OpenStax (2016), section 4.7, “Applied Optimization Problems”.