 # Active Calculus

## Section7.6Population Growth and the Logistic Equation

The growth of the earth’s population is one of the pressing issues of our time. Will the population continue to grow? Or will it perhaps level off at some point, and if so, when? In this section, we look at two ways in which we may use differential equations to help us address these questions.
Before we begin, let’s consider again two important differential equations that we have seen in earlier work this chapter.

### Preview Activity7.6.1.

Recall that one model for population growth states that a population grows at a rate proportional to its size.
(a) We begin with the differential equation $$\displaystyle{\frac{dP}{dt} = \frac{1}{2} P }\text{.}$$ Find an equilibrium solution:
$$P =$$
Is this equilibrium solution stable or unstable?
• stable
• unstable
Describe the long-term behavior of the solution to $$\frac{dP}{dt} = \frac{1}{2}P\text{.}$$
• The value of $$P$$ oscillates and does not approach a limit.
• The value of $$P$$ approaches zero.
• The value of $$P$$ increases without bound.
• The value of $$P$$ approaches a nonzero constant.
• None of the above
(b) Let’s now consider a modified differential equation given by $$\displaystyle{\frac{dP}{dt} = \frac{1}{2} P(3-P) }\text{.}$$
Find a stable equilibrium solution:
$$P =$$
Find an unstable equilibrium solution:
$$P =$$
If $$P(0)$$ is positive, describe the long-term behavior of the solution to $$\frac{dP}{dt} = \frac{1}{2}P(3-P)\text{.}$$
• The value of $$P$$ oscillates and does not approach a limit.
• The value of $$P$$ increases without bound.
• The value of $$P$$ approaches a nonzero constant.
• The value of $$P$$ approaches zero.
• None of the above

### Subsection7.6.1The earth’s population

We will now begin studying the earth’s population. To get started, in Table 7.6.1 are some data for the earth’s population in recent years that we will use in our investigations.

#### Activity7.6.2.

Our first model will be based on the following assumption:
The rate of change of the population is proportional to the population.
On the face of it, this seems pretty reasonable. When there is a relatively small number of people, there will be fewer births and deaths so the rate of change will be small. When there is a larger number of people, there will be more births and deaths so we expect a larger rate of change.
If $$P(t)$$ is the population $$t$$ years after the year 2000, we may express this assumption as
\begin{equation*} \frac{dP}{dt} = kP \end{equation*}
where $$k$$ is a constant of proportionality.
1. Use the data in the table to estimate the derivative $$P'(0)$$ using a central difference. Assume that $$t=0$$ corresponds to the year 2000.
2. What is the population $$P(0)\text{?}$$
3. Use your results from (a) and (b) to estimate the constant of proportionality $$k$$ in the differential equation.
4. Now that we know the value of $$k\text{,}$$ we have the initial value problem
\begin{equation*} \frac{dP}{dt} = kP, \ P(0) = 6.084\text{.} \end{equation*}
Find the solution to this initial value problem.
5. What does your solution predict for the population in the year 2010? Is this close to the actual population given in the table?
6. When does your solution predict that the population will reach 12 billion?
7. What does your solution predict for the population in the year 2500?
8. Do you think this is a reasonable model for the earth’s population? Why or why not? Explain your thinking using a couple of complete sentences.
Our work in Activity 7.6.2 shows that that the exponential model is fairly accurate for years relatively close to 2000. However, if we go too far into the future, the model predicts increasingly large rates of change, which causes the population to grow arbitrarily large. This does not make much sense since it is unrealistic to expect that the earth would be able to support such a large population.
The constant $$k$$ in the differential equation has an important interpretation. Let’s rewrite the differential equation $$\frac{dP}{dt} = kP$$ by solving for $$k\text{,}$$ so that we have
\begin{equation*} k = \frac{dP/dt}{P}\text{.} \end{equation*}
We see that $$k$$ is the ratio of the rate of change to the population; in other words, it is the contribution to the rate of change from a single person. We call this the per capita growth rate.
In the exponential model we introduced in Activity 7.6.2, the per capita growth rate is constant. This means that when the population is large, the per capita growth rate is the same as when the population is small. It is natural to think that the per capita growth rate should decrease when the population becomes large, since there will not be enough resources to support so many people. We expect it would be a more realistic model to assume that the per capita growth rate depends on the population $$P\text{.}$$
In the previous activity, we computed the per capita growth rate in a single year by computing $$k\text{,}$$ the quotient of $$\frac{dP}{dt}$$ and $$P$$ (which we did for $$t = 0$$). If we return to the data in Table 7.6.1 and compute the per capita growth rate over a range of years, we generate the data shown in Figure 7.6.2, which shows how the per capita growth rate is a function of the population, $$P\text{.}$$ Figure 7.6.2. A plot of per capita growth rate vs. population $$P\text{.}$$
From the data, we see that the per capita growth rate appears to decrease as the population increases. In fact, the points seem to lie very close to a line, which is shown at two different scales in Figure 7.6.3. Figure 7.6.3. The line that approximates per capita growth as a function of population, $$P\text{.}$$
Looking at this line carefully, we can find its equation to be
\begin{equation*} \frac{dP/dt}{P} = 0.025 - 0.002P\text{.} \end{equation*}
If we multiply both sides by $$P\text{,}$$ we arrive at the differential equation
\begin{equation*} \frac{dP}{dt} = P(0.025 - 0.002P)\text{.} \end{equation*}
Graphing the dependence of $$dP/dt$$ on the population $$P\text{,}$$ we see that this differential equation demonstrates a quadratic relationship between $$\frac{dP}{dt}$$ and $$P\text{,}$$ as shown in Figure 7.6.4. Figure 7.6.4. A plot of $$\frac{dP}{dt}$$ vs. $$P$$ for the differential equation $$\frac{dP}{dt} = P(0.025 - 0.002P)\text{.}$$
The equation $$\frac{dP}{dt} = P(0.025 - 0.002P)$$ is an example of the logistic equation, and is the second model for population growth that we will consider. We expect that it will be more realistic, because the per capita growth rate is a decreasing function of the population.
Indeed, the graph in Figure 7.6.4 shows that there are two equilibrium solutions, $$P=0\text{,}$$ which is unstable, and $$P=12.5\text{,}$$ which is a stable equilibrium. The graph shows that any solution with $$P(0) \gt 0$$ will eventually stabilize around 12.5. Thus, our model predicts the world’s population will eventually stabilize around 12.5 billion.
A prediction for the long-term behavior of the population is a valuable conclusion to draw from our differential equation. We would, however, also like to answer some quantitative questions. For instance, how long will it take to reach a population of 10 billion? To answer this question, we need to find an explicit solution of the equation.

### Subsection7.6.2Solving the logistic differential equation

Since we would like to apply the logistic model in more general situations, we state the logistic equation in its more general form,
\begin{equation} \frac{dP}{dt} = kP(N-P)\text{.}\tag{7.6.1} \end{equation}
The equilibrium solutions here are $$P=0$$ and $$1-\frac PN = 0\text{,}$$ which shows that $$P=N\text{.}$$ The equilibrium at $$P=N$$ is called the carrying capacity of the population for it represents the stable population that can be sustained by the environment.
We now solve the logistic equation (7.6.1). The equation is separable, so we separate the variables
\begin{equation*} \frac{1}{P(N-P)}\frac{dP}{dt} = k\text{,} \end{equation*}
and integrate to find that
\begin{equation*} \int \frac{1}{P(N-P)}~dP = \int k~dt\text{.} \end{equation*}
To find the antiderivative on the left, we use the partial fraction decomposition
\begin{equation*} \frac{1}{P(N-P)} = \frac 1N\left[\frac 1P + \frac 1{N-P}\right]\text{.} \end{equation*}
Now we are ready to integrate, with
\begin{equation*} \int \frac 1N\left[\frac 1P + \frac 1{N-P}\right] ~dP = \int k~dt\text{.} \end{equation*}
On the left, observe that $$N$$ is constant, so we can remove a factor of $$\frac{1}{N}$$ and antidifferentiate to find that
\begin{equation*} \frac 1N (\ln|P| - \ln|N-P|) = kt + C\text{.} \end{equation*}
Multiplying both sides of this last equation by $$N$$ and using a rule of logarithms, we next find that
\begin{equation*} \ln\left|\frac{P}{N-P}\right| = kNt + C\text{.} \end{equation*}
From the definition of the logarithm, replacing $$e^C$$ with $$C\text{,}$$ and letting $$C$$ absorb the absolute value signs, we now know that
\begin{equation*} \frac{P}{N-P} = Ce^{kNt}\text{.} \end{equation*}
At this point, all that remains is to determine $$C$$ and solve algebraically for $$P\text{.}$$
If the initial population is $$P(0) = P_0\text{,}$$ then it follows that $$C = \frac{P_0}{N-P_0}\text{,}$$ so
\begin{equation*} \frac{P}{N-P} = \frac{P_0}{N-P_0}e^{kNt}\text{.} \end{equation*}
We will solve this equation for $$P$$ by multiplying both sides by $$(N-P)(N-P_0)$$ to obtain
\begin{align*} P(N-P_0) &= P_0(N-P)e^{kNt}\\ &= P_0Ne^{kNt} - P_0Pe^{kNt}\text{.} \end{align*}
Solving for $$P_0Ne^{kNt}\text{,}$$ expanding, and factoring, it follows that
\begin{align*} P_0Ne^{kNt} &= P(N-P_0) + P_0 Pe^{kNt}\\ &= P(N-P_0 + P_0e^{kNt})\text{.} \end{align*}
Dividing to solve for $$P\text{,}$$ we see that
\begin{equation*} P = \frac{P_0Ne^{kNt}}{N-P_0 + P_0e^{kNt}}\text{.} \end{equation*}
Finally, we choose to multiply the numerator and denominator by $$\frac{1}{P_0}e^{-kNt}$$ to obtain
\begin{equation*} P(t) = \frac{N}{\left(\frac{N-P_0}{P_0}\right) e^{-kNt} + 1}\text{.} \end{equation*}
While that was a lot of algebra, notice the result: we have found an explicit solution to the logistic equation.

#### Solution to the Logistic Equation.

The solution to the initial value problem
\begin{equation*} \frac{dP}{dt} = kP(N-P), \ P(0) = P_0\text{,} \end{equation*}
is
\begin{equation} P(t) = \frac{N}{\left(\frac{N-P_0}{P_0}\right) e^{-kNt} + 1}\text{.}\tag{7.6.2} \end{equation}
For the logistic equation describing the earth’s population that we worked with earlier in this section, we have
\begin{equation*} k=0.002, N= 12.5, \ \text{and} \ P_0 = 6.084\text{.} \end{equation*}
This gives the solution
\begin{equation*} P(t) = \frac{12.5}{1.0546e^{-0.025t} + 1}\text{,} \end{equation*}
whose graph is shown in Figure 7.6.5. Figure 7.6.5. The solution to the logistic equation modeling the earth’s population.
The graph shows the population leveling off at 12.5 billion, as we expected, and that the population will be around 10 billion in the year 2050. These results, which we have found using a relatively simple mathematical model, agree fairly well with predictions made using a much more sophisticated model developed by the United Nations.
The logistic equation is good for modeling any situation in which limited growth is possible. For instance, it could model the spread of a flu virus through a population contained on a cruise ship, the rate at which a rumor spreads within a small town, or the behavior of an animal population on an island. Through our work in this section, we have completely solved the logistic equation, regardless of the values of the constants $$N\text{,}$$ $$k\text{,}$$ and $$P_0\text{.}$$ Anytime we encounter a logistic equation, we can apply the formula we found in Equation (7.6.2).

#### Activity7.6.3.

Consider the logistic equation
\begin{equation*} \frac{dP}{dt} = kP(N-P) \end{equation*}
with the graph of $$\frac{dP}{dt}$$ vs. $$P$$ shown in Figure 7.6.6. Figure 7.6.6. Plot of $$\frac{dP}{dt}$$ vs. $$P\text{.}$$
1. At what value of $$P$$ is the rate of change greatest?
2. Consider the model for the earth’s population that we created. At what value of $$P$$ is the rate of change greatest? How does that compare to the population in recent years?
3. According to the model we developed, what will the population be in the year 2100?
4. According to the model we developed, when will the population reach 9 billion?
5. Now consider the general solution to the general logistic initial value problem that we found, given by
\begin{equation*} P(t) = \frac{N}{\left(\frac{N-P_0}{P_0}\right)e^{-kNt} + 1}\text{.} \end{equation*}
Verify algebraically that $$P(0) = P_0$$ and that $$\lim_{t\to\infty} P(t) = N\text{.}$$

### Subsection7.6.3Summary

• If we assume that the rate of growth of a population is proportional to the population, we are led to a model in which the population grows without bound and at a rate that grows without bound.
• By assuming that the per capita growth rate decreases as the population grows, we are led to the logistic model of population growth, which predicts that the population will eventually stabilize at the carrying capacity.

### Exercises7.6.4Exercises

#### 1.Analyzing a logistic equation.

The slope field for a population $$P$$ modeled by $$dP/dt = 1 P - 2 P^2$$ is shown in the figure below. (a) On a print-out of the slope field, sketch three non-zero solution curves showing different types of behavior for the population $$P\text{.}$$ Give an initial condition that will produce each:
$$P(0) =$$ ,
$$P(0) =$$ , and
$$P(0) =$$ .
(b) Is there a stable value of the population? If so, give the value; if not, enter none:
Stable value =
(c) Considering the shape of solutions for the population, give any intervals for which the following are true. If no such interval exists, enter none, and if there are multiple intervals, give them as a list. (Thus, if solutions are increasing when $$P$$ is between 1 and 3, enter (1,3) for that answer; if they are decreasing when $$P$$ is between 1 and 2 or between 3 and 4, enter (1,2),(3,4). Note that your answers may reflect the fact that $$P$$ is a population.)
$$P$$ is increasing when $$P$$ is in
$$P$$ is decreasing when $$P$$ is in
Think about what these conditions mean for the population, and be sure that you are able to explain that.
In the long-run, what is the most likely outcome for the population?
$$P\to$$
(Enter infinity if the population grows without bound.)
Are there any inflection points in the solutions for the population? If so, give them as a comma-separated list (e.g., 1,3); if not, enter none.
Inflection points are at $$P =$$
Be sure you can explain what the meaning of the inflection points is for the population.
(d) Sketch a graph of $$dP/dt$$ against $$P\text{.}$$ Use your graph to answer the following questions.
When is $$dP/dt$$ positive?
When $$P$$ is in
When is $$dP/dt$$ negative?
When $$P$$ is in
When is $$dP/dt$$ zero?
When $$P=$$
(If there is more than one answer, give a list of answers, e.g., 1,2.)
When is $$dP/dt$$ at a maximum?
When $$P=$$
Be sure that you can see how the shape of your graph of $$dP/dt$$ explains the shape of solution curves to the differential equation.

#### 2.Analyzing a logistic model.

The table below gives the percentage, $$P\text{,}$$ of households with a VCR, as a function of year.
 Year 1978 1979 1980 1981 1982 1983 1984 P 0.3 0.5 1.1 1.8 3.1 5.5 10.6 Year 1985 1986 1987 1988 1989 1990 1991 P 20.8 36 48.7 58 64.6 71.9 71.9
(a) A logistic model is a good one to use for these data. Explain why this might be the case: logically, how large would the growth in VCR ownership be when they are first introduced? How large can the ownership ever be?
We can also investigate this by estimating the growth rate of $$P$$ for the given data. Do this at the beginning, middle, and near the end of the data:
$$P'(1980) \approx$$
$$P'(1985) \approx$$
$$P'(1990) \approx$$
Be sure you can explain why this suggests that a logistic model is appropriate.
(b) Use the data to estimate the year when the point of inflection of $$P$$ occurs.
The inflection point occurs approximately at .
(Give the year in which it occurs.)
What percent of households had VCRs then? $$P =$$
What limiting value $$L$$ does this point of inflection predict (note that if the logistic model is reasonable, this prediction should agree with the data for 1990 and 1991)?
$$L =$$
(c) The best logistic equation (solution to the logistic differential equation) for these data turns out to be the following.
\begin{equation*} P=\frac{75}{1+316.75e^{-0.699t}}. \end{equation*}
What limiting value does this predict?
$$L =$$

#### 3.Finding a logistic function for an infection model.

The total number of people infected with a virus often grows like a logistic curve. Suppose that 10 people originally have the virus, and that in the early stages of the virus (with time, $$t\text{,}$$ measured in weeks), the number of people infected is increasing exponentially with $$k=1.7\text{.}$$ It is estimated that, in the long run, approximately 4250 people become infected.
(a) Use this information to find a logistic function to model this situation.
$$P =$$
(b) Sketch a graph of your answer to part (a). Use your graph to estimate the length of time until the rate at which people are becoming infected starts to decrease. What is the vertical coordinate at this point?
vertical coordinate =

#### 4.Analyzing a population growth model.

Any population, $$P\text{,}$$ for which we can ignore immigration, satisfies
\begin{equation*} \frac{dP}{dt} =\hbox{Birth rate} - \hbox{Death rate}. \end{equation*}
For organisms which need a partner for reproduction but rely on a chance encounter for meeting a mate, the birth rate is proportional to the square of the population. Thus, the population of such a type of organism satisfies a differential equation of the form
\begin{equation*} \frac{dP}{dt} = a P^2 - b P\quad\hbox{with } a,\,b>0. \end{equation*}
This problem investigates the solutions to such an equation.
(a) Sketch a graph of $$dP/dt$$ against $$P\text{.}$$ Note when $$dP/dt$$ is positive and negative.
$$dP/dt \lt 0$$ when $$P$$ is in
$$dP/dt > 0$$ when $$P$$ is in
(Your answers may involve a and b. Give your answers as an interval or list of intervals: thus, if dP/dt is less than zero for P between 1 and 3 and P greater than 4, enter (1,3),(4,infinity).)
(b) Use this graph to sketch the shape of solution curves with various initial values: use your answers in part (a), and where $$dP/dt$$ is increasing and decreasing to decide what the shape of the curves has to be. Based on your solution curves, why is $$P=b/a$$ called the threshold population?
If $$P(0) > b/a\text{,}$$ what happens to $$P$$ in the long run?
$$P\to$$
If $$P(0) = b/a\text{,}$$ what happens to $$P$$ in the long run?
$$P\to$$
If $$P(0) \lt b/a\text{,}$$ what happens to $$P$$ in the long run?
$$P\to$$

#### 5.

The logistic equation may be used to model how a rumor spreads through a group of people. Suppose that $$p(t)$$ is the fraction of people that have heard the rumor on day $$t\text{.}$$ The equation
\begin{equation*} \frac{dp}{dt} = 0.2p(1-p) \end{equation*}
describes how $$p$$ changes. Suppose initially that one-tenth of the people have heard the rumor; that is, $$p(0) = 0.1\text{.}$$
1. What happens to $$p(t)$$ after a very long time?
2. Determine a formula for the function $$p(t)\text{.}$$
3. At what time is $$p$$ changing most rapidly?
4. How long does it take before 80% of the people have heard the rumor?

#### 6.

Suppose that $$b(t)$$ measures the number of bacteria living in a colony in a Petri dish, where $$b$$ is measured in thousands and $$t$$ is measured in days. One day, you measure that there are 6,000 bacteria and the per capita growth rate is 3. A few days later, you measure that there are 9,000 bacteria and the per capita growth rate is 2.
1. Assume that the per capita growth rate $$\frac{db/dt}{b}$$ is a linear function of $$b\text{.}$$ Use the measurements to find this function and write a logistic equation to describe $$\frac{db}{dt}\text{.}$$
2. What is the carrying capacity for the bacteria?
3. At what population is the number of bacteria increasing most rapidly?
4. If there are initially 1,000 bacteria, how long will it take to reach 80% of the carrying capacity?

#### 7.

Suppose that the population of a species of fish is controlled by the logistic equation
\begin{equation*} \frac{dP}{dt} = 0.1P(10 - P)\text{,} \end{equation*}
where $$P$$ is measured in thousands of fish and $$t$$ is measured in years.
1. What is the carrying capacity of this population?
2. Suppose that a long time has passed and that the fish population is stable at the carrying capacity. At this time, humans begin harvesting 20% of the fish every year. Modify the differential equation by adding a term to incorporate the harvesting of fish.
3. What is the new carrying capacity?
4. What will the fish population be one year after the harvesting begins?
5. How long will it take for the population to be within 10% of the carrying capacity?