Infectious disease
Infectious diseases can have severe health outcomes for individuals who contract them. They can also place an unmanageably large demand on the health service.
Infectious diseases can be characterised using their basic reproduction number, \(R_0\).
Disease | \(R_0\) |
---|---|
Measles | 12-18 |
Chickenpox | 10-12 |
Rubella | 6-7 |
Common cold | 2-3 |
Covid 19 (Omicron) | 9.5 |
Mathematical modelling of infectious diseases
We can use mathematics to study the dynamics of an infectious disease within a population. In the SIR model a population is split into three compartments:
- \(S(t)\) - size of susceptible population at time \(t\)
- \(I(t)\) - size of infected population at time \(t\)
- \(R(t)\) - size of recovered/post-infected population at time \(t\)
The SIR model has two parameters:
- \(r\) - infection rate
- \(a\) - recovery rate
From a public health perspective, one could propose that there is some level of infectiousness, \(I_{max}\), which must be avoided. The challenge is to manage the disease such that \(I(t)<I_{max}\) for all \(t\).
In the app in Figure 1 you can investigate how the values of the parameters \(r\) and \(a\) affect the trajectory of the infectious disease.
Please note that the app in Figure 1 is approximately 20 MB. If it does not display on your device:
- wait a few moments (it is downloading the Python code that will run the app)
- refresh your browser.
- try running on a faster connection/ more powerful device.
If it still does not load, here is a screenshot.
Exercises with the app
- can you determine what value the infectivity parameter, \(r\), must go below in order that \(I(t)<I_{max}\)?
- suppose that covid omicron in a susceptible population of \(S_0=5000\) has a recovery rate \(a=0.05\). Can you estimate the value of the infectivity parameter, \(r\), such that \(R_0=9.5\)?
- which parameters in the app best represent the effect of vaccination of a section of the population?
The SIR model equations
The SIR model is formulated as a system of ordinary differential equations.
On this page we consider a simpler case of a single population.
The governing equations in the SIR model are: \[ \begin{aligned} \frac{dS}{dt}&=-rIS, \\ \frac{dI}{dt}&=rIS-aI, \\ \frac{dR}{dt}&=aI. \end{aligned} \tag{1}\]
The initial conditions are:
\[ \begin{aligned} S(t=0)&=S_0, \\ I(t=0)&=I_0, \\ R(t=0)&=R_0. \end{aligned} \]
In the app in Figure 1 Equation 1 are solved numerically for a given parameter set and the solution is plotted.
At Dundee, the mathematical tools needed are developed in modules:
- Maths 1A, 1B, 2A and 2B (Core maths modules)
- Computer algebra and dynamical systems
- Mathematical Biology I
- Mathematical Biology II
At Levels 2, 3 and 4 you will learn how to use computer programming to explore and communicate mathematical concepts.
You can find out more about these modules here.