Logistic
Logistic
Logistic
One noticeable feature of the exponential model is that, when r is positive, the
population always grows larger and larger without any finite limit, as is seen in Figure 1.
This kind of growth may be a good model for a new population of bacteria in a beaker, but
it does not hold for a long time. It is easy to see that the equation would imply a population
of bacteria that ultimately outgrew the beaker and even outgrew the planet earth, since the
mass of the bacteria would ultimately exceed the mass of the earth. Such a model is
therefore absurd to model a system for long periods of time. The fundamental difficulty is
that the exponential differential equation ignores the fact that there are limits to resources
needed for the population to grow. It ignores the needs for food, oxygen, and space; and it
ignores the accumulation of waste products that inevitably arise.
Figure1 : P(t) = 2 e0.3t. This example of the exponential model shows a population
growing always faster without any bound.
An alternative model was proposed by Verhulst in 1836 to allow for the fact that
there are limits to growth in all known biological systems. He proposed what is now called
the logistic differential equation. The equation involves two positive parameters. The
first parameter r is again called the growth parameter and plays a role similar to that of r
in the exponential differential equation. The second parameter K is called the carrying
capacity. The logistic differential equation is written
P'(t) = r P(t) [1 - P(t)/K].
Equivalently, in terms of the d notation, the logistic differential equation is
dP/dt = r P [1 - P / K]
2
Note that when P(t) is very small, then P(t)/K is close to 0, so the entire factor [1-P(t)/K] is
close to 1 and the equation itself is then close to P'(t) = r P(t); we then expect that the
population grows approximately at an exponential rate when the population is small. On the
other hand, if P(t) gets to be near K, then P(t)/K will be approximately 1, so [1-P(t)/K] will
be approximately 0, and the logistic differential equation will then say approximately P'(t) =
r P(t) 0 = 0. The growth rate will be essentially 0, so the population will not grow
significantly more.
dP = r dt
[P (1 - P / K)]
∫ dP = ∫ r dt
[P (1 - P / K)]
Since the left integral is quite difficult, the remainder of the details will be left to the end of
this section. There is an arbitrary constant C in the general solution. When the fact that
P(0) = P 0 is utilized, we obtain that
P(t) = P0 K
P0 + (K-P0) e-rt
This formula is the logistic formula. It tells the equation for the logistic curve.
The derivation of the formula will be given at the end of this section.
The logistic curve gives a much better general formula for population growth over a
long period of time than does exponential growth.
Solution. We recognize the logistic differential equation with r = 0.03 and K = 2000. We
are given P0 = 200. Hence by Theorem 1,
P(t) = 400,000
-------------------------------
200 + 1800 e -0.03 t
3
Solution. We recognize the logistic differential equation with r = 0.05. To find K note that
the part of the general differential equation involving K is
( 1 - P/K)
while for the problem at hand the part is
(1 - 0.001 P)
Hence 1/K = 0.001
so K = 1000.
We are given P0 = 300. Hence by Theorem 1,
P(t) = 300,000
--------------------------
300 + 700 e -0.05 t
Since the numbers are messy, we might simplify by dividing numerator and denominator by
100. We then get
P(t) = 3000
---------------------
3 + 7 e -0.05 t
300 = 20
3 + 97 e -0.2t
3 + 97 e -0.2t = 300/20 = 15
97 e-0.2t = 12
e-0.2t = 12/97
-0.2t = ln(12/97)
t = [ln(12/97)]/(-0.2) = 10.45 hours
Figure 2 shows this logistic curve. Note that it has roughly the shape of an elongated S
(and it is in fact sometimes called the S-shaped curve). The population initially grows
slowly but steadily. Then the growth speeds up and the curve moves more steeply upward.
As the population gets closer to the carrying capacity K = 100, the growth slows and the
curve gets more horizontal again. In fact the population never appears to reach the carrying
capacity, but instead seems to approach it as an asymptote. Hence it is clear from Figure 2
why we never find a t such that P(t) = 200.
Figure 2: The logistic curve when P0 = 3, K = 100, r = 0.2. This is an example of the
famous S-shaped curve. It shows limits to population growth.
There are many different ways to express the formula for P(t). In the preceding
example, we had
5
P(t) = = 300
3 + 97 e -0.2t
We could multiply numerator and denominator by any number to find an equivalent
formula. For example, we could multiply numerator and denominator by (1/3):
P(t) = = 100
-------------------------------
1 + (97/3) e -0.2t
P(t) = = 100
-------------------------------
1 + 32.33 e -0.2t
This last expression looks nice since it has 1 in the first term of the denominator.
P(t) = = 1
---------------------------------
3/300 + (97/300) e-0.2t
P(t) = = 1
---------------------------------
0.01 + 0.3233 e -0.2t
Thus when someone gives us a formula for the logistic curve, we must remember that they
might have "simplified" it in such a manner. It is then not quite so easy to find K and P0.
Example. Find
550
lim ------------------------
t→∞ 10 + 20 e -0.1 t
Solution. When we write t→∞ we mean that t gets very large without bound. Note that
e-0.1t = 1 / e0.1t
As t→∞ we see that the exponent in the denominator gets huge. So the whole denominator
gets huge (think of it as like 21,000,000 ) so the fraction goes to 0. Hence
limt→∞ e-0.1t = 0
and
550
6
lim ------------------------
t→∞ 10 + 20 e -0.1 t
= 550
------------------------
10 + 20 (0)
= 550/10 = 55
Theorem 2. If P(t) is the logistic formula and K is the carrying capacity, then
limt→∞ P(t) = K.
Proof. Note that e-rt = 1/ ert . Since r>0, as t→∞ we see that ert also goes to
infinity, so e-rt goes to 0. Hence
Thus the natural formula way in this problem would have been to find
P(t) = P0 K
-----------------------
P0 + (K-P0) e-rt
P(t) = 400,000
-----------------------
400 + 600 e -0.3t
The original formula had been simplified to make the numbers smaller.
7
2000
= lim -------------------
t→∞ 1.5 + 3.7 e -0.2t
2000
= -------------------
1.5 + 3.7 (0) since e-0.2t goes to 0 as t gets very large
= 2000/1.5 = 1333 mg
The carrying capacity is 1333 mg.
Note that according to the logistic differential equation we have P'(t) > 0 for
populations P(t) satisfying 0 < P(t) < K. This is because, for such P(t), K - P(t) > 0, so
dividing by K we have (1 - P(t)/K) > 0. But P'(t) = r P(t) (1-P(t)/K) so P'(t) > 0 as well.
This implies that the logistic curve is always increasing, as occurred in the example in
Figure 2.
We would like to find out when the rate of growth is maximal. This will tell when
the population is growing the fastest. To do this, recall that the rate of growth is P' = dP/dt,
and we know that
dP/dt = r P (1-P/K)
Hence we wish to find out when
r P (1-P/K)
is maximal.
- 2 (r/K)P = -r
-(2/K) P = -1
P = K/2
Theorem 3. The maximal rate of growth for the logistic curve occurs when
P = K/2.
In words, the growth rate peaks and starts to slow when the population reaches half the
carrying capacity.
It is also useful to know the time when the maximal rate of growth occurs. This is found by
solving the equation
P(t) = K/2
since it is the time when the population is half the carrying capacity.
Example. Suppose that a particular population of bacteria obeys the logistic formula
P(t) = 3000
1.5 + 3.5 e -0.2t
where P is in mg and t is in hours.
(a) Tell the population when it is growing fastest.
(b) Tell when the population is growing fastest.
(c) Tell the maximal rate of growth for the population.
Solution. (a) The population grows fastest when P = K/2. Hence we need to find K.
K = lim P(t)
t→∞
3000
= lim -------------------
t→∞ 1.5 + 3.5 e -0.2t
= 3000/1.5 = 2000 mg
Hence the fastest rate of growth occurs when P = 1000 mg
3000
------------------- = 1000
1.5 + 3.5 e -0.2t
(c) The rate of growth of the population is P '(t). The maximal rate of growth occurs when
t = 4.236 hours. Hence we need P '(4.236).
Hence P '(4.236)
- 3000 (3.5) e-0.2(4.236) (-0.2)
= ---------------------------------------
[ 1.5 + 3.5 e -0.2(4.236) ]2
= 100 mg/hour
Application to epidemics
The logistic curve is often a much better model than the exponential curve for the
growth of populations when the environment poses limitations on growth. It turns out that
another use of the logistic curve is to describe the spread of an epidemic. This is true
because an epidemic corresponds to the population growth of a certain disease organism.
Example. Suppose that t weeks after the start of an epidemic in a certain community, the
number P(t) of people who have caught the disease is given by the logistic curve
P(t) = 1500
5 + 295 e -0.9t
(a) How many people had the disease when the epidemic began?
(b) Approximately how many people in total will get the disease?
(c) When was the disease spreading most rapidly?
(d) How fast was the disease spreading at the peak of the epidemic?
(e) When did the spread of the disease start to slow down?
(f) What is the differential equation for P(t)?
(g) By the time 200 people had had the disease, what was the rate at which the disease was
spreading?
Solution. (a) When the epidemic began, there were P(0) = 1500/(5+295(1))= 5 people ill.
(b) The number that will get the disease is the carrying capacity K. As t goes to infinity,
e-0.9t goes to 0, so K = 1500/(5 + 295(0)) = 300. We expect a total of 300 people to get ill
during the epidemic.
(c) The disease was spreading most rapidly at the inflection point. From Theorem 3, this
occurred when t = ln[(K-P0)/P0] / r = ln[(300-5)/5]/0.9 = 4.53. Hence the epidemic will
peak 4.53 weeks after the beginning of the epidemic.
10
(d) From (c), the peak of the epidemic occurred when t = 4.53. The rate of spreading is
P'(t), so the answer will be P'(4.53). But
P'(t) = 398250 e-0.9t
______________
(5+295 e -0.9 t)2
so P'(4.53) = 67.5 people/week. At the peak of the epidemic, 67.5 new people get the
disease per week.
(e) Once the epidemic reaches its peak, the spread of the disease will begin to slow down.
Hence the spread of the disease starts to slow 4.53 weeks after the beginning of the
epidemic.
(f) P'(t) = r P(t) [1 - P(t)/K] = 0.9 P(t) [1 - P(t)/300]
(g) When P = 200, it follows that
P' = 0.9 (200) [ 1- 200/300] = 60 people/week.
Hence
∫ 1 dP = ∫ 1 dP + ∫ (1/K) dP
P (1- P/K) P (1-P/K)
The right hand integral can be done by the substitution u = (1-P/K) whence
du = -(1/K) dP
Hence
∫ 1 dP = ln(P) + ∫ - du
P (1- P/K) u
= ln(P) - ln(1-P/K) .
we obtain
ln(P) - ln(1-P/K) = rt + C.
To simplify this, we take e to the power given by either side.
Hence e[ln(P) - ln(1-P/K)] = e[r t + C]
e[ln(P)] / e ln(1-P/K)] = eCer t
P/(1-P/K) = eC ert
Write A = eC. Now
P/(1-P/K) = A ert
We need to solve this equation for P. Multiply by (1-P/K):
P = A ert (1-P/K)
Move all terms with P to the left:
P +(A e rt / K)P = A ert
Factor: P [ 1+A ert / K] = A ert
Hence
P= A ert
1+A ert / K
P= AK
K e-rt+A ert e-rt
P= AK
K e-rt+A
But P(0) = P 0, so
P0 = AK
K +A
Hence P0 (K + A) = AK
P0 K + P0 A = A K
P0 K = A K - A P0
P0 K = A (K - P 0)
A = P0 K = (P 0 K)/ (K - P 0)
K-P 0
P= (P0 K)
(K-P 0) e-rt+P 0