Skip to main content
Mathematics LibreTexts

7.6: Population Growth and the Logistic Equation

  • Page ID
  • \( \newcommand{\vecs}[1]{\overset { \scriptstyle \rightharpoonup} {\mathbf{#1}} } \) \( \newcommand{\vecd}[1]{\overset{-\!-\!\rightharpoonup}{\vphantom{a}\smash {#1}}} \)\(\newcommand{\id}{\mathrm{id}}\) \( \newcommand{\Span}{\mathrm{span}}\) \( \newcommand{\kernel}{\mathrm{null}\,}\) \( \newcommand{\range}{\mathrm{range}\,}\) \( \newcommand{\RealPart}{\mathrm{Re}}\) \( \newcommand{\ImaginaryPart}{\mathrm{Im}}\) \( \newcommand{\Argument}{\mathrm{Arg}}\) \( \newcommand{\norm}[1]{\| #1 \|}\) \( \newcommand{\inner}[2]{\langle #1, #2 \rangle}\) \( \newcommand{\Span}{\mathrm{span}}\) \(\newcommand{\id}{\mathrm{id}}\) \( \newcommand{\Span}{\mathrm{span}}\) \( \newcommand{\kernel}{\mathrm{null}\,}\) \( \newcommand{\range}{\mathrm{range}\,}\) \( \newcommand{\RealPart}{\mathrm{Re}}\) \( \newcommand{\ImaginaryPart}{\mathrm{Im}}\) \( \newcommand{\Argument}{\mathrm{Arg}}\) \( \newcommand{\norm}[1]{\| #1 \|}\) \( \newcommand{\inner}[2]{\langle #1, #2 \rangle}\) \( \newcommand{\Span}{\mathrm{span}}\)\(\newcommand{\AA}{\unicode[.8,0]{x212B}}\)

    Motivating Questions
    • How can we use differential equations to realistically model the growth of a population?
    • How can we assess the accuracy of our models?

    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 Activity \(\PageIndex{1}\)

    Recall that one model for population growth states that a population grows at a rate proportional to its size.

    1. We begin with the differential equation

      \[ \frac{dP}{dt} = \frac12 P\text{.} \nonumber \]

      Sketch a slope field below as well as a few typical solutions on the axes provided.

      Figure \(\PageIndex{1}\)
    2. Find all equilibrium solutions of the equation \(\frac{dP}{dt} = \frac12 P\) and classify them as stable or unstable.
    3. If \(P(0)\) is positive, describe the long-term behavior of the solution to \(\frac{dP}{dt} = \frac12 P\text{.}\)
    4. Let's now consider a modified differential equation given by
      \[ \frac{dP}{dt} = \frac 12 P(3-P)\text{.} \nonumber \]

      As before, sketch a slope field as well as a few typical solutions on the following axes provided.

      Figure \(\PageIndex{2}\)
    5. Find any equilibrium solutions and classify them as stable or unstable.
    6. If \(P(0)\) is positive, describe the long-term behavior of the solution.

    \(\PageIndex{1}\) The earth's population

    We will now begin studying the earth's population. To get started, in Table \(\PageIndex{1}\) are some data for the earth's population in recent years that we will use in our investigations.

    Table \(\PageIndex{1}\). Some recent population data for planet Earth.
    Year 1998 1999 2000 2001 2002 2005 2006 2007 2008 2009 2010
    \(5.932\) \(6.008\) \(6.084\) \(6.159\) \(6.234\) \(6.456\) \(6.531\) \(6.606\) \(6.681\) \(6.756\) \(6.831\)
    Activity \(\PageIndex{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

    \[ \frac{dP}{dt} = kP \nonumber \]

    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
      \[ \frac{dP}{dt} = kP, \ P(0) = 6.084\text{.} \nonumber \]

      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 \(\PageIndex{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

    \[ k = \frac{dP/dt}{P}\text{.} \nonumber \]

    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 \(\PageIndex{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 \(\PageIndex{1}\) and compute the per capita growth rate over a range of years, we generate the data shown in Figure \(\PageIndex{3}\), which shows how the per capita growth rate is a function of the population, \(P\text{.}\)

    7_6_census.svgFigure \(\PageIndex{3}\). 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 \(\PageIndex{4}\).

    7_6_census_1.svg 7_6_census_2.svg

    Figure \(\PageIndex{4}\). 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

    \[ \frac{dP/dt}{P} = 0.025 - 0.002P\text{.} \nonumber \]

    If we multiply both sides by \(P\text{,}\) we arrive at the differential equation

    \[ \frac{dP}{dt} = P(0.025 - 0.002P)\text{.} \nonumber \]

    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 \(\PageIndex{5}\).

    7_6_logistic_de.svgFigure \(\PageIndex{5}\). 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 \(\PageIndex{5}\) 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.

    Solving 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,

    \[ \frac{dP}{dt} = kP(N-P)\text{.}\label{yri}\tag{\(\PageIndex{1}\)} \]

    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 (\(\PageIndex{1}\)). The equation is separable, so we separate the variables

    \[ \frac{1}{P(N-P)}\frac{dP}{dt} = k\text{,} \nonumber \]

    and integrate to find that

    \[ \int \frac{1}{P(N-P)}~dP = \int k~dt\text{.} \nonumber \]

    To find the antiderivative on the left, we use the partial fraction decomposition

    \[ \frac{1}{P(N-P)} = \frac 1N\left[\frac 1P + \frac 1{N-P}\right]\text{.} \nonumber \]

    Now we are ready to integrate, with

    \[ \int \frac 1N\left[\frac 1P + \frac 1{N-P}\right] ~dP = \int k~dt\text{.} \nonumber \]

    On the left, observe that \(N\) is constant, so we can remove a factor of \(\frac{1}{N}\) and antidifferentiate to find that

    \[ \frac 1N (\ln|P| - \ln|N-P|) = kt + C\text{.} \nonumber \]

    Multiplying both sides of this last equation by \(N\) and using a rule of logarithms, we next find that

    \[ \ln\left|\frac{P}{N-P}\right| = kNt + C\text{.} \nonumber \]

    From the definition of the logarithm, replacing \(e^C\) with \(C\text{,}\) and letting \(C\) absorb the absolute value signs, we now know that

    \[ \frac{P}{N-P} = Ce^{kNt}\text{.} \nonumber \]

    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

    \[ \frac{P}{N-P} = \frac{P_0}{N-P_0}e^{kNt}\text{.} \nonumber \]

    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}\\[4pt] &= 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}\\[4pt] &= P(N-P_0 + P_0e^{kNt})\text{.} \end{align*}

    Dividing to solve for \(P\text{,}\) we see that

    \[ P = \frac{P_0Ne^{kNt}}{N-P_0 + P_0e^{kNt}}\text{.} \nonumber \]

    Finally, we choose to multiply the numerator and denominator by \(\frac{1}{P_0}e^{-kNt}\) to obtain

    \[ P(t) = \frac{N}{\left(\frac{N-P_0}{P_0}\right) e^{-kNt} + 1}\text{.} \nonumber \]

    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

    \[ \frac{dP}{dt} = kP(N-P), \ P(0) = P_0\text{,} \nonumber \]


    \[ P(t) = \frac{N}{\left(\frac{N-P_0}{P_0}\right) e^{-kNt} + 1}\text{.}\label{gnE} \]

    For the logistic equation describing the earth's population that we worked with earlier in this section, we have

    \[ k=0.002, N= 12.5, \ \text{and} \ P_0 = 6.084\text{.} \nonumber \]

    This gives the solution

    \[ P(t) = \frac{12.5}{1.0546e^{-0.025t} + 1}\text{,} \nonumber \]

    whose graph is shown in Figure \(\PageIndex{6}\).


    7_6_logistic_sol.svgFigure \(\PageIndex{6}\). 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 \ref{gnE}.

    Activity \(\PageIndex{3}\)

    Consider the logistic equation

    \[ \frac{dP}{dt} = kP(N-P) \nonumber \]

    with the graph of \(\frac{dP}{dt}\) vs. \(P\) shown in Figure \(\PageIndex{7}\).

    7_6_activity_2.svgFigure \(\PageIndex{7}\). 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
      \[ P(t) = \frac{N}{\left(\frac{N-P_0}{P_0}\right)e^{-kNt} + 1}\text{.} \nonumber \]

      Verify algebraically that \(P(0) = P_0\) and that \(\lim_{t\to\infty} P(t) = N\text{.}\)


    • 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.

    This page titled 7.6: Population Growth and the Logistic Equation is shared under a CC BY-SA 4.0 license and was authored, remixed, and/or curated by Matthew Boelkins, David Austin & Steven Schlicker (ScholarWorks @Grand Valley State University) via source content that was edited to the style and standards of the LibreTexts platform; a detailed edit history is available upon request.