Stage 12 · Inequalities

12.7  Inequalities in the Real World

Turn "at least," "at most," and "the better deal" into inequalities — then read the answer off the line.

For ages 13–16 · Intuition before notation
Knowledge point page

Point 3 of 4 in this lesson: 12.7.3 Optimization — spend less, fence more

12.7.3 Optimization — spend less, fence more

Some problems don't ask "which values are allowed" — they ask "what is the best I can do?" The largest area, the smallest cost. For these, the basic inequality from 12.6 is the key: when two positive quantities have a fixed sum, their product is largest when they are equal.

The wall-backed pen. You're building a rectangular pen against the side of a barn. The barn wall is one long side for free; you have 40 m of fence for the other three sides. Let the width (the two short sides) be x. The two widths use 2x of fence, so the remaining length is 40 − 2x. The area is

A = x(40 − 2x) = 40x − 2x².

The barn wall (slate) is the free fourth side. The 40 m of fence wraps the other three: two widths x and one length 40 − 2x.

Here is the clever step. Look at the two parts 2x and 40 − 2x. They add to a fixed total: 2x + (40 − 2x) = 40, always. Two positive numbers with a fixed sum of 40 have their largest product when each equals half, that is 20. So 2x(40 − 2x) (40/2)² = 400. Dividing by 2,

A = x(40 − 2x) = 2x(40 − 2x)2 4002 = 200.

So the area can never beat 200 m², and it reaches 200 exactly when the two parts are equal: 2x = 40 − 2x, giving 4x = 40, so x = 10. That makes the length 40 − 2·10 = 20 — a 10 m × 20 m pen, 200 m². (Sanity check the neighbours: x = 9 gives 9·22 = 198; x = 11 gives 11·18 = 198; both fall short of 200. The peak really is at 10.)

Key idea — fixed sum, biggest at equal

When a quantity is a product of two pieces whose sum is fixed, the product is biggest when the pieces are equal. That is "fixed sum → biggest product" from 12.6, doing real work: the best pen is the one where twice-the-width equals the length.

🎮 Try it MAX-AREA OPTIMIZER
Slide the width of the wall-backed pen. The fence total stays 40 m; watch the area rise to its peak of 200 m² at x = 10.
eastmath.com · 12.7 Inequalities in the Real World · 12.7.3 Optimization — spend less, fence more