In this discrete-time SIR model, each infected vertex is infectious for one step, can infect each susceptible neighbour with probability , and is then permanently removed. The adjacency matrix of a graph describes the possible transmissions. If the initial removed set is empty, eventual removal and ever becoming infected are the same event.
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.
Epidemic threshold for the closed SIR model Created 2026-10-06 Updated 2026-10-14
The deterministic SIR model with initial susceptible count grows initially exactly when . Its basic reproduction number is under unnormalized mass-action infection. If that ratio is at most one, decreasing prevents later infectious growth.
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.
Immunity (medical) 2026-10-13
In infection modelling, immunity is protection against infection or disease, with its strength and duration represented by the chosen host states. A SIR model has a permanently protected recovered state, whereas a SIS model has no lasting post-recovery protection.
Infection Created 2026-10-13 Updated 2026-10-14
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.
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.
Microparasite 2026-10-14
A microparasite is typically modelled as multiplying rapidly within a host, so infection status rather than the exact organism count is the first between-host state variable. SIS model, SIR model and SEIR model descriptions are examples. Additional within-host structure can still be required.
A microparasite typically multiplies within an infected host on a much shorter time scale than between-host transmission. A useful first model classifies hosts by infection status. A macroparasite, such as an adult parasitic worm, instead requires a count of parasites per host: two infected hosts can carry very different within-host parasite burdens. These are modelling distinctions rather than a rule determined only by an organism's physical size.
For a microparasite with no lasting immunity, a homogeneous SIS model is
The basic reproduction number is , and the prevalence describes the infected-host fraction. A SIR model adds an immune class, and a SEIR model adds a latent class. Contact structure, age, susceptibility, recovery rate and infectiousness can require several such classes. Then a next-generation matrix or operator, rather than a single averaged contact rate, sets the invasion threshold. Stochastic epidemic models are relevant to early extinction and finite populations; network or spatial models represent nonuniform contact opportunities.
For a simple macroparasite burden model, let be the fraction of hosts carrying adult worms. Assume acquisitions at rate , independent adult-worm losses at rate , and a number of infective stages in a well-mixed environmental reservoir. The immigration-death worm-burden model has
This birth-death process needs the burden distribution or its probability generating function, not just an infected/not-infected partition. Its mean satisfies . With host number fixed and each adult producing infective stages at rate , one possible environmental closure is
For this asexual, unsaturated transmission approximation, one worm's basic reproduction number is . Growth above the invasion threshold requires additional density regulation if a finite endemic burden is sought. Sex-dependent mating would change this closure.
With constant external exposure , the equilibrium burden follows a Poisson distribution with mean , giving infected-host prevalence . If exposure rates vary across hosts as a gamma distribution, the Poisson-gamma mixture gives a negative binomial distribution with mean and aggregation parameter :
The same mean burden can therefore coexist with very different prevalence and highly infected subgroups. Aggregation of macroparasite burdens affects treatment coverage, burden-dependent host mortality, immunity and parasite fecundity. For sexually reproducing worms, hosts need both sexes for fertile output; a mean alone may not determine it. With independent equally likely sexes and Poisson burden, the probability of both sexes is , illustrating mating-limited macroparasite transmission and its low-burden bottleneck.
Both microparasite and macroparasite models need heterogeneous exposure and host responses. The special extra difficulty for macroparasites is translating a distributed worm burden, and possibly worm sex or developmental stage, into transmission and host harm. Conversely, complicated within-host microparasite processes can also require more than a binary host state when the simple fast-within-host approximation fails.
Use fractions of all farms, so and . Assume farm size is fixed, contacts mix randomly, infectious periods have size-independent exponential mean , and the farm-size distribution has finite moments and . Write . The farm-size stratified SIR model with susceptibility proportional to size is
Here includes the common contact-rate constant; using frequency-dependent mixing avoids introducing an extra total-farm factor. An infectious farm of any size generates infections in initially susceptible size- farms. The next-generation matrix has rank one, giving the basic reproduction number
The comparison SIR model replaces every size by , so it has the same basic reproduction number and the same initial exponential growth rate .
As the epidemic develops, put . For negligible initial infection, . Large farms leave the susceptible class faster. If with , differentiation gives
The mean size of newly infected farms is , larger than the susceptible mean unless all sizes agree. If , then
Recovery cancels from this equation because its rate is size-independent. Starting with representative infectives, initially rises toward the size-biased mean ; later depletion of large susceptible farms lowers and usually lowers . It is incorrect to assert that the mean size of infectives must decrease from every possible initial condition. In the growing linearized mode, , so its mean is already .
The aggregate growth equation is . The falling susceptible mean adds a depletion effect absent from the homogeneous SIR model. The final size relation for an epidemic, with vanishing initial seed and attack fraction , is
By Jensen's inequality, the right side is at most , so is no larger than the homogeneous attack fraction. For a common small representative seed the illustrated epidemic is flatter and infects fewer farms; exact pointwise ordering of infected fractions for every time and arbitrary initial seed is not a consequence of equality of .
Figure 1.
Farm-size heterogeneity: epidemic prevalence and mean livestock counts for the three transmission assumptions
. Details.
The original sketch uses equally many farms of sizes 1 and 3, recovery rate , and a representative infected seed of . Each homogeneous comparison has . The left, middle and right columns correspond to parts (a), (b) and (c). The top row shows infected farm fractions, and the bottom row distinguishes the mean sizes of susceptible and infected farms. These are illustrative trajectories under the stated model, not universal empirical outbreak curves.
With susceptibility independent of size and infectivity proportional to size, define . The farm-size stratified SIR model is
An infectious size- farm has next-generation column . Its sole nonzero eigenvalue gives the basic reproduction number
again equal to the comparison SIR model.
Since every susceptible farm experiences the same force of infection, all ratios remain fixed. For a representative initial seed, and , uniqueness of the differential equations gives , , for all time. Consequently and
For this representative seed, the heterogeneous and homogeneous epidemics coincide exactly, and both susceptible and infected farm means stay at . This is the overlapping middle-column sketch above, not merely an approximation based on equal reproduction numbers.
With a nonrepresentative seed the susceptible mean remains its initial value, but the infected mean need not. The influx of new infectives has the constant susceptible mean, so
Thus it is pulled toward while incidence continues. Infectivity variation alone does not selectively remove large susceptible farms. The exact homogeneous reduction depends on the representative initial condition; specifying only and does not determine a trajectory for every possible seed.
Both weights now equal farm size, giving the farm-size stratified SIR model
The next-generation matrix is , whose nonzero eigenvalue is
The variance matters because large farms are both more likely to acquire infection and more effective sources afterward. This positive correlation increases the basic reproduction number relative to the homogeneous SIR model. In particular the heterogeneous population can permit invasion when the homogeneous comparison is subcritical.
Put . Apart from the negligible initial seed, . The susceptible mean obeys . For infectives, the incidence mean is again , and
The growing mode has mean , not . As the larger susceptible farms are depleted, the mean size of incoming infectives falls; the current infected mean follows it with a delay. These equations give the direction of change for any initial condition without imposing false monotonicity of the infected mean.
The weighted infected total satisfies , so the effective reproduction number declines from as the susceptible size distribution changes. The final size relation for an epidemic becomes
The right-column sketch illustrates the larger initial growth rate and preferential depletion of large farms. The homogeneous comparison has size in both transmission factors; it must not be assigned the heterogeneous second moment. The general conclusions are enhanced invasion and selective removal of large susceptible farms. The final unweighted fraction of farms infected has no universal ordering relative to the homogeneous comparison: higher transmission and stronger heterogeneity-induced depletion compete, and the displayed final-size equations determine the answer for a specified distribution. For example, with , the infinitesimal-seed attack fractions are approximately versus when the homogeneous reproduction number is , but versus when it is ; the two comparisons have opposite ordering.
The basic reproduction number is the expected value of secondary infections caused by one typical infectious individual introduced into an otherwise susceptible population. For a heterogeneous model it is the dominant eigenvalue of the next-generation operator, so the appropriate infected-type distribution is part of “typical.” A small introduction grows when and decays when , under the usual linear invasion assumptions.
The asymptotic susceptible level depends on the model. In a homogeneous SIS model with transmission rate and recovery rate , the positive endemic equilibrium has when . In a closed SIR model, however, the final size relation for an epidemic is
For an infinitesimal seed in a wholly susceptible population this becomes . The epidemic peak occurs at , and a nontrivial outbreak leaves . Thus is an endemic or instantaneous invasion threshold, not a universal final susceptible fraction.
For cooperative infections, let be the fractions carrying neither infection, only , only , and both, with sum one. Let , , assume each infection independently recovers at rate , and multiply susceptibility to the second infection by . One suitable pair of SIS models is
Recovery of one infection from leads to the other single-infection class, not directly to . The probability simplex is invariant. At the disease-free equilibrium the eigenvalues are , and . Therefore failure of both isolated and low-density invasion requires , . Enhancement of secondary susceptibility does not alter these linear thresholds because coinfection is second order at introduction.
For completeness, a joint positive equilibrium must have
and
To obtain these, divide the equilibrium equations for total and total prevalence by their positive prevalences, yielding and . Substitution into the balance gives the quadratic. Its discriminant must be nonnegative and the resulting positive. These conditions test equilibrium feasibility for unequal rates; stability must also be checked rather than inferred from the mere presence of a root.
A fully explicit Allee effect results in the symmetric permitted case , . The joint equilibria have
Two feasible positive equilibria coexist with the stable disease-free state exactly in the strict range
Indeed at the fold the two roots coalesce, and at the smaller-prevalence branch reaches the disease-free boundary. For , roots at do not give positive singly infected fractions. Strict inequalities exclude these marginal endpoints.
Here is the stability check underlying the cooperative SIS coinfection threshold. On the symmetric subspace put and . Then
At a positive equilibrium . Its two-dimensional Jacobian matrix has
The higher-prevalence branch has positive determinant and negative trace, while the lower-prevalence branch is a saddle equilibrium. The remaining antisymmetric mode, from , has eigenvalue . Thus the smaller susceptible root is a stable joint endemic equilibrium, separated from the stable zero state by a finite seeding threshold. Neither infection can persist alone in this range. Strong cooperation can sustain both infections after a sufficiently large joint introduction even though neither invades from rarity. The numerical condition belongs to the specified secondary-susceptibility model; alternative cooperation mechanisms need their own threshold calculation.
In the SIR model, count susceptible, infectious, and recovered immune individuals. The closed population has . Under homogeneous mixing, use the paper's mass-action infection convention: each susceptible has infection hazard function , so the population infection rate is . Each infectious individual recovers with hazard function , giving population recovery rate and mean infectious duration .
Figure 1.
SIR compartment transitions with infection flow beta S I and recovery flow gamma I
. Details.
The arrows are one-way: recovered individuals are immune, and there are no demographic entries or exits. The transition intensities attached to the arrows are population flow rates, rather than individual hazard functions.
The deterministic SIR model follows the ordinary differential equations
Use and . The state space is , ; summing the three equations proves conservation of this population. Infection is supported only where and , and recovery only where . The rates vanish at the corresponding boundaries, preventing negative compartment sizes.
This convention has an unnormalized population infection rate , as required by the printed threshold. A convention with infection rate would use a differently scaled parameter.
Whenever , divide the first SIR model equation by the recovery equation:
The SIR susceptible-recovered identity follows by integrating from , giving susceptibles as a function of recovered individuals:
Population conservation then gives the infectious count:
These identities extend continuously to the limiting state where the infectious count vanishes.
The infectious count in the SIR model obeys . At the initial state, , so initial epidemic growth requires the epidemic threshold for the closed SIR model
Here is the basic reproduction number in this mass-action infection convention. Necessity also follows globally: is nonincreasing, so if , then for all time and never increases. When , growth is impossible.
The SIR model is
The expected infectious duration is .