1.3.14 · D3Probability & Statistics

Worked examples — Law of large numbers

3,173 words14 min readBack to topic

Parent: Law of large numbers · This child is the drill page. We build a grid of every situation the Law of Large Numbers (LLN) can hand you, then solve one example per grid cell. Nothing here assumes you memorised the parent — every symbol is re-earned as it appears.

Before we touch a single example, one promise: every letter we write gets a plain-English meaning and (where it helps) a picture. Let's list the cast of characters once.

The single tool we lean on is the Chebyshev Inequality. Let's earn it in plain words before we use it anywhere.


The scenario matrix

Every LLN problem lives in one of these cells. The examples below are labelled by cell.

Cell Scenario class What makes it tricky Example
A Bounded 0/1 outcome (Bernoulli) variance Ex 1
B Solve for required invert the bound Ex 2
C Large-spread continuous variable big , real units Ex 3
D Zero-variance / degenerate input edge case Ex 4
E Limiting behaviour ( and ) which wins the race Ex 5
F Monte Carlo estimate of an integral random variable is an indicator Ex 6
G Word problem / "is my coin rigged?" interpret, don't panic Ex 7
H Exam twist: heavy-tail / infinite variance LLN can fail Ex 8

Ex 1 — Cell A: bounded 0/1 outcome

Figure — Law of large numbers

The figure above shows the picture behind LLN: light grey lines are 40 individual random runs of the running head-proportion, each jittering wildly at small ; the thick cyan line is their average, hugging ever more tightly as grows. The two dashed amber curves are the "error band" (the standard-error funnel) that narrows like — the funnel every run gets sucked into. Keep this funnel in mind for every example below.


Ex 2 — Cell B: solve for the required


Ex 3 — Cell C: large-spread continuous variable


Ex 4 — Cell D: the degenerate / zero-variance input


Ex 5 — Cell E: limiting behaviour, who wins the race?

Figure — Law of large numbers

The plot shows the Chebyshev bound as grows, for three ways of choosing . The cyan curve (case a, fixed ) slides down to the axis: error probability vanishes. The amber dashed line (case c, ) sits flat at height : the bound never improves. The short white arrow marks case (b), where shrinking at fixed blows the bound upward off the top of the frame. Read the curves alongside the algebra.


Ex 6 — Cell F: Monte Carlo integral

Figure — Law of large numbers

The dart picture shows the unit square with the amber curve ; cyan dots landed under the curve (), white dots landed above (). The fraction of cyan dots estimates the shaded area, which is exactly the integral. As we throw more darts the cyan fraction locks onto the true value — LLN in a picture.


Ex 7 — Cell G: the "is my coin rigged?" word problem


Ex 8 — Cell H: exam twist, LLN can FAIL


Recall Quick self-test

Which cell has ? ::: Cell D — the constant/degenerate experiment (bound is for all ). To make error 10× smaller, samples must grow by what factor? ::: , because error scales as . Why can Chebyshev handle any distribution shape? ::: It only uses and , not the full shape. What is the standard error and how does it differ from the Chebyshev bound? ::: SE is the typical wobble (funnel half-width); the Chebyshev bound is a guaranteed probability of staying within — a stronger claim. When does LLN fail? ::: When the mean/variance are not finite (e.g. Cauchy) — Cell H.

Connections worth chasing: Bias-Variance Tradeoff, Bootstrap Sampling, यही टॉपिक हिंदी में.