How this calculation works
Calculate eventual extinction and generation-by-generation extinction probabilities for a single-type Galton–Watson branching process. Enter the probability of producing zero, one, two and successive numbers of offspring. The tool solves the smallest fixed point of the offspring generating function and reports expected generation sizes from one initial ancestor. Eventual extinction and extinction by a finite generation are distinct outputs.
G(s)=Σ p_k s^k; q_ext is the smallest root G(q)=q in [0,1]; P(Z_g=0)=G^(g)(0).A worked example
With offspring probabilities p0=1/4 and p2=3/4, mean offspring is 3/2. The fixed-point equation q=1/4+3q²/4 has roots 1/3 and 1; extinction uses the smaller root, 1/3. A finite-generation extinction probability approaches that limit from below.
Good to know
One ancestor, independent identically distributed finite-support offspring 0–12, probabilities summing to one, 1–200 generations. Expected generation size can exceed the finite numeric range; such outputs are rejected. No multitype, density dependence or physical population forecast.
Defining the offspring distribution
List probabilities starting with zero offspring, keeping any intermediate zero probabilities in their proper positions. The entries must be nonnegative and sum to one.
Every individual has an independent offspring count drawn from this same distribution, and generations do not overlap in the mathematical model. These assumptions are stronger than merely knowing an average growth rate. Correlated family sizes, environmental changes and a finite resource capacity lead to different processes.
Tracks an unbounded random population via an offspring generating function, rather than a supplied finite-state transition matrix. The Occupied boxes probability calculator for random allocations offers a complementary calculation under its own stated assumptions.
The generating-function recursion
Let f(s) be the probability generating function of offspring count. Starting from q zero equals zero, repeated substitution q next equals f(q) gives extinction by successive generations.
Each step integrates over the possible offspring of the original ancestor. The increasing sequence converges to the smallest fixed point in the unit interval. A finite displayed horizon is therefore not the same as the eventual extinction probability, particularly near the critical case where convergence can be slow.
Worked example and mathematical rule
With offspring probabilities p0=1/4 and p2=3/4, mean offspring is 3/2. The fixed-point equation q=1/4+3q²/4 has roots 1/3 and 1; extinction uses the smaller root, 1/3. A finite-generation extinction probability approaches that limit from below.
G(s)=Σ p_k s^k; q_ext is the smallest root G(q)=q in [0,1]; P(Z_g=0)=G^(g)(0).
Mean offspring and the critical exception
For a nondegenerate distribution with mean at most one, eventual extinction is certain. A mean above one allows positive survival probability, but does not guarantee survival of an individual lineage.
The deterministic one-child process is a critical exception: it continues forever and never becomes extinct. More generally, if zero offspring is impossible, extinction cannot occur from one ancestor. The implementation handles these cases explicitly rather than applying the mean-based slogan without its conditions.
Expectation is not a typical trajectory
The expected population in generation n is the offspring mean raised to n. In a supercritical process that expectation can grow even while many realizations have already died out.
Rare large surviving families can dominate an average. Do not describe the expectation as the most likely population or use it as a simulated path. The finite-generation extinction curve conveys different information about how quickly lineages disappear, while the eventual result includes arbitrarily distant generations.
More than one initial ancestor
For independent starting ancestors, extinction probabilities multiply. If q is the single-ancestor eventual probability and there are a starting ancestors, the total extinction probability is q raised to a.
The same relationship applies at a fixed generation using its finite-horizon extinction probability. This extension requires independent family trees with the same offspring law. Shared shocks or competition between lineages break that simplification and can make the single-type independent process a poor approximation.
Interpreting numerical limits
The offspring distribution has a finite supported maximum, and the calculation uses bounded generation counts. If the empirical data include larger families, do not discard their probability and renormalize without acknowledging the changed model.
Near mean one, distinguish slow extinction from positive survival carefully. The fixed-point solver uses the full entered distribution, not only its mean; distributions with the same mean can have different supercritical extinction probabilities. Use that comparison to explore how variability changes lineage risk.
A few questions, answered
Does a mean above one guarantee survival?
No. It gives positive survival probability for the usual nondegenerate process, while extinction can still occur.
Why is one child with probability one special?
Every generation then contains exactly one descendant, so extinction never occurs despite mean one.
How do I handle several starting ancestors?
For independent identical family trees, raise the single-ancestor extinction probability to the number of ancestors.
Is the expected generation size a simulation?
No. It is an average over possible realizations, not an individual family history.