Math · Demo 7 of 19

Can you predict something random?

Nobody can tell where one ball will land. Drop 500 and the pile makes the same shape every time. Find out why chance has a shape.

000
Drop balls
Rows10 rows
Tiltlevel
Flip board

Controls

Drop balls from the hopper (500 in all)
Blue line: the pile shape the maths predictsSteel pins: each one sends a ball left or rightBalls fall from the hopper through the rows of pins. At every pin a ball goes left or right by chance, and the bin it lands in counts how many times it went right. The ruler on the right counts balls in steps of 10. The tilt screw tips the board very slightly, so every bounce leans a little one way. Flip the board (Reset) to send the balls back to the hopper.

Watch it work

A short film of this machine in action. Watch it, then try the challenges yourself.

What you're seeing

Each steel ball falls into a triangle of pins. Every time it hits a pin, it bounces left or right, and nobody can say which. After the last row it drops into a bin.

One ball tells you almost nothing. But drop hundreds and the piles grow into a smooth hill, highest in the middle and almost empty at the edges. The blue line is the shape maths predicts before a single ball falls.

Try this

0 of 4 solved
  1. Drop one ball. Could you have guessed where it would land?Flip the board first so it's empty.
  2. Drop all 500 balls with the board level. Does the pile match the blue line?Use “All”.
  3. Tilt the board and drop at least 100 balls. What changes?Watch where the hill moves.
  4. Change to 6 rows and drop all 500. Do more balls reach the edge bins now?Fewer rows, fewer bounces.

Why it works

To land in the middle a ball needs about as many lefts as rights, and there are lots of different ways to do that. To land in the far left bin it must go left at every single pin, and there is only one way to do that. More ways means more balls.

With 10 rows there are 1,024 different paths. 252 of them end in the middle bin, but only 1 ends in each edge bin. That's why the middle pile is about 250 times taller than the edges. Tilt the board and every bounce leans one way, so the whole hill slides over.

Go deeper AGES 14–16

The number of paths to each bin is a row of Pascal's triangle. With n rows and a fair board, the chance of landing in bin k is:

P(k) = C(n, k) ÷ 2ⁿ

On your board right now (n = 10 rows):

paths in total: 2ⁿ = 1,024
paths to the middle bin (k = 5): C(n, k) = 252 → 24.6%
each edge bin: 1 path → 0.10%
each bounce: 50% right, 50% left

When the board is tilted, each bounce goes right with chance p, and P(k) = C(n, k) × pᵏ × (1 − p)ⁿ⁻ᵏ. This is the binomial distribution. With many rows it becomes the smooth bell curve, also called the normal distribution.