# H1N1 and the Logistic Equation

By Murray Bourne, 03 Oct 2009

The Northern Hemisphere is bracing for an outbreak of H1N1 flu this winter.

H1N1 virus [Image source: ACU]

According to the World Health Organization (WHO):

As of 27 September 2009, worldwide there have been more than 340,000 laboratory confirmed cases of pandemic influenza H1N1 in 2009 and over 4100 deaths reported to WHO.

The H1N1 virus is still in an exponential growth phase (it grows faster as time goes on). But populations don’t continue to increase exponentially forever. For example, we all know that rabbits breed very quickly, but if the supply of grass runs out, this will put a limit on their population growth.

Likewise with diseases, there is a limit to their growth. If the disease kills too many people, it will have nowhere to go and its growth will taper off over time and the number of new people affected will eventually drop.

Such a situation can be described by the Logistic Equation. This equation describes the case where a population initially grows in an exponential fashion, then tapers off to some constant value.

A simple form of the logistic equation is as follows (where P(t) is the population at time t and "e" is the constant e = 2.718 281 828...):

The graph of this logistic equation has an elongated “S” shape, as follows:

Notice that the early portion of the graph (up to t = 0) represents exponential growth, while from there, the growth tapers off and eventually the value of P becomes a constant value of 1.

Logistic equations result from solving certain Differential Equations (a topic in calculus).

The above model is too simple for discussing H1N1 (for starters, we can't have fractional populations). A more useful form of the logistic equation is:

The variables in the above equation are as follows:

P0 = population at time t = 0

K = final population after some (long) time, also called the "carrying capacity", which limits growth

r = initial growth rate

An example for the H1N1 outbreak might be as follows. Say there is a town with 1000 people and one day, 20 people wake up with H1N1. The virus eventually affects everyone in the town.

So P0 = 20 people affected, K = 1000 and we have (say) r = 0.2. Substituting these into the logistics equation and simplifying gives the following expression for the number of people affected by H1N1 at time t (in days):

Here is the graph of the situation:

We see that eventually everyone in the town is affected after about 50 days.

Real Example

Mexico first noticed an outbreak of H1N1 in Mar 2009. The number of cases grew rapidly to 26 Apr, then rapidly declined.

[Image source].

If we take cumulative totals for the new cases (add each new number of cases to the total so far) and graph the result over the 53 worst days of the outbreak, we obtain the following.

At first, the growth is somewhat linear (up to day 30), then it resembles the logistic equation curve from then on.

You can see more on this topic here: Predicting the spread of AIDS using differential equations.

Logistic equations are also used when analyzing problems in neural networks, statistics, medicine, chemistry and physics.

### 14 Comments on “H1N1 and the Logistic Equation”

1. Maria Miller says:

Thanks - I posted this on my blog at Spread of H1N1 (swine) flu and mathematics.

2. Hassan says:

really i like this article although i doesn't take the exponential lesson yet.. can any one give me a sum up for exponential ?

3. Peter Evans says:

These topics and areas nowing being refered to in the newsletter are nothing short of brillant! Hours of valuable learning, refering old material, newly presented and learning new aspects of maths.

4. Murray says:

@Maria: Thanks for your post and good to hear from you!

@Hassan: Glad you liked the article. You can learn about exponentials ("e") here: Exponential and logarithmic Functions.

@Peter: Thanks for the positive feedback - makes it all worthwhile 🙂

5. vaishali lakhlani says:

i liked this article very much.. i think this article will help my students to have a mathematical and logical approach towards problems in daily life!! looking forward for more such articles....

6. Norazila says:

i like this article...it gives me some idea to do my research....

7. Musab says:

Well, that is a good news to be spread also...

an interesting article of one of magnificent math applications.. thanks to you..

Best wishes

I would be missing lots of valuable information if I had not subscribed to IntMath newsletter.

9. florita says:

This article helps me a lot in making my students appreciate mathematics in the real-world

10. ramesh says:

11. ahmed elhilali says:

I become day by day more fancinating in your art 'maths.' and I 'll keep for infinity.

by the way can you but an equation to relate me to math. ?!!?!

12. Ali says:

it is very good for broblems life solving ,,,like this

thanks ery match

13. Burn says:

THANK YOU!!! this is perfect for my Calculus class, i really needed this for my project about analyzing equations with real life examples! thank you very much =D

14. Evolution of H1N1 « Jean-Etienne's blog says:

[...] I didn’t really see such graph on the web but there is the excellent FluTracker by Dr. Niman and a lot of information about the swine flu on Wikipedia. If you want to start interpreting these curves, you might be interested in reading squareCircleZ’s post about the H1N1 and the Logistic Equation. [...]

### Comment Preview

HTML: You can use simple tags like <b>, <a href="...">, etc.

To enter math, you can can either:

1. Use simple calculator-like input in the following format (surround your math in backticks, or qq on tablet or phone):
a^2 = sqrt(b^2 + c^2)
(See more on ASCIIMath syntax); or
2. Use simple LaTeX in the following format. Surround your math with $$ and $$.
$$\int g dx = \sqrt{\frac{a}{b}}$$
(This is standard simple LaTeX.)

NOTE: You can't mix both types of math entry in your comment.