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

Exercise 6.3 · Q17: Open box from an 18 cm square of tin: cut squares of side 33 cm

Exercise 6.3Optimisation · Section 6.4
The question

A square piece of tin of side 18 cm is to be made into a box without top, by cutting a square from each corner and folding up the flaps to form the box. What should be the side of the square to be cut off so that the volume of the box is the maximum possible.

Exam answer

Let the side of each square cut off be xx cm. The box is xx cm high and its base is (18−2x)(18 - 2x) cm by (18−2x)(18 - 2x) cm, so 0<x<90 < x < 9⁠.

V(x)=x(18−2x)2=4x3−72x2+324x\begin{aligned} V(x) &= x(18 - 2x)^2 \\ &= 4x^3 - 72x^2 + 324x \end{aligned} V′(x)=12x2−144x+324=12(x−3)(x−9)\begin{aligned} V'(x) &= 12x^2 - 144x + 324 \\ &= 12(x - 3)(x - 9) \end{aligned}

V′(x)=0⇒x=3V'(x) = 0 \Rightarrow x = 3 or x=9x = 9⁠. As x<9x < 9⁠, x=3x = 3⁠.

V′′(x)=24x−144V′′(3)=−72<0\begin{aligned} V''(x) &= 24x - 144 \\ V''(3) &= -72 < 0 \end{aligned}

So VV is maximum at x=3x = 3⁠. For 0<x<30 < x < 3⁠, V′(x)>0V'(x) > 0⁠, and for 3<x<93 < x < 9⁠, V′(x)<0V'(x) < 0⁠, so V(3)V(3) is the greatest volume.

∴\therefore The side of the square to be cut off is 3 cm.

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

The one idea this problem is built on

The whole box is decided by one number, the side xx of the corner squares. Write the volume as a function of xx⁠, find the range of xx that gives a real box, and maximise over that range. Small cuts give a wide but shallow box, large cuts a deep but narrow one; the best box is in between.

Given, to find, and the plan
Given
A square sheet 18 cm by 18 cm; equal squares are cut from the corners and the flaps folded up to make an open box.
To find
The side of the square to cut off so that the volume is largest.
Plan
Let the cut be xx cm. Read off the dimensions; find the allowed range; build V(x)V(x)⁠; solve V′(x)=0V'(x) = 0 in the range; use the second derivative test, and the sign of V′V' to show the maximum is global; answer with units.

Basics you need

1Building the function from the words

Choose the one number that fixes the situation, express every dimension in it, and state its physically sensible range. 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)

f′(c)=0f'(c) = 0 and f′′(c)<0f''(c) < 0 give a point of local maxima. Lesson: derivative tests

4Local versus largest

Increasing up to cc⁠, decreasing after it, on the whole allowed range: then f(c)f(c) is the largest value. Lesson: optimisation problems

Solution

  1. Choose the variable and read off the dimensions

    Let xx cm be the side of each square cut off. After folding up the flaps:

    • height of the box =x= x⁠,
    • length == breadth =18−2x= 18 - 2x (a square of side xx is removed at each end of every side).
    x x x x 18 cm 18 cm side 18 − 2x 18 − 2x by 18 − 2x base of the box cut out the four corner squares, fold the flaps up along the dashed lines
    The 18 cm square sheet with the corner squares (side xx⁠) marked, drawn to scale with x=3x = 3 cm. The dashed square becomes the base; the strips of width xx fold up to form the walls.
    Each side of the sheet loses one square at each end, so it loses 2x2x⁠. The flaps have width xx⁠, and folding them up makes walls of height xx⁠.
    The base is a square because the sheet is a square. Basics: area and volume formulas
  2. The allowed range of xx

    A real box needs a positive height and a positive base side:

    x>0and18−2x>0,x > 0 \quad\text{and}\quad 18 - 2x > 0,

    so

    0<x<9.0 < x < 9.
    At x=0x = 0 nothing is folded (no walls), and at x=9x = 9 the four squares use up the whole sheet (no base). Either way the volume is 0, so these ends are excluded.
    18−2x>0  ⟺  2x<18  ⟺  x<918 - 2x > 0 \iff 2x < 18 \iff x < 9⁠. Basics: interval notation
  3. The volume as a function of xx

    V(x)=x(18−2x)2=x(324−72x+4x2)=4x3−72x2+324x.\begin{aligned} V(x) &= x(18 - 2x)^2 \\ &= x(324 - 72x + 4x^2) \\ &= 4x^3 - 72x^2 + 324x. \end{aligned}
    Volume = length × breadth × height = (18−2x)(18−2x) x(18 - 2x)(18 - 2x)\,x⁠. Expanding gives a polynomial that is easy to differentiate.
    (18−2x)2(18 - 2x)^2 =324−2⋅18⋅2x+4x2= 324 - 2 \cdot 18 \cdot 2x + 4x^2 =324−72x+4x2= 324 - 72x + 4x^2⁠. Basics: volume formulas
  4. Derivatives and the critical point

    V′(x)=12x2−144x+324=12(x2−12x+27)=12(x−3)(x−9),\begin{aligned} V'(x) &= 12x^2 - 144x + 324 \\ &= 12(x^2 - 12x + 27) \\ &= 12(x - 3)(x - 9), \end{aligned} V′′(x)=24x−144.V''(x) = 24x - 144.

    V′(x)=0V'(x) = 0 gives x=3x = 3 or x=9x = 9⁠. But x=9x = 9 is outside 0<x<90 < x < 9 (no base), so the only critical point is x=3x = 3⁠.

    x2−12x+27=(x−3)(x−9)x^2 - 12x + 27 = (x - 3)(x - 9) because 3×9=273 \times 9 = 27 and 3+9=123 + 9 = 12⁠. The algebra produces x=9x = 9 as well, but the physical range rejects it.
    Factorising a quadratic: find two numbers with the right product and sum. Basics: factorising
  5. Second derivative test at x=3x = 3

    V′′(3)=72−144=−72<0.V''(3) = 72 - 144 = -72 < 0.

    By the second derivative test (Theorem 4), x=3x = 3 is a point of local maxima of VV⁠.

    V′(3)=0V'(3) = 0 and V′′(3)<0V''(3) < 0⁠: flat and bending downward, a peak.
    Theorem 4(i), Section 6.4. Lesson: derivative tests
  6. It is the largest box of all

    For 0<x<90 < x < 9⁠, the factor x−9x - 9 is negative, so V′(x)=12(x−3)(x−9)V'(x) = 12(x - 3)(x - 9) has the opposite sign to x−3x - 3⁠:

    • for 0<x<30 < x < 3⁠: V′(x)>0V'(x) > 0⁠, VV increasing;
    • for 3<x<93 < x < 9⁠: V′(x)<0V'(x) < 0⁠, VV decreasing.

    So V(x)<V(3)V(x) < V(3) for every other allowed xx⁠.

    3 6 9 100 200 300 400 x (cm) V (cm³) largest: V(3) = 432 V′ > 0 V′ < 0
    V(x)=x(18−2x)2V(x) = x(18 - 2x)^2 on 0<x<90 < x < 9⁠: one peak, at x=3x = 3⁠, where V=432V = 432 cm³. At both excluded ends the volume is 0.
    The second derivative test only compares x=3x = 3 with nearby cuts; the sign of V′V' on the whole range compares it with every possible cut (Theorem 1, Section 6.3).
    A product of one negative and one positive factor is negative. Basics: sign of a product
  7. Answer the question

    The side of the square to be cut off is 3 cm. The box is then 1212 cm by 1212 cm by 33 cm, with volume

    V(3)=3×122=432 cm3.V(3) = 3 \times 12^2 = 432\ \text{cm}^3.
    The question asks for the side of the square, so the answer is 3 cm; the volume is a useful check.
    18−2×3=1218 - 2 \times 3 = 12⁠. Basics: volume formulas
Result

Cut off squares of side 3 cm. The box is 12 cm × 12 cm × 3 cm and its volume, 432 cm³, is the largest possible. (Textbook answer: 3 cm.)

Check it with numbers

V(2)=2×142=392V(2) = 2 \times 14^2 = 392⁠, V(4)=4×102=400V(4) = 4 \times 10^2 = 400⁠, V(2.5)=2.5×132=422.5V(2.5) = 2.5 \times 13^2 = 422.5 and V(3.5)=3.5×112=423.5V(3.5) = 3.5 \times 11^2 = 423.5⁠: all below V(3)=432V(3) = 432⁠. A computer search over x=0.001,0.002,…,8.999x = 0.001, 0.002, \dots, 8.999 finds no volume larger than 432 cm³.

Common mistakes
  1. Using 18−x18 - x for the base side. Each side loses a square at both ends: 18−2x18 - 2x⁠.
  2. Keeping x=9x = 9⁠. It solves V′(x)=0V'(x) = 0 but leaves no base (and V(9)=0V(9) = 0⁠, a minimum, not a maximum).
  3. Stopping at the local test. V′′(3)<0V''(3) < 0 shows a local maximum; the sign of V′V' on (0,9)(0, 9) shows it is the largest box.
  4. Answering 432. The question asks for the side of the square, 3 cm.
What to take away
  1. For a square sheet of side aa⁠, the best cut is x=a6x = \frac{a}{6}⁠: here 186=3\frac{18}{6} = 3⁠.
  2. Write the range first; it decides which critical points are real.
  3. Same set-up with a rectangle: Question 18 and the book's Example 36.

Every fact used, and where it comes from

FactUsed inSource
Volume of a cuboidStep 3Mensuration (Basics: volume formulas)
Critical pointStep 4Note after Theorem 2, Section 6.4 (Lesson: maxima and minima)
Second derivative testStep 5Theorem 4, Section 6.4 (Lesson: derivative tests)
Sign of f′f' decides increasing or decreasingStep 6Theorem 1 and the Remark after it, Section 6.3 (Lesson: increasing and decreasing)
Optimisation set-up from a word problemSteps 1–3Section 6.4; Example 36 (Lesson: optimisation problems)
Answer 3 cmResultAnswers to Exercise 6.3, Question 17
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 →