Stellar Grove · Research

Stellar Grove · Concrete Mathematical Modelling

Why small populations die out

If births outnumber deaths, how can a population go extinct, and how many founders make it safe?

Chapter 5 · Birth and death: probabilistic dynamics. A worked example rebuilt from the chapter's topic in Mike Mesterton-Gibbons, *A Concrete Approach to Mathematical Modelling*; the scenario and numbers are our own illustration, not the book's text.

Headline: With 25% more births than deaths, a colony of 5 still dies out with probability 33%. Getting that risk under 5% takes 14 founders.

The problem

Conservationists release 5 animals into a new reserve. Each animal gives birth at rate λ=1.0 a year and dies at rate μ=0.8. The deterministic model dN/dt=(λ−μ)N says the colony grows by 20% a year, forever. Is it safe?

The model

Treat births and deaths as random events. With n animals, the next event comes after an exponential waiting time with rate (λ+μ)n and is a birth with probability λ/(λ+μ). The probabilities pn(t) obey the forward (master) equations:

dpndt=λ(n−1)pn−1+μ(n+1)pn+1−(λ+μ)npn

The mean still follows the deterministic curve, EN(t)=n0e(λ−μ)t, but zero is an absorbing state. Each founder's line of descendants dies out independently, with probability μ/λ (the smallest root of μ−(λ+μ)s+λs2=0), so:

P(extinction)=(μλ)n0

For a risk below 5%, solve (μ/λ)n0≤0.05:

n0≥ln0.05ln(μ/λ)

Here (0.8)5=0.328, and n0≥13.4, so 14 founders.

Twenty simulated colonies of 5: the average grows, yet many hit zero early
Twenty simulated colonies of 5: the average grows, yet many hit zero early

Try it

Extinction risk explorer

Drag the sliders; hover the chart to read values.

Key findings

Check

CheckResult
Simulated extinction by year 60 within 2.5 standard errors of the formulapass
from books.concrete_mathematics import birth_death as bd
print(round(bd.extinction_probability(n0=5, lam=1.0, mu=0.8), 4))
print(round(bd.extinction_probability(n0=5, lam=1.0, mu=0.8, t=10), 4))
T, N = bd.gillespie(5, lambda n: 1.0 * n, lambda n: 0.8 * n, t_max=10, rng=1)
print(len(T), "events; final size", N[-1])

# → 0.3277
# → 0.2809
# → 727 events; final size 132

Assumptions and extensions