Galton Board: Visualizing the Bell Curve

simulator beginner ~8 min
Loading simulation...
μ = 6.0, σ ≈ 1.73 — normal distribution

With 12 rows and p=0.5, balls cluster around bin 6 with standard deviation √(12×0.5×0.5) ≈ 1.73, forming the classic bell curve.

Formula

P(k) = C(n,k) × p^k × (1-p)^(n-k) — Binomial distribution for k rights in n rows
μ = n × p, σ = √(n × p × (1-p)) — Mean and standard deviation of landing bin

The Physical Bell Curve Machine

The Galton board — also known as the bean machine or quincunx — is one of the most elegant demonstrations in all of mathematics. Balls are dropped from a single point at the top and cascade through rows of evenly-spaced pegs. At each peg, a ball bounces randomly left or right with equal probability. Despite this randomness, the balls accumulate at the bottom in a remarkably predictable pattern: the bell curve.

Why Randomness Creates Order

Each ball's final position is the sum of many small random displacements — one at each row of pegs. The Central Limit Theorem guarantees that such sums converge to a normal distribution, regardless of the underlying probability. This is why the bell curve appears everywhere in nature: heights, test scores, measurement errors, and thermal fluctuations all arise from the accumulation of many small independent effects.

Reading the Simulation

The pegs are arranged in a triangular array. Each ball falls from the top and bounces left or right at each peg, accumulating in bins at the bottom. The histogram of bin heights forms the characteristic bell shape. The cyan overlay shows the theoretical normal curve for comparison. Adjust the bias parameter to see how shifting the left/right probability moves the peak.

From Binomial to Normal

With n rows and right-probability p, each ball follows a binomial distribution B(n, p). For the default settings (n=12, p=0.5), this is symmetric with mean 6 and standard deviation √3 ≈ 1.73. As the number of rows increases, the binomial distribution becomes indistinguishable from a normal distribution — this convergence is one of the most important results in probability theory.

FAQ

Why does the Galton board produce a bell curve?

Each ball makes a series of independent binary choices (left or right) at each peg. The final position is the sum of these choices. By the Central Limit Theorem, the sum of many independent random variables approaches a normal distribution, regardless of the underlying distribution.

Who invented the Galton board?

Sir Francis Galton invented the bean machine (now called the Galton board) in the 1870s to demonstrate how individual random events aggregate into predictable statistical patterns. He described it in his 1889 book Natural Inheritance.

What happens if the pegs are biased?

If each peg has a different probability of sending the ball left vs right (bias ≠ 0.5), the resulting distribution shifts its center to n × p and becomes a skewed binomial distribution that still approximates a normal curve for large n.

How does the Galton board relate to the Central Limit Theorem?

The Galton board is a physical demonstration of the Central Limit Theorem. Each peg contributes a small, independent random displacement. The sum of these displacements converges to a normal distribution as the number of rows increases — exactly as the theorem predicts.

Sources

Embed

<iframe src="https://homo-deus.com/lab/probability/galton-board/embed" width="100%" height="400" frameborder="0"></iframe>
View source on GitHub