Bacterial infection 2026-10-31
An infection caused by bacteria.
An infection involves invasion and multiplication of an infectious agent in a host. Bacteria are one possible cause; an agent capable of causing disease is a pathogen. The National Cancer Institute defines infection through invasion and growth in the body. [ref].
In a SIR model, acquiring infection moves a member of the susceptible compartment into the infectious compartment. That immediate transition is a model assumption: the SEIR model instead includes an exposed stage before infectiousness. Specify these states when translating a biological process into compartmental models.
This generation-based compartmental model replenishes the susceptible compartment by per step and transfers individuals into the next infectious generation. Members of the current infectious compartment leave it after one step. In scaled variables , , , the update is , .
Its only fixed point is . There is no finite disease-free fixed point, since susceptible recruitment continues when . The Jacobian matrix at the fixed point is , with determinant one and trace . For , its two distinct eigenvalues have modulus one, so the linearized iterates are bounded and oscillatory. At , the repeated eigenvalue has a nontrivial Jordan block, making generic linearized iterates grow linearly. For , one eigenvalue has modulus greater than one.
Thus gives neutral linear stability, not asymptotic stability. Unit-modulus multipliers do not determine nonlinear stability. Recruitment can restore susceptibility above after a wave, allowing repeated infection growth; a closed SIR model without replenishment has a different susceptible balance.
An effective reproduction number describes transmission in the current population, accounting for available susceptibility and transmission conditions. The phrase is used with different time conventions, so a definition must specify whether it means an instantaneous reproduction number or a case reproduction number. The CDC uses a time-varying effective quantity to describe the direction of community transmission. [ref].
For the closed, homogeneous SIR model with constant , the instantaneous convention gives
Thus the infectious compartment grows when and declines when , provided . At the SIR infection peak it equals one. This freezes the current susceptible fraction; it does not count a newly infected person's actual future secondary infections while continues to decrease. The distinction comes directly from the SIR model equations and the two time conventions above.
For frequency-dependent transmission with homogeneous mixing, each member of the susceptible compartment experiences force of infection . Consequently the total flow into the infectious compartment is people per unit time. The constant combines the contact frequency and the chance that a relevant contact causes infection, and has units of inverse time. Holding the infectious compartment's fraction fixed holds each person's force of infection fixed when changes. An unnormalized mass-action infection convention instead writes the total flow as , where has units of inverse person-time; these two coefficients must not be confused.
Homogeneous mixing 2026-10-14
Homogeneous mixing assumes that contacts sample the whole modelled population without differences between groups or locations. In the SIR model, the chance that a sampled contact belongs to the infectious compartment is . This assumption makes a frequency-dependent transmission rule depend on the overall infectious compartment rather than a graph of individual contacts. Structured contacts require a different mathematical model, such as a discrete SIR epidemic on a graph.
Infectious compartment 2026-10-14
The infectious compartment consists of people currently able to transmit infection. In the closed SIR model, is their count and their fraction of the fixed total . The SIR model has no separate delay between acquiring infection and entering the infectious compartment; the SEIR model adds such a stage.
The susceptible compartment retains individuals, gains recruits per generation and loses through infection. The mass-action interaction term represents new infections generated by encounters between susceptible and infectious individuals. Those new cases form the next infectious compartment, ; the current infectious generation leaves that compartment after one time step.
The initial conditions specify the starting susceptible and infectious counts. The parameter is the transmission coefficient in this deterministic approximation, while supplies new susceptible individuals. This is the discrete susceptible-infective model with recruitment.
For the closed SIR model with , the infectious compartment's fraction approaches . One proof outline uses the bounded, increasing removed compartment's fraction: since , the total time-integrated is finite. The bounded derivative from the SIR model equations prevents indefinitely recurring spikes, so tends to zero.
For , the final size relation for an epidemic follows by dividing the SIR model equations for and while , giving . Integration then yields
This also follows from the SIR first integral and conservation of population. For the stipulated initial value problem, solve
The bisection method gives
About of the original population remains in the susceptible compartment. The is the final removed compartment's fraction, including the initially in the infectious compartment. The newly acquired infection during the modelled period accounts for of the total population, not . Dividing by instead gives the proportion of initially susceptible compartment members who acquire infection; its denominator must be stated.
At the SIR infection peak, the flow into the infectious compartment only balances its outflow; it does not stop. Further infection explains why the final susceptible compartment's fraction is well below . Also for and finite : the closed SIR model does not require everybody to acquire infection before its infectious compartment empties in the long-time limit.
SIR infection peak 2026-10-14
If and , the infectious compartment initially grows. The SIR model equations give its unique later maximum when
Before this SIR infection peak, ; afterward it is negative because the susceptible compartment keeps shrinking. Substituting into the SIR first integral gives
For the stipulated initial value problem,
Thus about of the modelled population belongs to the infectious compartment simultaneously at the SIR infection peak. This is a peak of the infectious compartment, not of incidence, whose flow is . If , the maximum is already at the start and the interior SIR infection peak formula does not apply.
Figure 1. . The SIR model equations produce a SIR infection peak near day . The phase portrait follows decreasing from right to left and changes from growth to decline of the infectious compartment at . The susceptible compartment remains nonempty as approaches zero. The curves use a fourth-order Runge-Kutta method with a fixed step of day; all parameter values are illustrative. Details.
The numerical solution of a differential equation puts the SIR infection peak at about day with , agreeing with the SIR first integral to within . The accompanying generator checks nonnegative fractions and conservation of population without clipping or rescaling. For steps , and day, the largest differences between successive numerical trajectories at shared times are approximately and . Their ratio is , close to the factor expected when a fourth-order Runge-Kutta method's step is halved.
SIR model Created 2026-09-24 Updated 2026-10-14
The SIR model is a mathematical model of an epidemic that follows three groups: a susceptible compartment whose members can acquire infection, an infectious compartment whose members can pass it on, and a removed compartment whose members neither acquire nor pass on infection. The letters stand for susceptible, infectious and recovered or removed. Here we study the simplest closed, constant-parameter version, with homogeneous mixing and no births, deaths, migration or waning immunity. A person who leaves the infectious compartment never returns to the susceptible compartment in this version.[ref]
The appeal of the SIR model is that one can explain a rise and fall in the infectious compartment without changing anyone's behavior: fewer opportunities for new infection eventually reverse the growth. The SIR first integral even determines the SIR infection peak without computing its time. These are useful deductions from explicit assumptions. The stipulated numbers below illustrate the mathematical model; they are neither estimates for an actual disease nor a forecast or medical advice.
Kermack and McKendrick's 1927 paper, "A contribution to the mathematical theory of epidemics", in Proceedings of the Royal Society A, is an early foundation for the SIR model. Its DOI is 10.1098/rspa.1927.0118, also recorded in the Royal Society's archive of contemporary referee reports.[ref][ref]
Figure 1.
Transfers between the three compartments of the SIR model
. The SIR model equations transfer a fraction per day from the susceptible compartment to the infectious compartment, and a fraction per day from the infectious compartment to the removed compartment. Each arrow contributes a loss to one group and an equal gain to another, giving conservation of population. Details.
SIR model equations 2026-10-14
For frequency-dependent transmission, the closed SIR model is a system of ordinary differential equations for the fractions :
Here is the coefficient of frequency-dependent transmission, and is the recovery rate, interpreted more generally as the removal rate. Both have units of inverse time. With a constant recovery rate, the associated individual time in the infectious compartment has an exponential distribution with mean ; the SIR model does not require every person to spend exactly that long there. The fractions themselves have no units.[ref]
For counts , , , the same SIR model equations read
The factor keeps the same in both descriptions. Dropping it while keeping these units would fail dimensional analysis. Some existing SIR model variants use the unnormalized mass-action infection convention instead, including the SIR susceptible-recovered identity; their coefficient is in the notation used here.
Adding the SIR model equations gives , a short proof of conservation of population. Nonnegative starting fractions stay nonnegative: the outflow from either the susceptible compartment or the infectious compartment vanishes when that group is empty, while . Thus the susceptible compartment can only shrink and the removed compartment can only grow.
For a concrete initial value problem, stipulate
At the start, the flow into the infectious compartment is of the total per day, and the flow into the removed compartment is of the total per day. Hence per day. If , these correspond to model rates of and people per day, and net growth people per day. A rate need not be an integer count of events on any particular day.
For this SIR model, the basic reproduction number is
It describes one introduced member of the infectious compartment in an otherwise wholly susceptible compartment. The instantaneous reproduction number at the actual starting state is , obtained by freezing the current conditions and the current susceptible compartment's fraction. More generally it is in this SIR model. The basic reproduction number is a ratio of two rates, so it has no units; is a different quantity, the initial removed compartment's fraction.
While , its instantaneous relative growth is
Initially this equals . Freezing gives the early exponential growth approximation with measured in days. It must fail as the susceptible compartment shrinks. An epidemic invasion threshold occurs at ; if , the deterministic SIR model stays at even above that threshold.