girgit.org

Application of Derivatives

Optimisation: the cheapest can, the shortest fence, the nearest point

The big ideaThe same seven steps find the cheapest can, the shortest fence, the nearest point on a curve and the biggest profit; the hard part is always using the condition to get down to one variable.

In simple words

A factory must make a can that holds one litre. It wants to use as little tin as possible, because tin costs money. A tall thin can wastes tin on its long side. A short fat can wastes tin on its big top and bottom. The cheapest can is in the middle, and the maths tells you exactly what shape it is.

The cheapest tin can

A closed cylindrical can must hold V = 1000 cm³ (one litre). Find the radius r and height h that use the least tin, that is, the least total surface area.

  1. Surface area: two circles and the curved side, \( S = 2\pi r^2 + 2\pi r h \).
  2. Condition: \( \pi r^2 h = 1000 \), so \( h = \frac{1000}{\pi r^2} \).
  3. One variable: \( S(r) = 2\pi r^2 + \frac{2000}{r} \), for r > 0.
  4. \( S'(r) = 4\pi r - \frac{2000}{r^2} = 0 \) gives \( r^3 = \frac{500}{\pi} \), so \( r \approx 5.42 \) cm.
  5. \( S''(r) = 4\pi + \frac{4000}{r^3} > 0 \) for every r > 0: a minimum.
  6. Then \( h = \frac{1000}{\pi r^2} \approx 10.84 \) cm, and S ≈ 554 cm².

Look at the answer: h ≈ 10.84 and 2r ≈ 10.84. The cheapest closed can is exactly as tall as it is wide. This holds for any volume V: from \( S'(r) = 0 \), \( 2\pi r^3 = V = \pi r^2 h \), so h = 2r.

Guess first: tall and thin, or short and wide?

Which uses less tin for the same 1000 cm³: a tall can of radius 3 cm, or a squat can of radius 10 cm?

Guess, then reshape the can and watch the tin.

See what happens
Both are poor. With \( S(r) = 2\pi r^2 + \frac{2000}{r} \): S(3) ≈ 723 cm² and S(10) ≈ 828 cm², against about 554 cm² for the best can (r ≈ 5.42, h ≈ 10.84). Real cold-drink cans are taller than this partly because the thicker top and bottom cost more, and tall cans are easier to hold; change the cost of each part and the best shape changes too.

The shortest fence

A farmer wants a rectangular plot of 800 m² beside a straight river. The river side needs no fence. What is the least fencing needed?

Let each side at right angles to the river be x m and the side parallel to it be y m. Fence \( L = 2x + y \), condition xy = 800, so

\[ L(x) = 2x + \frac{800}{x}, \quad x > 0; \qquad L'(x) = 2 - \frac{800}{x^2} = 0 \Rightarrow x = 20. \]

\( L''(x) = \frac{1600}{x^3} > 0 \): a minimum. So x = 20 m, y = 40 m, and the least fencing is 80 m. The side along the river is twice each of the other sides. (With fencing on all four sides, the best rectangle of a given area is a square.)

The nearest point on a curve

Find the point on the parabola \( y = x^2 \) nearest to A(0, 3).

A point on the curve is \( (x, x^2) \). Its distance from A is \( \sqrt{x^2 + (x^2 - 3)^2} \). A square root is smallest exactly when what is inside is smallest, so minimise the square of the distance:

\[ D(x) = x^2 + (x^2 - 3)^2 = x^4 - 5x^2 + 9, \qquad D'(x) = 4x^3 - 10x = 2x(2x^2 - 5). \]

Critical points: x = 0 and \( x = \pm\sqrt{\frac{5}{2}} \). D(0) = 9, but \( D\left( \pm\sqrt{\frac{5}{2}} \right) = \frac{25}{4} - \frac{25}{2} + 9 = \frac{11}{4} \). So the nearest points are \( \left( \pm\sqrt{\frac{5}{2}}, \frac{5}{2} \right) \), at distance \( \frac{\sqrt{11}}{2} \approx 1.66 \). The "obvious" point, the vertex (0, 0) at distance 3, is actually a local maximum of D (D″(0) = −10 < 0).

Try it: slide P along the parabola and watch D(x) underneath.

The biggest profit

A dhaba finds it can sell x thalis a day at \( \left( 200 - \frac{x}{2} \right) \) rupees each. Making x thalis costs \( 40x + 3000 \) rupees. Profit = revenue − cost:

\[ P(x) = x\left( 200 - \frac{x}{2} \right) - (40x + 3000) = 160x - \frac{x^2}{2} - 3000. \]

P′(x) = 160 − x = 0 at x = 160, and P″ = −1 < 0. Sell 160 thalis (at ₹120 each) for the largest profit, P(160) = ₹9800.

Remember

  • Closed cylinder of fixed volume, least surface: h = 2r.
  • For shortest distance, minimise the square of the distance.
  • Profit = revenue − cost; maximum where marginal revenue = marginal cost (P′ = 0).

Words to know

Surface area of a closed cylinder
\( 2\pi r^2 + 2\pi r h \): two lids plus the curved side.
Curved surface area
\( 2\pi r h \): the side of the cylinder only.
Profit function
P(x) = R(x) − C(x), money in minus money spent.
Shortest distance
The least distance from a point to any point of a curve.

A closed cylindrical tin of fixed volume uses the least metal when

  1. its height equals its radius
  2. its height equals its diameter
  3. its height is twice its diameter

To find the point of a curve nearest to (2, 1), which function is easiest to minimise?

  1. \( (x - 2)^2 + (y - 1)^2 \) with y written in terms of x
  2. \( \sqrt{(x - 2)^2 + (y - 1)^2} \) only
  3. \( (x - 2) + (y - 1) \)

A rectangular garden of area 200 m² is fenced on all four sides. What shape needs the least fence?

  1. 10 m by 20 m
  2. A square of side \( \sqrt{200} \approx 14.1 \) m
  3. 5 m by 40 m