{"id":3498,"date":"2009-10-03T20:19:54","date_gmt":"2009-10-03T12:19:54","guid":{"rendered":"http:\/\/www.intmath.com\/blog\/?p=3498"},"modified":"2016-09-19T11:05:31","modified_gmt":"2016-09-19T03:05:31","slug":"h1n1-and-the-logistic-equation","status":"publish","type":"post","link":"https:\/\/www.intmath.com\/blog\/environment\/h1n1-and-the-logistic-equation-3498","title":{"rendered":"H1N1 and the Logistic Equation"},"content":{"rendered":"<p>The Northern Hemisphere is bracing for an outbreak of H1N1 flu this winter. <\/p>\n<div class=\"imgCenter\">\n<p><img loading=\"lazy\" src=\"\/blog\/wp-content\/images\/2009\/10\/H1N1-virus.jpg\" alt=\"H1N1 virus\" width=\"400\" height=\"400\" \/><br \/>\n  <b>H1N1 virus<\/b> [Image source: ACU]<\/p>\n<\/div>\n<p>According to the <a href=\"http:\/\/www.who.int\/csr\/don\/2009_10_02\/en\/\">World Health Organization (WHO)<\/a>:<\/p>\n<blockquote>\n<p>\n  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.\n<\/p>\n<\/blockquote>\n<p>The H1N1 virus is still in an exponential growth phase (it grows faster as time goes on). But populations don&#8217;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.<\/p>\n<p>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.<\/p>\n<p>Such a situation can be described by the <b>Logistic Equation<\/b>. This equation describes the case where a population initially grows in an exponential fashion, then tapers off to some constant value. <\/p>\n<p>A simple form of the logistic equation is as follows (where <em>P<\/em>(<em>t<\/em>) is the population at time <em>t<\/em> and &quot;<em>e<\/em>&quot; is the constant <em>e<\/em> = 2.718&nbsp;281&nbsp;828...):<\/p>\n<blockquote style=\"border:none;\">\n<p>\n  <img loading=\"lazy\" src=\"\/blog\/wp-content\/images\/2009\/10\/logistic-equation-simple.png\" alt=\"logistic equation\" width=\"115\" height=\"43\" \/>\n<\/p>\n<\/blockquote>\n<p>The graph of this logistic equation has an elongated &#8220;S&#8221; shape, as follows:<\/p>\n<p><img loading=\"lazy\" src=\"\/blog\/wp-content\/images\/2009\/10\/logistic-equation-simple-graph.png\" alt=\"Image: Graph of logistic equation\" width=\"423\" height=\"309\" \/><\/p>\n<p>Notice that the early portion of the graph (up to <em>t<\/em> = 0) represents exponential growth, while from there, the growth tapers off and eventually the value of <em>P<\/em> becomes a constant value of 1.<\/p>\n<div class=\"imgCenter\"><!-- Blog in-text responsive --><ins class=\"adsbygoogle\" style=\"display:block\" data-ad-client=\"ca-pub-6416265058787437\" data-ad-slot=\"6178764223\" data-ad-format=\"auto\"><\/ins><\/div>\n<p>Logistic equations result from solving certain <a href=\"https:\/\/www.intmath.com\/differential-equations\/des-intro.php\">Differential Equations<\/a> (a topic in calculus). <\/p>\n<p>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:<\/p>\n<blockquote style=\"border:none;\">\n<p>\n <img loading=\"lazy\" src=\"\/blog\/wp-content\/images\/2009\/10\/logistic-KPr.png\" alt=\"Logistic equation\" width=\"177\" height=\"40\" \/>\n<\/p>\n<\/blockquote>\n<p>The variables in the above equation are as follows:<\/p>\n<blockquote style=\"border:none;\">\n<p><em>P<\/em><sub>0<\/sub> = population at time <em>t<\/em> = 0 <\/p>\n<p><em>K<\/em> = final population after some (long) time, also called the \"carrying capacity\", which limits growth<\/p>\n<p><em>r<\/em> = initial growth rate <\/p>\n<\/blockquote>\n<p>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.<\/p>\n<p>So  <em>P<\/em><sub>0<\/sub> = 20 people affected, K = 1000 and we have (say) <em>r<\/em> = 0.2. Substituting these into the logistics equation and simplifying gives the following expression for the number of people affected by H1N1 at time <em>t<\/em> (in days):<\/p>\n<blockquote style=\"border:none;\">\n<p>\n<img loading=\"lazy\" src=\"\/blog\/wp-content\/images\/2009\/10\/logistic-equation-subs.png\" alt=\"logistic equation - subs\" width=\"163\" height=\"43\" \/>\n<\/p>\n<\/blockquote>\n<p>Here is the graph of the situation:<\/p>\n<blockquote style=\"border:none;\">\n<p>\n<img loading=\"lazy\" src=\"\/blog\/wp-content\/images\/2009\/10\/logistic-equation.png\" alt=\"Graph: logistic equation - H1N1 \" width=\"424\" height=\"316\" \/>\n<\/p>\n<\/blockquote>\n<p>We see that eventually everyone in the town is affected after about 50 days. <\/p>\n<p><strong>Real Example<\/strong><\/p>\n<p>Mexico first noticed an outbreak of H1N1 in Mar 2009. The number of cases grew rapidly to 26 Apr, then rapidly declined. <\/p>\n<p><img loading=\"lazy\" src=\"\/blog\/wp-content\/images\/2009\/10\/H1N1-mexico-raw.png\" alt=\"H1N1 - Mexico\" width=\"452\" height=\"314\" \/><br \/>\n<b>[Image <a href=\"http:\/\/www.cdc.gov\">source<\/a>].<\/b> <\/p>\n<p>If we take <strong>cumulative totals <\/strong>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. <\/p>\n<p><img loading=\"lazy\" src=\"\/blog\/wp-content\/images\/2009\/10\/H1N1-mexico.png\" alt=\"H1N1 Mexico\" width=\"505\" height=\"351\" \/><\/p>\n<p>At first, the growth is somewhat linear (up to day 30), then it resembles the logistic equation curve from then on.<\/p>\n<p>You can see more on this topic here: <a href=\"https:\/\/www.intmath.com\/differential-equations\/predicting-aids.php\">Predicting the spread of AIDS using differential equations<\/a>.<\/p>\n<p>Logistic equations are also used when analyzing problems in  neural networks,  statistics,  medicine,  chemistry and physics.<\/p>\n<p class=\"alt\">See the <a href=\"https:\/\/www.intmath.com\/blog\/environment\/h1n1-and-the-logistic-equation-3498#comments\" id=\"comms\">16 Comments<\/a> below.<\/p>\n","protected":false},"excerpt":{"rendered":"<p>How do they predict the spread of viruses like the H1N1?<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"_mo_disable_npp":""},"categories":[6],"tags":[134,130],"_links":{"self":[{"href":"https:\/\/www.intmath.com\/blog\/wp-json\/wp\/v2\/posts\/3498"}],"collection":[{"href":"https:\/\/www.intmath.com\/blog\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www.intmath.com\/blog\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/www.intmath.com\/blog\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/www.intmath.com\/blog\/wp-json\/wp\/v2\/comments?post=3498"}],"version-history":[{"count":0,"href":"https:\/\/www.intmath.com\/blog\/wp-json\/wp\/v2\/posts\/3498\/revisions"}],"wp:attachment":[{"href":"https:\/\/www.intmath.com\/blog\/wp-json\/wp\/v2\/media?parent=3498"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.intmath.com\/blog\/wp-json\/wp\/v2\/categories?post=3498"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.intmath.com\/blog\/wp-json\/wp\/v2\/tags?post=3498"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}