Logistic growth
Exponential growth, as in topic 7.8, has a rate proportional to the population, so a growing population grows faster and faster without bound. Food and space are limited for a real population, so its growth slows as it nears the largest population that its environment can support. The logistic differential equation describes this growth:
Here \(P\) is the population at time \(t\), and \(k\) and \(K\) are positive constants. This topic finds, from the equation alone, where \(P\) stays constant, where it grows or declines and where it grows fastest. It then solves the equation and shows how the graph of a solution bends.
The rate as a function of the population
A parabola that opens downward: the rate dP/dt against the population P. It starts at 0, rises to its highest point halfway to K, where a dashed orange line rises to a white dot, and crosses the axis again at K. It is green above the axis between 0 and K and red below the axis past K. An orange bar at a population that a slider sets reaches from the axis to the curve. Below, a line repeats the P-axis, with an open ring at 0, a filled dot at K, a green arrow pointing right between them and a red arrow pointing left past K.
Figure 1 graphs the rate \(\frac{dP}{dt}\) against the population \(P\). Multiplied out, the rate is \(kP-\frac{k}{K}P^2\). It is a quadratic in \(P\) whose \(P^2\) term has a negative coefficient, so its graph is a parabola that opens downward. For a small population, \(1-\frac{P}{K}\) is close to 1, so the rate is close to \(kP\), as in exponential growth.
Since \(k\neq 0\), the rate is 0 only at \(P=0\) and at \(P=K\), where a factor is 0. A constant function has derivative 0, so the constant functions \(P=0\) and \(P=K\) satisfy the equation (topic 7.4), and they are the equilibrium solutions. The positive one, \(K\), is the carrying capacity, which some books call the limiting population. The solution of the equation below shows that every population that starts above 0 approaches \(K\).
Because \(kP\left(1-\frac{P}{K}\right)=\frac{k}{K}P(K-P)\), the rate is also proportional to the product of \(P\) and \(K-P\), and many problems use that form. In every form, the carrying capacity is the positive zero of the rate.
For \(P>0\), the factors \(k\) and \(P\) are positive, so the rate has the sign of \(1-\frac{P}{K}\). If \(0<P<K\), this factor is positive, so the population increases, and the curve is green. If \(P>K\), the factor is negative, so the population decreases, and the curve is red. Move \(P\) with the slider under Figure 1. The orange bar, the rate at \(P\), points up while \(P<K\) and down once \(P>K\).
The line under the graph is a phase line, a copy of the \(P\)-axis with arrows that point the way \(P\) moves. The green arrow between 0 and \(K\) points to the right, and the red arrow past \(K\) points to the left. Both point toward \(K\), so \(K\) is a stable equilibrium (topic 7.4), drawn as a filled dot. The green arrow points away from 0, so 0 is unstable, drawn as an open ring. A population above \(K\) declines, however large it is.
The population grows fastest where the rate is greatest. Write the rate as \(f(P)=kP-\frac{k}{K}P^2\). Its derivative with respect to \(P\) is
This derivative is positive for \(P<\frac{K}{2}\) and negative for \(P>\frac{K}{2}\), so as \(P\) rises, the rate increases up to \(\frac{K}{2}\) and decreases after it (topic 5.3). Its greatest value is therefore at \(P=\cy{\frac{K}{2}}\), halfway between the zeros. In Figure 1, the dashed orange line rises from there to the top of the curve. That greatest value is \(f\left(\frac{K}{2}\right)=k\cdot\frac{K}{2}\cdot\frac{1}{2}=\frac{kK}{4}\).
Solving the equation
To solve the equation, separate the variables (topic 7.6). This step divides by \(P(K-P)\), so it leaves out the two equilibrium solutions and needs \(P\) never to equal 0 or \(K\). The rate is a polynomial in \(P\), so different solutions never meet (topic 7.4). A solution that starts at any other population therefore never reaches 0 or \(K\). With the rate written as \(\frac{k}{K}P(K-P)\), the separated equation is
The left side splits into linear partial fractions (topic 6.12), \(\frac{K}{P(K-P)}=\frac{1}{P}+\frac{1}{K-P}\), because \((K-P)+P=K\). The second fraction integrates to \(-\ln|K-P|\), because the derivative of \(K-P\) is \(-1\). Integrate both sides:
Then \(\ln\left|\frac{K-P}{P}\right|=-kt-C\), so \(\left|\frac{K-P}{P}\right|=e^{-C}e^{-kt}\). Because \(P\) is never 0 or \(K\), the expression \(\frac{K-P}{P}\) is continuous and never 0, so by the Intermediate Value Theorem it keeps one sign. If that sign is positive, let \(A=e^{-C}\). If it is negative, let \(A=-e^{-C}\). Either way, the equation becomes
Solve for \(P\), which gives \(P=\frac{K}{1+Ae^{-kt}}\). At \(t=0\), the exponential is 1, so the starting population \(P_0\) satisfies \(P_0=\frac{K}{1+A}\), and \(A=\frac{K-P_0}{P_0}\). A start at \(K\) gives \(A=0\) and the equilibrium \(P=K\), so the formula covers every start \(P_0>0\).
Because \(k>0\), \(e^{-kt}\) approaches 0 as \(t\to\infty\), so \(P(t)\) approaches \(K\) for every start \(P_0>0\). If \(0<P_0<K\), then \(A>0\), so the denominator is greater than 1 and \(P<K\) at every time. If \(P_0>K\), then \(-1<A<0\). For \(t\ge 0\), the denominator is then less than 1 and at least \(1+A\), which is positive, so \(P>K\). Each population stays on its side of \(K\) as it approaches \(K\).
To find a time or the constant \(k\) from a known population, set the formula equal to that population. Then solve for the exponential before you take a logarithm.
How the graph bends
Populations P against time t. A solid curve rises from a small start in an S shape toward a dashed line at K. It crosses a dashed orange line at K/2 at a white dot. Faint curves start from other populations, and the one above K falls toward it. An orange tangent line touches the solid curve at an orange point. Below, the rate dP/dt of the solid curve against t: a green curve above the axis that rises and then falls, highest at the time of the white dot, with an orange bar at the time of the point. Sliders move the point and the start.
In Figure 2, the solid curve starts from a small population and rises toward the dashed line at \(K\). Its rate \(\frac{dP}{dt}\), the slope of the orange tangent line, rises and then falls in the lower graph. The readouts under the figure show whether \(P\) and its rate increase or decrease at the orange point, and how the graph bends there.
A graph is concave up where its second derivative is positive and concave down where it is negative (topic 5.6). The rate is \(f(P)\), and \(P\) depends on \(t\), so the chain rule gives
where \(f'(P)=k\left(1-\frac{2P}{K}\right)\) as above. If \(0<P<\frac{K}{2}\), both factors are positive, so the graph is concave up and the rate increases. If \(\frac{K}{2}<P<K\), the factor \(f'(P)\) is negative and \(\frac{dP}{dt}\) is positive, so the graph is concave down. The population still increases there, but its rate decreases. If \(P>K\), both factors are negative, so the graph is concave up as it falls, and the decline slows.
A solution that starts below \(\frac{K}{2}\) rises through \(\frac{K}{2}\), and its graph changes there from concave up to concave down. This inflection point, the white dot, is also where the growth is fastest, at the top of the lower graph. In the formula, \(P=\frac{K}{2}\) when \(Ae^{-kt}=1\), so the time of the fastest growth is \(t=\frac{\ln A}{k}\). Move the orange point past the white dot with the slider for \(t\) under Figure 2. The readout for the rate changes from increasing to decreasing, and the one for the graph changes from concave up to concave down.
Move the start between \(\frac{K}{2}\) and \(K\) with the slider under Figure 2. The white dot disappears, because the solution never reaches \(\frac{K}{2}\). The lower graph falls from the start, so the fastest growth is at \(t=0\). Then move the start above \(K\). The curve falls toward \(K\), and the lower graph is red but rises toward 0.
Example 1
Identify carrying capacity and equilibria
The number of deer \(P\) on an island is modeled by the logistic differential equation \(\dfrac{dP}{dt}=P\left(0.6-\dfrac{P}{2000}\right)\), where \(t\) is measured in years. Find all equilibrium solutions, and find the carrying capacity.
Solution
The equilibrium solutions are the constants at which the rate is 0. A product is 0 only when one of its factors is 0, so set each factor equal to 0:
The second equation gives \(P=0.6\cdot 2000=1200\). The equilibrium solutions are \(P=0\) and \(P=1200\), and the carrying capacity is the positive one, 1200 deer. Factoring out 0.6 confirms it, because \(\frac{P}{2000}=0.6\cdot\frac{P}{1200}\):
Example 2
Determine growth or decline
The number of trout \(P\) in a pond is modeled by \(\dfrac{dP}{dt}=0.002P(600-P)\), where \(t\) is measured in years. For what values of \(P>0\) is the number of trout increasing? The pond is stocked so that \(P(0)=800\). Is the number of trout increasing or decreasing at time \(t=0\)? Find the rate at that time.
Solution
For \(P>0\), the factors 0.002 and \(P\) are positive, so the rate has the sign of \(600-P\). This factor is positive for \(0<P<600\), zero at the carrying capacity 600 and negative for \(P>600\). The number of trout increases for \(0<P<600\).
At \(t=0\), the population 800 is above 600, so the factor \(600-P\) is negative:
The rate is negative, so at \(t=0\) the number of trout is decreasing, at 320 trout per year.
Example 3
Find the fastest growth
A flu spreads through a town of 5000 people. The number \(N\) of people who have had the flu after \(t\) days is modeled by \(\dfrac{dN}{dt}=0.0001N(5000-N)\), with \(N(0)=200\). How many people have had the flu when it is spreading fastest? What is the greatest rate?
Solution
The rate is a quadratic in \(N\) with zeros 0 and 5000 and a negative coefficient of \(N^2\). Its graph is a parabola that opens downward, so the rate is greatest halfway between the zeros, at \(N=2500\).
The start 200 is between 0 and 2500, so \(N\) increases toward 5000 and reaches 2500 at some time. At \(N=2500\), the rate is
The flu spreads fastest when \(N=2500\), at 625 people per day. As a check, the rate is \(0.5N\left(1-\frac{N}{5000}\right)\), and \(\frac{kK}{4}=\frac{0.5\cdot 5000}{4}=625\).
Example 4
Describe concavity and long-term behavior
The number of elk \(P\) in a valley is modeled by \(\dfrac{dP}{dt}=0.3P\left(1-\dfrac{P}{80}\right)\), where \(t\) is measured in years, and \(P(0)=120\). Find \(\displaystyle\lim_{t\to\infty}P(t)\). For \(t\ge 0\), is \(P\) increasing or decreasing? Is the graph of \(P\) concave up or concave down?
Solution
The carrying capacity is 80, and the start 120 is above it. A population that starts above the carrying capacity stays above it and approaches it, so
For every \(t\ge 0\), \(P>80\), so the factor \(1-\frac{P}{80}\) is negative and \(P\) is decreasing. The chain rule gives the second derivative, with \(1-\frac{2P}{80}=1-\frac{P}{40}\):
For \(P>80\), the factor \(1-\frac{P}{40}\) is less than \(-1\), and \(\frac{dP}{dt}\) is negative, so the second derivative is positive. For \(t\ge 0\), the population therefore decreases. Its graph is concave up, so its rate rises toward 0. At \(t=0\), for example, the rate is \(0.3(120)(-0.5)=-18\) elk per year, and the second derivative is \(0.3(-2)(-18)=10.8\) elk per year per year.
Example 5
Use a logistic solution or observations
A population of birds in a nature reserve satisfies the logistic differential equation \(\dfrac{dP}{dt}=kP\left(1-\dfrac{P}{900}\right)\), where \(t\) is measured in years. At time \(t=0\) there are 100 birds, and at \(t=5\) there are 300 birds. Find \(k\). When will there be 600 birds?
Solution
The solution is \(P(t)=\frac{900}{1+Ae^{-kt}}\), and the start gives \(A=\frac{900-100}{100}=8\). Set \(P(5)=300\). Then solve for the exponential:
Take the natural logarithm of both sides. This gives \(-5k=-\ln 4\), so \(k=\frac{\ln 4}{5}\) per year. For 600 birds, solve in the same way:
Then \(kt=\ln 16=2\ln 4\), so \(t=\frac{2\ln 4}{k}=10\). There will be 600 birds after 10 years.
Each example is one of the five skills of topic 7.9 in Which & Why: AP Calculus.