Skip to main content
Home
plus.maths.org

Secondary menu

  • My list
  • About Plus
  • Sponsors
  • Subscribe
  • Contact Us
  • Log in
  • Main navigation

  • Home
  • Articles
  • Collections
  • Podcasts
  • Maths in a minute
  • Puzzles
  • Videos
  • Topics and tags
  • For

    • cat icon
      Curiosity
    • newspaper icon
      Media
    • graduation icon
      Education
    • briefcase icon
      Policy

    Popular topics and tags

    Shapes

    • Geometry
    • Vectors and matrices
    • Topology
    • Networks and graph theory
    • Fractals

    Numbers

    • Number theory
    • Arithmetic
    • Prime numbers
    • Fermat's last theorem
    • Cryptography

    Computing and information

    • Quantum computing
    • Complexity
    • Information theory
    • Artificial intelligence and machine learning
    • Algorithm

    Data and probability

    • Statistics
    • Probability and uncertainty
    • Randomness

    Abstract structures

    • Symmetry
    • Algebra and group theory
    • Vectors and matrices

    Physics

    • Fluid dynamics
    • Quantum physics
    • General relativity, gravity and black holes
    • Entropy and thermodynamics
    • String theory and quantum gravity

    Arts, humanities and sport

    • History and philosophy of mathematics
    • Art and Music
    • Language
    • Sport

    Logic, proof and strategy

    • Logic
    • Proof
    • Game theory

    Calculus and analysis

    • Differential equations
    • Calculus

    Towards applications

    • Mathematical modelling
    • Dynamical systems and Chaos

    Applications

    • Medicine and health
    • Epidemiology
    • Biology
    • Economics and finance
    • Engineering and architecture
    • Weather forecasting
    • Climate change

    Understanding of mathematics

    • Public understanding of mathematics
    • Education

    Get your maths quickly

    • Maths in a minute

    Main menu

  • Home
  • Articles
  • Collections
  • Podcasts
  • Maths in a minute
  • Puzzles
  • Videos
  • Topics and tags
  • Audiences

    • cat icon
      Curiosity
    • newspaper icon
      Media
    • graduation icon
      Education
    • briefcase icon
      Policy

    Secondary menu

  • My list
  • About Plus
  • Sponsors
  • Subscribe
  • Contact Us
  • Log in
  • S curve

    How maths can help you get ahead of the S-curve

    by
    Thomas House
    Oliver Johnson
    Rachel Thomas
    16 March, 2022

    This article accompanies our article on the mathematics of COVID variants, which you might want to read first. To find out more about growth rates, which we will be mentioning here, see this article.

    Suppose two variants of COVID-19 are spreading through the population, each behaving exponentially with the growth rates $r_1$ and $r_2$ respectively (the growth rates can be positive or negative, quantifying the growth or shrinking of these variants). The number of new cases of variant 1 and variant 2 at time $t,$ respectively, are

    $$A_1 e^{r_1 t} \;\;\; \mbox{and}\;\;\; A_2 e^{r_2 t},$$ where $A_1$ and $A_2$ are constants.

    We can monitor the dominance of a variant by plotting how the proportion of cases of that variant changes over time, producing the S-curves we saw above. As there are only two variants in the population, the proportion that are variant 1 would be

    $$P_1(t) = \frac{A_1 e^{r_1t} }{A_1 e^{r_1t} + A_2 e^{r_2t}}.$$

    S curves

    If the variant will become dominant, then a plot of how the proportion of cases of a variant changes over time produces logistic S-curves.

    An equivalent way to keep track is to consider the change over time of the odds of a case being a particular variant. As we only have two variants to consider these odds are written as:

    $$\frac{P_1(t) }{1 - P_1(t)} = \frac{P_1(t)}{P_2(t)} = \frac{A_1 e^{r_1t}}{A_2 e^{r_2t}} = \frac{A_1}{ A_2} e^{(r_1 - r_2)t}.$$

    And here is where a little bit of magic happens: although the denominators of the fractions that we write for $P_1$ and $P_2$ are unpleasant expressions, they cancel out when we calculate the odds, leaving something much nicer.

    log odds

    The logistic S-curves we saw above become straight lines when plotted on logistic axes. This is where we plot the logarithm of the how the odds a case is a particular variant - the log odds of a variant - changes over time.

    Then if we plot the logarithm of these — the log odds for this variant — we will get a straight line

    $$(r_1 - r_2)t + c,$$ (where $c$ is the logarithm of the constant $A_1 / A_2$) . Plotting the log odds is the clever logistic transformation that turns the S-curve into a straight line on logistic axes.

    The logistic growth of the Omicron variant in Scotland.

    The logistic plot of the proportion of the cases lacking the S-gene for the Scottish data up to 3 December 2021.

    Here from the log odds plot for the Omicron variant in Scotland, it is obvious that a significant change happened sometime during the week beginning 12 November 2021. The change to the slope of this graph represents the arrival of the Omicron variant. We can quantify Omicron's clear competitive advantage from the new slope in this logistic plot, giving the difference in the growth rates $(r_1 - r_2)$ between the omicron and delta variants.

    We can project this straight line, with this new slope, forwards in time, and reverse the logistic transformation to project the dominance of the Omicron variant as a logistic curve.

    The projection that the Omicron variant would become dominant

    The projection that the Omicron variant would become dominant is shown in red (with the dotted lines giving the confidence interval). Despite being made when Omicron made up less than 2% of cases, the projection agrees with the timescale of the comparable data observed by the ONS survey.

    The plot above is the proportion of the Omicron cases (identified by their lack of the S-gene) based on the early data and projected forward in time using the mathematics of logistic growth. This mathematical analysis made it clear that the Omicron variant would take over, despite Omicron making up less than 2% of all the COVID cases at the time of this projection. And this projection turned out to match the real growth of the Omicron variant, and the timescale for it to become dominant, incredibly accurately. The mathematics of logistic growth — the straightening of the S-curve — provided a very effective early warning system.


    About the authors

    Thomas House is Professor in Mathematical Statistics at the Department of Mathematics at the University of Manchester and a member of the JUNIPER modelling consortium and the modelling group SPI-M, and contributes to the Scientific Advisory Group for Emergencies (SAGE). This article draws on his work for the Scottish government.

    Oliver Johnson is Professor of Information Theory and Director of the Institute for Statistical Science in the School of Mathematics at the University of Bristol. He has been tweeting about the maths of the COVID pandemic as @BristOliver.

    Rachel Thomas is Editor of Plus.


    This article is part of our collaboration with JUNIPER, the Joint UNIversity Pandemic and Epidemic Response modelling consortium. JUNIPER comprises academics from the universities of Cambridge, Warwick, Bristol, Exeter, Oxford, Manchester, and Lancaster, who are using a range of mathematical and statistical techniques to address pressing questions about the control of COVID-19. You can see more content produced with JUNIPER here.

    Juniper logo

    • Log in or register to post comments

    Read more about...

    Juniper
    epidemiology
    medicine and health
    mathematical modelling

    Our Podcast: Maths on the Move

    Our Maths on the Move podcast brings you the latest news from the world of maths, plus interviews and discussions with leading mathematicians and scientists about the maths that is changing our lives.

    Apple Podcasts
    Spotify
    Podbean

    Plus delivered to you

    Keep up to date with Plus by subscribing to our newsletter or following Plus on X or Bluesky.

    University of Cambridge logo

    Plus is part of the family of activities in the Millennium Mathematics Project.
    Copyright © 1997 - 2025. University of Cambridge. All rights reserved.

    Terms