Mathematics · Book 4 · Bachelor Year 2

University Mathematics — Year 2

University Mathematics — Year 2 · Bachelor Year 2

23Probability Generating Functions

The power series of Chapter 11 return with a probabilistic mission: to an N\N-valued random variable we attach the power series with coefficients P(X=n)\P(X = n). This generating function converts sums of independent variables into products, moments into derivatives at 11, 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 XX be an N\N-valued random variable, pn=P(X=n)p_n = \P(X = n). The probability generating function of XX is the sum of the power series

GX(t)=E(tX)=n=0pntn.G_X(t) = \E\bigl(t^X\bigr) = \sum_{n=0}^{\infty} p_n\,t^n .

Example 23.2 (First reflexes)

A constant variable X=cX = c has GX(t)=tcG_X(t) = t^c; a shift obeys GX+c(t)=tcGX(t)G_{X+c}(t) = t^c\,G_X(t); and evaluating at special points reads off information without any expansion: GX(0)=P(X=0)G_X(0) = \P(X = 0), GX(1)=1G_X(1) = 1, and GX(1)=P(X even)P(X odd)G_X(-1) = \P(X\text{ even}) - \P(X\text{ odd}), the parity balance exploited in Exercise 23.10. These one-liners are used silently everywhere below — and the evaluation GX(0)G_X(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 GXG_X has radius of convergence 1\geq 1; GXG_X is defined and continuous on [1,1]\intcc{-1}{1}, C\mathcal{C}^\infty on (1,1)\intoo{-1}{1}, with GX(1)=1G_X(1) = 1 and GX(t)1\abs{G_X(t)} \leq 1 there. Moreover GXG_X determines the law of XX:

pn=GX(n)(0)n!.p_n = \frac{G_X^{(n)}(0)}{n!} .

Proof. Since pn=1\sum p_n = 1 converges, the terms pn1np_n\,1^n are bounded, so the radius is 1\geq 1 (Abel’s lemma, Chapter 11); at t=±1t = \pm1 the series converges absolutely (pn=1\sum p_n = 1 dominates); better, on the whole interval [1,1]\intcc{-1}1,

supt1pntn=pnwithnpn<:\sup_{\abs t\leq1}\,\abs{p_nt^n} = p_n \quad\text{with}\quad \sum_np_n < \infty :

the series converges normally on [1,1]\intcc{-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.

Example 23.4 (The classical laws)

  • Bernoulli B(p)\mathcal{B}(p): G(t)=1p+ptG(t) = 1 - p + pt.
  • Binomial B(n,p)\mathcal{B}(n, p): G(t)=k(nk)(pt)k(1p)nk=(1p+pt)nG(t) = \sum_k \binom nk (pt)^k(1-p)^{n-k} = (1 - p + pt)^n (binomial theorem).
  • Geometric G(p)\mathcal{G}(p): G(t)=k1(1p)k1ptk=pt1(1p)tG(t) = \sum_{k\geq1}(1-p)^{k-1}p\,t^k = \dfrac{pt}{1 - (1-p)t} (radius 11p>1\frac{1}{1-p} > 1).
  • Poisson P(λ)\mathcal{P}(\lambda): G(t)=keλ(λt)kk!=eλ(t1)G(t) = \sum_k e^{-\lambda}\frac{(\lambda t)^k}{k!} = e^{\lambda(t - 1)} (radius \infty).

Example 23.5 (Integrating the generating function)

Derivatives of GXG_X at 11 give positive moments; the integral gives a negative one. From 01tk ⁣dt=1k+1\int_0^1t^k\dd t = \frac1{k+1} and term-by-term integration (normal convergence on [0,1]\intcc01):

01GX(t) ⁣dt=k0P(X=k)k+1=E(11+X).\int_0^1G_X(t)\,\dd t = \sum_{k\geq0}\frac{\P(X = k)}{k+1} = \E\Bigl(\frac1{1+X}\Bigr).

For XP(λ)X \sim \mathcal P(\lambda):

E(11+X)=01eλ(t1) ⁣dt=1eλλ,\E\Bigl(\frac1{1+X}\Bigr) = \int_0^1\eu^{\lambda(t-1)}\,\dd t = \frac{1 - \eu^{-\lambda}}{\lambda},

recovering in one line the series computation of Example 22.10. The generating function is a two-way instrument: differentiate at 11 for the moments E(X)\E(X), E(X(X1))\E(X(X-1)), integrate over [0,1]\intcc01 for E(11+X)\E\bigl(\frac1{1+X}\bigr) — one analytic object, queried in whichever direction the problem needs.

Example 23.6 (A law with radius exactly one)

Let P(X=k)=6π2k2\P(X = k) = \dfrac{6}{\pi^2k^2} for k1k \geq 1 — a probability law by Basel’s identity (Example 14.12). Its generating function G(t)=6π2k1tkk2G(t) = \frac6{\pi^2}\sum_{k\geq1}\frac{t^k}{k^2} has radius of convergence exactly 11: the general bound “radius 1\geq 1” of Proposition 23.3 cannot be improved. And the mean is

k1kP(X=k)=6π2k11k=:\sum_{k\geq1}k\,\P(X = k) = \frac6{\pi^2}\sum_{k\geq1}\frac1k = \infty :

GG is continuous on [1,1]\intcc{-1}1, smooth inside, but its derivative blows up at 11^- — the graph arrives at the point (1,1)(1, 1) with a vertical tangent. Heavy tails are visible geometrically on the generating function, at the single point t=1t = 1; the moments theorem below makes this correspondence exact.

Theorem 23.7 (Moments from the generating function)

XX has an expectation if and only if GXG_X is differentiable at 11^- (left derivative, finite), and then E(X)=GX(1)\E(X) = G_X'(1). Similarly XX has a second moment iff GXG_X is twice differentiable at 11^-, and then

E(X(X1))=GX(1),V(X)=GX(1)+GX(1)GX(1)2.\E\bigl(X(X - 1)\bigr) = G_X''(1), \qquad V(X) = G_X''(1) + G_X'(1) - G_X'(1)^2 .

Proof. For t(0,1)t \in \intoo{0}{1}, term-by-term differentiation inside the disk gives GX(t)=n1npntn1G_X'(t) = \sum_{n\geq1} np_n t^{n-1}, a series with nonnegative coefficients: tGX(t)t \mapsto G_X'(t) is nondecreasing on (0,1)\intoo{0}{1}, and by monotone convergence of partial sums (or Abel’s theorem for nonnegative coefficients, Chapter 11),

limt1GX(t)=n1npn[0,+],\lim_{t \to 1^-} G_X'(t) = \sum_{n\geq1} n\,p_n \in \intcc{0}{+\infty} ,

each side finite exactly when the other is. When finite, the mean value theorem squeezes the difference quotients GX(1)GX(t)1t\frac{G_X(1) - G_X(t)}{1 - t} between values of GXG_X', so GXG_X is differentiable at 11^- with GX(1)=npn=E(X)G_X'(1) = \sum np_n = \E(X) (by transfer). The second-order statement repeats the argument one level up: GX(t)=n2n(n1)pntn2G''_X(t) = \sum_{n\geq2}n(n-1)p_nt^{n-2} is nondecreasing on (0,1)\intoo01 with monotone limit nn(n1)pn=E(X(X1))\sum_nn(n-1)p_n = \E(X(X-1)), finite exactly when XX has a second moment. The variance formula then follows from König–Huygens:

V(X)=E(X2)E(X)2=E(X(X1))+E(X)E(X)2=GX(1)+GX(1)GX(1)2.V(X) = \E(X^2) - \E(X)^2 = \E\bigl(X(X-1)\bigr) + \E(X) - \E(X)^2 = G''_X(1) + G'_X(1) - G'_X(1)^2 .

Example 23.8

Poisson: G(t)=λeλ(t1)G'(t) = \lambda e^{\lambda(t-1)}, so E(X)=λ\E(X) = \lambda; G(1)=λ2G''(1) = \lambda^2, so V(X)=λ2+λλ2=λV(X) = \lambda^2 + \lambda - \lambda^2 = \lambda — the computations of Chapter 22 in one line each.

Example 23.9 (The mode of a Poisson law)

Where is P(X=k)\P(X = k) largest for XP(λ)X \sim \mathcal P(\lambda)? Consecutive weights compare through the ratio

P(X=k+1)P(X=k)=λk+1,\frac{\P(X = k+1)}{\P(X = k)} = \frac{\lambda}{k + 1} ,

which exceeds 11 while k<λ1k < \lambda - 1 and drops below 11 once k>λ1k > \lambda - 1: the weights rise then fall, with mode λ\floor\lambda (and a tie between λ1\lambda - 1 and λ\lambda when λ\lambda is an integer: for λ=3\lambda = 3, P(X=2)=P(X=3)=92e30.224\P(X = 2) = \P(X = 3) = \frac92\eu^{-3} \approx 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.

23.2 Sums of independent variables

Theorem 23.10 (Multiplicativity)

If XX and YY are independent N\N-valued random variables, then

GX+Y(t)=GX(t)GY(t)(t1),G_{X + Y}(t) = G_X(t)\,G_Y(t) \qquad (\abs t \leq 1),

and by induction GX1++Xn=iGXiG_{X_1 + \dots + X_n} = \prod_i G_{X_i} for independent X1,,XnX_1, \dots, X_n.

Proof. Two proofs, both instructive. Via expectations: tXt^X and tYt^Y are independent bounded variables, so (Theorem 22.11)

GX+Y(t)=E(tX+Y)=E(tXtY)=E(tX)E(tY).G_{X+Y}(t) = \E\bigl(t^{X+Y}\bigr) = \E\bigl(t^X t^Y\bigr) = \E\bigl(t^X\bigr)\E\bigl(t^Y\bigr) .

Via Cauchy products: the law of X+YX + Y is the convolution P(X+Y=n)=k=0nP(X=k)P(Y=nk)\P(X + Y = n) = \sum_{k=0}^n \P(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 pp add: (1p+pt)m(1p+pt)n=(1p+pt)m+n(1 - p + pt)^m(1 - p + pt)^n = (1 - p + pt)^{m+n}, so B(m,p)+B(n,p)=B(m+n,p)\mathcal{B}(m, p) + \mathcal{B}(n, p) = \mathcal{B}(m + n, p) — in particular a sum of nn independent Bernoulli variables is binomial, re-proving the law of the number of successes. Independent Poissons add: eλ(t1)eμ(t1)=e(λ+μ)(t1)e^{\lambda(t-1)}e^{\mu(t-1)} = e^{(\lambda + \mu)(t-1)}, so P(λ)+P(μ)=P(λ+μ)\mathcal{P}(\lambda) + \mathcal{P}(\mu) = \mathcal{P}(\lambda + \mu) — the convolution computation of Exercise 22.2, now without computation.

Example 23.12 (Two dice, one polynomial squared)

For one fair die, G(t)=t+t2++t66G(t) = \frac{t + t^2 + \dots + t^6}{6}; for the sum of two,

G(t)2=136(t2+2t3+3t4+4t5+5t6+6t7+5t8+4t9+3t10+2t11+t12):G(t)^2 = \frac{1}{36}\bigl(t^2 + 2t^3 + 3t^4 + 4t^5 + 5t^6 + 6t^7 + 5t^8 + 4t^9 + 3t^{10} + 2t^{11} + t^{12}\bigr) :

the triangular law of dice sums (77 is the mode, with probability 636=16\frac6{36} = \frac16), 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 SS of three fair dice, P(S=10)\P(S = 10) is the coefficient of t10t^{10} in (t++t66)3\bigl(\frac{t + \dots + t^6}6\bigr)^3. Factor and expand with the binomial and geometric series:

(t(1t6)6(1t)) ⁣3=t3216(13t6+3t12t18)j0(j+22)tj.\Bigl(\frac{t(1 - t^6)}{6(1 - t)}\Bigr)^{\!3} = \frac{t^3}{216}\,\bigl(1 - 3t^6 + 3t^{12} - t^{18}\bigr)\sum_{j\geq0}\binom{j+2}2t^j .

The coefficient of t10t^{10} requires t7t^7 from the product: j=7j = 7 with the term 11, and j=1j = 1 with the term 3t6-3t^6:

P(S=10)=1216((92)3(32))=369216=27216=18.\P(S = 10) = \frac{1}{216}\Bigl(\binom92 - 3\binom32\Bigr) = \frac{36 - 9}{216} = \frac{27}{216} = \frac18 .

Direct enumeration of the 2727 triples is error-prone; the algebra is mechanical and scales to any number of dice — the inclusion–exclusion visible in (1t6)3(1 - t^6)^3 is doing the case analysis automatically.

Example 23.14 (Reading a law off its generating function)

Which law has G(t)=12tG(t) = \dfrac1{2 - t}? Expand into a power series:

12t=1211t/2=k0tk2k+1:\frac{1}{2 - t} = \frac12\cdot\frac1{1 - t/2} = \sum_{k\geq0}\frac{t^k}{2^{k+1}} :

nonnegative coefficients summing to G(1)=1G(1) = 1, so this is a genuine law, P(X=k)=2(k+1)\P(X = k) = 2^{-(k+1)} on N\N — a geometric law starting at 00. By uniqueness (Proposition 23.3), no other law shares this GG. Recognizing laws from their generating functions is a skill worth drilling: it is how the critical branching iterate Gn(t)=n(n1)tn+1ntG_n(t) = \frac{n - (n-1)t}{n+1 - nt} 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 — XYX - 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)\mathcal B(m, p) + \mathcal B(n, p') with ppp \neq p' is not binomial: the product (1p+pt)m(1p+pt)n(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-1 separates even from odd; evaluating at all mm-th roots of unity separates every residue class: with ω=e2iπ/m\omega = \eu^{2\iu\pi/m},

P(Xrmodm)=1mj=0m1ωjrGX(ωj),\P(X \equiv r \bmod m) = \frac1m\sum_{j=0}^{m-1}\omega^{-jr}\,G_X(\omega^j),

since averaging ωj(kr)\omega^{j(k-r)} over jj yields 11 if krk \equiv r and 00 otherwise. Sample dividend: for the sum SS of two fair dice, each G(ωj)=16k=16ωjk=16G(\omega^j) = \frac16\sum_{k=1}^6 \omega^{jk} = -\frac16 for j0j \neq 0 (the seven seventh roots of unity sum to zero), so

P(7S)=17(1+6136)=16,\P(7 \mid S) = \frac17\Bigl(1 + 6\cdot\frac1{36}\Bigr) = \frac16 ,

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)

Let (Xk)k1(X_k)_{k\geq1} be independent N\N-valued variables with the same law and generating function GXG_X, and let NN be an N\N-valued variable independent of the XkX_k, with generating function GNG_N. Then the random sum S=X1++XNS = X_1 + \dots + X_N (with S=0S = 0 when N=0N = 0) has generating function

GS=GNGX.G_S = G_N \circ G_X .

In particular, if NN and X1X_1 have expectations, E(S)=E(N)E(X1)\E(S) = \E(N)\,\E(X_1).

Proof. Condition on NN (total probability, Theorem 21.14): for t1\abs t \leq 1,

GS(t)=n=0P(N=n)E(tX1++Xn)=n=0P(N=n)GX(t)n=GN(GX(t)),G_S(t) = \sum_{n=0}^\infty \P(N = n)\, \E\bigl(t^{X_1 + \dots + X_n}\bigr) = \sum_{n=0}^\infty \P(N = n)\,G_X(t)^n = G_N\bigl(G_X(t)\bigr),

using multiplicativity for each fixed nn and the summability of the whole double family (GX(t)1\abs{G_X(t)} \leq 1). The exchange of summations is Fubini for summable families (Chapter 7). Differentiating at 11^- by the chain rule and Theorem 23.7: E(S)=GN(GX(1))GX(1)=GN(1)GX(1)=E(N)E(X1)\E(S) = G_N'(G_X(1))\,G_X'(1) = G_N'(1)G_X'(1) = \E(N)\E(X_1).

Example 23.18 (Compound Poisson: yearly insurance losses)

An insurer receives NP(λ)N \sim \mathcal P(\lambda) claims in a year, each claim costing XkX_k (integer units, i.i.d., pgf GXG_X, mean μ\mu, independent of NN). By Theorem 23.17, the total loss SS has

GS(t)=eλ(GX(t)1),E(S)=λμ,G_S(t) = \eu^{\lambda(G_X(t) - 1)}, \qquad \E(S) = \lambda\mu ,

and differentiating twice at 11^-:

V(S)=λGX(1)+λ2μ2+λμ(λμ)2=λE(X2).V(S) = \lambda\,G_X''(1) + \lambda^2\mu^2 + \lambda\mu - (\lambda\mu)^2 = \lambda\,\E(X^2) .

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\lambda = 10 claims of geometric law with mean 22 (EX2=6\E X^2 = 6): ES=20\E S = 20, V(S)=60V(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 NN from the summands is not decorative. Take Xk{0,2}X_k \in \{0, 2\} with equal probabilities and let N=X1N = X_1 (flagrantly dependent): then S=X1++XNS = X_1 + \dots + X_N is 00 when X1=0X_1 = 0, and 2+X22 + X_2 when X1=2X_1 = 2, so E(S)=12(2+1)=32\E(S) = \frac12(2 + 1) = \frac32, while E(N)E(X1)=11=1\E(N)\E(X_1) = 1\cdot1 = 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 XnB(n,pn)X_n \sim \mathcal{B}(n, p_n) with npnλ>0n\,p_n \to \lambda > 0. Then for every kNk \in \N:

P(Xn=k)neλλkk!:\P(X_n = k) \xrightarrow[n\to\infty]{} e^{-\lambda}\frac{\lambda^k}{k!} :

the binomial law of many rare independent events converges to the Poisson law of parameter λ\lambda.

Proof. Direct computation with pn=λnnp_n = \frac{\lambda_n}{n}, λnλ\lambda_n \to \lambda:

P(Xn=k)=(nk)pnk(1pn)nk=n(n1)(nk+1)nkλnkk!(1λnn)nk.\P(X_n = k) = \binom nk p_n^k(1 - p_n)^{n-k} = \frac{n(n-1)\cdots(n-k+1)}{n^k}\cdot \frac{\lambda_n^k}{k!}\, \bigl(1 - \tfrac{\lambda_n}{n}\bigr)^{n-k} .

As nn \to \infty with kk fixed: the first factor tends to 11 (product of kk factors 1\to 1); λnkλk\lambda_n^k \to \lambda^k; and (1λnn)nk=exp((nk)ln(1λnn))eλ\bigl(1 - \frac{\lambda_n}{n}\bigr)^{n-k} = \exp\bigl((n-k)\ln(1 - \frac{\lambda_n}{n})\bigr) \to e^{-\lambda} since (nk)ln(1λnn)λnλ(n - k)\ln\bigl(1 - \frac{\lambda_n}{n}\bigr) \sim -\lambda_n \to -\lambda (Chapter 6). Alternatively, at the level of generating functions: GXn(t)=(1+λn(t1)n)neλ(t1)=GP(λ)(t)G_{X_n}(t) = \bigl(1 + \frac{\lambda_n(t-1)}{n}\bigr)^n \to e^{\lambda(t - 1)} = G_{\mathcal{P}(\lambda)}(t) for each fixed t[0,1]t \in [0, 1] — convergence of generating functions, which (for N\N-valued variables) is equivalent to convergence of each P(Xn=k)\P(X_n = 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 λ\lambda survives in the limit.

Example 23.22 (Watching the Poisson limit converge)

Fix λ=2\lambda = 2 and let XnB(n,2/n)X_n \sim \mathcal B(n, 2/n). The no-event probability is exactly P(Xn=0)=(12/n)n\P(X_n = 0) = (1 - 2/n)^n:

n=10: 0.107,n=20: 0.122,n=50: 0.130,n=100: 0.133,n = 10:\ 0.107, \qquad n = 20:\ 0.122, \qquad n = 50:\ 0.130, \qquad n = 100:\ 0.133,

against the limit e20.135\eu^{-2} \approx 0.135. The convergence is monotone and of speed O(1/n)O(1/n) — expanding, (12/n)n=e2(12n+O(n2))(1 - 2/n)^n = \eu^{-2}\bigl(1 - \tfrac2n + O(n^{-2})\bigr) — so for nn 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 nn and pp separately (how many micro-opportunities for a typo does a page hold?), but only their product λ\lambda, 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)kN(p_k)_{k \in \N} and generating function GG (the offspring distribution). Let ZnZ_n be the size of generation nn (Z0=1Z_0 = 1), and let m=G(1)=E(Z1)m = G'(1) = \E(Z_1) be the mean offspring number.

Proposition 23.23

The generating function of ZnZ_n is the nn-th iterate GZn=GGGG_{Z_n} = G \circ G \circ \dots \circ G (nn times), and the extinction probabilities qn=P(Zn=0)q_n = \P(Z_n = 0) satisfy

q0=0,qn+1=G(qn),q_0 = 0, \qquad q_{n+1} = G(q_n),

and increase to the probability qq of eventual extinction, which is a fixed point of GG.

Proof. Generation n+1n + 1 is the random sum of the offspring of the ZnZ_n members of generation nn, with counts independent of each other and of ZnZ_n: Theorem 23.17 gives GZn+1=GZnGG_{Z_{n+1}} = G_{Z_n} \circ G, and induction from GZ0(t)=tG_{Z_0}(t) = t yields the nn-fold iterate — which, by associativity of composition, can equally be read as GZn+1=GGZnG_{Z_{n+1}} = G \circ G_{Z_n}. Evaluating this second form at 00: qn+1=GZn+1(0)=G(GZn(0))=G(qn)q_{n+1} = G_{Z_{n+1}}(0) = G\bigl(G_{Z_n}(0)\bigr) = G(q_n). The events {Zn=0}\{Z_n = 0\} increase (extinct populations stay extinct), so qnq=P(n{Zn=0})q_n \uparrow q = \P\bigl(\bigcup_n\{Z_n = 0\}\bigr) by monotone continuity (Theorem 21.6), and continuity of GG on [0,1][0, 1] turns qn+1=G(qn)q_{n+1} = G(q_n) into q=G(q)q = G(q) at the limit.

Example 23.24 (Watching extinction converge)

For the offspring law (p0,p1,p2)=(14,14,12)(p_0, p_1, p_2) = (\tfrac14, \tfrac14, \tfrac12) of Example 23.27, G(t)=14+14t+12t2G(t) = \tfrac14 + \tfrac14t + \tfrac12t^2 and the iteration qn+1=G(qn)q_{n+1} = G(q_n) gives

q1=0.25,q2=0.34375,q30.39502,q40.42678,q50.44776,q_1 = 0.25, \quad q_2 = 0.34375, \quad q_3 \approx 0.39502, \quad q_4 \approx 0.42678, \quad q_5 \approx 0.44776,

climbing toward the extinction probability q=12q = \tfrac12. The gaps qqnq - q_n are 0.250.25, 0.1560.156, 0.1050.105, 0.0730.073, 0.0520.052: each is roughly 34\tfrac34 of the previous, and indeed the mean value theorem gives qqn+1=G(cn)(qqn)q - q_{n+1} = G'(c_n)(q - q_n) with G(q)=14+q=34G'(q) = \tfrac14 + q = \tfrac34. Two morals: a family line still alive at generation nn has, built into the same computation, probability qqnq - q_n 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 p11p_1 \neq 1. The extinction probability qq is the smallest fixed point of GG in [0,1]\intcc{0}{1}, and:

  • if m1m \leq 1 (subcritical or critical), q=1q = 1: extinction is certain;
  • if m>1m > 1 (supercritical), q<1q < 1: the population survives forever with positive probability 1q1 - q.

Proof. GG is convex on [0,1]\intcc{0}{1} (power series with nonnegative coefficients: G0G'' \geq 0), nondecreasing, with G(1)=1G(1) = 1.

Smallest fixed point: let r[0,1]r \in \intcc{0}{1} be any fixed point. Then q0=0rq_0 = 0 \leq r, and inductively qn+1=G(qn)G(r)=rq_{n+1} = G(q_n) \leq G(r) = r (monotonicity): so q=limqnrq = \lim q_n \leq r.

Case m1m \leq 1: suppose r<1r < 1 is a fixed point. By the mean value theorem on [r,1][r, 1], there is c(r,1)c \in \intoo{r}{1} with G(c)=G(1)G(r)1r=1r1r=1G'(c) = \frac{G(1) - G(r)}{1 - r} = \frac{1 - r}{1 - r} = 1. But GG' is nondecreasing (convexity) with limt1G(t)=m1\lim_{t\to1^-}G'(t) = m \leq 1, so G1G' \leq 1 on (0,1)\intoo{0}{1}; the equality G(c)=1G'(c) = 1 then forces GG' to be constant equal to 11 on [c,1)\intco{c}{1}, hence G=n(n1)pntn20G'' = \sum n(n-1)p_nt^{n-2} \equiv 0 there. A power series with nonnegative coefficients vanishing on an interval has all these coefficients zero: pn=0p_n = 0 for n2n \geq 2, so G(t)=p0+p1tG(t) = p_0 + p_1t and 1=G(c)=p11 = G'(c) = p_1 — contradicting the hypothesis p11p_1 \neq 1. So 11 is the only fixed point: q=1q = 1.

Case m>1m > 1: near 11, G(t)tG(t) - t has derivative G(t)1m1>0G'(t) - 1 \to m - 1 > 0 as t1t \to 1^-, so G(t)t<G(1)1=0G(t) - t < G(1) - 1 = 0 on some interval (1δ,1)\intoo{1 - \delta}{1}: the continuous function G(t)tG(t) - t is 0\geq 0 at t=0t = 0 (G(0)=p00G(0) = p_0 \geq 0) and <0< 0 just below 11, so it vanishes at some r<1r < 1 (intermediate value theorem). The smallest fixed point is then qr<1q \leq r < 1.

Extinction probabilities as a fixed-point iteration q_n+1 = G(q_n) starting at q_0 = 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. Extinction probabilities as a fixed-point iteration q_n+1 = G(q_n) starting at q_0 = 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.
Figure 23.1. Extinction probabilities as a fixed-point iteration qn+1=G(qn)q_{n+1} = G(q_n) starting at q0=0q_0 = 0 (red staircase). Left: a subcritical offspring law — the convex curve stays above the diagonal, the iteration climbs to the unique fixed point 11. Right: a supercritical law — the curve crosses the diagonal at q<1q < 1, where the iteration stops: survival has probability 1q>01 - q > 0.

Remark 23.26 (How to read the cobweb)

In the figure, a vertical move applies GG (from (qn,qn)(q_n, q_n) up to (qn,G(qn))(q_n, G(q_n))), a horizontal move to the diagonal converts output into input: the staircase is the recursion qn+1=G(qn)q_{n+1} = G(q_n). Convexity of GG and G(1)=1G(1) = 1 leave only two geometries. Either the curve stays above the diagonal on [0,1)\intco01 (mean m1m \leq 1): the staircase has nowhere to stop before 11. Or the curve crosses at some q<1q < 1 (m>1m > 1): the staircase is trapped below the crossing and converges to it, at the geometric rate G(q)<1G'(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 14,14,12\frac14, \frac14, \frac12. Then m=14+1=54>1m = \frac14 + 1 = \frac54 > 1 and G(t)=14+14t+12t2G(t) = \frac14 + \frac14 t + \frac12 t^2. Fixed points: 12t234t+14=0\frac12 t^2 - \frac34 t + \frac14 = 0, i.e. 2t23t+1=(2t1)(t1)=02t^2 - 3t + 1 = (2t - 1)(t - 1) = 0: q=12q = \frac12. The family line dies out with probability 12\frac12 — and with probability 12\frac12 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 qnqq_n \uparrow q) and Chapter 22 (GX=E(tX)G_X = \E(t^X) 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)=k2kt2kG(t) = \sum_k2^{-k}t^{2^k}, a perfectly convergent series on [0,1]\intcc01 whose derivative at 11^- 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\N-valued variables only: for signed or non-integer variables the object E(tX)\E(t^X) loses its power-series structure (Year 3 replaces it with transforms adapted to R\R). (ii) The first sanity check of any computed GG is G(1)=1G(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=GNGXG_S = G_N \circ G_X, the outer function counting the terms; composing the other way is meaningless (GXGNG_X \circ G_N would count items of items). (iv) Multiplicativity needs independence and distinct sources of randomness: G2X(t)=GX(t2)G_{2X}(t) = G_X(t^2), not GX(t)2G_X(t)^2. (v) Differentiating at 11 is a boundary operation: when the radius is exactly 11, as in Example 23.6, G(1)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}\{1, 2, \dots, 6\} (a fair die). Show that the sum of two fair dice cannot be uniform on {2,,12}\{2, \dots, 12\}: factor GX+YG_{X+Y} and count roots. (A uniform sum would force GX(t)GY(t)=t211k=010tkG_X(t)G_Y(t) = \frac{t^2}{11}\sum_{k=0}^{10}t^k, whose nonzero roots are the 1111-th roots of unity other than 11 — none of them real — while GX/tG_X/t and GY/tG_Y/t are real polynomials of degree 55, each owning at least one real root.)

Solution

Solution of Exercise 23.1.

Fair die: G(t)=16(t+t2++t6)=t6(1+t++t5)G(t) = \frac16(t + t^2 + \dots + t^6) = \frac t6(1 + t + \dots + t^5). If the sum of two fair dice were uniform on {2,,12}\{2, \dots, 12\}, then

G(t)2=t236h(t)2=t211k=010tk,h(t)=1+t++t5.G(t)^2 = \frac{t^2}{36}\,h(t)^2 = \frac{t^2}{11}\sum_{k=0}^{10}t^k , \qquad h(t) = 1 + t + \dots + t^5 .

Now hh is a real polynomial of odd degree 55, so it has a real root (intermediate value theorem; concretely h(1)=0h(-1) = 0), hence h2h^2 has a real root. But k=010tk\sum_{k=0}^{10}t^k has none: it is positive for t0t \geq 0, and for t<0t < 0 it equals t111t1\frac{t^{11} - 1}{t - 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).

Exercise 23.2

Using generating functions, recover E\E and VV for the binomial and geometric laws (Theorem 23.7).

Solution

Solution of Exercise 23.2.

Binomial: G(t)=(1p+pt)nG(t) = (1 - p + pt)^n, G(t)=np(1p+pt)n1G'(t) = np(1 - p + pt)^{n-1}, G(t)=n(n1)p2(1p+pt)n2G''(t) = n(n-1)p^2(1 - p + pt)^{n-2}, so

E(X)=G(1)=np,V(X)=G(1)+G(1)G(1)2=n(n1)p2+npn2p2=np(1p).\E(X) = G'(1) = np, \qquad V(X) = G''(1) + G'(1) - G'(1)^2 = n(n-1)p^2 + np - n^2p^2 = np(1-p).

Geometric (q=1pq = 1 - p): G(t)=pt1qtG(t) = \frac{pt}{1 - qt}, so G(t)=p(1qt)2G'(t) = \frac{p}{(1 - qt)^2} and G(t)=2pq(1qt)3G''(t) = \frac{2pq}{(1 - qt)^3}; at t=1t = 1 (using 1q=p1 - q = p):

E(X)=pp2=1p,V(X)=2qp2+1p1p2=2q+p1p2=qp2,\E(X) = \frac{p}{p^2} = \frac1p, \qquad V(X) = \frac{2q}{p^2} + \frac1p - \frac{1}{p^2} = \frac{2q + p - 1}{p^2} = \frac{q}{p^2} ,

matching Exercise 22.1 with less work.

Exercise 23.3

Two loaded dice: is it possible to load two dice (independently, identically or not) so that their sum is uniform on {2,,12}\{2, \dots, 12\}? (Same factorization obstruction as in Exercise 23.1: the answer is no even with different loadings, because each factor GX(t)/tG_X(t)/t has odd degree 55, hence a real root, while the target has none.)

Solution

Solution of Exercise 23.3.

No, even with different loadings. Suppose X,YX, Y are laws on {1,,6}\{1, \dots, 6\} with uniform sum. Then GX(t)=ta(t)G_X(t) = t\,a(t) and GY(t)=tb(t)G_Y(t) = t\,b(t) with a,ba, b real polynomials of degree at most 55 — and their degrees must sum to 1010 (the sum reaches 1212 with positive probability), so dega=degb=5\deg a = \deg b = 5, both odd. As in Exercise 23.1,

a(t)b(t)=111k=010tka(t)\,b(t) = \frac{1}{11}\sum_{k=0}^{10}t^k

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,X_1, X_2, \dots be independent Bernoulli B(p)\mathcal{B}(p) and NP(λ)N \sim \mathcal{P}(\lambda) independent of them. Show, via Theorem 23.17, that S=X1++XNP(λp)S = X_1 + \dots + X_N \sim \mathcal{P}(\lambda p): a Poisson number of items, each kept with probability pp, leaves a Poisson number — thinning. Compute also the law of the discarded count and admire: it is P(λ(1p))\mathcal{P}(\lambda(1-p)), and one can show it is independent of SS.

Solution

Solution of Exercise 23.4.

By Theorem 23.17 with GN(s)=eλ(s1)G_N(s) = e^{\lambda(s-1)} and GX(t)=1p+ptG_X(t) = 1 - p + pt:

GS(t)=eλ(1p+pt1)=eλp(t1):G_S(t) = e^{\lambda(1 - p + pt - 1)} = e^{\lambda p(t - 1)} :

SP(λp)S \sim \mathcal{P}(\lambda p). The discarded count D=NSD = N - S counts the same items kept with probability 1p1 - p, so by the same computation DP(λ(1p))D \sim \mathcal{P}(\lambda(1 - p)). Independence, directly: for j,kNj, k \in \N,

P(S=j, D=k)=P(N=j+k)(j+kj)pjqk=eλλj+k(j+k)!(j+k)!j!k!pjqk=(eλp(λp)jj!)(eλq(λq)kk!)\begin{align*} \P(S = j,\ D = k) &= \P(N = j + k)\,\binom{j+k}{j}p^jq^k = e^{-\lambda}\frac{\lambda^{j+k}}{(j+k)!}\, \frac{(j+k)!}{j!\,k!}\,p^jq^k\\ &= \Bigl(e^{-\lambda p}\frac{(\lambda p)^j}{j!}\Bigr) \Bigl(e^{-\lambda q}\frac{(\lambda q)^k}{k!}\Bigr) \end{align*}

with q=1pq = 1 - p: the joint law factors as P(λp)P(λq)\mathcal{P}(\lambda p) \otimes \mathcal{P}(\lambda 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 TrT_r be the number of tosses to obtain rr heads (head probability pp). Write TrT_r as a sum of rr independent geometric variables, deduce

GTr(t)=(pt1(1p)t)r,E(Tr)=rp,V(Tr)=r(1p)p2,G_{T_r}(t) = \Bigl(\frac{pt}{1 - (1-p)t}\Bigr)^{r}, \qquad \E(T_r) = \frac rp, \qquad V(T_r) = \frac{r(1-p)}{p^2},

and expand GTrG_{T_r} to find P(Tr=n)=(n1r1)pr(1p)nr\P(T_r = n) = \binom{n-1}{r-1} p^r(1-p)^{n-r}.

Solution

Solution of Exercise 23.5.

The waiting times between consecutive heads are independent geometric G(p)\mathcal{G}(p) variables (memorylessness: after each head the game restarts), so Tr=W1++WrT_r = W_1 + \dots + W_r and multiplicativity (Theorem 23.10) gives

GTr(t)=(pt1qt)r,E(Tr)=rE(W1)=rp,V(Tr)=rV(W1)=rqp2G_{T_r}(t) = \Bigl(\frac{pt}{1 - qt}\Bigr)^{r}, \qquad \E(T_r) = r\,\E(W_1) = \frac rp, \qquad V(T_r) = r\,V(W_1) = \frac{rq}{p^2}

(q=1pq = 1 - p; variances add by independence). Expansion: by the generalized binomial series (Chapter 11), (1qt)r=m0(m+r1r1)qmtm(1 - qt)^{-r} = \sum_{m\geq0} \binom{m + r - 1}{r - 1}q^mt^m, so the coefficient of tnt^n in prtr(1qt)rp^rt^r(1 - qt)^{-r} is (with m=nrm = n - r)

P(Tr=n)=(n1r1)pr(1p)nr,nr,\P(T_r = n) = \binom{n-1}{r-1}p^r(1-p)^{n-r}, \qquad n \geq r ,

the negative binomial law — combinatorially: the rr-th head falls at toss nn iff the previous r1r - 1 heads choose their places among the first n1n - 1 tosses.

Exercise 23.6 ★★

For the offspring law p0=18p_0 = \frac18, p1=38p_1 = \frac38, p2=38p_2 = \frac38, p3=18p_3 = \frac18: compute mm, decide supercriticality, and compute the extinction probability qq exactly. (Factor out the root t=1t = 1 of G(t)tG(t) - t.)

Solution

Solution of Exercise 23.6.

m=138+238+318=3+6+38=32>1m = 1\cdot\frac38 + 2\cdot\frac38 + 3\cdot\frac18 = \frac{3 + 6 + 3}{8} = \frac32 > 1: supercritical. The generating function is

G(t)=1+3t+3t2+t38=(1+t)38,G(t) = \frac{1 + 3t + 3t^2 + t^3}{8} = \frac{(1 + t)^3}{8} ,

so fixed points solve (1+t)3=8t(1 + t)^3 = 8t, i.e. t3+3t25t+1=0t^3 + 3t^2 - 5t + 1 = 0. Factoring out the guaranteed root t=1t = 1:

t3+3t25t+1=(t1)(t2+4t1),t^3 + 3t^2 - 5t + 1 = (t - 1)\bigl(t^2 + 4t - 1\bigr),

and t2+4t1=0t^2 + 4t - 1 = 0 gives t=2±5t = -2 \pm \sqrt5. The root in [0,1)\intco{0}{1} is 520.236\sqrt5 - 2 \approx 0.236: by Theorem 23.25,

q=52.q = \sqrt 5 - 2 .

(A pleasant check: the offspring law is that of 33 independent fair coins, Z1B(3,12)Z_1 \sim \mathcal{B}(3, \frac12).)

Exercise 23.7 ★★★

(Total progeny) In a subcritical branching process (m<1m < 1), let Y=n0ZnY = \sum_{n\geq0} Z_n be the total number of individuals ever born. Show E(Y)=nmn=11m\E(Y) = \sum_n m^n = \frac{1}{1 - m} (justify the exchange of summations), and prove that the generating function H=GYH = G_Y satisfies the functional equation H(t)=tG(H(t))H(t) = t\,G(H(t)). (The ancestor, plus the total progenies of each of its children, which are independent copies of YY.)

Solution

Solution of Exercise 23.7.

Expectation. First E(Zn)=mn\E(Z_n) = m^n: by Theorem 23.17, E(Zn+1)=E(Zn)m\E(Z_{n+1}) = \E(Z_n)\,m, and E(Z0)=1\E(Z_0) = 1. The family (Zn(ω)P({ω}))n,ω\bigl(Z_n(\omega)\P(\{\omega\}) \bigr)_{n, \omega} is nonnegative, so Fubini for families applies unconditionally:

E(Y)=n=0E(Zn)=n=0mn=11m<\E(Y) = \sum_{n=0}^{\infty}\E(Z_n) = \sum_{n=0}^\infty m^n = \frac{1}{1 - m} < \infty

(in particular YY 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=kZ_1 = k children, the total progeny is Y=1+Y1++YkY = 1 + Y_1 + \dots + Y_k, where YiY_i is the total progeny of the ii-th child’s line — and the YiY_i are independent copies of YY, independent of Z1Z_1 (distinct lines use disjoint, independent reproduction events). Conditioning on Z1Z_1 as in Theorem 23.17:

H(t)=E(tY)=tk=0P(Z1=k)H(t)k=tG(H(t)),H(t) = \E\bigl(t^Y\bigr) = t\sum_{k=0}^\infty \P(Z_1 = k)\,H(t)^k = t\,G\bigl(H(t)\bigr),

the factor tt accounting for the ancestor itself. (For the law p0=1pp_0 = 1 - p, p2=pp_2 = p of binary branching, this quadratic equation in HH can be solved explicitly and expanded — the Catalan numbers of Chapter 11 count the family trees.)

Exercise 23.8 ★★★

Let XX have generating function GG with radius of convergence >1> 1. Prove the exponential tail bound: there are C>0C > 0 and ρ(0,1)\rho \in \intoo{0}{1} with P(Xn)Cρn\P(X \geq n) \leq C\rho^n. (Markov applied to tXt^X for a fixed t>1t > 1 inside the disk.) Conversely, show that if P(Xn)Cρn\P(X \geq n) \leq C\rho^n with ρ<1\rho < 1, the radius of GG is 1/ρ>1\geq 1/\rho > 1.

Solution

Solution of Exercise 23.8.

Let R>1R > 1 be the radius and fix t(1,R)t \in \intoo{1}{R}. Then E(tX)=G(t)<\E(t^X) = G(t) < \infty, and Markov’s inequality (Theorem 22.15) applied to the nonnegative variable tXt^X at level tnt^n:

P(Xn)=P(tXtn)G(t)tn=Cρn,C=G(t),ρ=1t(0,1).\P(X \geq n) = \P\bigl(t^X \geq t^n\bigr) \leq \frac{G(t)}{t^n} = C\rho^n, \qquad C = G(t),\quad \rho = \frac1t \in \intoo{0}{1}.

Converse: if P(Xn)Cρn\P(X \geq n) \leq C\rho^n, then pnP(Xn)Cρnp_n \leq \P(X \geq n) \leq C\rho^n, so for t<1ρ\abs t < \frac1\rho the series pntn\sum p_n\abs t^n is dominated by the convergent geometric series C(ρt)nC\sum(\rho\abs t)^n: the radius is at least 1ρ>1\frac1\rho > 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,X, X_1, X_2, \dots be N\N-valued with GXn(t)GX(t)G_{X_n}(t) \to G_X(t) for every t[0,1)t \in \intco{0}{1}. Show that P(Xn=k)P(X=k)\P(X_n = k) \to \P(X = k) for every kk. (Induction on kk: for k=0k = 0 take t0t \to 0 — carefully: fix tt small, use P(Xn=0)GXn(t)t1t\abs{\P(X_n = 0) - G_{X_n}(t)} \leq \frac{t}{1-t}, valid since the tail j1pjtjt1t\sum_{j \geq 1}p_jt^j \leq \frac{t}{1 - t}; then diagonalize. For the induction step, consider G(t)P(X=0)t\frac{G(t) - \P(X = 0)}{t}, the generating function of a shifted law.)

Solution

Solution of Exercise 23.9.

Write pk(n)=P(Xn=k)p_k^{(n)} = \P(X_n = k), pk=P(X=k)p_k = \P(X = k).

Case k=0k = 0. For t(0,1)t \in \intoo{0}{1} and any law (qj)(q_j) with jqj1\sum_j q_j \leq 1:

q0jqjtj=j1qjtjj1tj=t1t.\Bigl|\,q_0 - \sum_j q_jt^j\Bigr| = \sum_{j \geq 1} q_j t^j \leq \sum_{j\geq1}t^j = \frac{t}{1 - t} .

Hence

p0(n)p02t1t+GXn(t)GX(t).\abs{p_0^{(n)} - p_0} \leq \frac{2t}{1 - t} + \abs{G_{X_n}(t) - G_X(t)} .

Given ε>0\varepsilon > 0, choose tt with 2t1t<ε2\frac{2t}{1-t} < \frac\varepsilon2, then n0n_0 such that the last term is <ε2< \frac\varepsilon2 for nn0n \geq n_0: so p0(n)p0p_0^{(n)} \to p_0.

Induction step. Assume pj(n)pjp_j^{(n)} \to p_j for j<kj < k. Consider the shifted functions

gn(t)=GXn(t)p0(n)t=j0pj+1(n)tj,g(t)=GX(t)p0t,g_n(t) = \frac{G_{X_n}(t) - p^{(n)}_0}{t} = \sum_{j\geq0} p^{(n)}_{j+1}t^j, \qquad g(t) = \frac{G_X(t) - p_0}{t} ,

generating functions of the sub-probability sequences (pj+1(n))j(p^{(n)}_{j+1})_j (total mass 1\leq 1, which is all the k=0k = 0 argument used). For fixed t(0,1)t \in \intoo{0}{1}, gn(t)g(t)g_n(t) \to g(t) by hypothesis and the case k=0k = 0. Applying the k=0k = 0 argument to gng_n gives p1(n)p1p_1^{(n)} \to p_1; iterating the shift kk times gives pk(n)pkp_k^{(n)} \to p_k for every kk. (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\N-valued variable XX,

P(X even)=1+GX(1)2,\P(X \text{ even}) = \frac{1 + G_X(-1)}{2} ,

and compute this probability for XP(λ)X \sim \mathcal P(\lambda) and XB(n,p)X \sim \mathcal B(n, p). What does GX(1)0G_X(-1) \to 0 mean probabilistically?

Solution

Solution of Exercise 23.10.

Pointwise, 1+(1)X2\frac{1 + (-1)^X}{2} equals 11 when XX is even and 00 when odd, so taking expectations (transfer),

P(X even)=1+E((1)X)2=1+GX(1)2.\P(X \text{ even}) = \frac{1 + \E\bigl((-1)^X\bigr)}2 = \frac{1 + G_X(-1)}2 .

Poisson: 1+e2λ212\frac{1 + \eu^{-2\lambda}}2 \to \frac12 as λ\lambda grows. Binomial: 1+(12p)n2\frac{1 + (1 - 2p)^n}2. In both cases GX(1)0G_X(-1) \to 0 says the parity of XX 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

t+t2++t66=t(1+t)(1+t+t2)(1t+t2)6,\frac{t + t^2 + \dots + t^6}{6} = \frac{t\,(1 + t)(1 + t + t^2)(1 - t + t^2)}{6},

and show that the two dice with faces {1,2,2,3,3,4}\{1, 2, 2, 3, 3, 4\} and {1,3,4,5,6,8}\{1, 3, 4, 5, 6, 8\} have generating functions t(1+t)(1+t+t2)6\frac{t(1+t)(1+t+t^2)}6 and t(1+t)(1+t+t2)(1t+t2)26\frac{t(1+t)(1+t+t^2)(1-t+t^2)^2}6, whose product is that of two standard dice: these exotic dice produce every total 2,,122, \dots, 12 with exactly the standard probabilities.

Solution

Solution of Exercise 23.11.

t++t6=t1t61tt + \dots + t^6 = t\,\frac{1 - t^6}{1 - t} and 1t6=(1t)(1+t)(1+t+t2)(1t+t2)1 - t^6 = (1 - t)(1 + t)(1 + t + t^2)(1 - t + t^2), giving the stated factorization. For the first die, (1+t)(1+t+t2)=1+2t+2t2+t3(1 + t)(1 + t + t^2) = 1 + 2t + 2t^2 + t^3, so t(1+t)(1+t+t2)6=t+2t2+2t3+t46\frac{t(1+t)(1+t+t^2)}6 = \frac{t + 2t^2 + 2t^3 + t^4}6: faces {1,2,2,3,3,4}\{1, 2, 2, 3, 3, 4\}. For the second, expanding

(1+2t+2t2+t3)(1t+t2)2=1+t2+t3+t4+t5+t7,(1 + 2t + 2t^2 + t^3)(1 - t + t^2)^2 = 1 + t^2 + t^3 + t^4 + t^5 + t^7,

so t(1+t)(1+t+t2)(1t+t2)26=t+t3+t4+t5+t6+t86\frac{t(1+t)(1+t+t^2)(1-t+t^2)^2}6 = \frac{t + t^3 + t^4 + t^5 + t^6 + t^8}6: faces {1,3,4,5,6,8}\{1, 3, 4, 5, 6, 8\}. The product of the two generating functions regroups the six factors into (t(1+t)(1+t+t2)(1t+t2)6)2\bigl(\frac{t(1+t)(1+t+t^2)(1-t+t^2)}6 \bigr)^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 pp is tossed until two consecutive heads appear; let TT 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)=p2t21qtpqt2(q=1p);G_T(t) = \frac{p^2t^2}{1 - qt - pqt^2} \qquad (q = 1 - p);

check GT(1)=1G_T(1) = 1 and E(T)=1+pp2\E(T) = \dfrac{1 + p}{p^2} (=6= 6 for a fair coin).

Solution

Solution of Exercise 23.12.

Let AA and BB be the generating functions of the remaining duration started from “no current head” and “one current head”. One toss is spent, then: from state 00, tails returns to state 00, heads moves to state 11; from state 11, heads ends the game, tails returns to state 00:

A(t)=t(qA(t)+pB(t)),B(t)=t(p+qA(t)).A(t) = t\bigl(q\,A(t) + p\,B(t)\bigr), \qquad B(t) = t\bigl(p + q\,A(t)\bigr).

Substituting: A(1qt)=ptB=pt(pt+qtA)A(1 - qt) = pt\,B = pt(pt + qtA), so

GT(t)=A(t)=p2t21qtpqt2.G_T(t) = A(t) = \frac{p^2t^2}{1 - qt - pq\,t^2} .

At t=1t = 1 the denominator is 1qpq=p(1q)=p21 - q - pq = p(1 - q) = p^2: GT(1)=1G_T(1) = 1, the game ends almost surely (as Exercise 21.6 showed by recursion). Logarithmic differentiation at 11: E(T)=2D(1)D(1)\E(T) = 2 - \frac{D'(1)}{D(1)} with D(t)=1qtpqt2D(t) = 1 - qt - pqt^2, D(1)=q2pqD'(1) = -q - 2pq:

E(T)=2+q+2pqp2=2p2+q+2pqp2=1+pp2,\E(T) = 2 + \frac{q + 2pq}{p^2} = \frac{2p^2 + q + 2pq}{p^2} = \frac{1 + p}{p^2},

which is 66 for p=12p = \frac12.

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)(p_k) with pgf GG, mean m=G(1)m = G'(1), generation sizes ZnZ_n (Z0=1Z_0 = 1), iterates Gn=GZnG_n = G_{Z_n}, extinction probabilities qn=P(Zn=0)qq_n = \P(Z_n = 0) \uparrow q; we always assume p11p_1 \neq 1 and, where second moments appear, G(1)<G''(1) < \infty, and we write σ2=V(Z1)\sigma^2 = V(Z_1).

Part I — Moments of the generations.

  1. Show E(Zn)=mn\E(Z_n) = m^n (chain rule on Gn=GGn1G_n = G \circ G_{n-1} at 11^-, using Gn1(1)=1G_{n-1}(1) = 1 and Theorem 23.7).
  2. Establish the recursion Gn(1)=G(1)m2(n1)+mGn1(1)G_n''(1) = G''(1)\,m^{2(n-1)} + m\,G_{n-1}''(1) and solve it: Gn(1)=G(1)mn1mn1m1G_n''(1) = G''(1)\,m^{n-1}\dfrac{m^n - 1}{m - 1} for m1m \neq 1, and Gn(1)=nG(1)G_n''(1) = n\,G''(1) for m=1m = 1.
  3. Deduce

    V(Zn)=σ2mn1mn1m1(m1),V(Zn)=nσ2(m=1).V(Z_n) = \sigma^2m^{n-1}\,\frac{m^n - 1}{m - 1} \quad (m \neq 1), \qquad V(Z_n) = n\,\sigma^2 \quad (m = 1).
  4. (Subcritical rate, upper bound) For m<1m < 1, show P(Zn>0)mn\P(Z_n > 0) \leq m^n (Markov on the integer-valued ZnZ_n): extinction is certain with a geometric rate — a quantitative refinement of the chapter’s criterion.
  5. (Subcritical rate, lower bound) Using Cauchy–Schwarz on Zn1Zn>0Z_n\mathbf 1_{Z_n > 0}, show

    P(Zn>0)E(Zn)2E(Zn2)cmnwithc=(σ2m(1m)+1)1:\P(Z_n > 0) \geq \frac{\E(Z_n)^2}{\E(Z_n^2)} \geq c\,m^{n} \quad\text{with}\quad c = \Bigl(\frac{\sigma^2}{m(1-m)} + 1\Bigr)^{-1} :

    the geometric rate mnm^n is exact up to constants.

Part II — The geometric family, solved exactly. Let the offspring law be geometric on N\N: pk=qpkp_k = qp^k (k0k \geq 0), with 0<p<10 < p < 1, q=1pq = 1 - p.

  1. Compute G(t)=q1ptG(t) = \dfrac{q}{1 - pt} and m=pqm = \dfrac pq; locate the three regimes in terms of pp.
  2. Solve G(t)=tG(t) = t: show the fixed points are 11 and q/p=1/mq/p = 1/m, and recover the extinction probability qext=min(1,1/m)q_{\mathrm{ext}} = \min(1, 1/m).
  3. Prove by induction the closed forms

    qn=mn1mn+11(m1),qn=nn+1(m=1).q_n = \frac{m^n - 1}{m^{n+1} - 1} \quad (m \neq 1), \qquad q_n = \frac{n}{n+1} \quad (m = 1).
  4. Deduce the exact rates: 1qn(1m)mn1 - q_n \sim (1 - m)\,m^n in the subcritical case, and qextqnm1m2mnq_{\mathrm{ext}} - q_n \sim \dfrac{m - 1}{m^{2}}\cdot m^{-n} in the supercritical case; check that the supercritical contraction ratio is G(qext)=1/mG'(q_{\mathrm{ext}}) = 1/m.
  5. Critical case (p=12p = \tfrac12): compute σ2=2\sigma^2 = 2 and note 1qn=1n+11 - q_n = \frac1{n+1}: survival decays like 1n\frac1n — neither geometric nor summable.
  6. Still critical: prove by induction the full iterate

    Gn(t)=n(n1)tn+1nt,G_n(t) = \frac{n - (n-1)t}{n + 1 - nt},

    and deduce that conditioned on survival, ZnZ_n is geometric on N\N^* with parameter 1n+1\frac1{n+1}:

    P(Zn=kZn>0)=1n+1(nn+1)k1,E(ZnZn>0)=n+1.\P(Z_n = k \mid Z_n > 0) = \frac1{n+1} \Bigl(\frac{n}{n+1}\Bigr)^{k-1}, \qquad \E(Z_n \mid Z_n > 0) = n + 1 .

    The average line dies, but the surviving lines have size of order nn.

Part III — Total progeny. Let Y=n0ZnN{}Y = \sum_{n\geq0}Z_n \in \N^* \cup \{\infty\} be the total number of individuals ever born, and H(t)=k1P(Y=k)tkH(t) = \sum_{k\geq1}\P(Y = k)t^k.

  1. Justify P(Y<)=qext\P(Y < \infty) = q_{\mathrm{ext}}, and recall from Exercise 23.7 the functional equation H(t)=tG(H(t))H(t) = t\,G(H(t)) (whose derivation did not use m<1m < 1).
  2. (Binary branching) For p0=p2=12p_0 = p_2 = \frac12 (critical), solve the functional equation:

    H(t)=11t2t,H(t) = \frac{1 - \sqrt{1 - t^2}}{t},

    and expand with Example 11.21 to get

    P(Y=2k+1)=Ck22k+1,Ck=1k+1(2kk);\P(Y = 2k + 1) = \frac{C_k}{2^{2k+1}}, \qquad C_k = \frac1{k+1}\binom{2k}k ;

    check the values P(Y=1)=12\P(Y = 1) = \frac12 and P(Y=3)=18\P(Y = 3) = \frac18 by direct counting.

  3. Differentiating the functional equation at 11^-, show that E(Y)=11m\E(Y) = \frac{1}{1-m} for m<1m < 1, while criticality forces E(Y)=\E(Y) = \infty: the critical total progeny is finite almost surely with infinite mean.
  4. With the central binomial asymptotics (Example 6.14), show

    P(Y=2k+1)12πk3/2,\P(Y = 2k+1) \sim \frac{1}{2\sqrt\pi\,k^{3/2}},

    a heavy k3/2k^{-3/2} tail, and deduce P(Y>n)n1/2\P(Y > n) \asymp n^{-1/2} (upper and lower bounds of this order suffice).

  5. 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 n3/2n^{-3/2} local laws. One paragraph on why criticality produces this signature.

Part IV — Kolmogorov’s estimate at criticality. Assume m=1m = 1, 0<σ2=G(1)<0 < \sigma^2 = G''(1) < \infty.

  1. Show that GG'' extends continuously to [0,1]\intcc01 (nonnegative increasing with finite limit) and deduce the Taylor expansion at 11:

    G(t)=t+b(1t)2+o((1t)2),b=G(1)2=σ22.G(t) = t + b\,(1-t)^2 + o\bigl((1-t)^2\bigr), \qquad b = \frac{G''(1)}2 = \frac{\sigma^2}2 .
  2. For t[0,1)t \in \intco01, set h(t)=11G(t)11th(t) = \dfrac1{1 - G(t)} - \dfrac1{1 - t}. Show

    h(t)=G(t)t(1G(t))(1t)t1b.h(t) = \frac{G(t) - t}{(1 - G(t))(1 - t)} \xrightarrow[t\to1^-]{} b .
  3. Telescope along the iteration qj+1=G(qj)q_{j+1} = G(q_j):

    11qn=1+j=0n1h(qj),\frac1{1 - q_n} = 1 + \sum_{j=0}^{n-1}h(q_j),

    and conclude with a Cesaro argument that

    P(Zn>0)=1qn2σ2n\P(Z_n > 0) = 1 - q_n \sim \frac{2}{\sigma^2\,n}

    Kolmogorov’s estimate: every critical branching process dies at the universal rate 1/n1/n, with only the constant remembering the offspring law.

  4. Check the estimate against the critical geometric case of question 10.
  5. Deduce E(ZnZn>0)=11qnσ2n2\E(Z_n \mid Z_n > 0) = \dfrac{1}{1 - q_n} \sim \dfrac{\sigma^2 n}{2} (note E(Zn1Zn>0)=E(Zn)=1\E(Z_n \mathbf 1_{Z_n>0}) = \E(Z_n) = 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.

  1. (Epidemics, chain reactions) For a Poisson offspring law P(λ)\mathcal P(\lambda) — each case infects P(λ)\mathcal P(\lambda) new cases — write the extinction equation q=eλ(q1)q = \eu^{\lambda(q-1)} and solve it numerically for λ=1.5\lambda = 1.5 (q0.417q \approx 0.417) and λ=2\lambda = 2 (q0.203q \approx 0.203): starting from one case, a major outbreak is not certain even when λ>1\lambda > 1. Explain why the iteration qn+1=eλ(qn1)q_{n+1} = \eu^{\lambda(q_n - 1)} from q0=0q_0 = 0 converges to the right root.
  2. Starting from kk ancestors instead of one, show that the extinction probability is qkq^k. Application: with λ=1.5\lambda = 1.5, how many initial cases make an outbreak at least 99%99\% likely?
  3. (Conditioning a supercritical process on extinction) For m>1m > 1 with extinction probability q(0,1)q \in \intoo01: first prove by convexity that G(q)<1G'(q) < 1 at the smallest fixed point, and deduce qextqn=O(G(q)n)q_{\mathrm{ext}} - q_n = O\bigl(G'(q)^n\bigr) (geometric convergence, as question 9 exemplified). Then show that G^(t)=G(qt)/q\widehat G(t) = G(qt)/q is the pgf of a bona fide offspring law, with mean m^=G(q)<1\widehat m = G'(q) < 1: a subcritical companion process. Verify on the geometric family: conditioning the supercritical (p,q)(p, q)-process on extinction swaps pp and qq. (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.)
  4. Synthesis: draw up the trichotomy table — for m<1m < 1, m=1m = 1, m>1m > 1: value of qq; rate of P(Zn>0)\P(Z_n > 0) or of qqnq - q_n; E(Y)\E(Y); size of a surviving generation. State in one sentence per tool how composition of pgfs, convexity, Taylor at 11^-, and Cesaro averaging carried the whole problem, and what the Year 3 volume adds (the martingale Zn/mnZ_n/m^n and Yaglom’s exponential limit law).
Solution

Solution of Problem 23.1.

1. For t(0,1)t \in \intoo01, the chain rule on Gn=GGn1G_n = G \circ G_{n-1} gives Gn(t)=G(Gn1(t))Gn1(t)G_n'(t) = G'\bigl(G_{n-1}(t)\bigr)G_{n-1}'(t). As t1t \to 1^-, Gn1(t)1G_{n-1}(t) \uparrow 1, and GG' is nondecreasing with left limit mm at 11, so the first factor tends to mm; by induction the second tends to mn1m^{n-1}. By Theorem 23.7, E(Zn)=Gn(1)=mn\E(Z_n) = G_n'(1^-) = m^n.

2. Differentiating once more,

Gn=G(Gn1)(Gn1)2+G(Gn1)Gn1,G_n'' = G''(G_{n-1})\,(G_{n-1}')^2 + G'(G_{n-1})\,G_{n-1}'',

and letting t1t \to 1^-: an=G(1)m2(n1)+man1a_n = G''(1)m^{2(n-1)} + m\, a_{n-1} with an=Gn(1)a_n = G_n''(1), a1=G(1)a_1 = G''(1). For m1m \neq 1 one checks by induction that an=G(1)mn1mn1m1a_n = G''(1)\,m^{n-1} \frac{m^n - 1}{m - 1} (the recursion adds G(1)m2n2G''(1)m^{2n-2} to mG(1)mn2mn11m1m\cdot G''(1)m^{n-2}\frac{m^{n-1}-1}{m-1}, and mn1+mn11m1=mn1m1m^{n-1} + \frac{m^{n-1}-1}{m-1} = \frac{m^n - 1}{m-1}); for m=1m = 1, an=an1+G(1)=nG(1)a_n = a_{n-1} + G''(1) = n\,G''(1).

3. V(Zn)=an+mnm2nV(Z_n) = a_n + m^n - m^{2n} and G(1)=σ2+m2mG''(1) = \sigma^2 + m^2 - m. For m1m \neq 1, the piece (m2m)mn1mn1m1=mn(mn1)(m^2 - m)m^{n-1}\frac{m^n-1}{m-1} = m^n(m^n - 1) cancels mnm2nm^n - m^{2n} exactly, leaving V(Zn)=σ2mn1mn1m1V(Z_n) = \sigma^2m^{n-1}\frac{m^n-1}{m-1}. For m=1m = 1: V(Zn)=nG(1)=nσ2V(Z_n) = nG''(1) = n\sigma^2.

4. ZnZ_n is a nonnegative integer variable, so P(Zn>0)=P(Zn1)E(Zn)=mn\P(Z_n > 0) = \P(Z_n \geq 1) \leq \E(Z_n) = m^n by Markov (Theorem 22.15). For m<1m < 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)2E(Zn2)P(Zn>0)\E(Z_n)^2 = \E(Z_n\mathbf 1_{Z_n>0})^2 \leq \E(Z_n^2)\,\P(Z_n > 0). With question 3 and m<1m < 1:

E(Zn2)=V(Zn)+m2nσ2mn11m+m2n,\E(Z_n^2) = V(Z_n) + m^{2n} \leq \frac{\sigma^2m^{n-1}}{1-m} + m^{2n},

so, dividing m2nm^{2n} by this bound and simplifying by mnm^n,

P(Zn>0)mnσ2m(1m)+mn(σ2m(1m)+1)1mn,\P(Z_n > 0) \geq \frac{m^n}{\frac{\sigma^2}{m(1-m)} + m^n} \geq \Bigl(\frac{\sigma^2}{m(1-m)} + 1\Bigr)^{-1}m^n ,

using mn1m^n \leq 1 in the denominator. With question 4: P(Zn>0)mn\P(Z_n > 0) \asymp m^n.

6. G(t)=qk(pt)k=q1ptG(t) = q\sum_k(pt)^k = \frac{q}{1 - pt}, and m=G(1)=pq(1p)2=pqm = G'(1) = \frac{pq}{(1-p)^2} = \frac pq. Subcritical for p<12p < \frac12, critical for p=12p = \frac12, supercritical for p>12p > \frac12.

7. G(t)=tG(t) = t reads pt2t+q=0pt^2 - t + q = 0, with roots 1±pq2p\frac{1 \pm \abs{p - q}}{2p}, i.e. 11 and qp=1m\frac qp = \frac1m. The extinction probability is the smallest fixed point in [0,1]\intcc01 (Theorem 23.25): qext=1q_{\mathrm{ext}} = 1 if m1m \leq 1, and 1m\frac1m if m>1m > 1.

8. For m1m \neq 1, with p=mm+1p = \frac m{m+1}, q=1m+1q = \frac1{m+1}: if qn=mn1mn+11q_n = \frac{m^n - 1}{m^{n+1} - 1}, then

1pqn=(m+1)(mn+11)m(mn1)(m+1)(mn+11)=mn+21(m+1)(mn+11),1 - p\,q_n = \frac{(m+1)(m^{n+1} - 1) - m(m^n - 1)} {(m+1)(m^{n+1} - 1)} = \frac{m^{n+2} - 1}{(m+1)(m^{n+1} - 1)},

so qn+1=q1pqn=mn+11mn+21q_{n+1} = \frac{q}{1 - pq_n} = \frac{m^{n+1} - 1}{m^{n+2} - 1}; the base case q0=0q_0 = 0 holds. For m=1m = 1: G(t)=12tG(t) = \frac1{2 - t} and qn+1=12nn+1=n+1n+2q_{n+1} = \frac1{2 - \frac{n}{n+1}} = \frac{n+1}{n+2}, with q0=0q_0 = 0.

9. 1qn=mn(m1)mn+111 - q_n = \frac{m^n(m - 1)}{m^{n+1} - 1}. For m<1m < 1 the denominator tends to 1-1: 1qn(1m)mn1 - q_n \sim (1 - m)\,m^n. For m>1m > 1:

qextqn=1mmn1mn+11=m1m(mn+11)m1m2  mn.q_{\mathrm{ext}} - q_n = \frac1m - \frac{m^n - 1}{m^{n+1} - 1} = \frac{m - 1}{m\,(m^{n+1} - 1)} \sim \frac{m - 1}{m^{2}}\;m^{-n} .

And G(t)=pq(1pt)2G'(t) = \frac{pq}{(1 - pt)^2} evaluated at t=qpt = \frac qp (where 1pt=1q=p1 - pt = 1 - q = p) gives G(qext)=qp=1mG'(q_{\mathrm{ext}}) = \frac qp = \frac1m: the observed ratio m1m^{-1} is exactly the derivative at the attracting fixed point.

10. For p=12p = \frac12: G(t)=1/4(1t/2)3G''(t) = \frac{1/4}{(1 - t/2)^3}, so G(1)=2G''(1) = 2 and σ2=G(1)+mm2=2\sigma^2 = G''(1) + m - m^2 = 2. The closed form gives 1qn=1n+11 - q_n = \frac1{n+1}: the survival probability decays like 1/n1/n — too slowly to be summable, unlike any subcritical rate.

11. Induction: G1(t)=12tG_1(t) = \frac1{2-t} matches the formula for n=1n = 1, and

G(Gn(t))=12n(n1)tn+1nt=n+1nt2(n+1)2ntn+(n1)t=n+1ntn+2(n+1)t.G(G_n(t)) = \cfrac{1}{2 - \cfrac{n - (n-1)t}{n+1 - nt}} = \frac{n + 1 - nt}{2(n+1) - 2nt - n + (n-1)t} = \frac{n+1 - nt}{n + 2 - (n+1)t} .

Then

Gn(t)qn1qn=(n+1)(n(n1)tn+1ntnn+1)=tn+1nt=tn+11nn+1t,\frac{G_n(t) - q_n}{1 - q_n} = (n+1)\,\Bigl(\frac{n - (n-1)t}{n+1 - nt} - \frac{n}{n+1}\Bigr) = \frac{t}{n + 1 - nt} = \frac{\frac{t}{n+1}}{1 - \frac{n}{n+1}t} ,

the pgf of the geometric law G(1n+1)\mathcal G\bigl(\frac1{n+1} \bigr) on N\N^* (Example 23.4): given survival, P(Zn=kZn>0)=1n+1(nn+1)k1\P(Z_n = k \mid Z_n > 0) = \frac1{n+1}\bigl(\frac n{n+1}\bigr)^{k-1}, with conditional mean n+1n + 1. The unconditional mean 1=E(Zn)1 = \E(Z_n) is the product of a vanishing survival probability and a linearly growing conditional size.

12. If the line goes extinct at generation nn, then Y=Z0++Zn1Y = Z_0 + \dots + Z_{n-1} is finite; if it never goes extinct, Yn1=Y \geq \sum_n 1 = \infty. So {Y<}\{Y < \infty\} is the extinction event and P(Y<)=qext\P(Y < \infty) = q_{\mathrm{ext}}. The derivation of H(t)=tG(H(t))H(t) = tG(H(t)) in Exercise 23.7 — the ancestor contributes the factor tt, its children found independent copies of YY counted through GG — used only Theorem 23.17, valid in every regime.

13. With G(s)=1+s22G(s) = \frac{1 + s^2}2 the equation reads tH22H+t=0tH^2 - 2H + t = 0, so H=11t2tH = \frac{1 - \sqrt{1 - t^2}}{t} (the root with H(0)=0H(0) = 0). Comparing with the Catalan series C(x)=114x2xC(x) = \frac{1 - \sqrt{1 - 4x}}{2x} (Example 11.21): H(t)=t2C(t24)=k0Ckt2k+122k+1H(t) = \frac t2\,C\bigl(\frac{t^2}4\bigr) = \sum_{k\geq0}C_k\,\frac{t^{2k+1}}{2^{2k+1}}, i.e. P(Y=2k+1)=Ck22k1\P(Y = 2k+1) = C_k2^{-2k-1}. Checks: P(Y=1)=C0/2=12\P(Y = 1) = C_0/2 = \frac12 (the ancestor has no child); P(Y=3)=C1/8=18\P(Y = 3) = C_1/8 = \frac18 (two children, both childless: 121212\frac12\cdot\frac12\cdot \frac12).

14. Differentiating H=tG(H)H = tG(H) on (0,1)\intoo01 and letting t1t \to 1^- (monotone limits as in Theorem 23.7): H(1)(1G(H(1)))=G(H(1))H'(1)\bigl(1 - G'(H(1))\bigr) = G(H(1)). In the subcritical case H(1)=1H(1) = 1 and E(Y)=H(1)=11m\E(Y) = H'(1) = \frac1{1 - m}. In the critical case G(1)=1G'(1) = 1 makes the left factor vanish while the right side is 11: no finite H(1)H'(1) can exist, so E(Y)=\E(Y) = \infty — yet P(Y<)=q=1\P(Y < \infty) = q = 1.

15. Ck=1k+1(2kk)4kπk3/2C_k = \frac1{k+1}\binom{2k}k \sim \frac{4^k}{\sqrt\pi\,k^{3/2}} by Example 6.14, so

P(Y=2k+1)=Ck24k12πk3/2.\P(Y = 2k+1) = \frac{C_k}{2\cdot4^{k}} \sim \frac1{2\sqrt\pi\,k^{3/2}} .

Summing the tail (comparison with Kk3/2 ⁣dk=2K1/2\int_K^\infty k^{-3/2}\dd k = 2K^{-1/2}, above and below): P(Y>2K)K1/2\P(Y > 2K) \asymp K^{-1/2}, i.e. P(Y>n)n1/2\P(Y > n) \asymp 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-3/2 and tails of exponent 1/2-1/2. This is no coincidence: exploring a family tree child by child produces a ±1\pm1 path (one step up per birth, one down per death) which is exactly a fair walk, and YY becomes a first passage time. Criticality means zero drift: the process is always on the verge of both extinction and explosion, and the \sqrt{}-scale fluctuations of zero-drift randomness produce precisely these exponents.

17. G(t)=n2n(n1)pntn2G''(t) = \sum_{n\geq2}n(n-1)p_nt^{n-2} has nonnegative terms, so it is nondecreasing on [0,1)\intco01 with finite limit G(1)=σ2G''(1) = \sigma^2 (criticality makes EZ1(Z11)=σ2\E Z_1(Z_1 - 1) = \sigma^2); a nondecreasing function with limit equal to the boundary value is continuous at 11. Taylor with integral remainder at the point 11:

G(t)=1+(t1)+1t(ts)G(s) ⁣ds=t+G(1)2(1t)2+o((1t)2),G(t) = 1 + (t - 1) + \int_1^t(t - s)G''(s)\,\dd s = t + \frac{G''(1)}2(1-t)^2 + o\bigl((1-t)^2\bigr),

since G(s)=G(1)+o(1)G''(s) = G''(1) + o(1) as s1s \to 1^-.

18. Reducing to a common denominator, h(t)=G(t)t(1G(t))(1t)h(t) = \frac{G(t) - t}{(1 - G(t))(1 - t)}. By question 17 the numerator is b(1t)2+o((1t)2)b(1-t)^2 + o((1-t)^2) and 1G(t)=(1t)(1b(1t)+o(1t))1 - G(t) = (1 - t)\bigl(1 - b(1-t) + o(1-t)\bigr), so h(t)bh(t) \to b.

19. By definition of hh at t=qjt = q_j and G(qj)=qj+1G(q_j) = q_{j+1}: 11qj+111qj=h(qj)\frac1{1 - q_{j+1}} - \frac1{1-q_j} = h(q_j); summing from j=0j = 0 (q0=0q_0 = 0) gives the display. Since the critical process dies out, qj1q_j \uparrow 1, so h(qj)bh(q_j) \to b and the Cesaro mean 1nj<nh(qj)b\frac1n\sum_{j<n}h(q_j) \to b: 11qnbn\frac1{1-q_n} \sim bn, i.e.

P(Zn>0)1bn=2σ2n.\P(Z_n > 0) \sim \frac1{bn} = \frac{2}{\sigma^2 n} .

20. Geometric critical case: σ2=2\sigma^2 = 2 (question 10), so Kolmogorov predicts 1qn1n1 - q_n \sim \frac1n — and the exact value is 1n+1\frac1{n+1}.

21. Since Zn1Zn>0=ZnZ_n\mathbf 1_{Z_n > 0} = Z_n, E(ZnZn>0)=E(Zn)P(Zn>0)=11qnσ2n2\E(Z_n \mid Z_n > 0) = \frac{\E(Z_n)}{\P(Z_n > 0)} = \frac1{1 - q_n} \sim \frac{\sigma^2n}2. In the geometric case this is n+1n + 1, matching question 11 exactly (σ2=2\sigma^2 = 2). The critical picture: extinction is certain, the mean size is frozen at 11, and the rare surviving lines have size growing linearly — each factor balancing the other.

22. For P(λ)\mathcal P(\lambda) offspring, G(t)=eλ(t1)G(t) = \eu^{\lambda(t-1)} and the extinction probability is the smallest root of q=eλ(q1)q = \eu^{\lambda(q-1)}. Numerically: λ=1.5\lambda = 1.5 gives q0.417q \approx 0.417 (iterate qe1.5(q1)q \mapsto \eu^{1.5(q-1)}: 0,0.223,0.312,0.356,0.41720, 0.223, 0.312, 0.356, \dots \to 0.4172); λ=2\lambda = 2 gives q0.203q \approx 0.203. So one index case sparks a major outbreak with probability 58%58\% (λ=1.5\lambda = 1.5) or 80%80\% (λ=2\lambda = 2) — likely, not certain. The iteration from q0=0q_0 = 0 converges to the smallest root because GG is nondecreasing: by induction qnrq_n \leq r for any fixed point rr, and (qn)(q_n) increases (it is P(Zn=0)\P(Z_n = 0)), so its limit is a fixed point below all others.

23. The kk ancestors found independent family trees, and total extinction is the intersection of kk independent extinction events: probability qkq^k. For λ=1.5\lambda = 1.5: outbreak probability 1qk0.991 - q^k \geq 0.99 requires qk0.01q^k \leq 0.01, i.e. kln0.01ln0.4175.3k \geq \frac{\ln 0.01}{\ln 0.417} \approx 5.3: six initial cases make the outbreak 99%99\% certain.

24. G(q)<1G'(q) < 1: GidG - \mathrm{id} is convex and vanishes at qq and 11, so it is 0\leq 0 on [q,1]\intcc q1; if G(q)=1G'(q) = 1, the tangent at qq (which convexity places below GG) would force G(t)tG(t) \geq t on [q,1]\intcc q1, hence GidG \equiv \mathrm{id} there, killing all coefficients pnp_n (n2n \geq 2) and contradicting m>1m > 1. Geometric convergence: qn<qq_n < q for all nn (induction, GG increasing), and the mean value theorem gives qqn+1=G(cn)(qqn)q - q_{n+1} = G'(c_n)(q - q_n) with cn(qn,q)c_n \in \intoo{q_n}q, so G(cn)G(q)<1G'(c_n) \leq G'(q) < 1 and qqnqG(q)nq - q_n \leq q\,G'(q)^n. Companion process: G^(t)=G(qt)/q=kpkqk1tk\widehat G(t) = G(qt)/q = \sum_kp_kq^{k-1}t^k has nonnegative coefficients and G^(1)=G(q)/q=1\widehat G(1) = G(q)/q = 1: a pgf; its mean is G^(1)=G(q)<1\widehat G'(1) = G'(q) < 1: subcritical. Geometric family: G(t)=q1ptG(t) = \frac{q}{1-pt}, qext=qpq_{\mathrm{ext}} = \frac qp, and

G^(t)=pqq1pqpt=p1qt:\widehat G(t) = \frac pq\cdot\frac{q}{1 - p\frac qp t} = \frac{p}{1 - qt} :

the geometric offspring law with pp and qq exchanged — the supercritical process seen on its extinction event is the mirror subcritical one.

25. The table: m<1m < 1: q=1q = 1, P(Zn>0)mn\P(Z_n > 0) \asymp m^n (questions 4–5), E(Y)=11m\E(Y) = \frac1{1-m}, surviving generations of bounded conditional mean. m=1m = 1: q=1q = 1, P(Zn>0)2σ2n\P(Z_n > 0) \sim \frac2{\sigma^2n} (Kolmogorov), E(Y)=\E(Y) = \infty with P(Y>n)n1/2\P(Y > n) \asymp n^{-1/2}, survivors of size σ2n2\sim \frac{\sigma^2n}2. m>1m > 1: q<1q < 1 is the smallest fixed point, qqn=O(G(q)n)q - q_n = O(G'(q)^n), E(Zn)=mn\E(Z_n) = m^n 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 11^- converted moment hypotheses into local expansions; and Cesaro averaging extracted Kolmogorov’s 1/n1/n from a telescoping sum. The Year 3 volume adds the martingale Zn/mnZ_n/ m^n — whose almost-sure limit refines E(Zn)=mn\E(Z_n) = m^n into a trajectory-by-trajectory growth rate — and Yaglom’s theorem, the limit law behind the conditional geometry observed in question 11.