Biology · Simulator 034
Follow an infection through a population using the SIR model: susceptible, infected, recovered. Change how easily it spreads, how long people stay infectious, and how many are vaccinated. Compare the peak, its timing and how many are infected in total.
Class 11–12CollegeClass 12 Biology: Human Health and Disease; the SIR model is college level
The population is split into three compartments that change over time:
dS/dt = −β S I / N
dI/dt = β S I / N − γ I
dR/dt = γ I
β is the transmission rate and 1/γ the average infectious period. The basic reproduction number R₀ = β/γ is the number of people one case infects in a fully susceptible population. The epidemic grows while the effective number R_eff = R₀ · S/N is above 1. It peaks exactly when R_eff falls to 1.
Vaccinating a fraction v before the outbreak moves people straight to R. If v > 1 − 1/R₀, the herd-immunity threshold, the outbreak cannot grow at all. The final size z (fraction ever infected, without vaccination) solves z = 1 − e^(−R₀ z).
Educational compartment model: homogeneous mixing, lifelong immunity, no births, deaths or behaviour change. It is not a forecast for any real disease.
Measles has R₀ around 15. What vaccination coverage is needed for herd immunity? Why is that much harder than for a disease with R₀ = 2?
1 − 1/15 ≈ 93%, against 50% for R₀ = 2. Because the threshold approaches 100% as R₀ grows, small drops in measles coverage quickly allow outbreaks. Set β/γ = 15 and try 90% and 95%.
An infection with transmission rate β = 0.3 per day and an infectious period of 10 days (γ = 0.1).
R₀ = β / γ = 3: each case infects 3 others in a fully susceptible population.
Peak: cases peak when Reff = R₀ × S/N falls to 1, when only 1/3 of people are still susceptible.
Final size: solve z = 1 − e−3z; z ≈ 0.94, so about 94% are eventually infected without any measures.
Herd immunity: the threshold is 1 − 1/3 ≈ 67%. Vaccinating only 50% gives Reff = 1.5 at the start; then z = 1 − e−1.5z gives z ≈ 0.58, so about 58% of the unvaccinated, 29% of everyone, still catch it.
Set β = 0.3 and infectious period 10 days, then vaccinate 50% and 70%.
The basic reproduction number: how many people one infected person infects on average when nobody is immune. If it is above 1 an outbreak grows; below 1 it dies out.
When enough people are immune that each case infects fewer than one other on average. The threshold is 1 − 1/R₀, so 60% for R₀ = 2.5 and 67% for R₀ = 3.
Reducing transmission so the epidemic peak is lower and later. Fewer people are sick at once, which keeps hospitals within capacity, and fewer are infected in total.