💉 Eradicating a Disease: Vaccination, Herd Immunity and the SIR Epidemic Model

Presets

Controls

Readouts

What you see

Left: 1,080 people. Blue are immune through vaccination, amber are still susceptible, red are infectious, green have recovered. Right: the fraction of the population in each state over one year. When coverage is above the herd-immunity threshold an introduced infection cannot grow, which is how smallpox was eradicated.

Numerical check

The science

SIR model (population fractions): dS/dt = -βSI, dI/dt = βSI - γI, dR/dt = γI, with R0 = β/γ and a fixed infectious period 1/γ = 7 days. A vaccine with coverage v and efficacy e immunises a fraction v·e. The effective reproduction number is Re = R0 (1 - v·e); an outbreak cannot grow when Re < 1, i.e. coverage v ≥ (1 - 1/R0)/e. The final size obeys S∞ = S0 exp[-R0 (1 - v·e - S∞)].

Simplifications: well-mixed population, no births, deaths or waning immunity, vaccine fully protective for those it protects (all-or-nothing), no latent period. Typical textbook R0 values: seasonal influenza about 1.3, COVID-19 early variants about 2-3; use R0 = 8 for a very contagious illness. Eradication in reality also needs surveillance, global coverage and no animal reservoir; this model only shows the threshold arithmetic.