eureka
§ A24

Galton Board: The Mathematics of Chance

Imagine you flip a coin. The result is completely unpredictable; it could be heads or it could be tails. But what if you flip a coin 100 times? Or 1,000 times? Suddenly, the unpredictable becomes highly predictable: you can confidently expect around 50% heads and 50% tails. The Galton Board is a beautiful, physical demonstration of this mathematical phenomenon.

A Cascade of Choices

Invented by Sir Francis Galton in the late 19th century, the Galton Board (also known as a quincunx) is a vertical board with interleaved rows of pegs. You drop a ball from the top, and as it hits a peg, it has a 50/50 chance of bouncing to the left or to the right. It then hits a peg in the next row, making another 50/50 "decision," and continues this cascade until it falls into one of several bins at the bottom.

For a single ball, the path it takes is random and chaotic. It could bounce left ten times in a row, but that is very unlikely. The most likely path is one where it bounces left roughly as often as it bounces right, ending up near the center bins.

The Binomial Distribution

Let's say there are $n$ rows of pegs. Every time a ball hits a peg, we can think of it as a "trial"—like flipping a coin. A bounce to the right is a "success," and a bounce to the left is a "failure."

The probability of getting exactly $k$ bounces to the right out of $n$ rows is given by the binomial distribution:

$$ P(k) = \binom{n}{k} p^k (1-p)^{n-k} $$

Here, $p$ is the probability of bouncing right (which is $0.5$ if the pegs are perfectly symmetric). The term $\binom{n}{k}$ calculates all the different possible paths the ball could take to end up with exactly $k$ right bounces. Because there are many more ways to end up near the center than at the extreme edges, the center bins fill up much faster.

The Central Limit Theorem

As you drop more and more balls, and especially if you increase the number of rows of pegs, something magical happens. The shape formed by the stacks of balls in the bins begins to look like a smooth, symmetrical bell shape. This is called the normal distribution (or Gaussian distribution or bell curve).

The mathematical formula for the normal distribution is:

$$ f(x) = \frac{1}{\sigma \sqrt{2\pi}} e^{-\frac{1}{2}\left(\frac{x-\mu}{\sigma}\right)^2} $$

This is a visual representation of the Central Limit Theorem, one of the most important concepts in probability and statistics. It states that when you add up many independent, random events, their sum tends toward a normal distribution—regardless of the underlying probabilities of the individual events!

This is why the bell curve appears everywhere in nature, from the heights of people to test scores to errors in measurement: they are all the result of many small, random, independent factors adding up, just like the bounces on a Galton Board.

Experience It Yourself

The beauty of the Galton Board lies in watching order emerge from chaos. You can see this for yourself in our interactive Galton Board simulation. Adjust the "bounciness" of the balls, change the drop rate, and watch as thousands of chaotic micro-collisions perfectly construct a macro-level mathematical law.