Contents / Probability / Inequalities and Limit Theorems
Chapter 7
Inequalities and Limit Theorems
Markov, Chebyshev, Cantelli and Chernoff bounds; Jensen's inequality; the four modes of convergence and the implications between them; the weak and strong laws of large numbers; and the central limit theorem with Berry-Esseen and the delta method.
Introduction
This is where the subject pays out. Everything built so far — sample spaces, random variables, expectation, the named families — describes what happens on one draw, or on finitely many. The questions people actually bring to probability are about the long run: does the average of a long sequence settle down, and if so on what, and how fast, and with what shape around the limit? Those questions have answers, the answers are theorems, and the theorems are the reason a casino stays solvent, a poll of a thousand people says anything about a country of fifty million, and a physicist can quote an error bar.
The chapter has two halves that look unrelated and are not. The first half is about inequalities: crude, assumption-free bounds on how much probability can sit far from the mean. Markov's inequality is almost embarrassingly simple, and Chebyshev's, Cantelli's and the whole Chernoff family are got from it by feeding it a cleverer non-negative variable. These bounds are not sharp for any particular distribution you care about — we will exhibit, for each one, a distribution that attains it with equality, which is exactly what proves they cannot be improved without extra hypotheses, and therefore exactly why they are so loose on a normal.
The second half is about limits, and it needs the first half as fuel. A sequence of random variables is not a sequence of numbers, so "converges" has to be defined, and there are four genuinely different definitions — in distribution, in probability, almost surely, and in . We prove the implications that hold between them and give counterexamples showing that every converse fails. With that vocabulary in place, the two headline theorems become sayable: the law of large numbers, in a weak form (convergence in probability, provable in four lines from Chebyshev) and a strong form (convergence almost surely, which is a genuinely different and much stronger claim), and the central limit theorem, which says that once you magnify the error of the law of large numbers by exactly , a bell curve appears no matter what you started with.
A word on the relationship to the statistics course. The chapter Sampling and Data Distributions proves Markov, Chebyshev and the weak law, and sketches the central limit theorem, because it needs them immediately for the sampling distribution of . That is the applied statement: those results specialised to one estimator, with the constants that a data analyst needs. This chapter is the general theory. The notation agrees deliberately — for the running mean, for a tolerance, for convergence in distribution — and nothing here contradicts anything there. What is here that is not there: one-sided bounds, exponential bounds, the modes of convergence and their counterexamples, an honest proof of a strong law, the Berry–Esseen rate, and the delta method.
7.1Markov, Chebyshev, and the price of assuming nothing
Suppose you know only that a random variable is non-negative and has mean . How much probability can sit above ? Not much, and you can see why without any calculation: if a mass sits at or above , it contributes at least to the mean all by itself, and nothing elsewhere can contribute negatively, so . That argument is the whole content of Markov's inequality, and the formal proof below is the same sentence written with an indicator.
Theorem 7.1 (Markov's inequality). Let be a non-negative random variable with finite mean. Then for every ,
Proof. Consider the indicator , which equals on the event and elsewhere. We claim the pointwise inequality
Check it outcome by outcome. On the right-hand side is , and there by definition. Off that event the right-hand side is , and by hypothesis. So the inequality holds everywhere, and this is the only place non-negativity is used — but it is used.
Expectation is monotone: if pointwise then . Applying it,
using the fact that the expectation of an indicator is the probability of its event. Divide by .∎
Intuition. A non-negative variable cannot hide mass far from zero. Every unit of probability you place at height costs you of mean, and your mean budget is . Markov's inequality is the receipt.
Two hypotheses deserve a moment. Non-negativity is essential and not a technicality: let equal with probability and with probability . Then , and , while is negative. The inequality is not merely loose, it is false. Finiteness of the mean is needed for the right-hand side to say anything; if the bound is true and vacuous.
The inequality is also, in a precise sense, the best possible statement about non-negative variables of a given mean.
Example 7.2 (A distribution attaining Markov's bound). Fix and . Exhibit a non-negative random variable for which exactly.
Solution. Let take the value with probability and the value with probability . Then , and
Equality, for every and every . So no bound of the form with can be true for all non-negative : this two-point family already forces .
Sanity check: with and the mean is and exactly of the mass sits at , which is the opening paragraph's example run at its extreme.□
That example is the key to understanding every bound in this chapter. Markov's inequality is tight, meaning it cannot be improved as a statement about all non-negative variables — and it is weak, meaning that for any specific well-behaved variable it is far from the truth. Those two facts are the same fact. The extremal distribution is a spike at and nothing in between, which is nothing like an exponential or a normal; a bound forced to cover the spike has no choice but to be generous to everything else.
Chebyshev's inequality
Markov's inequality applies to non-negative variables, and most variables are not. The repair is to apply it not to but to a non-negative function of that is large exactly when is far from where we expect it. The squared deviation is the first such function anyone tries, and it produces Chebyshev.
Theorem 7.3 (Chebyshev's inequality). Let have finite mean and finite variance . Then for every ,
Proof. The variable is non-negative and has , so Markov's inequality applies to it. Take the threshold . The events
are the same event — squaring is strictly increasing on , so if and only if — and therefore have the same probability. Hence
Corollary 7.4 (Chebyshev in standard deviations). If , then for every ,
Proof. Put in Chebyshev's inequality: the bound is .∎
This is the form worth memorising, because it is scale-free. At most of any distribution with finite variance lies two or more standard deviations from its mean; at most lies three or more; at most lies four or more. No hypothesis about shape, symmetry, unimodality or anything else is used. For the bound exceeds and says nothing, which is correct — a variable can easily be more than one standard deviation from its mean with probability .
And again the bound is attained.
Example 7.5 (A distribution attaining Chebyshev's bound). For a given , construct a random variable with exactly.
Solution. Let take the values , and with probabilities , and . (Since these are legitimate probabilities.) By symmetry , and
Then , so the event is , whose probability is — exactly the bound.
Take for a concrete instance: is with probability each and with probability ; then , three standard deviations is , and the chance of being three or more standard deviations out is , which is what Chebyshev allows and not a hair less.□
The one-sided bound: Cantelli's inequality
Chebyshev bounds a two-sided event. Very often the question is one-sided — how likely is the yield to come in at least below target, how likely is the queue to run at least above capacity — and simply halving Chebyshev's bound is not legitimate, because nothing in the hypotheses forces symmetry. The correct one-sided statement is due to Cantelli, and it is strictly better than , not merely half of it.
Theorem 7.7 (Cantelli's inequality (the one-sided Chebyshev)). Let have finite mean and finite variance . Then for every ,
and symmetrically .
Proof. Write , so and . The trick is to shift before squaring: for any constant , the event implies , and since the latter implies . Probabilities respect implication, so by Markov's inequality applied to the non-negative variable ,
where we expanded using .
This holds for every , so we may take the best one. Minimising , the derivative is
The numerator is negative for and positive for , so decreases then increases and the minimum is at . Substituting,
The second statement follows by applying the first to , which has mean and the same variance.∎
Remark. The free parameter is the engine of the proof, and the same device — introduce a parameter, bound, then optimise over it — is exactly what will produce the Chernoff bounds in the next section, with replaced by a parameter inside an exponential. It is worth recognising the move now, because it is the single most productive technique in this chapter.
Notice how much is gained. For a deviation of , Chebyshev's two-sided bound is and gives no one-sided information at all without symmetry; Cantelli gives on each side separately. And this too is attained.
Example 7.8 (A distribution attaining Cantelli's bound). Take and , so Cantelli's bound is . Find a random variable with mean and variance for which exactly.
Solution. Try a two-point distribution: with probability and with probability , for some . Mean zero forces . Guess ; then .
Check the variance:
and since the mean is , the variance is as required. Finally , which equals the bound exactly.
The general extremal distribution is the same shape: with probability and otherwise. Two atoms, one of them far out on the side you are asking about, and everything else piled just barely on the other side of the mean.□
Pitfall. Do not "halve Chebyshev" to get a one-sided bound. is false in general — the example above has while the true one-sided probability is . Halving is valid only when you have separately assumed that the distribution is symmetric about , and symmetry is not one of Chebyshev's hypotheses. Use Cantelli, which needs no symmetry and is stronger than the halved bound would have been whenever , weaker when , and always correct.
7.2Exponential tails: Chernoff and Hoeffding bounds
Chebyshev's bound decays like . For a sum of independent terms that is disappointing, because the truth decays like — the difference between a bound of and a truth of , as we are about to see. The reason Chebyshev loses so much is that squaring is a feeble way to punish large deviations. Replace the square by an exponential and the whole tail structure of the distribution comes into play, through the moment generating function.
Definition 7.9 (Moment generating function). The moment generating function of a random variable is
defined for those real at which the expectation is finite. We say the MGF exists near the origin if it is finite for all in some interval with .
Theorem 7.10 (The generic Chernoff bound). Let be a random variable whose MGF is finite for some . Then for every real ,
Proof. Fix . The function is strictly increasing, so the events and are identical. The variable is non-negative and, by hypothesis, has finite mean , so Markov's inequality applies with threshold :
The left-hand side does not depend on , so the inequality holds for the infimum of the right-hand side over all admissible .∎
Strictly, then, Chernoff's bound is Markov's inequality — applied to and then optimised over , exactly the parameter-and-optimise move from Cantelli's proof. Everything interesting happens in the optimisation, and the reason the result is so much stronger is worth stating plainly: decays exponentially in whenever the MGF is finite, whereas can only ever decay quadratically. Chebyshev uses two moments. Chernoff uses all of them at once, since packages every moment into one function.
Pitfall. The MGF must actually exist for some , and for heavy-tailed variables it does not. For a Cauchy, a Pareto with any index, or a lognormal, for every and the Chernoff bound degenerates to the useless statement . Chebyshev survives wherever a variance exists; Chernoff demands exponentially light tails and, in exchange, reports them.
Example 7.11 (Chernoff for a sum of independent Bernoulli trials). Let with the i.i.d. Bernoulli — a thousand fair coin flips, . Bound by Chernoff and compare with Chebyshev, Cantelli and the exact binomial value.
Solution. Independence makes the MGF of a sum the product of the MGFs, so . With where the per-trial threshold is , the Chernoff bound reads
Differentiating the exponent in and setting it to zero gives , that is , so . Substituting turns the exponent into a relative entropy:
With the bracket is , so the bound is
Now the comparison, all four numbers for the same event:
| method | bound on | hypotheses used |
|---|---|---|
| Chebyshev (two-sided, , ) | finite variance | |
| Cantelli (one-sided) | finite variance | |
| Chernoff | MGF exists | |
| exact binomial | — |
Sanity check: each bound exceeds the exact value, as every valid bound must, and they tighten in the order of how much distributional information each one uses. Chebyshev and Cantelli see two moments and are loose by factors of and ; Chernoff sees the entire MGF and is loose by a factor of . That is the whole argument for exponential bounds in one table.
Note also the shape of the exponent: it is times a quantity depending only on , so the bound decays exponentially in the sample size. Chebyshev's decays like . At that is the difference between and ; at it is the difference between and .□
Hoeffding's inequality
The Bernoulli calculation above generalises, and the generalisation is one of the most used inequalities in modern probability, statistics and machine learning. It requires only that each summand be bounded, with no assumption about its distribution within those bounds.
Lemma 7.12 (Hoeffding's lemma). Let satisfy almost surely and . Then for every real ,
Proof. (Sketch, with the one analytic step isolated.) Because is convex in and lies in , we may write with and use convexity pointwise:
Take expectations, using :
where, writing , a line of algebra gives . The analytic step is to check that , , and where — the last inequality being the elementary fact that for . Taylor's theorem with remainder then gives , which is the claim. This is a sketch only in that the Taylor remainder step is quoted rather than written out; every inequality used is elementary.∎
Theorem 7.13 (Hoeffding's inequality). Let be independent with almost surely, and let . Then for every ,
In particular, if every lies in and with , then
Proof. Centre each term: let , so and ranges in an interval of the same width . For , the generic Chernoff bound applied to gives
where the factorisation uses independence — this is the only place it is used, and without it the product step fails and the theorem is false. By Hoeffding's lemma each factor is at most , so
Now optimise over , as always. The exponent is a quadratic in minimised at , and substituting gives exponent . The special case follows by taking for all and , since then and . The two-sided version is the one-sided version applied to and Boole's inequality.∎
Example 7.14 (How many flips to pin down a coin's bias?). A coin has unknown bias . How many flips guarantee , with no assumption about ? Compare Chebyshev's answer with Hoeffding's.
Solution. Chebyshev. , so . Setting gives .
Hoeffding. requires , so , that is .
Hoeffding needs under of Chebyshev's sample. The structural reason is visible in the algebra: Chebyshev's requirement is in the failure probability , while Hoeffding's is . Demanding instead of multiplies Chebyshev's by and Hoeffding's by only .
Sanity check against the truth: the central limit theorem, which assumes normality has set in, would ask for , worst case , giving . So the ordering is CLT < Hoeffding < Chebyshev , and only the middle one is a genuine guarantee valid at every and every .□
7.3Jensen's inequality
The inequalities so far bound probabilities. Jensen's bounds expectations, and it is the reason a great many quantities in probability and statistics are biased in a predictable direction. It is proved in the chapter on expectation, as the theorem Jensen's inequality; the proof is repeated here from the supporting-line lemma, which is the form the limit theorems need — the fourth-moment strong law below uses Jensen to know that a finite fourth moment forces a finite variance.
Definition 7.16 (Convex function). A function on an interval is convex if for all and ,
It is concave if is convex. If is twice differentiable, convexity is equivalent to on .
Lemma 7.17 (Supporting line). Let be convex on an open interval and let . Then there is a real number with
Proof. For in , convexity implies that the slope of a chord is non-decreasing in each endpoint: the difference quotient is non-decreasing on . Hence
both being finite because is open. Choose any — for differentiable the only choice is . For we get , so ; for we get , which rearranges to the same inequality with the direction preserved because . At it is an equality.∎
Theorem 7.18 (Jensen's inequality). Let be a random variable with finite mean taking values in an open interval , and let be convex on with defined. Then
If is concave the inequality reverses. If is strictly convex, equality holds if and only if is almost surely constant.
Proof. Apply the supporting-line lemma at : there is with for all . Since takes values in , this holds pointwise with replaced by :
Take expectations, using monotonicity and linearity:
For the equality case with strictly convex, the supporting line touches only at , so is a non-negative random variable that vanishes only when . A non-negative variable with expectation zero is almost surely zero, so equality forces .∎
Intuition. Convexity means the chord lies above the curve. Averaging first and then applying evaluates at one point on the curve; applying first and then averaging averages heights on the curve, which convexity pushes up to the chord. Jensen says the second is always at least the first, and the gap is exactly the curvature times the spread.
Corollary 7.19 (Two consequences used constantly). For a positive random variable with finite mean,
and for any with finite second moment, .
Proof. The function has on , so it is convex there and Jensen gives . The function has second derivative , hence is concave, and Jensen reversed gives . For the last, apply Jensen to the convex and the variable : , and take square roots, both sides being non-negative.∎
Pitfall. Jensen's inequality is why "the expected value of the reciprocal is the reciprocal of the expected value" is wrong, and wrong in a known direction. If a journey of km is driven at a speed that is equally likely to be or km/h, the mean speed is but the mean time is hours, whereas hours. The expected time exceeds the time at the expected speed, exactly as predicts. Any plan built on plugging an average input into a nonlinear function is optimistic or pessimistic by the curvature, never neutral.
7.4Four ways a sequence of random variables can converge
A limit theorem asserts that "converges to ". But is a function on the sample space, not a number, and there is more than one reasonable way to say that a sequence of such functions settles down. Four definitions matter, they are genuinely different, and the differences are exactly what separates the weak law from the strong law.
Throughout, and are random variables defined on the same probability space (except for convergence in distribution, which does not need that).
Definition 7.20 (Convergence in distribution). if at every where is continuous.
Definition 7.21 (Convergence in probability). if for every ,
Definition 7.22 (Almost sure convergence). if
Definition 7.23 (Convergence in (mean square)). if for all and
Intuition. Read the quantifiers, because that is all that differs. Convergence in probability asks, for each fixed , how much probability is misbehaving at that moment; the misbehaving set may move around from to forever, as long as it shrinks. Almost sure convergence fixes the outcome first and demands that the single numerical sequence converge, for all but a null set of . The first is a statement about a sequence of probabilities; the second is a probability of a statement about a sequence. Convergence in distribution is weakest of all: it forgets which produced which value and compares only the shapes.
Notation. The four are written , , and , and the implications proved below are usually drawn as
Theorem 7.24 ( convergence implies convergence in probability). If then .
Proof. Fix . Apply Markov's inequality to the non-negative variable at threshold , exactly as in the proof of Chebyshev's inequality:
By hypothesis the numerator tends to and is fixed, so the right-hand side tends to ; the left-hand side is non-negative and dominated by it, hence tends to .∎
Example 7.25 (In probability but not in ). Let equal with probability and with probability . Does in probability? In ?
Solution. For any , , so .
But , so does not converge to in — it diverges in while converging in probability. The spike is rare enough to vanish in probability and tall enough that squaring it outruns the rarity. Replacing by as the spike height gives , so the same shape can converge in both senses; it is the trade-off between height and rarity that decides, and no implication runs from convergence in probability to .□
Theorem 7.26 (Almost sure convergence implies convergence in probability). If then .
Proof. Fix and define the "bad from onwards" events
These are nested decreasing, , since each drops one term from the union. Let , the event that for infinitely many . If then , so is contained in the divergence set, which has probability by hypothesis; hence .
By continuity of probability from above (valid since ),
Finally , so .∎
Remark. The proof shows more than the statement: almost sure convergence controls the whole tail at once, while convergence in probability controls only the single term . That gap — one term versus the whole tail — is the entire difference between the two modes, and it is the difference between the weak and strong laws of large numbers.
The typewriter sequence
The converse of the last theorem fails, and the standard counterexample is worth drawing because it makes the quantifier difference visible. Take the probability space with the uniform distribution. Divide into piece, then , then , then , and let each be the indicator of the next piece in that enumeration, sweeping left to right and starting over with a finer partition each time. The bump marches across the interval like a typewriter carriage returning, narrower on each pass.
Example 7.27 (The typewriter sequence). On with the uniform probability, define for each and the indicator of the interval , and list these as in order of increasing and then increasing . Show that but that converges for no .
Solution. In probability. If is the indicator of an interval of length , then for any ,
As the block index also tends to infinity — the th variable has , since the first blocks use variables. So the probability is and .
Not almost surely — in fact nowhere. Fix any . Within each block , the intervals partition , so exactly one of them contains : for every there is precisely one in that block with . Hence the numerical sequence contains infinitely many s, and (for ) infinitely many s as well. A sequence with infinitely many s and infinitely many s does not converge. So the set of where convergence happens is empty, and certainly does not have probability .
Sanity check on the two claims coexisting: at stage the misbehaving set has measure , so "at any given moment, almost nothing is wrong". But the misbehaving set moves, visiting every infinitely often, so "for every , something is wrong infinitely often". Both sentences are true; they are not the same sentence.□
Theorem 7.29 (Convergence in probability implies convergence in distribution). If then .
Proof. Let be a continuity point of and fix . Split the event according to whether is within of :
because if and then . Taking probabilities and using Boole's inequality,
Symmetrically, , giving
Letting , the probability terms vanish, so
This holds for every . Now let : since is a continuity point of , both and tend to , squeezing the limit. Hence .∎
Remark. The continuity-point restriction is not a technical nicety that could be dropped. Let be the constant and the constant . Then in every sense, yet for all while : the CDFs fail to converge at the single discontinuity point . Convergence in distribution is defined to ignore exactly this.
Example 7.30 (In distribution but not in probability). Let and set for every . Show but .
Solution. By symmetry of the standard normal, has the same distribution as , so for every and convergence in distribution is immediate (and exact, not merely asymptotic).
But , which does not depend on at all. So for ,
for every , which does not tend to . The sequence is always far from and always has the right distribution. This is the essential limitation of : it compares laws, not values, so it cannot tell you where the random variable is, only what it looks like from a distance.□
Proposition 7.31 (The one case where the converse holds). If for a constant , then .
Proof. The limit CDF is for and for , continuous everywhere except at . Fix . Then
Both and are continuity points of , so the right-hand side converges to .∎
This proposition is the bridge that lets the law of large numbers be stated either way round when the limit is a constant, and it is used constantly in statistics: consistency of an estimator is convergence in probability to a constant, and it can be checked through distributions.
Summary. Definitions differ in the quantifiers, not the spirit. controls a mean squared error; controls one term's probability at each ; controls the whole tail simultaneously; controls only the CDFs.
Implications that hold: , and (by Markov applied to the squared difference).
Converses that fail, with their standard witnesses: the typewriter sequence converges in probability and at no point almost surely; the spike with probability converges in probability and diverges in ; for symmetric converges in distribution and never in probability. The single exception is a constant limit, where and coincide.
7.5The laws of large numbers
With the vocabulary settled, the two laws can be stated as what they are: the same intuition under two different modes of convergence. The weak law is a statement in probability, and it falls out of Chebyshev in four lines. The strong law is a statement almost surely, and it is genuinely harder.
Theorem 7.32 (Weak Law of Large Numbers). Let be i.i.d. with mean and finite variance , and let . Then : for every ,
Proof. Independence and identical distribution give and, since variances of independent variables add,
Fix and apply Chebyshev's inequality to with :
With and fixed this tends to as , and the left-hand side is squeezed between and it.∎
Observe what the proof actually establishes: , which is convergence in , and the theorem convergence implies convergence in probability finishes it. So the weak law under finite variance is really an statement in disguise — which is a hint that the finite-variance hypothesis is an artefact of the method, not of the truth.
Theorem 7.33 (Khinchin's Weak Law). Let be i.i.d. with finite mean — no assumption at all about the variance, which may be infinite. Then .
Khinchin's theorem is not proved here, and it is worth saying exactly what proves it. The tool is the characteristic function , which exists for every random variable because , unlike the MGF. A finite mean is exactly the condition making differentiable at with , so , the characteristic function of the constant ; Lévy's continuity theorem converts this into , and the proposition The one case where the converse holds upgrades it to convergence in probability. An alternative elementary route is truncation: cut each at level , apply Chebyshev to the truncated variables whose variance is now finite, and show the discarded part is negligible because .
Pitfall. "The weak law needs finite variance" is a statement about the proof, not the theorem. Chebyshev's route needs ; the theorem needs only . Conversely, when even the mean is infinite — the Cauchy distribution, or a Pareto with index — the law of large numbers genuinely fails, and no amount of data repairs it.
The strong law
Theorem 7.34 (Strong Law of Large Numbers (Kolmogorov)). Let be i.i.d. with finite mean . Then :
The distinction from the weak law is easy to state badly, so state it concretely. Imagine the infinite sequence of tosses as a single outcome — one infinite string of heads and tails — and let be the set of strings whose running proportion of heads tends to . The strong law says : the strings that fail, such as the all-heads string or any string whose proportion oscillates forever between and , form a set of probability zero. Note that this set is not empty; the all-heads string exists. Probability zero is not impossibility.
The weak law, by contrast, never mentions the infinite string at all. For each separately it says that the set of with is small, and it permits that set to be non-empty for every and to move around — precisely the typewriter behaviour. The strong law forbids the movement: for almost every there is a last time the running mean is more than from , and after it the excursions stop for good.
Theorem 7.35 (Strong law under a fourth moment). Let be i.i.d. with mean and finite fourth central moment . Then .
Remark. The fourth-moment hypothesis is a simplifying assumption, not part of the theorem being illustrated. Kolmogorov's strong law needs only ; its proof requires maximal inequalities and a truncation argument beyond this course. What follows is a complete and honest proof of the weaker statement, and it is instructive because it exhibits the mechanism — summable tail probabilities — by which almost sure convergence is actually obtained.
Lemma 7.36 (Borel–Cantelli, first lemma). Let be events with . Then
Proof. The event "infinitely many occur" is : an outcome lies in it precisely when, no matter how far out you start, some later still occurs. For each , , so by monotonicity and Boole's inequality
The right-hand side is the tail of a convergent series, so it tends to as . Since is a fixed number bounded above by quantities tending to , and is non-negative, .∎
Proof. (Of the strong law under a fourth moment.) Assume without loss of generality that , replacing by ; this changes neither the hypothesis nor what is to be proved. Write .
Step 1: a fourth-moment computation. Expand . Multiplying out gives a sum of terms . By independence the expectation of such a term factorises, and any term in which some index appears exactly once contains a factor and so vanishes. The surviving terms are those where indices appear in pairs or in a single group of four:
- terms of the form ;
- terms of the form with , of which the multinomial coefficient count is .
Hence
for the constant , using . (Note is finite by Jensen's inequality applied to and the variable , so is a genuine finite constant.)
Step 2: summable tail probabilities. Fix and let . Markov's inequality applied to the non-negative gives
This is the crucial gain over Chebyshev, which would have given — a bound, and diverges. The fourth moment buys , and . So .
Step 3: Borel–Cantelli. By the lemma, . So for almost every , there is beyond which always.
Step 4: from one to all of them. Apply Step 3 with for each positive integer , obtaining null sets . Their union is a countable union of null sets and so is null, by countable subadditivity. For and any , choose with ; then for all large . That is precisely . Hence .∎
Intuition. Almost sure convergence is bought with a summable sequence of failure probabilities. The weak law's bound tends to zero but sums to infinity, which is exactly enough room for the typewriter to keep typing forever. Push the bound to and the total failure budget over all time is finite, so failures must stop. That is the whole mechanism, and it is why the fourth moment is the natural price of an elementary proof.
Example 7.37 (Where the strong law is the one you need). A gambler plays a game with i.i.d. payoffs of mean per round. Which law tells him he goes broke, and why is the weak law not enough?
Solution. The weak law says that for each large , the average payoff per round is probably near . Taken literally, that leaves open the possibility that the cumulative fortune dips and recovers above zero infinitely often — an -by- statement says nothing about the trajectory as a single object.
The strong law says . Fix such an : there is an beyond which , and therefore . So along almost every single realisation the fortune is eventually below any level and stays there. It is a statement about the gambler's actual life, not about a hypothetical ensemble of gamblers at time , and that is why the strong law is the right tool.
Sanity check on the direction of the inequality: means the average eventually enters , so the upper end is the safe bound to use, and still diverges.□
7.6The central limit theorem
The law of large numbers says . That is a statement about a point, and points carry no uncertainty, so on its own it cannot produce an error bar. The central limit theorem looks at the collapse under a microscope. The deviation has standard deviation , so the magnification that keeps it visible — neither collapsing to nor blowing up — is exactly . The theorem is that what comes into focus under that magnification is the same curve every time.
Theorem 7.38 (Central Limit Theorem (Lindeberg–Lévy)). Let be independent and identically distributed with mean and variance satisfying . Then
Equivalently, for every real , .
Each hypothesis earns its place, and it is worth naming what each one is for before the proof consumes them. Identical distribution gives a single MGF to expand. Independence is what turns the MGF of a sum into a product — remove it and the theorem is false, as a sequence of identical copies shows, for which for every and nothing converges to anything normal. rules out a degenerate constant, for which the standardisation divides by zero. And is the one that fails in practice.
Proof. Assume the MGF is finite in a neighbourhood of . Standardise first: put , so the are i.i.d. with , , and
Let be the common MGF of the , finite on . Differentiating under the expectation, which is legitimate inside the interval of convergence, gives , , . Taylor's theorem to second order about therefore reads
Independence makes the MGF of a sum the product of MGFs, and scaling the sum by evaluates each factor at :
Fix and let grow, so that and the expansion applies:
Taking logarithms and using for small ,
so for every in a neighbourhood of .
The final step is where a named theorem must be invoked, and it is worth being explicit about it. The function is the MGF of . Pointwise convergence of MGFs does not by itself give convergence of distributions; what supplies that is the continuity theorem (Lévy's, in the characteristic-function form; the MGF version is due to Curtiss), which states that if for all in an open interval containing and is the MGF of some distribution, then that distribution. Behind the continuity theorem sits the uniqueness theorem for transforms: a distribution is determined by its MGF on a neighbourhood of the origin, so identifies the limit as and nothing else. Invoking uniqueness is exactly what licenses the conclusion; without it, we would only know that some sequence of MGFs converges.∎
Remark. Two features of the argument explain the theorem's universality. First, only the terms up to in the expansion of survive; every higher moment is swallowed by the and washed out. The limit therefore cannot depend on anything beyond the first two moments — which is precisely why the shape of the population is irrelevant. Second, the hypothesis that the MGF exists is a genuine restriction that the theorem does not need; replacing by the characteristic function , which always exists, and quoting Lévy's continuity theorem instead, gives the same argument with no moment-generating assumption at all. The structure is unchanged; only the transform is.
What fails without finite variance
Example 7.39 (The Cauchy counterexample). Let be i.i.d. standard Cauchy, with density . What is the distribution of ?
Solution. The Cauchy has no finite mean, since diverges logarithmically, and a fortiori no finite variance. So neither the law of large numbers nor the central limit theorem applies.
The characteristic function of the standard Cauchy is . By independence,
By the uniqueness theorem for characteristic functions, has exactly the standard Cauchy distribution, for every . Not approximately, not in the limit: the average of a million Cauchy observations is distributed identically to a single one.
Sanity check on what this rules out: for every . No convergence in probability to any constant, no shrinking standard error, no bell curve — and it is the failure of the finite variance hypothesis (indeed of the finite mean) that is responsible, nothing else.□
Pitfall. "The CLT applies eventually to everything" is false, and the places it fails are not exotic. Financial returns, insurance losses, city sizes and file sizes are routinely modelled with tails heavy enough that the finite-variance hypothesis is at best borderline. When it fails, larger does not help; the limit law, if there is one, is a non-normal stable law and the normalisation is not .
How fast: Berry–Esseen
The CLT is an asymptotic statement and says nothing about any particular . The rate is supplied by a separate theorem, whose content is that skewness governs everything.
Theorem 7.40 (Berry–Esseen). Let be i.i.d. with mean , variance and finite third absolute central moment . Then for every and every ,
where is an absolute constant, valid at .
Read the bound structurally. The error falls like — slowly; to halve it you must quadruple the sample. And the numerator is the standardised third absolute moment , a measure of how asymmetric and heavy-tailed the population is. A symmetric population has a small and converges quickly; a strongly skewed one does not. This is the honest content of the folklore rule : it is not a theorem, it is a guess at when is small enough.
Example 7.41 (Berry–Esseen for an exponential population). For , so , the third absolute central moment is . What does Berry–Esseen guarantee at , and what is the true worst-case error?
Solution. The bound is
So the guarantee is that no normal approximation to a CDF of a standardised sum of exponentials is off by more than about — which is a weak guarantee, wide enough to be nearly useless for a interval.
The truth is far better. The sum of i.i.d. Exponential variables is Gamma exactly, so the error can be computed: it is at and at .
Sanity check on the ratio: the true error falls by a factor between and , against the that Berry–Esseen predicts. The rate is right to three significant figures; only the constant is generous. That is the usual situation with these bounds, and it is why Berry–Esseen is used to reason about how error scales rather than to certify a particular number.□
The delta method
Finally, a corollary that extends the CLT from the sample mean to almost any smooth function of it, and is the reason standard errors exist for quantities like , and a correlation coefficient.
Theorem 7.42 (The delta method). Suppose and is differentiable at with . Then
Proof. (Sketch; the one step quoted is Slutsky's theorem.) Differentiability at means we may write, for near ,
Substituting and multiplying by ,
The hypothesis forces — divide by and use the proposition The one case where the converse holds — and hence by continuity. Slutsky's theorem, which says that if and for a constant then , now applies with and . The conclusion is that the product converges in distribution to , which is . This is a sketch in that Slutsky's theorem is quoted rather than proved.∎
Intuition. Over the scale on which actually varies — a window of width around — a differentiable is indistinguishable from its tangent line. A linear function of a normal is normal, and multiplying by the slope multiplies the standard deviation by . That is the whole theorem; the hypothesis is there because at a stationary point the tangent line is flat and the first-order approximation says nothing, in which case the correct limit is a scaled obtained from the second-order term.
Example 7.43 (A standard error for an estimated rate). Service times are i.i.d. Exponential with rate , so and . The natural estimator is . Find its approximate distribution for .
Solution. The CLT gives , so and . Take , so and , which is non-zero as required. The delta method gives
For this reads , a standard error of , that is of — and note the general pattern that falls out: the asymptotic variance of is , so the relative standard error is regardless of the rate.
Sanity check by Jensen: is convex, so . The estimator is biased upward, and the delta method — being a first-order, asymptotic statement — does not see that bias, which is and therefore negligible beside the standard error. Knowing which order of magnitude an approximation is blind to is the point of doing the check.□
Summary. Markov. , finite mean: . Non-negativity is essential. Attained by a two-point spike at .
Chebyshev. Finite : , or . Attained by a three-point distribution on ; against a normal it is loose by a factor of at and nearly at .
Cantelli. One-sided, no symmetry assumed: . Attained by a two-point distribution. Halving Chebyshev is not a valid substitute.
Chernoff. MGF finite for some : — Markov applied to , then optimised. Hoeffding specialises it to independent bounded summands: for . Sample size scales as rather than Chebyshev's .
Jensen. convex: , with equality for strictly convex only at a constant . Hence and .
Modes of convergence. and ; all converses fail except that to a constant implies .
Weak law. I.i.d., finite variance: , by Chebyshev, with rate . Khinchin's theorem drops the variance hypothesis, using characteristic functions.
Strong law. I.i.d., finite mean: . Proved here under a finite fourth moment, which gives , a summable bound, and Borel–Cantelli converts summability into almost sure convergence.
Central limit theorem. I.i.d., : , proved by expanding the MGF to second order and invoking the continuity and uniqueness theorems for transforms. Cauchy data violate the hypothesis and stays Cauchy at every . Berry–Esseen bounds the CDF error by . The delta method carries the CLT through a differentiable with asymptotic variance .
- Applying Markov's inequality to a variable that can be negative. The proof uses at exactly one point, and without it the conclusion is false, not merely loose.
- Treating Chebyshev's bound as an estimate of the tail probability. It is an upper bound covering a worst-case three-point distribution; for a normal it overstates the two-sided tail at by a factor of .
- Halving Chebyshev's bound to get a one-sided statement. That requires symmetry, which is not a hypothesis. Use Cantelli's .
- Using a Chernoff or Hoeffding bound when the MGF does not exist or the summands are unbounded. Heavy-tailed data get no exponential bound; Chebyshev still applies if a variance exists.
- Forgetting to optimise over in a Chernoff bound. Any single gives a valid bound, but usually a badly inflated one; the whole strength is in the infimum.
- Dropping independence in Hoeffding's inequality. The MGF of a sum factorises only under independence, and that step is where the theorem is made.
- Reversing Jensen's inequality by mis-identifying convexity. is concave and is convex on ; getting the direction wrong reverses the conclusion exactly.
- Plugging an average into a nonlinear formula and calling the result an average. whenever has curvature, and Jensen says which way the error runs.
- Confusing convergence in probability with almost sure convergence. The typewriter sequence converges in probability to and converges at no single outcome whatsoever.
- Reading convergence in distribution as convergence of values. with standard normal converges in distribution to while staying away from it forever.
- Expecting CDFs to converge at discontinuity points. They need not, which is why the definition of excludes them.
- Claiming that the weak law requires finite variance. The Chebyshev *proof* does; the theorem needs only a finite mean (Khinchin). When the mean itself is infinite, the law genuinely fails.
- Treating the strong law as a slightly better weak law. They are statements about different objects — one about the probability of an event at time , the other about the probability of a property of the entire infinite trajectory.
- Concluding from "probability zero" that something is impossible. The all-heads sequence lies outside the strong law's convergence set and is a perfectly legitimate outcome.
- Applying the central limit theorem to individual observations. The theorem is about and ; the stay exactly as skewed as the population is, forever.
- Using the CLT without checking that the variance is finite. For Cauchy data, the mean of a million observations has the same distribution as one observation.
- Quoting as though it were a theorem. Berry–Esseen shows the error is governed by and falls only like ; a badly skewed population needs far more, and far-tail probabilities are where it fails first.
- Applying the delta method at a point where . The first-order term vanishes and the limit is not normal; the second-order expansion gives a scaled chi-squared instead.
- Forgetting that the delta method is asymptotic and first-order. It describes the spread and is blind to the bias that Jensen's inequality guarantees is there for any curved .