The 14-Day Path · Week 2 · Day 12
You have twelve units of fence. What would you build?
Twelve pieces of fence, many pens: which holds the most?
This is the live scene the video is rendered from: every number is computed as it plays. Narrated by one voice, with an original score; the captions are drawn into the picture.
Your move
You have twelve pieces of fence. Bent into 1 by 5, 2 by 4 or 3 by 3, every pen uses all twelve. Which one holds the most squares inside?
Pick before you watch, or after. Thinking time, not a test.
3 by 3, with 9 squares inside. Each pen uses all twelve pieces: 1 + 5 + 1 + 5, 2 + 4 + 2 + 4 and 3 + 3 + 3 + 3 all make 12. But inside, the 1 by 5 holds 5 squares, the 2 by 4 holds 8 and the 3 by 3 holds 9.
Same fence, different insides. Day 05 kept the same twelve tiles and found different fences; here the fence stays the same and the inside changes. The long, thin pen holds the least, and the closer its width and length are to equal, the more it holds.
Rule unlocked
With the fence fixed at 12 pieces, different pens hold different amounts: 5, 8 and 9. The same fence does not mean the same inside. Keep one thing fixed, then compare what each choice gives.
Check it
Which of these pens does not use exactly twelve pieces of fence?
2 by 3: 2 + 3 + 2 + 3 = 10, two pieces short. With twelve pieces, a pen's width and length must add up to 6, half of 12: 1 and 5, 2 and 4, 3 and 3.
Check it
Now you have sixteen pieces of fence. Which pen holds the most: 1 by 7, 2 by 6 or 4 by 4?
4 by 4, with 16 inside. Each pen uses 16 pieces, since its width and length add up to 8, half of 16. Inside: 1 × 7 = 7, 2 × 6 = 12, 4 × 4 = 16. The squarest pen holds the most again.
Level 2
Why does the square win, and what else could you try?
Sides need not be whole. A 2.5 by 3.5 pen uses 2.5 + 3.5 + 2.5 + 3.5 = 12 pieces. It holds 8.75: 6 whole squares, half squares along two edges and a quarter in the corner, 6 + 1.5 + 1 + 0.25. Of 9 pens tested half a unit apart, the 3 by 3 held the most.
Here is why no pen beats it. To make the 2 by 4, lift the top row, 3 squares, off the 3 by 3. Then add a column on the side, only 2 tall. You lose 3 and gain 2, so 1 square is lost: 1 × 1. To make the 1 by 5, lift off 2 rows, 6 squares, and add 2 columns, each only 1 tall: 2 squares. You lose 6 and gain 2, so 4 are lost: 2 × 2. The 2.5 by 3.5 loses 0.5 × 0.5 = 0.25. Each time, the pen is some amount wider and the same amount shorter, and it loses that amount times itself. Only the 3 by 3 loses nothing.
With a wall for one side, the twelve pieces cover only three sides: 3 + 6 + 3 = 12. That pen holds 6 × 3 = 18.
Try it together, no screen needed
Lay out twelve straws or toothpicks as different rectangles: 1 by 5, 2 by 4 and 3 by 3. Fill each one with coins or squares of paper, and see which rectangle holds the most. Then build against a book, so the book makes one side. How big can you make it with the same twelve?
The ledger
Computed by the scene in your browser, and checked again in Python when this page was built.
| Fence 12: 1 by 5, 2 by 4, 3 by 3 | 1 + 5 + 1 + 5 = 12 · 2 + 4 + 2 + 4 = 12 · 3 + 3 + 3 + 3 = 12 · inside 5, 8, 9 |
| Halves allowed | 2.5 + 3.5 + 2.5 + 3.5 = 12 · 6 + 1.5 + 1 + 0.25 = 8.75 |
| Every half step (9 sizes) | 1 by 5: 5 · 1.5 by 4.5: 6.75 · 2 by 4: 8 · 2.5 by 3.5: 8.75 · 3 by 3: 9 · 3.5 by 2.5: 8.75 · 4 by 2: 8 · 4.5 by 1.5: 6.75 · 5 by 1: 5 |
| Lost from the square | 2 by 4: 9 − 1 × 1 = 8 · 1 by 5: 9 − 2 × 2 = 5 · 2.5 by 3.5: 9 − 0.5 × 0.5 = 8.75 |
| The checks | 2 by 3: 2 + 3 + 2 + 3 = 10 · sixteen pieces: 1 by 7 → 7, 2 by 6 → 12, 4 by 4 → 16 |
| Against a wall, whole-number tries | 10 by 1: 10 · 8 by 2: 16 · 6 by 3: 18 · 4 by 4: 16 · 2 by 5: 10 |
The lesson
Clip A · Three Pens, One Fence · 0–63 s
- NARRATORThis is the fourteen-day path.
- NARRATORFourteen small discoveries, one a day, with every answer given.
- NARRATORDay twelve, you have twelve units of fence, what would you build?
- PICTURETwelve fence pieces in a row bend into three pens: A, 1 by 5; B, 2 by 4; C, 3 by 3. Under each, its fence: 1 + 5 + 1 + 5 = 12, 2 + 4 + 2 + 4 = 12, 3 + 3 + 3 + 3 = 12.
- NARRATORBend twelve fence pieces into one by five, two by four, or three by three.
- PICTUREThree answer chips, 1 by 5, 2 by 4 and 3 by 3, with a five-second thinking ring.
- NARRATOREvery pen uses all twelve, so which one holds the most squares inside?
- PICTUREEach pen fills with unit squares, lit one at a time: 5 in the 1 by 5, then 8 in the 2 by 4.
- NARRATORCount inside, one by five holds five squares, and two by four holds eight.
- PICTUREThe 3 by 3 fills: 9.
- NARRATORThree by three holds nine, the most of these three, from exactly the same fence.
- PICTUREThe 3 by 3 is outlined. Below: answer C, one fence of 12, areas 5, 8 and 9: the most of these three.
- NARRATORThe answer is C, and one fixed fence gave three different areas, five, eight and nine.
- PICTUREThe rule card: same 12 pieces of fence: 5, 8 or 9 inside.
- NARRATORThe rule we unlocked is to compare outcomes under one fixed rule, here twelve units of fence.
Clip B · Test More, Borrow a Wall · 63–118 s
- PICTUREA 2.5 by 3.5 pen: 6 whole squares, half squares along two edges and a quarter in the corner. Below: fence 2.5 + 3.5 + 2.5 + 3.5 = 12, inside 2.5 × 3.5 = 8.75.
- NARRATORSides need not be whole, 2.5 by 3.5 holds 8.75.
- PICTUREA bar chart of 9 pens, from 1 by 5 to 5 by 1, half a unit apart, each with a fence of 12. The bars rise to 9 for the 3 by 3, in green, and fall again: of these 9, 3 by 3 holds the most.
- NARRATOROf every size we tested, half a unit apart, three by three still held the most.
- PICTUREA wall along the top. The fence makes the other three sides, 3 + 6 + 3 = 12, and the pen fills with 18 squares. Below, the whole-number tries: 10, 16, 18, 16 and 10.
- NARRATORBuild against a wall, and the same twelve pieces can enclose six by three, eighteen squares.
- PICTURETwelve straws laid out as a rectangle, then as 1 by 5, 2 by 4 and 3 by 3.
- NARRATORTry it at home with twelve straws or toothpicks, and lay them out as different rectangles.
- PICTURECoins fill the pens: 5, 8 and 9.
- NARRATORFill each one with coins or squares of paper, and see which rectangle holds the most.
- PICTUREThe three pens side by side: 5, 8 and 9.
- NARRATORSame fence, different gardens.
- NARRATORFollow for day thirteen, and try every day at crackinmath.com.
- NARRATORTell us in the comments what you would test next with twelve units of fence.
Record and reading
Record. Rectangles with the same fence can hold different amounts inside. With 12 pieces, the 3 by 3 square holds the most of any rectangle. A pen some amount wider and the same amount shorter holds 9 minus that amount times itself. The video tests sizes half a unit apart; that reason covers every size in between too. Against a wall, of the whole-number tries, 6 by 3 holds the most, 18.
Schematic. The pens, the wall, the straws and the coins are illustrations. One unit is the same size throughout each part. Every side, fence, area and comparison is computed.
From The History of Math
06Sand, Levers, and Sliced Cones
c. 250–200 BCE
Keys
Today one fixed fence gave different insides. Tomorrow: does multiplying always make something bigger? Test 'always' before you trust it.
