University Mathematics — Year 3 · Bachelor Year 3
22Probability: Foundations and the Law of Large Numbers
Year 2 built probability on countable spaces; measure theory now removes every restriction. A probability space is a measure space of total mass , random variables are measurable maps, expectation is the Lebesgue integral — and at once the whole analytic arsenal (Chapters 9, 10 and 11) applies to chance. This chapter installs the dictionary, constructs infinite sequences of independent random variables (on , from binary digits: randomness is hiding inside Lebesgue measure), proves the Borel–Cantelli lemmas and Kolmogorov’s zero–one law, sorts out the modes of convergence, and proves the law of large numbers — the theorem that makes frequencies converge to probabilities and statistics possible. The weekend problem gives Etemadi’s proof of the strong law in its definitive form.
22.1 The dictionary
Definition 22.1
A probability space is a measure space with ; elements of are events, and a property holds almost surely (a.s.) if its event has probability . A random variable is a measurable map (or : a random vector); its law is the pushforward probability measure on (Exercise 11.9), determined by the distribution function (Exercise 9.3). has density if ; it is discrete if is a countable combination of Dirac masses. The expectation is
and the transfer theorem (Exercise 11.9) computes it in the law: — in the discrete case, in the density case: Year 2’s formulas, now theorems of one theory. The variance is for .
Example 22.2
The standard laws and their transforms of note: Bernoulli , binomial , geometric, Poisson (discrete: Year 2’s tables remain valid); uniform on (Lebesgue measure itself); exponential (density ); the Gaussian with density — a probability density by Problem 10.1, with mean and variance (Gaussian moments, Exercise 11.10).
Proposition 22.3 (Markov and Chebyshev)
For and : ; for : .
Proof. Exercise 10.5(a); Chebyshev is Markov applied to . ∎
22.2 Independence
Definition 22.4
Sub--algebras are independent if for all ; events are independent if the -algebras are; random variables if the -algebras are. An infinite family is independent if every finite subfamily is.
Theorem 22.5
are independent iff the law of the vector is the product measure . In that case, for (or such that the products are integrable):
in particular and for independent variables.
Proof. If the are independent, the two probability measures and agree on all products of Borel sets — a -system generating (Proposition 11.2(b)) — hence everywhere (Theorem 9.7). Conversely, a product law factorizes all events : independence. The expectation formula is then Tonelli/Fubini (Theorem 11.5) through the transfer theorem; is the case , and expanding the square gives the additivity of variances (cross terms ). ∎
Theorem 22.6 (Existence of independent sequences)
On there exists a sequence of independent random variables, each uniform on . Consequently, for any prescribed laws on there exist independent with .
Proof. Digits. For , let be its binary digits (; choose the expansion not ending in all ’s — ambiguity concerns only a countable, hence null, set). Each is a random variable ( is a finite union of dyadic intervals) and the vector takes each value in on a dyadic interval of length : the are independent Bernoulli.
Regrouping. Split into infinitely many disjoint infinite sets (e.g. by prime powers, or diagonals); let enumerate and set
Each is uniform: its binary digits are independent fair bits, so for every dyadic interval, and dyadic intervals determine the law (Theorem 9.7). The are independent: they are functions of disjoint blocks of the independent family — formally, events for dyadic depend on finitely many digits from disjoint sets, and factorize; the -system argument upgrades to all Borel sets.
Arbitrary laws. Let (the quantile function of the distribution function ); the key equivalence (right-continuity of , monotonicity) shows is measurable with : law ; independence is inherited (functions of independent variables, Exercise 22.3). ∎
Example 22.7 (The birthday problem, honestly)
Among people with independent, uniform birthdays over days, the probability that all birthdays differ is
by iterated conditioning (or directly: the favorable over the total , a counting argument the product formula of independence makes rigorous). Taking logarithms and using :
The tipping point sits at : for , (). Two morals. First, collisions among items in boxes appear at the scale , not — the birthday scaling that governs hash collisions and the cost of birthday attacks in cryptography. Second, the computation is a template: the pair-collision events are not independent, yet the answer behaves as if they were ( is exactly the independent-pairs heuristic) — a first instance of the Poisson approximation made rigorous in Chapter 23’s weekend problem (Le Cam’s inequality).
22.3 Borel–Cantelli and the zero–one law
Theorem 22.8 (Borel–Cantelli)
Let be events and (“ occurs infinitely often”).
- If , then .
- If and the are independent, then .
Proof. (1) is Exercise 9.4. (2): for , independence of complements (Exercise 22.3) gives
(; the series diverges). So for every , and the decreasing intersection over still has probability (continuity from above, Proposition 9.6). ∎
Theorem 22.9 (Kolmogorov’s zero–one law)
Let be independent and the tail -algebra (events insensitive to any finite number of the : convergence of , of , values of ’s, …). Then every has .
Proof. Fix . The -algebras and are independent: events depending on disjoint blocks factorize on the generating -systems (cylinders , resp. finite conditions on later variables), and Dynkin (Theorem 9.4, applied twice, one side at a time) extends the factorization. A tail event lies in for every : is independent of every , hence of the -algebra they generate, (Dynkin once more: the union of the is a -system generating it). But too: is independent of itself, : . ∎
22.4 Modes of convergence
Definition 22.10
almost surely if ; in probability if for every ; in if .
Proposition 22.11
(a) a.s. convergence implies convergence in probability; (b) convergence implies convergence in probability; (c) convergence in probability implies a.s. convergence along a subsequence; (d) no other implication holds in general.
Proof. (a) under a.s. convergence (continuity from above; the limsup event excludes convergence). (b) Markov: . (c) Pick with ; Borel–Cantelli (1) makes eventually, a.s. (d) The typewriter (Exercise 12.3) on converges in and in probability but nowhere pointwise; a.s. but not in ; details and the remaining counterexamples in Exercise 22.6. ∎
22.5 The law of large numbers
Throughout, are independent with the same law (i.i.d.), .
Theorem 22.12 (Weak law of large numbers)
If , with :
in probability (and in ).
Proof. and (Theorem 22.5); Chebyshev. ∎
Theorem 22.13 (Strong law of large numbers)
If , then
We prove it here under the stronger hypothesis ; the general case (: Etemadi’s proof) is the weekend problem.
Proof under . Centering (), assume . Expand:
since independence and centering kill every term containing an isolated factor ( unless the indices pair up: the only survivors are the terms and the terms with two distinct pairs). Markov:
summable: Borel–Cantelli (1) gives, for each rational , that eventually, a.s.; intersecting over (countably many probability- events): a.s. ∎
Example 22.14 (What the strong law buys)
(a) Frequencies: for i.i.d. coin flips, the observed frequency of heads converges a.s. to — the empirical justification of probability itself. (b) Monte Carlo: for and i.i.d. uniform (Theorem 22.6), a.s.: integrals by sampling, in any dimension, at the dimension-independent rate made precise in Chapter 23. (c) Normal numbers: almost every real number has, in its binary expansion, asymptotic frequency of ones (apply the strong law to the digit variables of Theorem 22.6) — Borel’s theorem, a statement about everyday numbers proved by measure: Problem 22.1 completes it in all bases.
Method 22.15
The working order for asymptotic statements about random sequences: (1) Is the event a tail event? Then its probability is or (Theorem 22.9) and one only has to decide which. (2) To prove a.s. statements: Borel–Cantelli — summable probabilities for the “bad” events, via Markov/Chebyshev-type bounds on whatever moments exist; independence only needed for the converse direction. (3) Subsequence + sandwich: prove convergence along a manageable subsequence, control the oscillation in between by monotonicity or maximal inequalities — the skeleton of Etemadi’s proof. (4) For distributional limits, wait for Chapter 23.
22.6 Exercises
Exercise 22.1 ★
(a) Let have continuous strictly increasing distribution function . Show that is uniform on , and that for uniform, : simulation by inversion. (b) Compute the distribution function and density of for uniform on , and of for uniform on .
Solution
Solution of Exercise 22.1.
(a) For : (continuity and strict monotonicity make a bijection onto with ): is uniform. Conversely : to simulate a law, apply the inverse distribution function to a uniform sample.
(b) , uniform on : for , : density . And : the exponential — inversion in action.
Exercise 22.2 ★
(a) Compute mean and variance of the Poisson and geometric laws via the transfer theorem. (b) Show that a positive random variable with for all satisfies the memoryless property for all iff is exponential. (The survival function satisfies Cauchy’s functional equation; monotonicity replaces continuity.)
Solution
Solution of Exercise 22.2.
(a) Poisson: , , so . Geometric (): , (differentiate the geometric series twice).
(b) is nonincreasing with ; memorylessness reads . Then and : for rational ; writing (: would force , impossible for a finite random variable; is excluded by hypothesis) and squeezing an arbitrary between rationals (monotonicity): — the exponential law. The converse is a computation.
Exercise 22.3 ★★
(a) Show that if are independent and are Borel functions, the are independent. (b) Show that events are independent iff their complements are, iff the indicators are independent random variables. (c) (Pairwise is weaker) Two fair coins: first is heads, second is heads, the two agree. Show are pairwise independent but not independent.
Solution
Solution of Exercise 22.3.
(a) ( Borel), and sub--algebras of independent -algebras are independent (the defining identity holds a fortiori).
(b) : all three statements assert independence of the same -algebras. (That factorization over the propagates to complements is the -system argument inside Definition 22.4’s equivalence — or direct inclusion-exclusion.)
(c) ; on pairs: each intersection is “both heads” or analogous, of probability : pairwise independent. But : not independent — is determined by and .
Exercise 22.4 ★★
(a) (Infinite monkey) An i.i.d. sequence of uniform keystrokes on a finite alphabet a.s. contains every finite text infinitely often: prove it with Borel–Cantelli (2) on disjoint blocks. (b) (Runs) For i.i.d. fair bits, let be the length of the run of ones starting at position . Show that a.s. finitely often, and infinitely often (both halves of Borel–Cantelli; for the second, pass to disjoint blocks to gain independence): the longest run in the first digits grows like .
Solution
Solution of Exercise 22.4.
(a) Let the text have length and ( the alphabet size). The events positions spell are independent (disjoint blocks of i.i.d. letters), each of probability : , and Borel–Cantelli (2) gives infinitely many occurrences a.s.
(b) Upper: , summable: by Borel–Cantelli (1), a.s. only finitely many such . Lower: pack disjoint blocks — the -th of length starting at ; the events “block is all ones” are independent with probability , whose sum diverges: Borel–Cantelli (2) gives infinitely many all-ones blocks, i.e. infinitely often. Together: the maximal run length in the first digits is a.s.
Exercise 22.5 ★★
Let be independent. (a) Show that the radius of convergence of is an a.s. constant (possibly or ). (b) Show that and . (c) Give an event about that is not a tail event, and check that the zero–one law can fail for it.
Solution
Solution of Exercise 22.5.
(a) is unchanged if finitely many are modified: for every , is -measurable, i.e. tail-measurable. Then each event has probability or (Theorem 22.9), so the distribution function of takes only the values : it jumps at a single point , and a.s.
(b) Convergence of and of are insensitive to changing finitely many terms (for the second: the modified terms contribute ): tail events; zero–one law.
(c) depends on : for i.i.d. signs (), its probability is — no contradiction, it is not a tail event.
Exercise 22.6 ★★
On , exhibit — with proofs — random variables such that: (a) in probability and in every , but nowhere a.s.; (b) a.s. but in no ; (c) in but not in ; (d) and show: if in probability and , then in (subsequences + dominated convergence + the subsubsequence trick).
Solution
Solution of Exercise 22.6.
Work on . (a) The typewriter (Exercise 12.3): (all ), hence also in probability; at every the values and both recur: no pointwise convergence anywhere. (b) off , but . (c) : , . (d) From any subsequence extract (convergence in probability) a further subsequence converging a.s. (Proposition 22.11(c)); dominated convergence gives convergence along it, with the same limit . Thus every subsequence of the numerical sequence has a subsubsequence tending to : the whole sequence tends to .
Exercise 22.7 ★★
An opinion poll estimates an unknown proportion by the empirical frequency of independent draws. (a) Chebyshev: show (use ). (b) How many draws guarantee an error with probability by this bound? (The true answer, via Chapter 23, is about : Chebyshev is honest but crude.)
Solution
Solution of Exercise 22.7.
(a) with binomial: , and Chebyshev (Proposition 22.3) gives the bound. (b) Solve : . The central limit theorem will justify for the same guarantee: Chebyshev pays for its generality with a factor .
Exercise 22.8 ★★★
(Bernstein) For define the Bernstein polynomial . (a) Recognize for binomial . (b) Prove uniformly on : split on and its complement, using uniform continuity and Chebyshev with the uniform bound . (c) Conclude: a second, probabilistic proof of the Weierstrass approximation theorem (Corollary 7.16), with the explicit rate for the modulus of continuity — prove at least the form.
Solution
Solution of Exercise 22.8.
(a) If , the transfer theorem gives .
(b)–(c) Let be the modulus of continuity (, and by chaining steps). Then, for any ,
(if , clear; otherwise ). Take expectations at :
with : (uniform continuity on the compact): a probabilistic Weierstrass theorem, with an explicit and uniform rate.
Exercise 22.9 ★★★
(Coupon collector) Cards of types are drawn uniformly with replacement; let be the number of draws until all types are seen. (a) Write with geometric of parameter , the independent, and deduce ( the harmonic number) and . (b) Chebyshev: in probability. (c) Refine with Borel–Cantelli: show directly for (union bound on the event that some type is missed after draws, using ), and deduce that along , a.s. eventually, for every .
Solution
Solution of Exercise 22.9.
(a) After types are collected, each draw is new with probability : is geometric , and the are independent (the draws are). Sums: ; .
(b) Chebyshev: , and : in probability.
(c) Union bound: means some type is unseen after draws, so ; at : . For , : Borel–Cantelli gives, along , a.s. eventually — in particular for every as stated (any works along the subsequence).
Exercise 22.10 ★★
Using the digit construction (Theorem 22.6): (a) verify by direct computation that (even-indexed digits of a uniform ) is uniform and independent of ; (b) deduce a measurable bijection-up-to-null-sets between and preserving measure, and comment: one uniform random number contains two (and countably many) independent ones — compare with the Peano curve (Problem 6.1), which achieved surjectivity but not measure-preservation or injectivity.
Solution
Solution of Exercise 22.10.
(a) The even-indexed digits are i.i.d. fair bits (a subfamily of the independent digit family), so gives every dyadic interval its correct probability (as in Theorem 22.6): uniform; likewise ; and depend on disjoint digit blocks: independent (factorization on dyadic rectangles, then Dynkin).
(b) is measurable with (agreement on dyadic rectangles + uniqueness). Interleaving digits defines an inverse defined off the (null) set of dyadic rationals in either factor: a measure-preserving bijection between full-measure subsets of and . Contrast with Peano (Problem 6.1): continuity forced surjectivity without injectivity; dropping continuity for mere measurability buys a measure-isomorphism — dimension is invisible to measure theory, visible to topology.
Exercise 22.11 ★★
(Records) Let be i.i.d. with continuous distribution function, and say a record occurs at time if (time is a record). Let be the record indicator. (a) Show (by symmetry, each of the orderings of is equally likely and ties have probability ). (b) Show that the are independent (count orderings compatible with prescribed record positions, or argue that the relative order of is independent of the rank of among them). (c) Deduce from Borel–Cantelli (Theorem 22.8, both halves) that infinitely many records occur a.s., but records at consecutive times occur infinitely often with probability — decide which! — and compute .
Solution
Solution of Exercise 22.11.
(a) Continuity of the distribution makes ties null events (as in the chapter’s order-statistics arguments), and the relative orderings of are exchangeable, hence equally likely. means the maximum sits in the last position: probability .
(b) Fix and condition on the relative ordering of : inserting into the possible rank slots is uniform and independent of that ordering (exchangeability of the -tuple). Hence (the event “ takes the top slot”) is independent of the whole record history , which is a function of the relative ordering of the first variables. Induction gives full independence with .
(c) with independence: the second Borel–Cantelli half gives records infinitely often a.s. (records never stop — but they thin out logarithmically: ). Consecutive records: (independence), and
the first Borel–Cantelli half applies — only finitely many consecutive-record pairs occur, a.s.
Exercise 22.12 ★★
(Longest head run) Flip a fair coin infinitely often, and let be the length of the longest run of consecutive heads within the first flips. (a) Show that for every , a.s. eventually (the probability that some run of length starts among the first flips is at most ; Borel–Cantelli along ). (b) Show that a.s. eventually (chop the first flips into disjoint blocks of length ; the blocks are independent, each all-heads with probability , and the probability that none is all-heads is at most ; sum along again). (c) Conclude a.s.: in a million fair flips one should expect a run of about heads — and a dataset without one is probably fabricated.
Solution
Solution of Exercise 22.12.
(a) A run of length starting at position has probability ; union bound: . With : . Along : , so a.s. eventually (Borel–Cantelli); for general pick and use monotonicity of plus : , and the extra factor is absorbed by enlarging slightly.
(b) With and disjoint blocks: the blocks are independent, each all-heads with probability , so
for a constant and large. These probabilities are summable along (indeed along all ): Borel–Cantelli gives a.s. eventually (monotonicity fills in between the as in (a), harmlessly).
(c) Both bounds along a sequence , intersecting countably many full-measure events: a.s. For : — a run of heads is not a suspicious anomaly but a mathematical certainty, and its absence is evidence of a human faking “randomness” (humans rarely dare write more than or heads in a row).
22.7 Problem: Etemadi’s proof of the strong law
Problem 22.1
Weekend problem — the strong law of large numbers for i.i.d. integrable variables
Kolmogorov’s strong law — a.s. for i.i.d. — long had only intricate proofs; in 1981 N. Etemadi found one of striking economy, using nothing beyond this chapter (and even weakening independence to pairwise independence). We follow it. Let be pairwise independent, identically distributed, integrable; , .
Part I — Reductions.
- Show that it suffices to treat (split : check the two halves are again pairwise independent i.i.d. integrable). Assume henceforth .
(Truncation) Let and . Show
(Exercise 11.3), and deduce via Borel–Cantelli that a.s.: it suffices to prove a.s.
- Show (monotone convergence), hence (Cesàro): it suffices to prove a.s.
Part II — The variance estimate.
Show
and, using the layer cake (Proposition 11.8), the key bound
(exchange the sum and the expectation — Tonelli for series — and bound for the inner estimate ).
Part III — Convergence along geometric subsequences. Fix and let .
Using pairwise independence (variances add, Theorem 22.5 — check that additivity of variances needs only pairwise independence) and Chebyshev, show for every :
Show (geometric series; beware the floor: for -type care), and conclude with question 4 and Borel–Cantelli:
Part IV — Sandwich and conclusion.
For , use the monotonicity of (nonnegative summands!) to show
and deduce, a.s.:
Let along a sequence and conclude a.s., hence (Part I) the strong law of large numbers:
- Where exactly was pairwise independence (rather than full independence) sufficient? List the three places where independence-type hypotheses were invoked.
Part V — Dividends.
- (Borel’s normal numbers) Show that -almost every is normal in every base : each digit appears with asymptotic frequency (fix and a digit, apply the strong law to the indicator variables — justify that base- digits of a uniform variable are i.i.d. uniform on as in Theorem 22.6 — then intersect the countably many probability-one events). Exhibit one explicit non-normal number, and reflect: the theorem asserts normality of almost all numbers, yet proving normality of or remains open.
- (Monte Carlo, guaranteed) Justify completely the method of Example 22.14(b) for : construct the i.i.d. uniform sample on from Theorem 22.6 and Exercise 22.10, and state what the strong law delivers.
Part VI — What full independence buys: maximal inequalities and random series. Etemadi spends only pairwise independence; the remaining parts exploit the full (mutual) version. Let be independent centered variables of and (a fresh notation, unrelated to the above).
(Kolmogorov’s maximal inequality) For prove
Chebyshev’s price buys the maximum (partition the event according to the first index with ; on that piece write and use the independence of the coalitions and , Theorem 22.5). Point out the step where pairwise independence would no longer suffice.
- (Khinchin–Kolmogorov one-series theorem) Deduce: if , then converges almost surely (show that a.s. the partial sums form a Cauchy sequence: let in the maximal inequality applied to , then let ).
- (Rademacher series) Let be i.i.d. signs, (Theorem 22.6), and let be real numbers. Show that converges a.s. as soon as ; show also that, whatever , the probability that converges is or (Theorem 22.9).
The converse, elementarily. Set and , and suppose . (a) Prove the Paley–Zygmund inequality: for with and ,
(split at the level and apply Cauchy–Schwarz to the upper piece). (b) Show . (c) Deduce and conclude that diverges a.s.; hence the dichotomy
- (Random harmonic series) Conclude that converges a.s. if and only if . For the series converges a.s. while : random signs produce square-root-strength cancellation — compare with the alternating series , which converges for every .
Part VII — Concentration: Hoeffding’s inequality. The strong law says ; concentration inequalities say how unlikely a deviation is at each fixed .
(Hoeffding’s lemma) (a) Show for all , by comparing the two series termwise. (b) Let be centered with , . Show
(bound on by its chord, take expectations, and study with and : show and ).
(Hoeffding’s inequality) Let be independent with and . Prove, for ,
and the same bound for the lower tail (exponential Chebyshev: bound using independence and question 17, then optimize over ).
(The strong law, bounded case, with a rate) Let the be i.i.d. with values in and . Show
and recover a.s. by Borel–Cantelli: a second proof of the strong law for bounded variables — no truncation, an exponential rate at every finite , but bounded summands and full independence. Compare the hypotheses with Etemadi’s.
(Monte Carlo, guaranteed at fixed ) Let be measurable and the i.i.d. uniform sample of question 11. Given , show
and evaluate the threshold for . The bound does not involve : compare with question 11 and with deterministic grids.
Part VIII — How big is a random walk? Toward the iterated logarithm. Let be the simple random walk built from i.i.d. fair signs.
(Sub-Gaussian tails) Show and deduce, for ,
Deduce, via Borel–Cantelli,
(for , sum the tail bounds at , then intersect over ). In particular the walk lives on the CLT scale up to a logarithmic factor — far below the crude bound .
Along the doubling subsequence , show
and reflect: the law of the iterated logarithm (Khinchin; Hartman–Wintner for general centered summands) states that
Explain precisely what separates the subsequence estimate just proved from the upper half of this statement (one must control inside each block, which requires a maximal inequality at the exponential scale) and check quantitatively that question 12’s inequality is too weak for that purpose. The lower half rests on the second Borel–Cantelli lemma applied to independent blocks; both halves are honest Year 3 material for a dedicated probability course.
(Uniform deviation over a finite class) Let be events in a repeatable experiment, and estimate each probability by its empirical frequency over i.i.d. repetitions. Combining Hoeffding’s inequality with a union bound, show
and deduce the sample-size rule: guarantees all estimates simultaneously -accurate with probability . Compute for , , : the logarithmic price of uniformity.
- (The random harmonic window) Combining the two halves of the random series theory, show that for i.i.d. signs the series converges a.s. if and diverges a.s. if ; contrast with absolute convergence (which requires ): on the window , convergence is a genuinely probabilistic phenomenon — cancellation, not size.
Solution
Solution of Problem 22.1.
1. are Borel functions of : they remain pairwise independent (Exercise 22.3(a)) and identically distributed, integrable, with . If the theorem holds for nonnegative variables, apply it to both halves and subtract: a.s.
2. (identical laws), and (Exercise 11.3(a)). Borel–Cantelli (1): a.s. for all large , so is eventually constant in : a.s., and the two normalized sums share their asymptotic behavior.
3. : MCT gives ; Cesàro means of a convergent sequence converge to the same limit: . Hence it suffices to prove a.s.
4. . By Tonelli for series,
using for (for : ; for : since ), and in both cases .
5. Pairwise independence gives for (the product formula for two variables), so variances add: . Chebyshev on each and summing:
(Tonelli for the nonnegative double series).
6. (valid once , i.e. all : for ). Hence
(geometric series from the first with ). Combining with questions 4–5, the double sum is finite; Borel–Cantelli (1), applied for each rational and intersected, gives a.s., and with question 3: a.s.
7. makes nondecreasing: for ,
which is the displayed sandwich after inserting and . Since , question 6 gives a.s.
8. Apply question 7 for , : countably many a.s. events; on their intersection, letting : a.s. With questions 1–3, a.s.: the strong law of large numbers, under pairwise independence.
9. Independence-type hypotheses appeared three times: (i) additivity of variances (question 5) — pairwise suffices; (ii) identical distribution, in the truncation sums (question 2) and the mean computation (question 3) — no independence at all; (iii) Borel–Cantelli (1) (questions 2 and 6) — valid without any independence. Full mutual independence was never invoked: Etemadi’s observation.
10. Fix a base and a digit . The base- digits of a uniform are i.i.d. uniform on (each digit vector value occupies an interval of length : the argument of Theorem 22.6 verbatim). The strong law applied to the i.i.d. bounded variables gives: a.s., the frequency of the digit tends to . Intersecting over the countably many pairs : almost every number is simply normal in every base. An explicit non-normal number: (frequency of ones ). The contrast is humbling: almost all numbers are normal, yet for , , or normality remains unproved — measure theory counts without exhibiting.
11. By Exercise 22.10 iterated, a single uniform variable yields a sequence of i.i.d. uniform vectors on (split the digit set of each of Theorem 22.6 into subfamilies). For , the variables are i.i.d. integrable with mean (transfer): the strong law gives
Monte Carlo integration converges almost surely, in every dimension — the error size is the business of the central limit theorem (Chapter 23).
12. Let : the are disjoint with union . Then
because the cross term vanishes: is a Borel function of the coalition , which is independent of , a function of (Theorem 22.5), so . On , , whence ; and (variances add). The decisive step is the factorization: is a nonlinear function of the whole first block, and its independence from the second block is coalition independence — pairwise independence of the only decorrelates pairs and would not justify it.
13. Fix and apply question 12 to :
The events increase with ; continuity from below gives , and by hypothesis. Hence for each , : almost surely, for every there is with (intersect the countably many a.s. events over ), so that for all : the partial sums are a.s. Cauchy, hence a.s. convergent.
14. The variables are independent (Borel functions of independent variables, Exercise 22.3(a)), centered, with : question 13 applies when and gives a.s. convergence. In general, for each the convergence of is unaffected by the values of : the convergence event lies in the tail -algebra of the independent sequence , so Kolmogorov’s zero–one law (Theorem 22.9) forces its probability to be or .
15. (a) Splitting at the level and using Cauchy–Schwarz on the upper piece,
so ; square. (b) Expand : the expectation is when the indices pair off (all four equal, or two distinct pairs, the latter in arrangements) and otherwise (an unpaired sign has zero mean and factors out by independence). Hence
(c) Paley–Zygmund with , , :
If the series converged with positive probability, it would converge a.s. (question 14), so a.s., and some would satisfy ; but as soon as , : contradiction. So divergence is almost sure, and with question 14 the dichotomy is complete.
16. Here and exactly when : by questions 14–15, converges a.s. if and only if (for , a.s. divergence). For the convergence is never absolute. The comparison is instructive: perfectly alternating signs cancel at strength for every , while typical random signs cancel only at square-root strength — the random walk of question 21 grows like , and Abel summation converts exactly that growth into convergence of for .
17. (a) and ; and holds termwise, because (each factor satisfies for ), so that in fact . (b) Note ( is centered), and by convexity of , for :
with , , . Then , vanishes at , and for : Taylor at order gives .
18. For , Markov applied to the positive variable (Proposition 22.3) and the product formula for independent variables give
by question 17(b) applied to each centered (same width). Minimizing the exponent at , , yields . The lower tail follows by applying the result to .
19. Take and :
which is summable in (a geometric-type series): Borel–Cantelli (Theorem 22.8) gives that a.s. eventually; intersecting over yields a.s. Comparison: Etemadi asks only and pairwise independence, and delivers no rate; Hoeffding asks boundedness and full independence, and delivers an explicit exponential guarantee at every finite — the two theorems answer different questions about the same limit.
20. The are i.i.d. with values in and mean (transfer), so question 18 with , gives the two-sided bound as soon as , i.e. . For :
about samples guarantee a accuracy with confidence — in every dimension , for every measurable integrand with values in . Question 11’s strong law promised convergence with no finite- guarantee; a deterministic grid with points per axis costs evaluations, exponential in . Concentration is what makes Monte Carlo a method rather than a hope.
21. Independence and the product formula: by question 17(a). Markov on :
and the symmetric bound for (same law) doubles the constant for .
22. Fix and set for :
summable since . Borel–Cantelli: a.s. for all large , so a.s.; intersecting the a.s. events for , , gives the claim. The walk of size has typical amplitude (its variance), and even its worst excursions exceed that scale by at most .
23. With and (defined for ), question 21 gives
summable in since : Borel–Cantelli and give a.s. What is missing for the full upper half is the bridge between checkpoints: one must show exceeds only finitely often, which demands a maximal inequality with Gaussian tails (Lévy’s reflection inequality or Ottaviani’s inequality, not proved here). Question 12 is quantitatively too weak: it bounds the probability by
which tends to but is not summable in : Borel–Cantelli cannot conclude. The lower half of the law of the iterated logarithm applies the second Borel–Cantelli lemma to the independent increments , using matching lower bounds for Gaussian-type tails. Both refinements are genuine Year 3 probability, one course further along; what this problem delivers unaided is the exact iterated-logarithm scale along geometric times.
24. Each is an average of i.i.d. indicator variables with values in and mean : Hoeffding gives . The union bound multiplies by . Solving : . Numerically: , so : estimating one probability to takes about samples (), and a million probabilities only times more — uniformity costs , not : the observation that makes empirical risk minimization, and with it machine learning, statistically possible.
25. The variables are independent, centered, bounded, with . If : the variance series converges, and the one-series theorem (Part VI) gives a.s. convergence of . If : the variance series diverges, and the converse half (Part VI’s Paley–Zygmund argument, applicable since the summands are bounded by ) gives a.s. divergence. Absolute convergence asks : . On , the series converges a.s. although surely: the signs conspire to cancel, with probability one — convergence by cancellation, invisible to any absolute test, and (by the zero–one law) with a deterministic verdict all the same.