The power series of Chapter 11 return with a probabilistic mission: to an N-valued random variable we attach the power series with coefficients P(X=n). This generating function converts sums of independent variables into products, moments into derivatives at 1, and hard combinatorial identities into one-line multiplications. The chapter closes the book with two showpieces: the Poisson approximation of rare events, and the extinction criterion for branching processes — a genuinely infinite probabilistic computation solved entirely by the geometry of a convex curve.
23.1 Definition and basic properties
Definition 23.1(Probability generating function)
Let X be an N-valued random variable, pn=P(X=n). The probability generating function of X is the sum of the power series
GX(t)=E(tX)=n=0∑∞pntn.
Example 23.2(First reflexes)
A constant variable X=c has GX(t)=tc; a shift obeys GX+c(t)=tcGX(t); and evaluating at special points reads off information without any expansion: GX(0)=P(X=0), GX(1)=1, and GX(−1)=P(X even)−P(X odd), the parity balance exploited in Exercise 23.10. These one-liners are used silently everywhere below — and the evaluation GX(0) is exactly how extinction probabilities will be extracted from iterated generating functions at the end of the chapter.
Proposition 23.3(Radius and first properties)
The series defining GX has radius of convergence≥1; GX is defined and continuous on [−1,1], C∞ on (−1,1), with GX(1)=1 and ∣GX(t)∣≤1 there. Moreover GX determines the law of X:
pn=n!GX(n)(0).
Proof. Since ∑pn=1 converges, the terms pn1n are bounded, so the radius is ≥1 (Abel’s lemma, Chapter 11); at t=±1 the series converges absolutely (∑pn=1 dominates); better, on the whole interval [−1,1],
∣t∣≤1sup∣pntn∣=pnwithn∑pn<∞:
the series converges normally on [−1,1], so its sum is continuous there (Theorems 10.16 and 10.4). Smoothness inside and the coefficient formula are the general theory of power series; the coefficients being recoverable, two variables with the same generating function have the same law. ∎
Derivatives of GX at 1 give positive moments; the integral gives a negative one. From ∫01tkdt=k+11 and term-by-term integration (normal convergence on [0,1]):
∫01GX(t)dt=k≥0∑k+1P(X=k)=E(1+X1).
For X∼P(λ):
E(1+X1)=∫01eλ(t−1)dt=λ1−e−λ,
recovering in one line the series computation of Example 22.10. The generating function is a two-way instrument: differentiate at 1 for the moments E(X), E(X(X−1)), integrate over [0,1] for E(1+X1) — one analytic object, queried in whichever direction the problem needs.
G is continuous on [−1,1], smooth inside, but its derivative blows up at 1− — the graph arrives at the point (1,1) with a vertical tangent. Heavy tails are visible geometrically on the generating function, at the single point t=1; the moments theorem below makes this correspondence exact.
Theorem 23.7(Moments from the generating function)
X has an expectation if and only if GX is differentiable at 1− (left derivative, finite), and then E(X)=GX′(1). Similarly X has a second moment iff GX is twice differentiable at 1−, and then
Proof. For t∈(0,1), term-by-term differentiation inside the disk gives GX′(t)=∑n≥1npntn−1, a series with nonnegative coefficients: t↦GX′(t) is nondecreasing on (0,1), and by monotone convergence of partial sums (or Abel’s theorem for nonnegative coefficients, Chapter 11),
t→1−limGX′(t)=n≥1∑npn∈[0,+∞],
each side finite exactly when the other is. When finite, the mean value theorem squeezes the difference quotients 1−tGX(1)−GX(t) between values of GX′, so GX is differentiable at 1− with GX′(1)=∑npn=E(X) (by transfer). The second-order statement repeats the argument one level up: GX′′(t)=∑n≥2n(n−1)pntn−2 is nondecreasing on (0,1) with monotone limit ∑nn(n−1)pn=E(X(X−1)), finite exactly when X has a second moment. The variance formula then follows from König–Huygens:
Poisson: G′(t)=λeλ(t−1), so E(X)=λ; G′′(1)=λ2, so V(X)=λ2+λ−λ2=λ — the computations of Chapter 22 in one line each.
Example 23.9(The mode of a Poisson law)
Where is P(X=k) largest for X∼P(λ)? Consecutive weights compare through the ratio
P(X=k)P(X=k+1)=k+1λ,
which exceeds 1 while k<λ−1 and drops below 1 once k>λ−1: the weights rise then fall, with mode ⌊λ⌋ (and a tie between λ−1 and λ when λ is an integer: for λ=3, P(X=2)=P(X=3)=29e−3≈0.224). Ratio tests on the coefficients are often the fastest route to qualitative facts about a discrete law — no generating function needed, but the coefficients are the generating function, read term by term.
Via Cauchy products: the law of X+Y is the convolution P(X+Y=n)=∑k=0nP(X=k)P(Y=n−k), and the Cauchy product theorem for absolutely convergent series (Chapter 7) multiplies the two power series exactly along this convolution. ∎
Example 23.11(Stability of the classical laws)
Independent binomials with the same p add: (1−p+pt)m(1−p+pt)n=(1−p+pt)m+n, so B(m,p)+B(n,p)=B(m+n,p) — in particular a sum of nindependent Bernoulli variables is binomial, re-proving the law of the number of successes. Independent Poissons add: eλ(t−1)eμ(t−1)=e(λ+μ)(t−1), so P(λ)+P(μ)=P(λ+μ) — the convolution computation of Exercise 22.2, now without computation.
Example 23.12(Two dice, one polynomial squared)
For one fair die, G(t)=6t+t2+⋯+t6; for the sum of two,
the triangular law of dice sums (7 is the mode, with probability 366=61), read off a polynomial square that one multiplies out once in a lifetime. The convolution formula would have required eleven separate counting arguments; the generating function does them all simultaneously, because multiplying polynomials is convolving coefficients. This mechanical translation — laws to coefficients, sums to products — is the whole business model of the chapter, and Exercise 23.11 pushes it to the surprising Sicherman dice.
Example 23.13(Three dice and a coefficient extraction)
For the sum S of three fair dice, P(S=10) is the coefficient of t10 in (6t+⋯+t6)3. Factor and expand with the binomial and geometric series:
The coefficient of t10 requires t7 from the product: j=7 with the term 1, and j=1 with the term −3t6:
P(S=10)=2161((29)−3(23))=21636−9=21627=81.
Direct enumeration of the 27 triples is error-prone; the algebra is mechanical and scales to any number of dice — the inclusion–exclusion visible in (1−t6)3 is doing the case analysis automatically.
Example 23.14(Reading a law off its generating function)
Which law has G(t)=2−t1? Expand into a power series:
2−t1=21⋅1−t/21=k≥0∑2k+1tk:
nonnegative coefficients summing to G(1)=1, so this is a genuine law, P(X=k)=2−(k+1) on N — a geometric law starting at 0. By uniqueness (Proposition 23.3), no other law shares this G. Recognizing laws from their generating functions is a skill worth drilling: it is how the critical branching iterate Gn(t)=n+1−ntn−(n−1)t of the weekend problem is unmasked as a geometric law conditioned on survival.
Remark 23.15
Stability goes one way only: sums of independent Poissons are Poisson, but differences are not — X−Y takes negative values, so it has no generating function at all, and its law (the Skellam distribution) lies outside this chapter’s toolkit. Likewise B(m,p)+B(n,p′) with p=p′ is not binomial: the product (1−p+pt)m(1−p′+p′t)n has two distinct root locations, while every binomial pgf has a single repeated root. Reading stability off root patterns is a small preview of how much structure the polynomial encodes.
Remark 23.16(The roots-of-unity filter)
Evaluating at −1 separates even from odd; evaluating at all m-th roots of unity separates every residue class: with ω=e2iπ/m,
P(X≡rmodm)=m1j=0∑m−1ω−jrGX(ωj),
since averaging ωj(k−r) over j yields 1 if k≡r and 0 otherwise. Sample dividend: for the sum S of two fair dice, each G(ωj)=61∑k=16ωjk=−61 for j=0 (the seven seventh roots of unity sum to zero), so
P(7∣S)=71(1+6⋅361)=61,
confirming the count from Example 23.12 — and the method scales to questions where direct counting does not.
Theorem 23.17(Random sums: Wald’s identity for generating functions)
using multiplicativity for each fixed n and the summability of the whole double family (∣GX(t)∣≤1). The exchange of summations is Fubini for summable families (Chapter 7). Differentiating at 1− by the chain rule and Theorem 23.7: E(S)=GN′(GX(1))GX′(1)=GN′(1)GX′(1)=E(N)E(X1). ∎
Example 23.18(Compound Poisson: yearly insurance losses)
An insurer receives N∼P(λ) claims in a year, each claim costing Xk (integer units, i.i.d., pgf GX, mean μ, independent of N). By Theorem 23.17, the total loss S has
GS(t)=eλ(GX(t)−1),E(S)=λμ,
and differentiating twice at 1−:
V(S)=λGX′′(1)+λ2μ2+λμ−(λμ)2=λE(X2).
The variance involves the second moment of a single claim, not its variance: a compound Poisson sum feels the occasional large claim twice — once through how many, once through how big. For λ=10 claims of geometric law with mean 2 (EX2=6): ES=20, V(S)=60, and Chebyshev (Chapter 22) already yields usable solvency margins. This “randomly stopped sum” pattern is the same one that will drive the branching recursion of Proposition 23.23: composition of generating functions is the algebra of random populations.
Remark 23.19
The independence of N from the summands is not decorative. Take Xk∈{0,2} with equal probabilities and let N=X1 (flagrantly dependent): then S=X1+⋯+XN is 0 when X1=0, and 2+X2 when X1=2, so E(S)=21(2+1)=23, while E(N)E(X1)=1⋅1=1: Wald’s identity fails. When the number of terms is allowed to react to the terms themselves, the clean product structure collapses — the full theory of such “stopping” rules is the martingale chapter of the Year 3 volume.
23.3 Poisson approximation
Theorem 23.20(Law of rare events)
Let Xn∼B(n,pn) with npn→λ>0. Then for every k∈N:
As n→∞ with k fixed: the first factor tends to 1 (product of k factors →1); λnk→λk; and (1−nλn)n−k=exp((n−k)ln(1−nλn))→e−λ since (n−k)ln(1−nλn)∼−λn→−λ (Chapter 6). Alternatively, at the level of generating functions: GXn(t)=(1+nλn(t−1))n→eλ(t−1)=GP(λ)(t) for each fixed t∈[0,1] — convergence of generating functions, which (for N-valued variables) is equivalent to convergence of each P(Xn=k); see Exercise 23.9. ∎
Remark 23.21
This is why Poisson laws model counts of rare events — typos per page, radioactive decays per second, accidents per day at a crossing: each opportunity is nearly negligible, opportunities are many, and only the mean rate λ survives in the limit.
Example 23.22(Watching the Poisson limit converge)
Fix λ=2 and let Xn∼B(n,2/n). The no-event probability is exactly P(Xn=0)=(1−2/n)n:
n=10:0.107,n=20:0.122,n=50:0.130,n=100:0.133,
against the limit e−2≈0.135. The convergence is monotone and of speed O(1/n) — expanding, (1−2/n)n=e−2(1−n2+O(n−2)) — so for n in the hundreds the Poisson model is already accurate to the third digit. This is the practical content of the law of rare events: the modeller never knows n and p separately (how many micro-opportunities for a typo does a page hold?), but only their product λ, and the limit law mercifully depends on nothing else.
23.4 Branching processes
Consider a population starting from one ancestor; each individual, independently, has a random number of children with law(pk)k∈N and generating functionG (the offspring distribution). Let Zn be the size of generation n (Z0=1), and let m=G′(1)=E(Z1) be the mean offspring number.
Proposition 23.23
The generating function of Zn is the n-th iterate GZn=G∘G∘⋯∘G (n times), and the extinction probabilities qn=P(Zn=0) satisfy
q0=0,qn+1=G(qn),
and increase to the probability q of eventual extinction, which is a fixed point of G.
Proof. Generation n+1 is the random sum of the offspring of the Zn members of generation n, with counts independent of each other and of Zn: Theorem 23.17 gives GZn+1=GZn∘G, and induction from GZ0(t)=t yields the n-fold iterate — which, by associativity of composition, can equally be read as GZn+1=G∘GZn. Evaluating this second form at 0: qn+1=GZn+1(0)=G(GZn(0))=G(qn). The events{Zn=0} increase (extinct populations stay extinct), so qn↑q=P(⋃n{Zn=0}) by monotone continuity (Theorem 21.6), and continuity of G on [0,1] turns qn+1=G(qn) into q=G(q) at the limit. ∎
Example 23.24(Watching extinction converge)
For the offspring law(p0,p1,p2)=(41,41,21) of Example 23.27, G(t)=41+41t+21t2 and the iteration qn+1=G(qn) gives
climbing toward the extinction probability q=21. The gaps q−qn are 0.25, 0.156, 0.105, 0.073, 0.052: each is roughly 43 of the previous, and indeed the mean value theorem gives q−qn+1=G′(cn)(q−qn) with G′(q)=41+q=43. Two morals: a family line still alive at generation n has, built into the same computation, probability q−qn of being doomed later; and the convergence rate of the staircase in the figure below is the derivative at the fixed point — the weekend problem turns both observations into theorems.
Theorem 23.25(Extinction criterion)
Assume p1=1. The extinction probability q is the smallest fixed point of G in [0,1], and:
if m≤1 (subcritical or critical), q=1: extinction is certain;
if m>1 (supercritical), q<1: the population survives forever with positive probability 1−q.
Proof.G is convex on [0,1] (power series with nonnegative coefficients: G′′≥0), nondecreasing, with G(1)=1.
Smallest fixed point: let r∈[0,1] be any fixed point. Then q0=0≤r, and inductively qn+1=G(qn)≤G(r)=r (monotonicity): so q=limqn≤r.
Case m≤1: suppose r<1 is a fixed point. By the mean value theorem on [r,1], there is c∈(r,1) with G′(c)=1−rG(1)−G(r)=1−r1−r=1. But G′ is nondecreasing (convexity) with limt→1−G′(t)=m≤1, so G′≤1 on (0,1); the equality G′(c)=1 then forces G′ to be constant equal to 1 on [c,1), hence G′′=∑n(n−1)pntn−2≡0 there. A power series with nonnegative coefficients vanishing on an interval has all these coefficients zero: pn=0 for n≥2, so G(t)=p0+p1t and 1=G′(c)=p1 — contradicting the hypothesis p1=1. So 1 is the only fixed point: q=1.
Case m>1: near 1, G(t)−t has derivative G′(t)−1→m−1>0 as t→1−, so G(t)−t<G(1)−1=0 on some interval (1−δ,1): the continuous function G(t)−t is ≥0 at t=0 (G(0)=p0≥0) and <0 just below 1, so it vanishes at some r<1 (intermediate value theorem). The smallest fixed point is then q≤r<1. ∎
Figure 23.1. Extinction probabilities as a fixed-point iteration qn+1=G(qn) starting at q0=0 (red staircase). Left: a subcritical offspring law — the convex curve stays above the diagonal, the iteration climbs to the unique fixed point 1. Right: a supercritical law — the curve crosses the diagonal at q<1, where the iteration stops: survival has probability 1−q>0.
Remark 23.26(How to read the cobweb)
In the figure, a vertical move applies G (from (qn,qn) up to (qn,G(qn))), a horizontal move to the diagonal converts output into input: the staircase is the recursion qn+1=G(qn). Convexity of G and G(1)=1 leave only two geometries. Either the curve stays above the diagonal on [0,1) (mean m≤1): the staircase has nowhere to stop before 1. Or the curve crosses at some q<1 (m>1): the staircase is trapped below the crossing and converges to it, at the geometric rate G′(q)<1 quantified in Example 23.24. All the analysis of the extinction theorem is visible in this one picture — which is why it is worth drawing before computing.
Example 23.27
Offspring law: no child, one child, two children with probabilities 41,41,21. Then m=41+1=45>1 and G(t)=41+41t+21t2. Fixed points: 21t2−43t+41=0, i.e. 2t2−3t+1=(2t−1)(t−1)=0: q=21. The family line dies out with probability 21 — and with probability 21 it lives forever.
Remark 23.28(Perspectives within this volume)
The chapter is the book’s crossroads, and each ingredient arrived from a named place: the series algebra from Chapter 7 and Chapter 11, the probability from Chapter 21 (monotone continuity proves qn↑q) and Chapter 22 (GX=E(tX) is an expectation, multiplicativity is the product theorem), the convexity from Chapter 8 through Chapter 17. Even the heavy-tail pathologies connect: the St Petersburg variable of the previous chapter has G(t)=∑k2−kt2k, a perfectly convergent series on [0,1] whose derivative at 1− diverges — infinite mean, visible at a glance. One object, every tool of the year: a fitting last chapter.
Remark 23.29(Common pitfalls)
(i) Generating functions apply to N-valued variables only: for signed or non-integer variables the object E(tX) loses its power-series structure (Year 3 replaces it with transforms adapted to R). (ii) The first sanity check of any computed G is G(1)=1; the second is that the coefficients are nonnegative — a negative coefficient means an algebra slip, not a new law. (iii) In random sums, the composition order matters: GS=GN∘GX, the outer function counting the terms; composing the other way is meaningless (GX∘GN would count items of items). (iv) Multiplicativity needs independence and distinct sources of randomness: G2X(t)=GX(t2), not GX(t)2. (v) Differentiating at 1 is a boundary operation: when the radius is exactly 1, as in Example 23.6, G′(1−) may be infinite, and the moments theorem’s monotone-limit formulation is not a pedantic nicety but the honest statement.
Closing the volume
The generating function is a fitting final object for this book: it is simultaneously a power series (Chapter 11), a tool of summable families (Chapter 7), an expectation (Chapter 22), a convex function whose geometry decides extinction (Chapter 8), and a fixed-point iteration (Chapter 4). The mathematics of Year 2 is one subject. The Year 3 volume will open the doors deliberately left closed here: Lebesgue integration (discharging the dominated convergence theorem of Chapter 9), measure-theoretic probability on uncountable spaces, and the inverse function theorem’s full proof (Chapter 15) in the setting of differential geometry.
23.5 Exercises
Exercise 23.1★
Compute the generating function of the uniform law on {1,2,…,6} (a fair die). Show that the sum of two fair dice cannot be uniform on {2,…,12}: factor GX+Y and count roots. (A uniform sum would force GX(t)GY(t)=11t2∑k=010tk, whose nonzero roots are the 11-th roots of unity other than 1 — none of them real — while GX/t and GY/t are real polynomials of degree 5, each owning at least one real root.)
Solution
Solution of Exercise 23.1.
Fair die: G(t)=61(t+t2+⋯+t6)=6t(1+t+⋯+t5). If the sum of two fair dice were uniform on {2,…,12}, then
G(t)2=36t2h(t)2=11t2k=0∑10tk,h(t)=1+t+⋯+t5.
Now h is a real polynomial of odd degree 5, so it has a real root (intermediate value theorem; concretely h(−1)=0), hence h2 has a real root. But ∑k=010tk has none: it is positive for t≥0, and for t<0 it equals t−1t11−1, a quotient of two negative numbers. Contradiction — the sum of two fair dice is never uniform (as the familiar triangular distribution of dice sums confirms).
Two loaded dice: is it possible to load two dice (independently, identically or not) so that their sum is uniform on {2,…,12}? (Same factorization obstruction as in Exercise 23.1: the answer is no even with different loadings, because each factor GX(t)/t has odd degree 5, hence a real root, while the target has none.)
Solution
Solution of Exercise 23.3.
No, even with different loadings. Suppose X,Y are laws on {1,…,6} with uniform sum. Then GX(t)=ta(t) and GY(t)=tb(t) with a,b real polynomials of degree at most5 — and their degrees must sum to 10 (the sum reaches 12 with positive probability), so dega=degb=5, both odd. As in Exercise 23.1,
a(t)b(t)=111k=0∑10tk
would force a real root on the left (each odd-degree real polynomial has one) and none on the right. So no loading of two independent dice — equal or not — produces a uniform sum.
Exercise 23.4★★
Let X1,X2,… be independent Bernoulli B(p) and N∼P(λ)independent of them. Show, via Theorem 23.17, that S=X1+⋯+XN∼P(λp): a Poisson number of items, each kept with probability p, leaves a Poisson number — thinning. Compute also the law of the discarded count and admire: it is P(λ(1−p)), and one can show it is independent of S.
Solution
Solution of Exercise 23.4.
By Theorem 23.17 with GN(s)=eλ(s−1) and GX(t)=1−p+pt:
GS(t)=eλ(1−p+pt−1)=eλp(t−1):
S∼P(λp). The discarded count D=N−S counts the same items kept with probability 1−p, so by the same computation D∼P(λ(1−p)). Independence, directly: for j,k∈N,
with q=1−p: the joint law factors as P(λp)⊗P(λq). A Poisson flow split at random yields independent Poisson flows — a small miracle constantly used in queueing theory.
Exercise 23.5★★
(Negative binomial) Let Tr be the number of tosses to obtain r heads (head probability p). Write Tr as a sum of rindependent geometric variables, deduce
and expand GTr to find P(Tr=n)=(r−1n−1)pr(1−p)n−r.
Solution
Solution of Exercise 23.5.
The waiting times between consecutive heads are independent geometric G(p) variables (memorylessness: after each head the game restarts), so Tr=W1+⋯+Wr and multiplicativity (Theorem 23.10) gives
(q=1−p; variances add by independence). Expansion: by the generalized binomial series (Chapter 11), (1−qt)−r=∑m≥0(r−1m+r−1)qmtm, so the coefficient of tn in prtr(1−qt)−r is (with m=n−r)
P(Tr=n)=(r−1n−1)pr(1−p)n−r,n≥r,
the negative binomiallaw — combinatorially: the r-th head falls at toss n iff the previous r−1 heads choose their places among the first n−1 tosses.
Exercise 23.6★★
For the offspring lawp0=81, p1=83, p2=83, p3=81: compute m, decide supercriticality, and compute the extinction probability q exactly. (Factor out the root t=1 of G(t)−t.)
Solution
Solution of Exercise 23.6.
m=1⋅83+2⋅83+3⋅81=83+6+3=23>1: supercritical. The generating function is
G(t)=81+3t+3t2+t3=8(1+t)3,
so fixed points solve (1+t)3=8t, i.e. t3+3t2−5t+1=0. Factoring out the guaranteed root t=1:
t3+3t2−5t+1=(t−1)(t2+4t−1),
and t2+4t−1=0 gives t=−2±5. The root in [0,1) is 5−2≈0.236: by Theorem 23.25,
q=5−2.
(A pleasant check: the offspring law is that of 3independent fair coins, Z1∼B(3,21).)
Exercise 23.7★★★
(Total progeny) In a subcritical branching process (m<1), let Y=∑n≥0Zn be the total number of individuals ever born. Show E(Y)=∑nmn=1−m1 (justify the exchange of summations), and prove that the generating functionH=GY satisfies the functional equation H(t)=tG(H(t)). (The ancestor, plus the total progenies of each of its children, which are independent copies of Y.)
Solution
Solution of Exercise 23.7.
Expectation. First E(Zn)=mn: by Theorem 23.17, E(Zn+1)=E(Zn)m, and E(Z0)=1. The family (Zn(ω)P({ω}))n,ω is nonnegative, so Fubini for families applies unconditionally:
E(Y)=n=0∑∞E(Zn)=n=0∑∞mn=1−m1<∞
(in particular Y is almost surely finite: consistent with certain extinction in the subcritical case).
Functional equation. Decompose the population by the ancestor’s children: if the ancestor has Z1=k children, the total progeny is Y=1+Y1+⋯+Yk, where Yi is the total progeny of the i-th child’s line — and the Yi are independent copies of Y, independent of Z1 (distinct lines use disjoint, independent reproduction events). Conditioning on Z1 as in Theorem 23.17:
H(t)=E(tY)=tk=0∑∞P(Z1=k)H(t)k=tG(H(t)),
the factor t accounting for the ancestor itself. (For the lawp0=1−p, p2=p of binary branching, this quadratic equation in H can be solved explicitly and expanded — the Catalan numbers of Chapter 11 count the family trees.)
Exercise 23.8★★★
Let X have generating functionG with radius of convergence>1. Prove the exponential tail bound: there are C>0 and ρ∈(0,1) with P(X≥n)≤Cρn. (Markov applied to tX for a fixed t>1 inside the disk.) Conversely, show that if P(X≥n)≤Cρn with ρ<1, the radius of G is ≥1/ρ>1.
Solution
Solution of Exercise 23.8.
Let R>1 be the radius and fix t∈(1,R). Then E(tX)=G(t)<∞, and Markov’s inequality (Theorem 22.15) applied to the nonnegative variable tX at level tn:
P(X≥n)=P(tX≥tn)≤tnG(t)=Cρn,C=G(t),ρ=t1∈(0,1).
Converse: if P(X≥n)≤Cρn, then pn≤P(X≥n)≤Cρn, so for ∣t∣<ρ1 the series ∑pn∣t∣n is dominated by the convergent geometric series C∑(ρ∣t∣)n: the radius is at least ρ1>1. Radius of the generating function and geometric decay of the tail are two faces of the same property.
Exercise 23.9★★★
(Continuity theorem, elementary case) Let X,X1,X2,… be N-valued with GXn(t)→GX(t) for every t∈[0,1). Show that P(Xn=k)→P(X=k) for every k. (Induction on k: for k=0 take t→0 — carefully: fix t small, use ∣P(Xn=0)−GXn(t)∣≤1−tt, valid since the tail ∑j≥1pjtj≤1−tt; then diagonalize. For the induction step, consider tG(t)−P(X=0), the generating function of a shifted law.)
Solution
Solution of Exercise 23.9.
Write pk(n)=P(Xn=k), pk=P(X=k).
Case k=0. For t∈(0,1) and any law(qj) with ∑jqj≤1:
q0−j∑qjtj=j≥1∑qjtj≤j≥1∑tj=1−tt.
Hence
p0(n)−p0≤1−t2t+∣GXn(t)−GX(t)∣.
Given ε>0, choose t with 1−t2t<2ε, then n0 such that the last term is <2ε for n≥n0: so p0(n)→p0.
Induction step. Assume pj(n)→pj for j<k. Consider the shifted functions
generating functions of the sub-probability sequences (pj+1(n))j (total mass ≤1, which is all the k=0 argument used). For fixed t∈(0,1), gn(t)→g(t) by hypothesis and the case k=0. Applying the k=0 argument to gn gives p1(n)→p1; iterating the shift k times gives pk(n)→pk for every k. (This is the discrete, elementary instance of Lévy’s continuity theorem, whose general form — for characteristic functions — is a Year 3 landmark.)
Exercise 23.10★
(Parity trick) Show that for an N-valued variable X,
P(X even)=21+GX(−1),
and compute this probability for X∼P(λ) and X∼B(n,p). What does GX(−1)→0 mean probabilistically?
Solution
Solution of Exercise 23.10.
Pointwise, 21+(−1)X equals 1 when X is even and 0 when odd, so taking expectations (transfer),
P(X even)=21+E((−1)X)=21+GX(−1).
Poisson: 21+e−2λ→21 as λ grows. Binomial: 21+(1−2p)n. In both cases GX(−1)→0 says the parity of X becomes a fair coin: the law spreads over many integers and forgets its parity.
Exercise 23.11★★
(Sicherman dice) Verify the factorization of the fair-die generating function
6t+t2+⋯+t6=6t(1+t)(1+t+t2)(1−t+t2),
and show that the two dice with faces {1,2,2,3,3,4} and {1,3,4,5,6,8} have generating functions6t(1+t)(1+t+t2) and 6t(1+t)(1+t+t2)(1−t+t2)2, whose product is that of two standard dice: these exotic dice produce every total 2,…,12 with exactly the standard probabilities.
Solution
Solution of Exercise 23.11.
t+⋯+t6=t1−t1−t6 and 1−t6=(1−t)(1+t)(1+t+t2)(1−t+t2), giving the stated factorization. For the first die, (1+t)(1+t+t2)=1+2t+2t2+t3, so 6t(1+t)(1+t+t2)=6t+2t2+2t3+t4: faces {1,2,2,3,3,4}. For the second, expanding
(1+2t+2t2+t3)(1−t+t2)2=1+t2+t3+t4+t5+t7,
so 6t(1+t)(1+t+t2)(1−t+t2)2=6t+t3+t4+t5+t6+t8: faces {1,3,4,5,6,8}. The product of the two generating functions regroups the six factors into (6t(1+t)(1+t+t2)(1−t+t2))2, the square of the standard die’s function: the Sicherman pair has exactly the standard law for the total — generating functions classify all such regroupings.
Exercise 23.12★★★
(Waiting for two heads in a row) A coin with head probability p is tossed until two consecutive heads appear; let T be the number of tosses (the game of Exercise 21.6). Conditioning on the first tosses, derive a linear system for the generating functions from the states “no current head” and “one current head”, and conclude
GT(t)=1−qt−pqt2p2t2(q=1−p);
check GT(1)=1 and E(T)=p21+p (=6 for a fair coin).
Solution
Solution of Exercise 23.12.
Let A and B be the generating functions of the remaining duration started from “no current head” and “one current head”. One toss is spent, then: from state 0, tails returns to state 0, heads moves to state 1; from state 1, heads ends the game, tails returns to state 0:
A(t)=t(qA(t)+pB(t)),B(t)=t(p+qA(t)).
Substituting: A(1−qt)=ptB=pt(pt+qtA), so
GT(t)=A(t)=1−qt−pqt2p2t2.
At t=1 the denominator is 1−q−pq=p(1−q)=p2: GT(1)=1, the game ends almost surely (as Exercise 21.6 showed by recursion). Logarithmic differentiation at 1: E(T)=2−D(1)D′(1) with D(t)=1−qt−pqt2, D′(1)=−q−2pq:
E(T)=2+p2q+2pq=p22p2+q+2pq=p21+p,
which is 6 for p=21.
23.6 Problem: the Galton–Watson process, solved
Problem 23.1
Weekend problem — growth rates, exact solutions, total progeny, and Kolmogorov’s critical estimate
The extinction criterion (Theorem 23.25) splits branching processes into subcritical, critical and supercritical — but it says nothing about rates: how fast a doomed line dies, how big a surviving one grows. This problem computes them. We keep the chapter’s notation: offspring law(pk) with pgf G, mean m=G′(1), generation sizes Zn (Z0=1), iterates Gn=GZn, extinction probabilities qn=P(Zn=0)↑q; we always assume p1=1 and, where second moments appear, G′′(1)<∞, and we write σ2=V(Z1).
Part I — Moments of the generations.
Show E(Zn)=mn(chain rule on Gn=G∘Gn−1 at 1−, using Gn−1(1)=1 and Theorem 23.7).
Establish the recursion Gn′′(1)=G′′(1)m2(n−1)+mGn−1′′(1) and solve it: Gn′′(1)=G′′(1)mn−1m−1mn−1 for m=1, and Gn′′(1)=nG′′(1) for m=1.
Deduce
V(Zn)=σ2mn−1m−1mn−1(m=1),V(Zn)=nσ2(m=1).
(Subcritical rate, upper bound) For m<1, show P(Zn>0)≤mn(Markov on the integer-valued Zn): extinction is certain with a geometric rate — a quantitative refinement of the chapter’s criterion.
(Subcritical rate, lower bound) Using Cauchy–Schwarz on Zn1Zn>0, show
Part II — The geometric family, solved exactly. Let the offspring law be geometric on N: pk=qpk (k≥0), with 0<p<1, q=1−p.
Compute G(t)=1−ptq and m=qp; locate the three regimes in terms of p.
Solve G(t)=t: show the fixed points are 1 and q/p=1/m, and recover the extinction probability qext=min(1,1/m).
Prove by induction the closed forms
qn=mn+1−1mn−1(m=1),qn=n+1n(m=1).
Deduce the exact rates: 1−qn∼(1−m)mn in the subcritical case, and qext−qn∼m2m−1⋅m−n in the supercritical case; check that the supercritical contraction ratio is G′(qext)=1/m.
Critical case (p=21): compute σ2=2 and note 1−qn=n+11: survival decays like n1 — neither geometric nor summable.
Still critical: prove by induction the full iterate
Gn(t)=n+1−ntn−(n−1)t,
and deduce that conditioned on survival, Zn is geometric on N∗ with parameter n+11:
P(Zn=k∣Zn>0)=n+11(n+1n)k−1,E(Zn∣Zn>0)=n+1.
The average line dies, but the surviving lines have size of order n.
Part III — Total progeny. Let Y=∑n≥0Zn∈N∗∪{∞} be the total number of individuals ever born, and H(t)=∑k≥1P(Y=k)tk.
Justify P(Y<∞)=qext, and recall from Exercise 23.7 the functional equation H(t)=tG(H(t)) (whose derivation did not use m<1).
(Binary branching) For p0=p2=21 (critical), solve the functional equation:
check the values P(Y=1)=21 and P(Y=3)=81 by direct counting.
Differentiating the functional equation at 1−, show that E(Y)=1−m1 for m<1, while criticality forces E(Y)=∞: the critical total progeny is finite almost surely with infinite mean.
With the central binomial asymptotics (Example 6.14), show
P(Y=2k+1)∼2πk3/21,
a heavy k−3/2 tail, and deduce P(Y>n)≍n−1/2 (upper and lower bounds of this order suffice).
Compare with the fair random walk (the weekend problem of Chapter 21): certain but infinite-mean return times there, certain but infinite-mean total progeny here, both with n−3/2 local laws. One paragraph on why criticality produces this signature.
Part IV — Kolmogorov’s estimate at criticality. Assume m=1, 0<σ2=G′′(1)<∞.
Show that G′′ extends continuously to [0,1](nonnegative increasing with finite limit) and deduce the Taylor expansion at 1:
G(t)=t+b(1−t)2+o((1−t)2),b=2G′′(1)=2σ2.
For t∈[0,1), set h(t)=1−G(t)1−1−t1. Show
h(t)=(1−G(t))(1−t)G(t)−tt→1−b.
Telescope along the iteration qj+1=G(qj):
1−qn1=1+j=0∑n−1h(qj),
and conclude with a Cesaro argument that
P(Zn>0)=1−qn∼σ2n2
— Kolmogorov’s estimate: every critical branching process dies at the universal rate 1/n, with only the constant remembering the offspring law.
Check the estimate against the critical geometric case of question 10.
Deduce E(Zn∣Zn>0)=1−qn1∼2σ2n(note E(Zn1Zn>0)=E(Zn)=1), and check it against question 11: conditioned on survival, the population grows linearly — the critical tightrope between death and explosion.
Part V — Applications and synthesis.
(Epidemics, chain reactions) For a Poisson offspring lawP(λ) — each case infects P(λ) new cases — write the extinction equation q=eλ(q−1) and solve it numerically for λ=1.5 (q≈0.417) and λ=2 (q≈0.203): starting from one case, a major outbreak is not certain even when λ>1. Explain why the iteration qn+1=eλ(qn−1) from q0=0 converges to the right root.
Starting from k ancestors instead of one, show that the extinction probability is qk. Application: with λ=1.5, how many initial cases make an outbreak at least 99% likely?
(Conditioning a supercritical process on extinction) For m>1 with extinction probability q∈(0,1): first prove by convexity that G′(q)<1 at the smallest fixed point, and deduce qext−qn=O(G′(q)n) (geometric convergence, as question 9 exemplified). Then show that G(t)=G(qt)/q is the pgf of a bona fide offspring law, with mean m=G′(q)<1: a subcritical companion process. Verify on the geometric family: conditioning the supercritical (p,q)-process on extinction swaps p and q. (The full statement — the conditioned process is the companion process — is proved in the Year 3 volume; here you have verified its generating-function shadow.)
Synthesis: draw up the trichotomy table — for m<1, m=1, m>1: value of q; rate of P(Zn>0) or of q−qn; E(Y); size of a surviving generation. State in one sentence per tool how composition of pgfs, convexity, Taylor at 1−, and Cesaro averaging carried the whole problem, and what the Year 3 volume adds (the martingale Zn/mn and Yaglom’s exponential limit law).
Solution
Solution of Problem 23.1.
1. For t∈(0,1), the chain rule on Gn=G∘Gn−1 gives Gn′(t)=G′(Gn−1(t))Gn−1′(t). As t→1−, Gn−1(t)↑1, and G′ is nondecreasing with left limit m at 1, so the first factor tends to m; by induction the second tends to mn−1. By Theorem 23.7, E(Zn)=Gn′(1−)=mn.
2. Differentiating once more,
Gn′′=G′′(Gn−1)(Gn−1′)2+G′(Gn−1)Gn−1′′,
and letting t→1−: an=G′′(1)m2(n−1)+man−1 with an=Gn′′(1), a1=G′′(1). For m=1 one checks by induction that an=G′′(1)mn−1m−1mn−1 (the recursion adds G′′(1)m2n−2 to m⋅G′′(1)mn−2m−1mn−1−1, and mn−1+m−1mn−1−1=m−1mn−1); for m=1, an=an−1+G′′(1)=nG′′(1).
3.V(Zn)=an+mn−m2n and G′′(1)=σ2+m2−m. For m=1, the piece (m2−m)mn−1m−1mn−1=mn(mn−1) cancels mn−m2n exactly, leaving V(Zn)=σ2mn−1m−1mn−1. For m=1: V(Zn)=nG′′(1)=nσ2.
4.Zn is a nonnegative integer variable, so P(Zn>0)=P(Zn≥1)≤E(Zn)=mn by Markov (Theorem 22.15). For m<1 this decays geometrically — and summably, so Borel–Cantelli even gives that only finitely many generations are nonempty, which is extinction again.
5. Cauchy–Schwarz: E(Zn)2=E(Zn1Zn>0)2≤E(Zn2)P(Zn>0). With question 3 and m<1:
E(Zn2)=V(Zn)+m2n≤1−mσ2mn−1+m2n,
so, dividing m2n by this bound and simplifying by mn,
P(Zn>0)≥m(1−m)σ2+mnmn≥(m(1−m)σ2+1)−1mn,
using mn≤1 in the denominator. With question 4: P(Zn>0)≍mn.
6.G(t)=q∑k(pt)k=1−ptq, and m=G′(1)=(1−p)2pq=qp. Subcritical for p<21, critical for p=21, supercritical for p>21.
7.G(t)=t reads pt2−t+q=0, with roots 2p1±∣p−q∣, i.e. 1 and pq=m1. The extinction probability is the smallest fixed point in [0,1] (Theorem 23.25): qext=1 if m≤1, and m1 if m>1.
8. For m=1, with p=m+1m, q=m+11: if qn=mn+1−1mn−1, then
And G′(t)=(1−pt)2pq evaluated at t=pq (where 1−pt=1−q=p) gives G′(qext)=pq=m1: the observed ratio m−1 is exactly the derivative at the attracting fixed point.
10. For p=21: G′′(t)=(1−t/2)31/4, so G′′(1)=2 and σ2=G′′(1)+m−m2=2. The closed form gives 1−qn=n+11: the survival probability decays like 1/n — too slowly to be summable, unlike any subcritical rate.
11. Induction: G1(t)=2−t1 matches the formula for n=1, and
the pgf of the geometric lawG(n+11) on N∗ (Example 23.4): given survival, P(Zn=k∣Zn>0)=n+11(n+1n)k−1, with conditional mean n+1. The unconditional mean 1=E(Zn) is the product of a vanishing survival probability and a linearly growing conditional size.
12. If the line goes extinct at generation n, then Y=Z0+⋯+Zn−1 is finite; if it never goes extinct, Y≥∑n1=∞. So {Y<∞} is the extinction event and P(Y<∞)=qext. The derivation of H(t)=tG(H(t)) in Exercise 23.7 — the ancestor contributes the factor t, its children found independent copies of Y counted through G — used only Theorem 23.17, valid in every regime.
13. With G(s)=21+s2 the equation reads tH2−2H+t=0, so H=t1−1−t2 (the root with H(0)=0). Comparing with the Catalan series C(x)=2x1−1−4x (Example 11.21): H(t)=2tC(4t2)=∑k≥0Ck22k+1t2k+1, i.e. P(Y=2k+1)=Ck2−2k−1. Checks: P(Y=1)=C0/2=21 (the ancestor has no child); P(Y=3)=C1/8=81 (two children, both childless: 21⋅21⋅21).
14. Differentiating H=tG(H) on (0,1) and letting t→1− (monotone limits as in Theorem 23.7): H′(1)(1−G′(H(1)))=G(H(1)). In the subcritical case H(1)=1 and E(Y)=H′(1)=1−m1. In the critical case G′(1)=1 makes the left factor vanish while the right side is 1: no finite H′(1) can exist, so E(Y)=∞ — yet P(Y<∞)=q=1.
Summing the tail (comparison with ∫K∞k−3/2dk=2K−1/2, above and below): P(Y>2K)≍K−1/2, i.e. P(Y>n)≍n−1/2 — a heavy tail with infinite mean, quantifying question 14.
16. Both critical objects — the fair walk’s return time (the weekend problem of Chapter 21) and the critical total progeny — are almost surely finite with infinite mean, with local laws of exponent −3/2 and tails of exponent −1/2. This is no coincidence: exploring a family tree child by child produces a ±1 path (one step up per birth, one down per death) which is exactly a fair walk, and Y becomes a first passage time. Criticality means zero drift: the process is always on the verge of both extinction and explosion, and the -scale fluctuations of zero-drift randomness produce precisely these exponents.
17.G′′(t)=∑n≥2n(n−1)pntn−2 has nonnegative terms, so it is nondecreasing on [0,1) with finite limit G′′(1)=σ2 (criticality makes EZ1(Z1−1)=σ2); a nondecreasing function with limit equal to the boundary value is continuous at 1. Taylor with integral remainder at the point 1:
18. Reducing to a common denominator, h(t)=(1−G(t))(1−t)G(t)−t. By question 17 the numerator is b(1−t)2+o((1−t)2) and 1−G(t)=(1−t)(1−b(1−t)+o(1−t)), so h(t)→b.
19. By definition of h at t=qj and G(qj)=qj+1: 1−qj+11−1−qj1=h(qj); summing from j=0 (q0=0) gives the display. Since the critical process dies out, qj↑1, so h(qj)→b and the Cesaro mean n1∑j<nh(qj)→b: 1−qn1∼bn, i.e.
P(Zn>0)∼bn1=σ2n2.
20. Geometric critical case: σ2=2 (question 10), so Kolmogorov predicts 1−qn∼n1 — and the exact value is n+11.
21. Since Zn1Zn>0=Zn, E(Zn∣Zn>0)=P(Zn>0)E(Zn)=1−qn1∼2σ2n. In the geometric case this is n+1, matching question 11 exactly (σ2=2). The critical picture: extinction is certain, the mean size is frozen at 1, and the rare surviving lines have size growing linearly — each factor balancing the other.
22. For P(λ) offspring, G(t)=eλ(t−1) and the extinction probability is the smallest root of q=eλ(q−1). Numerically: λ=1.5 gives q≈0.417 (iterate q↦e1.5(q−1): 0,0.223,0.312,0.356,⋯→0.4172); λ=2 gives q≈0.203. So one index case sparks a major outbreak with probability 58% (λ=1.5) or 80% (λ=2) — likely, not certain. The iteration from q0=0 converges to the smallest root because G is nondecreasing: by induction qn≤r for any fixed point r, and (qn) increases (it is P(Zn=0)), so its limit is a fixed point below all others.
23. The k ancestors found independent family trees, and total extinction is the intersection of kindependent extinction events: probability qk. For λ=1.5: outbreak probability 1−qk≥0.99 requires qk≤0.01, i.e. k≥ln0.417ln0.01≈5.3: six initial cases make the outbreak 99% certain.
24.G′(q)<1:G−id is convex and vanishes at q and 1, so it is ≤0 on [q,1]; if G′(q)=1, the tangent at q (which convexity places below G) would force G(t)≥t on [q,1], hence G≡id there, killing all coefficients pn (n≥2) and contradicting m>1. Geometric convergence:qn<q for all n (induction, G increasing), and the mean value theorem gives q−qn+1=G′(cn)(q−qn) with cn∈(qn,q), so G′(cn)≤G′(q)<1 and q−qn≤qG′(q)n. Companion process:G(t)=G(qt)/q=∑kpkqk−1tk has nonnegative coefficients and G(1)=G(q)/q=1: a pgf; its mean is G′(1)=G′(q)<1: subcritical. Geometric family: G(t)=1−ptq, qext=pq, and
G(t)=qp⋅1−ppqtq=1−qtp:
the geometric offspring law with p and q exchanged — the supercritical process seen on its extinction event is the mirror subcritical one.
25. The table: m<1: q=1, P(Zn>0)≍mn (questions 4–5), E(Y)=1−m1, surviving generations of bounded conditional mean. m=1: q=1, P(Zn>0)∼σ2n2 (Kolmogorov), E(Y)=∞ with P(Y>n)≍n−1/2, survivors of size ∼2σ2n. m>1: q<1 is the smallest fixed point, q−qn=O(G′(q)n), E(Zn)=mn growth, and conditioned on dying the process is the subcritical companion (question 24). The tools: composition of pgfs turned population recursion into function iteration; convexity fixed the geometry of the fixed points; Taylor at 1− converted moment hypotheses into local expansions; and Cesaro averaging extracted Kolmogorov’s 1/n from a telescoping sum. The Year 3 volume adds the martingale Zn/mn — whose almost-sure limit refines E(Zn)=mn into a trajectory-by-trajectory growth rate — and Yaglom’s theorem, the limit law behind the conditional geometry observed in question 11.