No. 041 · Chance

2,000 balls, 20 rows, one bell curve

Every peg is a coin flip. 2,000 balls later, the stacks make a bell curve.

Binomial(20, ½) → Normal(10, √5)

A Galton board with 20 rows of pegs. Each of the 2,000 balls hits one peg in every row and bounces left or right, 50/50, like a coin flip. Where it lands depends on how many times it went right.

Why a bell curve

To land in bin k a ball has to go right exactly k times out of 20. There's only one way to go right 0 times, but 184,756 ways to go right 10 times, so the middle bins fill up and the edges stay almost empty. The counts follow the binomial distribution, binomial(20, ½).

With many rows, the binomial distribution is very close to a normal curve with mean 20 · ½ = 10 and spread √(20 · ½ · ½) = √5 ≈ 2.24. That curve is drawn in gold over the stacks at the end.

Across all 2,000 balls, 49.9% of the bounces went right. The random bounces are fixed by a seed (41), so the video can be made again exactly.

Compare No. 019: on a rigged board the pile moves over, but it's still a bell.

Part of Chance (5 videos): Random steps that add up to something predictable.

Use this picture

SVGJPG

Free to reuse, also commercially, under CC BY 4.0. Credit “What Math Means” with a link to whatmathmeans.dev/v/2000-balls-20-rows.