Mathematics & statistics

Law of large numbers

Jacob Bernoulli (1655–1705) Published 1713

The more times you repeat a random experiment, the closer the average result gets to the expected value.

The idea

The law of large numbers says that if you repeat a random experiment many times, the average of the results gets closer and closer to the expected value. Roll a fair die once and you might get a 6. Roll it a thousand times and the average will be very near 3.5, the mean of 1 to 6.

The Italian scholar Gerolamo Cardano noticed in the 1500s that results from chance tend to get more accurate with more trials, but he gave no proof. The Swiss mathematician Jacob Bernoulli proved the first version, for outcomes like heads or tails. He worked on it for twenty years and called it his "golden theorem". It was published in 1713, eight years after his death, in his book Ars Conjectandi ("The Art of Conjecturing"). In 1837 the French mathematician Siméon Denis Poisson named it the law of large numbers.

It works slowly. The typical error shrinks with the square root of the number of trials, so to halve it you need four times as many. A casino can lose on a single spin of the roulette wheel, but over many spins its takings settle at a predictable share. Insurers rely on the same idea.

It is a proven theorem, with limits. It says nothing about the next roll: a run of tails does not make heads "due". And it needs the outcomes to have a true average; for some very wild, heavy-tailed data, the average never settles.

Try it yourself

Try this: Drag to 10,000 rolls. Then switch to coins and watch the gap in counts.