University Mathematics — Year 2 · Bachelor Year 2
21Probability on Countable Spaces
The final three chapters develop the probability theory of the modern MP* program: probability measures on countable sample spaces, discrete random variables, and generating functions. The finite theory of the High School volume acquires its full infrastructure: -additivity replaces finite additivity, and the summable-family machinery of Chapter 7 is exactly what makes infinite sample spaces workable. The centerpiece results here are the continuity of probability along monotone sequences of events and the Borel–Cantelli lemma.
21.1 Probability spaces
Definition 21.1 (Countable probability space)
Let be a nonempty finite or countable set (the sample space). A probability measure on is a map from the set of all subsets of (events) to such that:
- ;
(-additivity) for every sequence of pairwise disjoint events,
The pair is a (countable) probability space.
Remark 21.2
On a countable we may take all subsets as events; on uncountable spaces (as needed for continuous models in Year 3) this is no longer possible, and one restricts to a suitable collection of events, a -algebra. All the formulas of this chapter survive that generalization verbatim.
Proposition 21.3 (Elementary rules)
For events and a probability measure : ; is finitely additive; ; if then ; and
Proof. Applying -additivity to , () gives , so ; padding a finite disjoint union with empty sets then gives finite additivity. The rest follows as in the finite case (High School volume): from ; when ; and decomposing into three disjoint pieces,
which is inclusion–exclusion; the general -set version is Exercise 21.4. ∎
Proposition 21.4 (Distributions on a countable space)
Giving a probability measure on a countable amounts exactly to giving weights with ; then for every ,
an (absolutely convergent) sub-sum of the family .
Proof. Given , the singletons , , form a countable disjoint cover of , so -additivity forces
an unconditional sub-sum of the nonnegative summable family — reordering is harmless precisely because the terms are nonnegative (Chapter 7); in particular . Conversely, given nonnegative weights of total sum , define : the family is summable, and -additivity is exactly the theorem on summation by packets of Chapter 7 applied to the partition of into the . ∎
Example 21.5 (Geometric model: waiting for the first head)
Toss a coin with head probability repeatedly, and let record the rank of the first head. The natural weights are
a probability measure since : with probability the game ends — but the sample space must still contain the possibility that it does not. Countable additivity is what lets us assert .
Theorem 21.6 (Monotone continuity)
Let be a sequence of events.
- If for all (increasing), then .
- If for all (decreasing), then .
Proof. 1. Disjointify: let and . The are pairwise disjoint with and . By -additivity and finite additivity,
2. Pass to complements: is increasing with union , and apply part 1: . ∎
Corollary 21.7 (Countable subadditivity)
For any sequence of events, .
Proof. Finite subadditivity follows from inclusion–exclusion by induction (or from additivity over the disjointified ). Let : the left side converges to by monotone continuity applied to the increasing sequence . ∎
Example 21.8 (The union bound: crude but indestructible)
Subadditivity with finitely many events — the union bound — trades precision for universality. For the birthday problem with people, bounding the collision probability by the sum over pairs gives
against the true : off by a wide margin, because collisions overlap. Yet the bound needs no independence, no joint law, nothing but the pair probabilities — which is why, in the weekend problem and throughout Chapter 22, the union bound is the first tool drawn: when it happens to be small, the matter is settled with no further modelling.
Example 21.9 (A six comes, eventually)
Roll a fair die forever and let “at least one six among the first rolls”, an increasing sequence of events with . Monotone continuity gives
The point is not the (obvious) limit but the logical step: “eventually” is an event about infinitely many rolls, outside the reach of finite additivity, and monotone continuity — that is, -additivity — is precisely the axiom that assigns it a probability. Every almost-sure statement in the rest of this book passes through this same narrow door.
21.2 Conditioning and independence
Definition 21.10 (Conditional probability)
For events with , the conditional probability of given is
The map is itself a probability measure on .
Remark 21.11
That is again a probability measure is worth a moment: and -additivity pass through the quotient because intersection with respects disjoint unions. The practical consequence: every identity of this chapter — inclusion–exclusion, monotone continuity, Borel–Cantelli — may be applied after conditioning, with no new proofs. Probabilists constantly “work under ” for exactly this reason.
Example 21.12 (Conditioning can create uniformity)
Roll two fair dice and condition on the sum being : for each ,
given a sum of , the first die is exactly uniform — is the only total compatible with every face, so the conditioning erases all information about . Any other total skews the law (given , the first die is uniform on only). Computing a conditional law means renormalizing the joint weights along the conditioning event, nothing more.
Example 21.13 (The second draw is as good as the first)
An urn holds white and black balls; draw two without replacement. Everyone agrees ; what is ? Total probability along the first draw:
exactly . No computation was needed: by symmetry, every ball is equally likely to be the second one drawn, so the second draw — unconditionally — has the same law as the first. Conditioning on the first result changes the odds; not knowing it does not. This exchangeability argument returns in the next chapter for sampling without replacement, where it gives the hypergeometric mean with no binomial identities at all.
Theorem 21.14 (Compound probabilities, total probability, Bayes)
Proof. 1. Write each conditional probability as a quotient: the right side is
a telescoping product: every denominator cancels the preceding numerator, leaving . All denominators are by monotonicity, so nothing vanishes. (The hypothesis guards exactly this: conditioning on an event of probability zero is undefined.) 2. The sets are pairwise disjoint with union ; apply (-)additivity and the definition of conditioning. 3. Both sides of equal ; divide by and expand by total probability. ∎
Example 21.15 (The birthday collision, by the chain rule)
With people whose birthdays are independent and uniform over days, let “all birthdays differ”. Conditioning person by person (chain rule):
each new person having to avoid the days already taken. For : — a shared birthday is already more likely than not. The heuristic that explains the smallness of : taking logarithms, , and gives . What matters is the number of pairs, which grows quadratically: collision problems live on the scale , not — the birthday paradox is a square root in disguise.
Example 21.16 (Monty Hall, by Bayes)
A prize hides behind one of three doors, uniformly. You pick door ; the host, who knows where the prize is, opens one of the other doors, always empty (choosing uniformly when he has a choice), say door . Let “prize behind door ” and “host opens door ”. Then , , , so by Bayes (Theorem 21.14),
switching doors wins two times out of three. The computation locates the popular confusion exactly: the host’s move is informative (he could not open door if the prize were there), and Bayes’ formula is the bookkeeping device that converts this asymmetry into the . Conditioning on “what was seen” rather than on “what is true” is the whole art of the formula.
Example 21.17 (The Chevalier de Méré’s two bets)
Two seventeenth-century wagers, settled by independence. Bet one: at least one six in rolls of a die,
Bet two: at least one double-six in rolls of two dice,
De Méré reasoned that rolls at chance should match rolls at chance (same ratio ); the failure of this proportionality — probabilities of unions do not scale linearly — is said to have prompted his letter to Pascal, and thereby the birth of probability theory. The correct comparison is through logarithms: trials at chance succeed at least once with probability , so the honest invariant is : here versus — equal! The two bets differ only at the second order in , and by just enough to move one across the fifty-percent line: small probabilities are a domain where intuition needs the exponential, not the ruler.
Remark 21.18 (Common fallacies of conditioning)
Three recurrent confusions, all visible in the examples above. (i) Inversion: and differ by the factor — a test that is accurate on the sick may still leave a positive patient almost certainly healthy when the disease is rare (Exercise 21.3); quoting where is meant is the base-rate fallacy. (ii) Conditioning on the wrong event: in Monty Hall, the correct conditioning event is “the host opened door ”, not “the prize is not behind door ”; the two carry different information, and the whole hangs on the difference. (iii) Disjoint versus independent: disjoint events of positive probability are never independent () — independence is compatibility of information, not absence of overlap.
Definition 21.19 (Independence)
Events and are independent if . A family of events is (mutually) independent if for every finite subset ,
Remark 21.20
Mutual independence is strictly stronger than pairwise independence: with two fair coin tosses, the events “first is a head”, “second is a head”, “both agree” are pairwise independent (each pair has intersection probability ), yet the triple intersection has probability . Note also that if are independent, so are (compute: ), hence also .
Example 21.21 (Independence read off a product structure)
Roll two fair dice: with uniform weights. Let “first die even” and “second die at least ”. Counting: , , , so
independent, and the mechanism is visible — constrains only the first coordinate, only the second, and the uniform measure on a product set makes coordinate counts multiply. Every claim of the type “events depending on disjoint groups of tosses are independent” (used massively in the weekend problem) is this computation, wearing more indices.
Example 21.22 (First-step analysis)
For the geometric model of Example 21.5, what is the probability that the first head falls at an even rank? Condition on toss one: with probability the rank is (odd); with probability the game restarts with all parities flipped, so
One line, no series — and it agrees with the direct summation of Exercise 21.9, which gives . This “first-step” technique (condition on the first experiment, recognize a shifted copy of the problem) is the probabilistic form of a recursion, and it is the engine behind the game-duration equations of Exercise 21.6 and the first-passage computations of the weekend problem.
21.3 The Borel–Cantelli lemma
Definition 21.23 (Limit superior of events)
For a sequence of events, the event
is the event “ occurs infinitely often”.
Example 21.24 (Translating “infinitely often” and “eventually”)
The complement of is, by de Morgan,
the event “eventually, fails” (written ). So “ infinitely often” and “ eventually” are complementary — keeping this dictionary straight prevents most quantifier accidents. Sample translations for coin tossing: “infinitely many heads” is ; “only finitely many runs of heads” is the complement of a limsup; “the running frequency converges to ” is — countable operations throughout, so all of these are honest events.
Theorem 21.25 (Borel–Cantelli)
- If , then .
- If the events are independent and , then .
Proof. 1. Let ; the sequence is decreasing with intersection , and by countable subadditivity (Corollary 21.7)
(tail of a convergent series). Monotone continuity (Theorem 21.6) concludes: .
2. It suffices to show for every : indeed, if events all have probability , then
by countable subadditivity (Corollary 21.7), so the countable intersection still has probability . Fix , and consider for the complement:
using independence of the complements and the convexity bound . As the exponent tends to by divergence of the series, so by monotone continuity (decreasing sequence) , i.e. . ∎
Example 21.26 (Infinite runs of heads)
Toss a fair coin forever, and let be the event “tosses are all heads” (a run of heads starting at time ), for fixed . The events (), depending on disjoint blocks of tosses, are independent, each of probability , and : by Borel–Cantelli 2, with probability infinitely many blocks are all-heads — every fixed pattern recurs infinitely often, almost surely. Conversely, if we let the run length grow, “a run of heads starts at ” has summable, so almost surely only finitely many such long runs start: Borel–Cantelli calibrates precisely how long the longest runs are.
Example 21.27 (The infinite monkey, quantified)
A monkey types independent uniform letters from a -letter alphabet. Cut the typescript into disjoint blocks of four letters; the events “block spells MATH” are independent with , and : by Borel–Cantelli 2 the monkey types MATH infinitely often, almost surely — and the same holds for any fixed text of any length, blocks adjusted. The quantitative footnote deflates the miracle: , so the first MATH takes about half a million keystrokes on average, and a Shakespeare play of characters waits of order blocks — almost sure is a statement about the horizon , not about any horizon a monkey will meet. Borel–Cantelli certifies the limit; the summands’ size tells the story at human scales.
Remark 21.28
In Example 21.26 the underlying sample space (infinite sequences of tosses) is uncountable, so strictly speaking the example lives in the measure-theoretic framework of Year 3; the computations, though, use only the rules proved in this chapter, applied to events determined by finitely many tosses and their countable combinations. This is the standard MP* convention: the theory is stated on countable spaces, and infinite-game examples are treated with the same toolkit.
Remark 21.29 (Perspectives within this volume)
This chapter’s machinery is consumed wholesale by the next two. Indicators turn events into random variables, and -additivity becomes the summability that defines expectation (Chapter 22); Borel–Cantelli plus a summable tail bound is exactly how the strong law of large numbers for coins is proved there. In Chapter 23, monotone continuity reappears at the decisive moment: the extinction probability of a branching process is defined as the monotone limit , and the fixed-point equation it satisfies is obtained by passing to the limit in that increasing sequence — the final theorem of the book stands on this chapter’s first theorem.
Remark 21.30 (Method: three ways to probability one)
Almost-sure statements are proved with three levers, in increasing order of strength. Monotone continuity: exhibit the event as an increasing union (or decreasing intersection) of finite-horizon events with computable probabilities (Example 21.9). Null unions: a countable union of probability-zero events is null (countable subadditivity), so it suffices to kill each bad event separately — this is how “for every , eventually ” assembles into convergence. Borel–Cantelli: when the event is a limsup, sum the probabilities; convergence kills it (no independence needed), and divergence plus independence certifies it. Choosing the right lever is usually the whole proof; the weekend problem runs all three in a single argument.
Remark 21.31 (Where this is used)
Monotone continuity and Borel–Cantelli are the two levers of every “almost sure” statement: they drive the recurrence of the random walk in this chapter’s weekend problem, the almost-sure side of the law of large numbers (Chapter 22), and the extinction analysis of branching processes (Chapter 23). The Year 3 volume rebuilds the theory on -algebras and Lebesgue integration, where the uncountable sample spaces used informally here become fully rigorous.
21.4 Exercises
Exercise 21.1 ★
An urn contains numbered balls. Balls are drawn one by one without replacement. Compute the probability that ball number is drawn before ball number . Generalize: the probability that ball is drawn first among balls .
Solution
Solution of Exercise 21.1.
By symmetry: the drawing order induces a uniformly random relative order on balls and , so . Formally: exchanging the positions of balls and in a drawing sequence is a bijection of the (equiprobable) outcomes that swaps the event with its complement. Among balls : the relative order of these balls is uniform among the orderings, and ball is first in of them: probability .
Exercise 21.2 ★
Show that on the weights define a probability measure, and compute (even outcomes) as a series; show that it equals . (Telescope and use the alternating harmonic series, Chapter 7.)
Solution
Solution of Exercise 21.2.
, so telescopes to : a probability measure. Even outcomes:
This is the alternating harmonic series with its first term removed and signs flipped: since (Chapter 7),
Exercise 21.3 ★
(False positives) A disease affects one person in . A test detects it with probability on the sick, and gives a false positive with probability on the healthy. Compute the probability of being sick given a positive test, and comment.
Solution
Solution of Exercise 21.3.
Let = sick, = positive test. Bayes (Theorem 21.14) with the partition :
below . Although the test is “99% accurate”, a positive result leaves you about likely to be healthy: the false positives among the vast healthy majority swamp the true positives from the tiny sick minority. Screening tests for rare conditions must always be read through this base-rate computation.
Exercise 21.4 ★★
Let be events. Prove the inclusion–exclusion formula
by integrating the identity over (i.e. summing weighted by ).
Solution
Solution of Exercise 21.4.
Pointwise on : iff some factor vanishes, so
expanding the product and moving the across. Now , and summing against the weights — legitimate: finitely many bounded terms, each family summable — turns each indicator into the probability of its event, giving the formula.
Exercise 21.5 ★★
(Matching problem, via inclusion–exclusion) letters are put uniformly at random into envelopes, one each. Using Exercise 21.4, show that the probability of no correct match is , and deduce the probability of exactly one match.
Solution
Solution of Exercise 21.5.
Let = “letter is in the right envelope”. For of size , (fix letters, permute the rest). By inclusion–exclusion,
so
Exactly one match: a permutation with exactly one fixed point is determined by the choice of the fixed letter ( ways) and a derangement (no-match arrangement) of the other ; writing for the number of derangements (the first part, scaled by ),
in the limit, “no match” and “exactly one match” are equally likely, each with probability .
Exercise 21.6 ★★
A biased coin (head probability ) is tossed until two consecutive heads appear. Let be the probability that the game lasts more than tosses. Show, conditioning on the first toss(es), that for , and deduce that the game ends with probability . (Show by comparing with a geometric sequence: both roots of the characteristic equation lie in in absolute value.)
Solution
Solution of Exercise 21.6.
Condition on the start (chain rule / Theorem 21.14):
- first toss T (probability ): the game restarts afresh; lasting more than means lasting more than from there: contribution ;
- first tosses HT (probability ): restart after two tosses: contribution ;
- first tosses HH: the game has ended (within tosses, ): contributes .
Hence . The characteristic equation has roots
with : indeed the polynomial satisfies and , while : one root in , one in . So . The events “game lasts more than ” decrease to “game never ends”; monotone continuity (Theorem 21.6) gives : the game ends almost surely.
Exercise 21.7 ★★★
(Records) Draw an infinite sequence of independent uniform rankings, in the following combinatorial sense: for each , the relative order of the first draws is uniform among the possibilities, and “the -th draw is a record (larger than all previous ones)”. Admitting that the events are independent with (prove at least this last equality by symmetry), show using Borel–Cantelli that infinitely many records occur almost surely, but that records at consecutive times occur infinitely often with probability — compute and conclude what Borel–Cantelli 1 gives.
Solution
Solution of Exercise 21.7.
: among the first draws, each of the relative positions of the last draw is equally likely (uniformity of the relative order), and is the event that it is the largest: probability .
Infinitely many records: and the are independent (admitted), so Borel–Cantelli 2 (Theorem 21.25) gives : records never stop, almost surely — but they thin out logarithmically.
Consecutive records: by independence,
so Borel–Cantelli 1 applies: almost surely, only finitely many times is a record immediately followed by another record. The two halves of the lemma work in tandem: infinitely many records, but (a.s.) eventually never two in a row.
Exercise 21.8 ★★★
(Kochen–Stone flavour, easier version) Let be independent events with . Show that , although : “individually rare, collectively certain”. Conversely, exhibit a sequence of (dependent) events with and , showing independence cannot be dropped in Borel–Cantelli 2.
Solution
Solution of Exercise 21.8.
First part: with independence: Borel–Cantelli 2 gives . Each individual is increasingly unlikely, yet almost every belongs to infinitely many of them.
Counterexample without independence: take with the weights of Exercise 21.2, and . Then
but the are decreasing, so : . Divergence of alone guarantees nothing when the events pile up on a shrinking part of the space — independence is what forbids that conspiracy.
Exercise 21.9 ★
A coin with head probability is tossed until the first head. Compute the probability that this happens at an odd rank, and evaluate it for a fair coin.
Solution
Solution of Exercise 21.9.
With , the first head falls at rank with probability , so
For a fair coin: . (Sanity check: odd ranks should be likelier, since rank comes first — and indeed always.)
Exercise 21.10 ★★
Let be independent events with . Show that
and that this limit is if and only if . Reconcile with Borel–Cantelli: when , not only does some occur almost surely — infinitely many do.
Solution
Solution of Exercise 21.10.
The events decrease to , and by independence of the complements ; monotone continuity (Theorem 21.6) gives the displayed limit. Taking logarithms, iff . If then and : the log-series converges. If , then forces divergence, so the product is . This matches Borel–Cantelli 2: for , not only is , but almost surely infinitely many occur.
Exercise 21.11 ★★
(Banach’s matchbox) A smoker keeps one box of matches in each pocket and reaches into a uniformly random pocket each time. When he first finds a box empty, what is the probability that the other box contains exactly matches? Show the answer is and check that these probabilities sum to for .
Solution
Solution of Exercise 21.11.
Say box is the one first discovered empty, with the other box holding . This means: among the first reaches, exactly went to and to (in some order), and reach number went to again, finding it empty. The reaches are independent fair choices, so this event has probability ; doubling (the empty box can be either one) gives
For : gives and gives : total , as it must be.
Exercise 21.12 ★★★
(-additivity is a real axiom) (a) Show that there is no probability measure on giving all singletons the same weight. (b) For , let when the limit exists (the natural density). Show is finitely additive on pairs where all three densities exist, gives every singleton density and density — and conclude that is not -additive. (c) Exhibit a set with no density. (Alternate blocks in and out.)
Solution
Solution of Exercise 21.12.
(a) If for all , -additivity forces : impossible, whether (sum ) or (sum infinite). There is no uniform probability on .
(b) If and , exist, then , so : finite additivity on such pairs. Each singleton has counting function eventually constant, so density , while . Were -additive, would give : density is finitely additive but not -additive — the axiom has content.
(c) Let (blocks from to ). At the count is , giving ratio ; at the count is unchanged, giving ratio . The ratio oscillates between limits and : no density.
21.5 Problem: the simple random walk on is recurrent
Problem 21.1
Weekend problem — Pólya’s recurrence theorem on , with the ballot problem and the arcsine flavor on the way
Toss a fair coin forever; let be the -th step and the simple random walk on , . As in Example 21.26, all events below are determined by finitely many tosses or are countable combinations of such events, and independence of events depending on disjoint blocks of tosses is part of the model. We write and for the number of -paths of length from to .
Part I — Counting paths.
- Show that when is even and , and otherwise; deduce . Why is every individual path of length equally likely?
- Show , , and compute .
Prove ; deduce that decreases to , and from Example 6.14 that
- (Reflection principle) For , show that the paths of length from to that touch are in bijection with the paths from to ; deduce that the number of paths from to that stay after time is .
(Ballot theorem) Deduce that
in a count where the winner leads by out of ballots, the probability the winner led throughout the count is . Verify by hand for , .
Part II — Return to the origin.
Prove the key identity
(condition on the first step, sum the counts of question 4 over the endpoint, and telescope; finish with ).
Deduce from monotone continuity (Theorem 21.6) that the walk returns to at least once with probability , and that satisfies
- Show that : the return is certain, but the series that would compute the mean waiting time diverges (in the vocabulary of Chapter 22, the return time has infinite expectation).
Prove that for every , (decompose over the times of the first returns: the corresponding toss blocks are disjoint, so the probabilities multiply and sum to ); conclude with monotone continuity:
the simple random walk on is recurrent.
- Show that the walk visits every site almost surely, hence (by recurrence, restarted at the first visit) infinitely often. (The signs of the successive excursions from are independent fair coins; a positive excursion visits .)
Part III — Borel–Cantelli and the biased walk.
- The events satisfy ; explain why Borel–Cantelli 2 does not apply to them, and what Borel–Cantelli 1 would give if the series converged. (This is the strategy of the whole Part.)
- Now let the coin have bias , . Show with , deduce , and conclude by Borel–Cantelli 1 that the biased walk returns to only finitely many times, almost surely.
- Still for : show for each fixed , deduce that every site is visited finitely often almost surely, and conclude almost surely: the biased walk is transient.
- Back to the fair coin: using question 6, compute the probability that tosses produce no tie ( for ), numerically . Comment on the slow decay: ties are certain in the long run but rarer than intuition suggests.
- (First passage) Let be the first time the walk hits . Using the reflection principle for the maximum (proved in question 16, which does not depend on this one), or directly from question 7 by conditioning on the first step, show ; deduce while the mean-time series diverges.
Part IV — Maxima, last zero, long leads.
(Reflection for the maximum) For , prove
by reflecting the path after its first visit to level .
- Deduce , i.e. : the probability of never being ahead equals the probability of never being at zero (question 6) — two different events, one probability.
(Last zero) Let (even). Combining question 6 with independence of disjoint toss blocks, show
and deduce, with no further computation, the binomial identity .
- Show that the law of is symmetric () and, using , that its extremes are its most likely values. Tabulate for : versus . Interpret: in a long fair game, the last tie tends to be very early or very late — long leads are the rule, not the exception.
- Assemble questions 16–19 into a paragraph on the fluctuation picture of the fair walk: the diffusive scale suggested by question 3, the certainty of return against the divergent mean waiting time, and the arcsine-flavored persistence of leads.
Part V — The renewal identity and Pólya’s theorem.
Prove, by partitioning over the time of the first return, the renewal identity
where and (justify the radii and the product of series with Chapter 11).
Deduce the recurrence dichotomy: letting (monotone limits of series with nonnegative coefficients),
and check it against questions 3, 7 (fair walk) and 12 (biased walk).
(Dimension ) The simple walk on takes steps , uniformly. Show that the rotated coordinates and perform independent fair walks on , deduce
and conclude with questions 21–22 (whose proofs transfer verbatim) that the walk on is recurrent.
- (Dimension ) For the simple walk on , admit the local estimate (proved with the local limit theorem in the Year 3 volume). Deduce from Borel–Cantelli 1 that the walk on is transient, and state the full result: Pólya’s theorem — the simple random walk is recurrent in dimensions and , transient in dimension and higher.
- Synthesis. List the exact role played by: path counting and reflection; monotone continuity; independence of disjoint toss blocks; Borel–Cantelli 1; the renewal identity. Which single analytic fact (, hence but and ) decides between recurrence and transience in each dimension?
Solution
Solution of Problem 21.1.
1. A path of length is determined by the set of its up-steps; ending at means up-steps and down-steps with , i.e. : possible iff is even and , in ways. Each specific path is one point of the fair product measure on tosses: probability . Hence .
2. has the parity of , so ; and . Values: , , .
3. : decreasing. By Example 6.14, , so , and diverges by comparison with .
4. Given a path from to touching , reflect its initial segment (up to the first visit to ) through the horizontal axis: the result is a path from to , and the operation is an involution — every path from to must cross , and reflecting its initial segment back recovers the original. Hence the touching paths number (from to the displacement is ). A path from to staying after time starts with an up-step and then goes from to in steps without touching : there are of them.
5. With , using and :
For , : paths (, , ), of which only stays positive ( returns to at time ): one out of three, and .
6. By symmetry the probability is . Summing over the endpoint and using question 4 (with replaced by ):
a telescoping sum. Now and (Pascal), so the displayed probability is .
7. The events decrease, with intersection “no return ever”; by monotone continuity and question 6, : the walk returns almost surely. Moreover , and by question 3
8. , and (question 3): the series diverges. The first return is certain but has no finite mean waiting time — the walk is null recurrent, in the vocabulary that Chapter 22 will provide.
9. The event “at least returns” is the disjoint countable union, over , of the events “the first returns happen exactly at times ”. Such an event is the intersection of events depending on the disjoint toss blocks , , …, each block requiring a fresh walk to make its first return after exactly the allotted number of steps; by independence of the blocks its probability is . Summing by packets (Chapter 7, all terms nonnegative):
The events decrease in , so by monotone continuity : recurrence.
10. By question 9 the walk makes infinitely many excursions away from . The first step of each excursion is a fresh coin, independent of everything before: the probability that the first excursions all start downward is . To reach the walk only needs one upward excursion start (from it must pass through before reaching , steps being ), so for every : the walk hits almost surely. Decomposing over the (almost surely finite) hitting time, the walk restarted there is a fresh walk started at : by induction it hits every almost surely, and by symmetry every . Finally, restarting at the first visit to , question 9 applies to the fresh walk: every site is visited infinitely often, almost surely.
11. The events are far from independent (being at at time makes being at at time far likelier than ), so Borel–Cantelli 2 is unavailable, and indeed the whole work of Part II was to replace it. The other direction needs no independence: if converges, Borel–Cantelli 1 yields finitely many returns almost surely. That implication is the engine of every transience proof below.
12. A return at time requires up- and down-steps: , and for . Since , the series is dominated by the geometric : convergent. By Borel–Cantelli 1, : finitely many returns, almost surely.
13. For even, ; the binomial coefficient is at most the central one, and , giving the stated bound , summable in since . Borel–Cantelli 1: site is visited finitely often almost surely; the union over of the exceptional null events is still null (countable subadditivity). Almost surely every site is visited finitely often, so the integer sequence leaves every bounded window for good: .
14. : more than a one-in-twenty chance that fair tosses never tie. The decay is excruciatingly slow: certainty of a tie (question 7) is compatible with very long tie-free stretches — a first taste of the arcsine phenomena of Part IV.
15. Condition on the first step. If then , and matches. If , the walk must climb from to ; by the block decomposition, returning to for the first time at time splits as: one step down, then a fresh walk started at first reaching — equivalently a fresh walk first reaching — in steps, or the symmetric event upward. Both signs contribute equally:
Hence , while by question 7: the walk reaches almost surely, in infinite mean time.
16. Partition by the terminal value . For the condition is automatic. For , reflect the path after its first visit to level : this is a bijection between and (every path ending at visits ; reflecting back is the inverse). Hence
17. At even time with : and , so
Thus : the walk never leads in the first steps exactly as often as it never ties (question 6) — two quite different events, carried by the same .
18. . The two events depend on disjoint toss blocks, so they are independent; the first has probability , the second by question 6 applied to the fresh -step walk. Hence . Since takes exactly the values , these probabilities sum to : , a binomial identity delivered by a probabilistic partition.
19. Symmetry is immediate: . As decreases in , the product is smallest for central and largest at the extremes , where it equals ; quantitatively in the bulk, against at the edges. For : , while . In a long fair game the last equalization is most likely near the very beginning or the very end: one player typically leads for enormous stretches, with no bias in the coin.
20. The picture: at time the walk lives at scale (the binomial spread of question 3 — is the height of the central peak); it returns to infinitely often with probability (Part II), yet the waiting time between returns has divergent mean (question 8), which is why single excursions can occupy a positive fraction of any horizon; correspondingly the last tie of a -step game is spread out with extreme values most likely (questions 18–19), and never-leading has the same slowly decaying probability as never-tying (question 17). Certainty in the limit, persistence at every finite horizon: that is the fair walk.
21. Partition () by the first return time , : the first block of tosses realizes a first return, the remaining tosses realize a return of a fresh walk, and the blocks are independent: . Both series , have radius (coefficients in ), and the Cauchy product (Chapter 11) gives, for ,
22. As , and increase (nonnegative coefficients); every partial sum is a limit of , so , and likewise . If : , so . If : , so . Checks: fair walk, and (questions 3, 7); biased walk, and correspondingly , consistent with the almost-sure finiteness of the number of returns (question 12).
23. For the four steps of the walk, the increments of and are: for , for , for , for — each pair of signs with probability : the two coordinate walks and are independent fair walks on . Since iff and ,
The renewal identity of question 21 and the dichotomy of question 22 used nothing one-dimensional (only the decomposition over the first return and disjoint-block independence), so gives , and the argument of question 9 upgrades it: the walk on returns to the origin infinitely often almost surely.
24. With the admitted bound , the series converges, and Borel–Cantelli 1 gives finitely many returns almost surely: the walk on is transient (and the same bound with exponent handles every ). Altogether: Pólya’s theorem — the simple random walk is recurrent on and , transient on for . A drunk man finds his way home; a drunk bird may not.
25. Path counting and reflection produced the exact laws (, the ballot theorem, , the maximum, the last zero); monotone continuity converted every limiting statement (“returns at least once”, “infinitely often”) into a limit of finite-horizon probabilities; disjoint-block independence powered the renewal decompositions (questions 9, 18, 21) — it is the countable skeleton of the Markov property; Borel–Cantelli 1 was the transience weapon (questions 12–13, 24), needing no independence; the renewal identity organized everything into the dichotomy recurrence. The single analytic input is the local estimate : its square still diverges (dimension , recurrent), while converges (dimension , transient) — Pólya’s theorem is, in the end, a statement about the divergence of .