Boxi Math

Stage 4 · Change and Relations / #38

The Galton Board and the Binomial Distribution

Before you watch

Make a guess first. You'll find out in the video.

  1. A Galton board has 6 rows of pegs and 7 slots. Where is a ball most likely to land?

The idea

At every peg a ball goes left or right with equal chance, so every route is equally likely. Which slot it lands in depends only on how many rights it took, and the middle slots have the most routes (1, 6, 15, 20, 15, 6, 1), so the balls pile into a bell shape.

A common mix-up

Every slot is equally likely, so the balls should land roughly flat.

Where it stops working

If the seven slots were equally likely, 128 balls would give about eighteen each; in fact the outer slots got three and two, and the middle got thirty-nine.

School year
China 高二

Try it yourself

The same idea as the video, in your hands: drag, slide and turn the pictures.

Open full screen ↗

Practice

Why does it work?

  1. Why does the middle slot get the most balls?

  2. With 4 rows of pegs, how many routes lead to each of the 5 slots?

Have a go

  1. Example: with 128 balls the middle slot gets about 128×20÷64 = 40. About how many in the second slot from the left?

  2. 6 rows of pegs: what is the chance a ball lands in the leftmost slot?

Come back in a few days

Doing these again after a gap is what makes it stick.

  1. Flip a coin 4 times. What is the chance of exactly 2 heads?

  2. Flip 6 coins: exactly 3 heads, or all 6 heads — which is more likely?

Something to think about

Ten coin flips with exactly five heads: how would you count the routes for that?

Transcript

At the school fair there's a marble game: a ball bounces off pins all the way down and lands in one of seven slots.

Pour in a whole handful of balls. What shape do you think they will land in?

The stall keeper says: all seven slots are equally likely, so the balls should land about flat.

Let's look together. Each time a ball hits a peg, it goes left or right, half and half.

There are six rows of pegs; the slot it lands in depends only on how many times it went right.

This ball went left, right, left, left, left, right: two rights, so it lands in the third slot from the left.

Drop nine more, ten in all: the slots are up and down, with no pattern yet.

After more than a hundred balls, will the seven slots be the same height?

Drop a hundred and eighteen more: a hundred and twenty-eight in all.

High in the middle, low at the sides: they've piled into a hill.

The two outer slots have only three and two; the middle one has thirty-nine.

Why? Because there are more routes to the middle.

To land at the far left, all six turns must be left: just one route.

To land in the middle: three lefts and three rights in any order, twenty routes.

The routes to the seven slots number one, six, fifteen, twenty, fifteen, six, one.

Sixty-four in all, each route equally likely, so slots with more routes get more balls.

By the route count, the middle should get about forty; in fact it got thirty-nine.

If the seven slots were equally likely, each would hold about eighteen balls. The sides are nowhere near.

So the bell shape comes from counting: the most routes lead to the middle.

This is a demonstration, not a proof; these route counts are where the binomial distribution comes from.

Ten coin flips with exactly five heads: how would you count the routes for that?