girgit.org

Application of Derivatives

Optimisation: the biggest box from a sheet

The big ideaAn optimisation problem becomes a maxima and minima problem once you write the quantity to be made biggest or smallest as a function of one variable, with the right domain.

In simple words

You have a square sheet of tin. Cut a small square from each corner, fold up the four flaps, and you get an open box. Cut tiny squares and the box is wide but very flat. Cut big squares and the box is tall but very thin. Somewhere in between is the cut that holds the most. Maths can find that exact cut without trying every size.

Seven steps for any optimisation problem

  1. Draw the situation and label every length.
  2. Name the variable you are free to choose (say x).
  3. Write the quantity to optimise (volume, cost, distance) as a formula.
  4. Use the condition in the question (fixed sheet size, fixed volume, fixed sum) to get a function of one variable only.
  5. Find the domain: the values of x that make physical sense (lengths positive, cuts smaller than the sheet).
  6. Differentiate, solve f′(x) = 0 in the domain, and confirm it is a max or min (second derivative test, or compare with the endpoints).
  7. Answer the question asked, with units: sometimes the cut size, sometimes the volume, sometimes both.

Guess first: where should you cut?

A square tin sheet is 30 cm by 30 cm. You cut a square of side x from each corner and fold up the flaps to make an open box. Guess: which cut gives the biggest box: 3 cm, 5 cm, 7.5 cm (a quarter of the side) or 10 cm?

Pick one, then cut and fold the sheet yourself.

See what happens

After cutting, the base is (30 − 2x) by (30 − 2x) and the height is x, so

\[ V(x) = x(30 - 2x)^2, \qquad 0 < x < 15. \]

Differentiate with the product rule: \( V'(x) = (30 - 2x)^2 - 4x(30 - 2x) = (30 - 2x)(30 - 6x) \). In the domain, V′ = 0 only at x = 5 (x = 15 leaves no base). Then \( V''(x) = 24x - 240 \), so V″(5) = −120 < 0: a maximum.

Cut x (cm)357.510
Volume (cm³)172820001687.51000

The best cut is 5 cm, one-sixth of the side, not a quarter. Most people guess too big: deep boxes look roomy, but the base shrinks fast because you lose 2x from each side. For a square sheet of side a, the best cut is always \( \frac{a}{6} \).

Worked example: a rectangular sheet

A rectangular cardboard sheet is 16 cm by 10 cm. Equal squares of side x are cut from the corners to make an open box. Find the largest volume.

  1. Base (16 − 2x) by (10 − 2x), height x.
  2. \( V(x) = x(16 - 2x)(10 - 2x) = 4x^3 - 52x^2 + 160x \).
  3. Domain: the shorter side limits the cut, so 0 < x < 5.
  4. \( V'(x) = 12x^2 - 104x + 160 = 4(x - 2)(3x - 20) \). Zeros: x = 2 and \( x = \frac{20}{3} \approx 6.7 \). The second is outside the domain (you cannot cut 6.7 cm from both ends of a 10 cm side).
  5. \( V''(x) = 24x - 104 \); V″(2) = −56 < 0, so x = 2 gives a maximum.
  6. Largest volume: V(2) = 2 × 12 × 6 = 144 cm³.

Numbers with a fixed sum

The same steps handle "two numbers" questions. Two numbers add up to 20; make their product as large as possible. With the numbers x and 20 − x, \( P(x) = 20x - x^2 \), \( P'(x) = 20 - 2x = 0 \) at x = 10, and P″ = −2 < 0. So both numbers are 10 and the product is 100. In the same way, the sum of the squares \( x^2 + (k - x)^2 \) of two positive numbers with sum k is least when both are \( \frac{k}{2} \).

Don't mix these up

  • Throw out roots of f′ that lie outside the domain (like \( \frac{20}{3} \) above, or a negative length).
  • Read what the question wants: "the side of the square to be cut" is x; "the largest volume" is V(x).

Try it. Two positive numbers x and y have x + y = 12. Find them so that \( xy^2 \) is as large as possible.

Answer
With x = 12 − y, or directly \( f(x) = x(12 - x)^2 \): \( f'(x) = (12 - x)(12 - 3x) \), zero at x = 4 in (0, 12). Sign changes + to −, so a maximum. x = 4, y = 8, and \( xy^2 = 256 \).

Words to know

Optimisation
Finding the best value: the largest or smallest possible.
Objective function
The quantity you want to make largest or smallest, written as a formula.
Constraint
The fixed condition in the question that ties the variables together.
Domain of the problem
The values of the variable that make sense in the real situation.

A square sheet of side 24 cm is made into an open box by cutting squares of side x from the corners. What x gives the largest volume?

  1. 6 cm
  2. 4 cm
  3. 12 cm

For the box from a 16 cm by 10 cm sheet, why is \( x = \frac{20}{3} \) rejected?

  1. It gives a minimum volume
  2. It is larger than half the shorter side
  3. It is negative

Two positive numbers have sum 30. When is the sum of their squares least?

  1. When both are 15
  2. When they are 1 and 29
  3. When they are 10 and 20