MathematicsStatisticsMedium

Law of Large Numbers

Also known as:LLNBernoulli's theoremLaw of averages (informal)

The Law of Large Numbers (LLN) states that as the number of independent, identically distributed trials of a random experiment increases, the sample mean converges to the true population mean (expected value). There are two forms: the Weak LLN (convergence in probability, proved by Jacob Bernoulli) and the Strong LLN (almost sure convergence, proved by Émile Borel). The LLN is the mathematical justification for empirical estimation of probabilities and the stability of statistical averages in the long run.

Key Formula

X̄ₙ → μ (in probability) as n → ∞

LaTeX: \bar{X}_n \xrightarrow{P} \mu \quad \text{as } n \to \infty

SymbolMeaningUnit
\bar{X}_nSample mean of n observationssame as population
\muTrue population mean (expected value)same as population
nNumber of observationscount
\xrightarrow{P}Convergence in probabilityN/A

Worked Example

Problem

A fair coin (P(H) = 0.5) is tossed repeatedly. Demonstrate how the proportion of heads converges to 0.5 as n increases.

Solution

Step 1: After 10 tosses: e.g., 4 heads → proportion = 0.40 (error = 0.10). Step 2: After 100 tosses: e.g., 47 heads → proportion = 0.47 (error = 0.03). Step 3: After 1 000 tosses: e.g., 503 heads → proportion = 0.503 (error = 0.003). Step 4: After 10 000 tosses: e.g., 4 996 heads → proportion = 0.4996 (error = 0.0004). Step 5: By LLN, the proportion converges to μ = E[X] = 0.5.

Answer

As n → ∞, the observed proportion of heads converges to the true probability 0.5

Weak vs Strong Law of Large Numbers

FeatureWeak LLNStrong LLN
Convergence typeIn probabilityAlmost sure (a.s.)
Formal statementP(|X̄ₙ − μ| > ε) → 0 for all ε > 0P(lim X̄ₙ = μ) = 1
Proved byJacob Bernoulli (1713)Émile Borel (1909)
ConditionFinite variance (Chebyshev)Finite mean (Kolmogorov)
Practical meaningDeviations become unlikelyDeviations eventually stop
ApplicationMonte Carlo methodsTheoretical guarantees

Interactive Tools

GeoGebra — LLN Simulation

Simulate repeated coin flips and dice rolls to observe LLN convergence visually

Open Tool

Khan Academy — Law of Large Numbers

Video introduction to the Law of Large Numbers and expected value

Open Tool

Brilliant.org — Probability

Interactive probability course covering the LLN and convergence theorems

Open Tool
Graph showing the sample mean of dice rolls converging to the expected value as sample size grows

Wikimedia Commons, CC BY-SA

Related Terms

Jacob Bernoulli proved the first form of this theorem around 1689, publishing it posthumously in "Ars Conjectandi" (1713). The name "Law of Large Numbers" was first used by Siméon Denis Poisson in 1837, from the intuitive idea that large samples reliably reflect true probabilities.

statisticsprobabilityconvergenceexpected-valuetheoremsampling