Class 12 Maths, Worked in Full Past papersGet updates
Chapter 6 · Application of Derivatives

Example 36: Open box from a 3 m by 8 m sheet: largest volume 20027\frac{200}{27} m³ at x=23x=\frac{2}{3} m

ExamplesOptimisation · Section 6.4 · Miscellaneous Examples
The question

An open topped box is to be constructed by removing equal squares from each corner of a 3 metre by 8 metre rectangular sheet of aluminium and folding up the sides. Find the volume of the largest such box.

Exam answer

Let xx m be the side of each square removed. The box has height xx⁠, length 8−2x8 - 2x and breadth 3−2x3 - 2x⁠, so 0<x<320 < x < \frac32⁠.

V(x)=x(3−2x)(8−2x)=4x3−22x2+24x\begin{aligned} V(x) &= x(3 - 2x)(8 - 2x) \\ &= 4x^3 - 22x^2 + 24x \end{aligned} V′(x)=12x2−44x+24=4(x−3)(3x−2)\begin{aligned} V'(x) &= 12x^2 - 44x + 24 \\ &= 4(x - 3)(3x - 2) \end{aligned} V′′(x)=24x−44V''(x) = 24x - 44

V′(x)=0V'(x) = 0 gives x=23x = \frac23 or x=3x = 3⁠. As 0<x<320 < x < \frac32⁠, we take x=23x = \frac23⁠.

V′′(23)=16−44=−28<0V''\left(\frac23\right) = 16 - 44 = -28 < 0

So x=23x = \frac23⁠, the only critical point in (0,32)\left(0, \frac32\right)⁠, gives the maximum volume.

V(23)=23⋅53⋅203=20027\begin{aligned} V\left(\frac23\right) &= \frac23\cdot\frac53\cdot\frac{20}{3} \\ &= \frac{200}{27} \end{aligned}

∴\therefore the volume of the largest box is 20027\dfrac{200}{27} m³.

Want the reason behind every step, the basics and the checks?

The one idea this problem is built on

Everything about the box is decided by one number: the side xx of the squares cut from the corners. Write the volume as a function of xx⁠, find the allowed range of xx from the dimensions of the sheet, and maximise over that range. The range does real work here: one of the two critical points (x=3x = 3⁠) is impossible and must be rejected, which is the textbook's "(Why?)".

Given, to find, and the plan
Given
A rectangular sheet 8 m long and 3 m wide; equal squares are cut from the four corners and the flaps are folded up to make an open box.
To find
The largest possible volume of the box.
Plan
Let xx be the side of each square. Express length, breadth and height in terms of xx⁠; find the allowed range; build V(x)V(x)⁠; solve V′(x)=0V'(x) = 0 in the range; confirm a maximum with the second derivative test and show, with the sign of V′V'⁠, that it is the largest value on the whole range; compute it.

Basics you need

1Building the function from the words

Choose one variable that fixes the whole situation, express every dimension in it, and write down the range of values that make physical sense. Basics: building the function to optimise

2Volume of a box

A cuboid of length ℓ\ell⁠, breadth bb and height hh has volume ℓbh\ell b h⁠. Basics: area and volume formulas

3Second derivative test (Theorem 4, Section 6.4)

If f′(c)=0f'(c) = 0 and f′′(c)<0f''(c) < 0⁠, then cc is a point of local maxima; if f′′(c)>0f''(c) > 0⁠, a point of local minima; if f′′(c)=0f''(c) = 0 the test fails. Lesson: derivative tests

4Local versus largest

A local maximum is only the largest value near cc⁠. To show it is the largest on the whole range, use the sign of f′f' on either side (increasing before, decreasing after). Lesson: optimisation problems

Solution

  1. Choose the variable and read off the dimensions

    Let xx metres be the side of each square removed. After folding up the flaps:

    • height of the box =x= x⁠,
    • length =8−2x= 8 - 2x (a square of side xx is removed at each end of the 8 m side),
    • breadth =3−2x= 3 - 2x (likewise from the 3 m side).
    x x x x 8 m 3 m length 8 − 2x width 3 − 2x base of the box cut out the four corner squares, fold the flaps up along the dashed lines
    The sheet with the corner squares (side xx⁠) marked. The dashed rectangle becomes the base; the strips of width xx fold up to form the sides.
    Once xx is chosen, the box is completely determined, so the volume is a function of xx alone. Each long side loses two squares, one at each end, which is where the "2x2x" comes from.
    Folding a flap of width xx upwards makes a wall of height xx⁠. Basics: building the function
  2. The allowed range of xx

    A real box needs all three dimensions positive:

    x>0,3−2x>0,8−2x>0.x > 0, \qquad 3 - 2x > 0, \qquad 8 - 2x > 0.

    The second gives x<32x < \frac{3}{2}⁠, and then the third (x<4x < 4⁠) holds automatically. So

    0<x<32.0 < x < \frac{3}{2}.
    The narrow side of the sheet is the real limit: we cannot cut two squares from a 3 m width if together they use up all of it. At x=0x = 0 or x=32x = \frac{3}{2} the "box" is flat and holds nothing, so these ends are excluded.
    Solving 3−2x>03 - 2x > 0⁠: add 2x2x to both sides and divide by 2. Basics: interval notation
  3. The volume as a function of xx

    V(x)=x(3−2x)(8−2x)=x(24−22x+4x2)=4x3−22x2+24x.\begin{aligned} V(x) &= x(3 - 2x)(8 - 2x) \\ &= x(24 - 22x + 4x^2) \\ &= 4x^3 - 22x^2 + 24x. \end{aligned}
    Volume = length × breadth × height. Expanding gives a polynomial, which is easy to differentiate term by term.
    (3−2x)(8−2x)(3 - 2x)(8 - 2x) =24−6x−16x+4x2= 24 - 6x - 16x + 4x^2 =4x2−22x+24= 4x^2 - 22x + 24⁠. Basics: area and volume formulas
  4. First and second derivatives

    V′(x)=12x2−44x+24=4(3x2−11x+6)=4(x−3)(3x−2),\begin{aligned} V'(x) &= 12x^2 - 44x + 24 \\ &= 4(3x^2 - 11x + 6) \\ &= 4(x - 3)(3x - 2), \end{aligned} V′′(x)=24x−44.V''(x) = 24x - 44.
    Factorising V′V' shows at once where it is zero and what sign it has. Check: (x−3)(3x−2)(x - 3)(3x - 2) =3x2−2x−9x+6= 3x^2 - 2x - 9x + 6 =3x2−11x+6= 3x^2 - 11x + 6⁠.
    Split −11x-11x as −9x−2x-9x - 2x because (−9)(−2)=18=3×6(-9)(-2) = 18 = 3 \times 6⁠: 3x2−9x−2x+6=3x(x−3)−2(x−3)3x^2 - 9x - 2x + 6 = 3x(x - 3) - 2(x - 3)⁠. Basics: factorising
  5. Critical points, and why x≠3x \ne 3

    V′(x)=0  ⟺  x=3  or  x=23.V'(x) = 0 \iff x = 3 \ \text{ or } \ x = \frac{2}{3}.

    But x=3x = 3 is not in the allowed range 0<x<320 < x < \frac{3}{2}⁠: squares of side 3 m cannot be cut from a sheet only 3 m wide, and the formula would give a breadth 3−2(3)=−33 - 2(3) = -3 m. So the only critical point that describes a box is

    x=23.x = \frac{2}{3}.
    This answers the textbook's "(Why?)". The function 4x3−22x2+24x4x^3 - 22x^2 + 24x is a polynomial defined for every xx⁠, so algebra alone happily produces x=3x = 3⁠; only the physical range rules it out.
    A critical point is where f′=0f' = 0 or ff is not differentiable (Note after Theorem 2, Section 6.4). Lesson: maxima and minima
  6. Second derivative test at x=23x = \frac{2}{3}

    V′′(23)=24⋅23−44=16−44=−28<0.V''\left(\frac{2}{3}\right) = 24\cdot\frac{2}{3} - 44 = 16 - 44 = -28 < 0.

    By the second derivative test (Theorem 4), x=23x = \frac{2}{3} is a point of local maxima of VV⁠.

    V′(23)=0V'\left(\frac{2}{3}\right) = 0 and V′′(23)<0V''\left(\frac{2}{3}\right) < 0 is exactly case (i) of Theorem 4: the graph is flat there and bending downwards, so it is a peak.
    Theorem 4 (Second Derivative Test), Section 6.4. Lesson: derivative tests
  7. It is the largest value on the whole range

    For 0<x<320 < x < \frac{3}{2} the factor x−3x - 3 is always negative. So the sign of V′(x)=4(x−3)(3x−2)V'(x) = 4(x - 3)(3x - 2) is opposite to the sign of 3x−23x - 2⁠:

    • for 0<x<230 < x < \frac{2}{3}⁠: 3x−2<03x - 2 < 0⁠, so V′(x)>0V'(x) > 0 and VV is increasing;
    • for 23<x<32\frac{2}{3} < x < \frac{3}{2}⁠: 3x−2>03x - 2 > 0⁠, so V′(x)<0V'(x) < 0 and VV is decreasing.

    Hence V(x)<V(23)V(x) < V\left(\frac{2}{3}\right) for every other xx in the range: x=23x = \frac{2}{3} gives the largest box, not just a locally largest one.

    0.5 1 1.5 2 4 6 8 x (m) V (m³) x = 2/3 largest: V = 200/27 ≈ 7.41 V′ > 0 V′ < 0
    V(x)=x(3−2x)(8−2x)V(x) = x(3 - 2x)(8 - 2x) on 0<x<320 < x < \frac{3}{2}⁠. It rises to a single peak at x=23x = \frac{2}{3} and falls back to 0 at both (excluded) ends.
    The second derivative test only speaks about points near 23\frac{2}{3}⁠. The question asks for the largest box of all, so we also need this global argument: VV climbs all the way up to 23\frac{2}{3} and descends all the way after it (Theorem 1, Section 6.3).
    Increasing then decreasing on an interval means the turning point is the overall maximum on that interval. Basics: sign of a product
  8. The largest volume

    V(23)=23(3−43)(8−43)=23⋅53⋅203=20027 m3.\begin{aligned} V\left(\frac{2}{3}\right) &= \frac{2}{3}\left(3 - \frac{4}{3}\right)\left(8 - \frac{4}{3}\right) \\ &= \frac{2}{3}\cdot\frac{5}{3}\cdot\frac{20}{3} = \frac{200}{27}\ \text{m}^3. \end{aligned}

    The box is 203\frac{20}{3} m long, 53\frac{5}{3} m wide and 23\frac{2}{3} m high, and the largest volume is 20027\frac{200}{27} m³ ≈7.407\approx 7.407 m³.

    Using the factored form x(3−2x)(8−2x)x(3 - 2x)(8 - 2x) avoids heavy fractions. The textbook uses the expanded form: 4⋅827−22⋅49+24⋅234\cdot\frac{8}{27} - 22\cdot\frac{4}{9} + 24\cdot\frac{2}{3} =32−264+43227=20027= \frac{32 - 264 + 432}{27} = \frac{200}{27}⁠, the same value.
    3−43=533 - \frac{4}{3} = \frac{5}{3} and 8−43=2038 - \frac{4}{3} = \frac{20}{3}⁠.
Result

With squares of side xx m cut out, V(x)=x(3−2x)(8−2x)V(x) = x(3 - 2x)(8 - 2x) for 0<x<320 < x < \frac{3}{2}⁠. The volume is largest when x=23x = \frac{2}{3} m, and the volume of the largest box is 20027\frac{200}{27} m³ (about 7.41 m³). (Textbook's own solution: 20027\frac{200}{27} m³.)

Check it with numbers

Neighbouring cuts give smaller boxes: V(0.6)=0.6×1.8×6.8=7.344V(0.6) = 0.6 \times 1.8 \times 6.8 = 7.344 and V(0.7)=0.7×1.6×6.6=7.392V(0.7) = 0.7 \times 1.6 \times 6.6 = 7.392⁠, while V(23)≈7.4074V\left(\frac{2}{3}\right) \approx 7.4074⁠. Farther away: V(0.25)=0.25×2.5×7.5=4.6875V(0.25) = 0.25 \times 2.5 \times 7.5 = 4.6875 and V(1.25)=1.25×0.5×5.5=3.4375V(1.25) = 1.25 \times 0.5 \times 5.5 = 3.4375⁠. A computer search over x=0.0001,0.0002,…,1.4999x = 0.0001, 0.0002, \dots, 1.4999 finds no volume larger than 20027\frac{200}{27}⁠.

Common mistakes
  1. Subtracting xx instead of 2x2x⁠. Each side loses a square at both ends.
  2. Keeping x=3x = 3⁠. It solves V′(x)=0V'(x) = 0 but gives a negative breadth; always check the allowed range.
  3. Stopping at the local test. V′′(23)<0V''\left(\frac{2}{3}\right) < 0 proves a local maximum only; the sign of V′V' on the whole range proves it is the largest.
  4. Answering x=23x = \frac{2}{3}⁠. The question asks for the volume, 20027\frac{200}{27} m³.
What to take away
  1. Optimisation routine: one variable, its allowed range, the function, critical points in the range, a test, a global argument, then answer the actual question with units.
  2. The physical range can eliminate solutions that the algebra produces.
  3. The same set-up appears in Exercise 6.3, Question 17 and Question 18 (squares cut from tin sheets).

Every fact used, and where it comes from

FactUsed inSource
Volume of a cuboidStep 3Mensuration
Critical point: f′(c)=0f'(c) = 0 or ff not differentiableStep 5Note after Theorem 2, Section 6.4 (Lesson: maxima and minima)
Second derivative testStep 6Theorem 4, Section 6.4 (Lesson: derivative tests)
Sign of f′f' decides increasing or decreasingStep 7Theorem 1, Section 6.3 (Lesson: increasing and decreasing)
Optimisation set-up from a word problemSteps 1–3Section 6.4 examples (Lesson: optimisation problems)
Textbook working, Fig 6.23 and answerResultExample 36, Miscellaneous Examples, Chapter 6
Found an error, or want more?

Tell us if something on this page is wrong or unclear, or if you would like a fuller explanation, another method or a new feature. Send feedback on this problem →