The Most Field for the Fence

  • Easy
  • Geometry and grid puzzles
  • Tests: Knowing which rectangle is biggest

The puzzle

You have 100 m of fencing and want to enclose a rectangular field, using all of the fence and no walls or hedges.

What is the largest area you can enclose, and what shape gives it?

Stuck?

One at a time, smallest first. Open only as many as you need — the whole point of the puzzle is the part you work out yourself.

Hint 1

The two sides must add to 50. Try a few pairs and watch the product.

Hint 2

1 x 49, 10 x 40, 20 x 30, 25 x 25 - the product rises as the pair evens out.

Show the answer Hide the answer

625 m^2, from a 25 m square. Among rectangles of a given perimeter the square is always the largest.

How to get there

A perimeter of 100 means 2(x + y) = 100, so x + y = 50 and the area is x(50 - x).

That is a downward parabola in x, largest at the midpoint x = 25, giving 25 x 25 = 625 m^2. Compare 20 x 30 = 600 and 10 x 40 = 400: the further from square, the worse.

The same reasoning without calculus: write x = 25 + d and y = 25 - d, so the area is 625 - d^2. Any departure from square costs exactly d^2, which is why the square wins and why it wins by less and less as you get close to it.

The technique worth keeping

For a fixed sum, a product is largest when the parts are equal. Substituting x = m + d and y = m - d turns the claim into 625 - d^2 and proves it in one line, no differentiation needed.