4.9.16 · D4Probability Theory & Statistics

Exercises — Law of Large Numbers — weak and strong

2,468 words11 min readBack to topic

This page is your self-test for Law of Large Numbers — Weak and Strong. Cover the answers, work each problem on paper, then reveal. Problems climb five levels — from just recognising the statements to synthesising new results. Every symbol used here was built in the parent note; if you need a refresher on the machinery, keep Chebyshev's Inequality, Markov's Inequality, and Borel–Cantelli Lemma open.

A tiny reminder of notation before we start (nothing here is used before it is named):


Level 1 — Recognition

Exercise 1.1

State the Weak Law and the Strong Law, and say precisely which mode of convergence each uses.

Recall Solution

WLLN (in probability): for every tolerance , SLLN (almost surely): WLLN uses convergence in probability (see Modes of Convergence); SLLN uses almost-sure convergence. Almost-sure is the stronger notion: SLLN WLLN, never the reverse.

Exercise 1.2

For a single random variable with mean and variance , write Chebyshev's inequality, and name the more basic inequality it is derived from.

Recall Solution

It is Markov's Inequality applied to the non-negative variable with threshold .

Exercise 1.3

A fair die is rolled repeatedly; is the face shown. What single number does the running average converge to, and by which law is that convergence "for almost every infinite sequence"?

Recall Solution

. The running average converges to . "For almost every infinite sequence" is the Strong Law (almost-sure convergence).


Level 2 — Application

Exercise 2.1

are fair-coin indicators, so (recall = probability of a , giving and ). Using the WLLN bound, upper-bound at .

Recall Solution

Here , , . So at most . (Chebyshev is deliberately loose; the true probability is far smaller.)

Exercise 2.2

For the same coin and , how large must be so the WLLN bound is ?

Recall Solution

Set . Since : So . Why invert this way? We isolate by multiplying both sides by and dividing by the target — a monotone rearrangement, so no direction flips.

Exercise 2.3

A random variable has . Give the best Markov upper bound on .

Recall Solution

Markov with : Answer: .

Exercise 2.4

You estimate by Monte Carlo Methods: draw and average . What value does converge to almost surely, and why?

Recall Solution

Because . The integral is an expectation, so by the SLLN the average converges almost surely to . That is exactly why Monte Carlo integration works.


Level 3 — Analysis

Exercise 3.1

Prove that for i.i.d. , and identify exactly which assumption kills the cross terms.

Recall Solution

Write . Pulling the constant out squares it: Independence makes every for , so the cross-term double sum vanishes. Identical distribution makes each . Hence The vanishing cross terms are what independence buys you — that is the engine of the whole LLN.

Exercise 3.2

The parent note says the naive Chebyshev route fails to prove the SLLN. Show why: with , examine using the Chebyshev bound.

Recall Solution

Chebyshev gives . Summing: The harmonic series diverges, so this bound is — useless. The first Borel–Cantelli Lemma needs a finite sum to conclude "only finitely many occur," and we don't have one. This is precisely why the SLLN is harder: Kolmogorov replaces the term-by-term bound with a maximal inequality controlling , yielding a convergent series along a sparse subsequence (like ), after which Borel–Cantelli applies.

Exercise 3.3

A gambler has seen 8 heads in a row and bets tails is "due." Using , explain rigorously why the average still converges to without any corrective force. The figure below plots two paths from one simulated run that begins with a forced 8-head streak — study it as you read.

Figure — Law of Large Numbers — weak and strong
Recall Solution

Independence means future coins have no memory of the streak; each still has . So nothing "cancels" the 8 heads. Instead the average self-corrects by dilution. Write the deviation of the sum: This sum can keep growing — its typical size is of order (standard deviation ). But the average's deviation is whose standard deviation is .

Reading the figure (walkthrough):

  • The orange path (left axis) is the sum-deviation . Notice the arrow marking the 8-head streak at the very start: it lifts the orange path up by . From there the orange path keeps drifting — it is never pulled back to zero. That drift is the " wandering" made visible; there is no repayment.
  • The teal path (right axis) is the average-deviation . It starts high (the streak dominates a tiny ) but is quickly squeezed toward .
  • The two dashed plum curves are the funnel . The teal path is trapped inside this narrowing funnel, which visibly clamps to even while the orange path escapes.

The lesson the picture makes concrete: the streak becomes a vanishing fraction of a huge , not a debt that future tails repay. See Gambler's Fallacy.


Level 4 — Synthesis

Exercise 4.1

Both LLN and CLT talk about . State what each says about it, and reconcile them: how can while stays a spread-out bell?

Recall Solution
  • LLN: (the average lands on the constant ).
  • CLT (see Central Limit Theorem): — after magnifying the shrinking deviation by , what remains is a fixed-width bell. Reconciliation: shrinks at rate . If you zoom by exactly , you cancel the shrink and see the non-degenerate fluctuation. So LLN tells you where it lands; CLT tells you the shape and scale of the leftover wiggle just before it lands. No contradiction: .

Exercise 4.2

Let be i.i.d. with and . Using the WLLN rate, find the smallest guaranteeing .

Recall Solution

Need with , so : Smallest guaranteed .

Exercise 4.3

Show that a finite second moment plus independence lets you bound the probability the average is off by more than at some fixed large — and then argue what extra machinery upgrades "at this " to "forever after some ."

Recall Solution

Fixed- bound (WLLN machinery): Chebyshev on gives , which . This controls each in isolation.

The extra machinery — Kolmogorov's maximal inequality. For independent, mean-zero with partial sums , it states This is strictly stronger than Chebyshev: Chebyshev controls only the endpoint , whereas this controls the worst partial sum up to at once — exactly what "stays good for all large " needs.

Upgrade to "forever": apply the maximal inequality on dyadic blocks . The blockwise bounds now form a convergent series (the divergence of Exercise 3.2 is defeated because each block is summarised by a single -type term). The first Borel–Cantelli Lemma then forces only finitely many bad blocks, so after the last one the path is trapped in the good region forever — that is almost-sure convergence, i.e. the SLLN.


Level 5 — Mastery

Exercise 5.1

The Cauchy distribution has density and no finite mean. Explain, using the definition of as an integral, why the LLN does not apply, and what actually happens to .

Recall Solution

The mean would be . The integrand behaves like for large , whose integral diverges (both tails), so is undefined — there is no number for to converge to. Remarkably, a known fact: the sample mean of i.i.d. Cauchy variables is itself Cauchy with the same scale — averaging does not narrow it at all. So the LLN's hypothesis is genuinely necessary; the "engine" never even starts because (and ) don't exist.

Exercise 5.2

Suppose i.i.d. with finite but . Can the WLLN still hold? Which theorem covers this, and what does it require?

Recall Solution

Yes. The Chebyshev proof needs , but that is only the easy route. Khinchin's WLLN requires only (finite mean), and Kolmogorov's SLLN requires the same, . So finite variance is a convenience of one proof, not a requirement of the laws. Only when the mean itself fails (Cauchy) does the LLN break.

Exercise 5.3

Design and justify a Monte Carlo estimator for using the LLN. Give the random variable, its expectation, state which law guarantees convergence, and provide a finite- error bound.

Recall Solution

Setup: draw independently and set the indicator ( if the point lands inside the quarter unit-circle). Its expectation is the area of that quarter disc: So , and the estimator is .

Which law guarantees convergence: the SLLN guarantees almost surely for a single infinite run, hence almost surely.

Finite- error bound (WLLN with rate): here and the indicator's variance is An error means , so set . Chebyshev gives Worked number: to guarantee , solve so draws suffice (rounding up). See Monte Carlo Methods.


Wrap-up recall

Recall One-line summary of each level

L1 state the laws & modes ::: WLLN in probability, SLLN almost surely; SLLN⇒WLLN. L2 plug into the bound ::: ; solve for . L3 why Var shrinks / why naive SLLN fails ::: cross-covariances vanish (independence); diverges so need a maximal inequality. L4 LLN vs CLT ::: LLN=where it lands (); CLT=shape of the wiggle. L5 hypotheses matter ::: need ; Cauchy breaks it; Monte Carlo is LLN in action.