The Galton–Watson Branching Process

Pull on the offspring distribution. Watch a family tree decide whether it lives forever.
📄 Math note (PDF)

① Offspring distribution pk

Mean μ = E[X] —
Variance σ² —
Regime —
Extinction prob q —

③ Empirical results

Simulations run 0
Went extinct 0
Empirical q̂ —

🎯 Predict q

A mystery distribution appears. Guess the extinction probability before revealing the truth.
your guess: 0.500 truth: —
round 0 · avg — best — / 100
Generation 0 · 1 alive
Zn — population by generation (log scale)

② Generating function f(s) = Σpksk

The extinction probability q is the smallest fixed point of f(s) in [0,1].
When μ ≤ 1, the only fixed point is 1 — death is certain.
When μ > 1, a second fixed point q < 1 appears — the lineage may live forever.
Try this: push p₀ to zero — the gold dot snaps to 0. Now push p₀ above 0.5 — the dot crawls toward 1. You've just felt the extinction theorem.