Introduction

When a new infectious disease appears, the first question is always the same: how bad will it get, and when? Since the early twentieth century, mathematicians have answered this with compartmental models — they divide a population into groups and write down rules for how people move between them.

The simplest is SIR: everyone starts Susceptible, then moves to Infectious, then to Removed (recovered or deceased). It is elegant and captures the qualitative shape of an outbreak — a fast rise, a peak, a slow decline. But it has a flaw: in SIR, the moment you catch a pathogen you immediately become infectious yourself.

Real diseases rarely work that way. Influenza, COVID-19, measles — all have an incubation period during which you are infected but not yet contagious. You carry the pathogen, you feel nothing, and the world around you does not know the clock has started.

The SEIR model fixes this by inserting one compartment between S and I: E for Exposed. A person moves SES \to E when infected and EIE \to I only after the incubation ends. That single delay changes the epidemic curve in ways that matter for every public-health decision.

Try It

The simulation below runs a discrete-time SEIR model on a population of 10 000. Adjust the sliders to change the transmission rate β\beta, the incubation rate σ\sigma (how fast exposed people become infectious), and the recovery rate γ\gamma.

<!-- {{c_html_intro}} -->
<div class="controls">
  <label>
    <span>{{lbl_beta}}</span>
    <input type="range" id="beta" min="0.05" max="0.8" step="0.01" value="0.3">
    <span id="betaVal" class="val">0.30</span>
  </label>
  <label>
    <span>{{lbl_sigma}}</span>
    <input type="range" id="sigma" min="0.05" max="1.0" step="0.01" value="0.2">
    <span id="sigmaVal" class="val">0.20</span>
  </label>
  <label>
    <span>{{lbl_gamma}}</span>
    <input type="range" id="gamma" min="0.05" max="0.5" step="0.01" value="0.1">
    <span id="gammaVal" class="val">0.10</span>
  </label>
</div>
<canvas id="chart" width="560" height="260" aria-label="{{lbl_chart_aria}}"></canvas>
<div id="info" class="info"></div>
<div class="legend">
  <span class="dot s"></span>{{lbl_susceptible}}
  <span class="dot e"></span>{{lbl_exposed}}
  <span class="dot i"></span>{{lbl_infectious}}
  <span class="dot r"></span>{{lbl_recovered}}
</div>
/* {{c_css_intro}} */
* { box-sizing: border-box; margin: 0; padding: 0; }
body { font-family: system-ui, sans-serif; color: #222; padding: .5rem; }
.controls { display: flex; flex-direction: column; gap: .4rem; margin-bottom: .6rem; }
label { display: flex; align-items: center; gap: .5rem; font-size: .85rem; }
label span:first-child { width: 13rem; flex-shrink: 0; }
input[type=range] { flex: 1; accent-color: #1d3557; }
.val { width: 3rem; text-align: right; font-variant-numeric: tabular-nums; }
canvas { display: block; width: 100%; max-width: 560px; border: 1px solid #dde3ea; border-radius: 8px; background: #f8fafc; }
.info { font-size: .85rem; margin-top: .5rem; color: #444; min-height: 2.2em; line-height: 1.5; }
.legend { display: flex; align-items: center; gap: .8rem; font-size: .8rem; margin-top: .4rem; flex-wrap: wrap; }
.dot { display: inline-block; width: 12px; height: 12px; border-radius: 50%; margin-right: .2rem; }
.dot.s { background: #457b9d; }
.dot.e { background: #e9c46a; }
.dot.i { background: #e63946; }
.dot.r { background: #2a9d8f; }
// Code not found

Notice how decreasing σ\sigma — lengthening the incubation period — pushes the infectious peak to the right and reduces its height. The total number of people who eventually get infected barely changes, but the peak is stretched over a longer time, giving health systems more breathing room. This is the mathematical core of "flattening the curve."

The Real Complexity

The SEIR model is four coupled ordinary differential equations. With population NN and fractions S,E,I,RS, E, I, R summing to 1:

dSdt=βSI\frac{dS}{dt} = -\beta S I

dEdt=βSIσE\frac{dE}{dt} = \beta S I - \sigma E

dIdt=σEγI\frac{dI}{dt} = \sigma E - \gamma I

dRdt=γI\frac{dR}{dt} = \gamma I

The three key parameters are:

  • β\beta — transmission rate: average contacts per day times the probability of transmission per contact.
  • σ\sigma — incubation rate: 1/σ1/\sigma is the mean incubation period in days (the average time spent in E).
  • γ\gamma — recovery rate: 1/γ1/\gamma is the mean infectious period in days.

The basic reproduction number R0=β/γR_0 = \beta / \gamma measures how many secondary cases one infectious person generates in a fully susceptible population. It does not depend on σ\sigma — the incubation period does not change whether an outbreak grows, only when and how sharply the peak arrives.

Why does E shift the peak? In SIR, new infections immediately swell the infectious pool. In SEIR, they first fill E, which acts as a buffer. The infectious compartment cannot rise faster than E empties, so the peak is delayed by roughly the mean incubation time 1/σ1/\sigma and is lower because II accumulates more slowly. Mathematically, the system's dominant eigenvalue is smaller (in magnitude) when σ\sigma is finite, giving a slower exponential growth phase.

The final-size equation — how many people eventually get infected — depends only on R0R_0 and the initial conditions, not on σ\sigma. Incubation rearranges when infections happen, not how many ultimately occur. That is both the model's power and its sobering message: flattening the curve does not make the outbreak smaller, only more manageable.

For comparison, see Bayesian inference, which is used to estimate β\beta, σ\sigma, and γ\gamma from real case data.

Where It Matters

The exposed compartment turns the SEIR model into one of the most widely used frameworks in public health and beyond:

  • Pandemic planning: SEIR (and its extensions) underpinned nearly every government projection during the COVID-19 pandemic, including the influential Imperial College model by Neil Ferguson's team (2020) that triggered lockdown decisions across Europe and North America.
  • Vaccination strategy: by reducing S, vaccination raises the herd-immunity threshold. SEIR tells planners how quickly coverage must grow to prevent a peak from overwhelming hospitals.
  • Contact tracing: the E compartment is exactly who contact tracing tries to find — people infected but not yet contagious, where isolation is still effective. The ratio 1/σ1/\sigma determines how long the window stays open.
  • Non-pharmaceutical interventions: reducing β\beta through mask use, distancing, or school closures lowers R0R_0 and stretches the curve — the model quantifies the trade-off between duration and peak height.
  • Computer-virus epidemics: the same equations model the spread of malware through networks, where EE captures machines carrying but not yet spreading a payload.
  • Ecological and agricultural outbreaks: plant diseases, crop blights, and animal epidemics all exhibit incubation periods that SEIR captures faithfully.

The SEIR model is a striking example of how a tiny structural change to a mathematical framework — one extra compartment — can change the policy conclusions derived from it. Compare this to how Bayesian inference is used to fit these models to real surveillance data and extract parameter estimates with uncertainty bounds.

Conclusion

The SEIR model is deceptively simple: four compartments, three rates, four equations. Yet the addition of E — the exposed, incubating, pre-contagious population — transforms a rough sketch of an epidemic into a tool precise enough to guide national policy.

The incubation period delays the peak, reduces its height, and defines the window during which contact tracing can still interrupt transmission. R0R_0 tells you whether an outbreak will grow; σ\sigma tells you when the worst will arrive and how sharply. Together they answer the hardest question in an epidemic: not just how bad, but how fast.

The next time you hear "flatten the curve," you are hearing σ\sigma at work — a single parameter stretching a wave across time, buying the days that health systems need to survive it.

Share this article

Pick a channel — or use your device's native share sheet.

Comments

Loading comments...

https://www.kipuhub.com/en/article/seir-model/Content licensed under CC BY-NC 4.0.