Law of Large Numbers — Help
The long-run proportion (or average ) of independent trials settles toward the value the probability model predicts. This page runs the trials and draws that settling.
The blue line is the running value after each trial — the proportion of tosses so far that were heads, or the average of the rolls so far.
The dashed line is what the model expects: 0.5 for a fair coin, 3.5 for a fair die.
Add trials a few at a time, or press ▶ and let them keep coming. Early on the line jumps about; later a single trial barely moves it.
Playing speeds up as it goes , on purpose: the first trials each move the line visibly and are worth watching arrive, and by the five hundredth they are individually invisible. Roughly a thousand trials in nine seconds, ten thousand in fifteen. It runs at the same speed on any machine — it is paced by the clock, not by how fast your screen redraws.
Why it settles. Nothing corrects a run of tails. The line calms down because the denominator grows: one more toss changes a proportion out of 20 by up to 0.05, and a proportion out of 2000 by at most 0.0005. The early trials are never cancelled — they are outvoted.
“Spread out the early trials” puts the trial count on a log scale, so the first ten trials get as much width as the last nine hundred. The wild early stretch is where the law is doing its visible work, and on an ordinary axis it is squeezed into a sliver.
“Also show the running total” draws heads minus tails (or the total roll minus 3.5 per roll). This is the half that gets left out: the proportion converges while the total wanders further and further from zero. A coin is never “due”.
Starting over. The circular arrow gives a different run each time, so you can ask “does that happen every time?” and find out. A link with ?seed= always opens on the same run — reload the page to get it back after resetting.
Instructors: there is a printable guide with talking points, and ?mode=present hides the student prompt.
Keyboard
1 / 2 / 3 / 4 — add 1, 10, 100 or 1000 trials
p — play / stop
r — start over, with a new run · ? — this help
Close