Skip to content
Family Table Math

Logistic Models

Exponential growth can’t last forever. A population of fish in a lake, a rumour in a school, or the number of people who own a new phone all grow quickly at first, then slow down as they run out of room, food, or new people to reach. The logistic model captures this. It starts out like exponential growth but levels off at a maximum called the carrying capacity. On the AP BC exam, you’re expected to read a lot of information straight from the differential equation, without solving it.

dPdt=kP(1−PL),k>0\frac{dP}{dt} = kP\left(1 - \frac{P}{L}\right), \qquad k \gt 0
  • kk is the growth constant: when PP is small, 1−PL≈11 - \dfrac{P}{L} \approx 1 and dPdt≈kP\dfrac{dP}{dt} \approx kP, which is exponential growth.
  • LL is the carrying capacity. As PP gets close to LL, the factor 1−PL1 - \dfrac{P}{L} gets close to 00 and growth slows to a stop.

You’ll also see the form dPdt=kP(L−P)\dfrac{dP}{dt} = kP(L - P). It’s the same idea with a different constant out front. In either form, read LL from the factor that is zero when P=LP = L. For example, dPdt=0.002P(800−P)\dfrac{dP}{dt} = 0.002P(800 - P) has L=800L = 800.

The sign of dPdt\dfrac{dP}{dt} tells you everything about the long run:

Starting valueSign of dPdt\dfrac{dP}{dt}What happens
P(0)=0P(0) = 0 or P(0)=LP(0) = L00PP stays constant (equilibrium)
0<P(0)<L0 \lt P(0) \lt LpositivePP increases toward LL
P(0)>LP(0) \gt LnegativePP decreases toward LL

So for any starting value P(0)>0P(0) \gt 0:

lim⁡t→∞P(t)=L\lim_{t \to \infty} P(t) = L

Fastest growth at half the carrying capacity

Section titled “Fastest growth at half the carrying capacity”

Think of dPdt=kP−kLP2\dfrac{dP}{dt} = kP - \dfrac{k}{L}P^2 as a function of PP. It’s a downward-opening parabola with zeros at P=0P = 0 and P=LP = L, so its maximum is halfway between, at P=L2P = \dfrac{L}{2}.

That means the population is growing fastest when P=L2P = \dfrac{L}{2}. On the graph of PP against tt this is the inflection point: below L2\dfrac{L}{2} the curve is concave up, above it the curve is concave down. You can confirm it with the second derivative:

d2Pdt2=k dPdt(1−2PL),\frac{d^2P}{dt^2} = k\,\frac{dP}{dt}\left(1 - \frac{2P}{L}\right),

which changes sign at P=L2P = \dfrac{L}{2} (when 0<P<L0 \lt P \lt L).

Three solutions of the logistic equation dP/dt = 0.4P(1 - P/500) over 20 years. Starting at 100, the curve rises in an S shape, steepest at P = 250 near t = 3.5, and levels off at the dashed line P = 500. A curve starting at 20 does the same but later. A curve starting at 800 falls and levels off at 500 from above. 2 4 6 8 10 12 14 16 18 100 200 300 400 500 600 700 800 L = 500 P = 250: fastest growth P(0) = 800 P(0) = 100 P(0) = 20 time t (years) population P
Solutions of dPdt=0.4P(1−P500)\frac{dP}{dt} = 0.4P\left(1 - \frac{P}{500}\right): every positive starting value leads to P→500P \to 500, and the rising curves are steepest at P=250P = 250.

Solving the logistic equation by separation of variables (see Example 4) gives

P(t)=L1+Ae−kt,A=L−P(0)P(0)P(t) = \frac{L}{1 + Ae^{-kt}}, \qquad A = \frac{L - P(0)}{P(0)}

As t→∞t \to \infty, e−kt→0e^{-kt} \to 0, so P→LP \to L, matching what you read from the equation. The AP exam focuses on reading the differential equation; you won’t usually be asked to derive this formula, but it’s good to see where it comes from.

A deer population satisfies dPdt=0.4P(1−P500)\dfrac{dP}{dt} = 0.4P\left(1 - \dfrac{P}{500}\right), where tt is in years, and P(0)=100P(0) = 100.

  • (a) Find lim⁡t→∞P(t)\displaystyle\lim_{t \to \infty} P(t).
  • (b) For what value of PP is the population growing fastest? How fast is it growing then?

Solution.

(a) The carrying capacity is L=500L = 500, and 0<100<5000 \lt 100 \lt 500, so PP increases toward 500500: lim⁡t→∞P(t)=500\displaystyle\lim_{t \to \infty} P(t) = 500.

(b) Growth is fastest at P=L2=250P = \dfrac{L}{2} = 250. Then

dPdt=0.4(250)(1−250500)=0.4(250)(0.5)=50 deer per year\frac{dP}{dt} = 0.4(250)\left(1 - \frac{250}{500}\right) = 0.4(250)(0.5) = 50 \text{ deer per year}

Example 2: Starting above the carrying capacity

Section titled “Example 2: Starting above the carrying capacity”

A culture of yeast satisfies dydt=0.002y(800−y)\dfrac{dy}{dt} = 0.002y(800 - y) with y(0)=1000y(0) = 1000.

  • (a) Find lim⁡t→∞y(t)\displaystyle\lim_{t \to \infty} y(t).
  • (b) Is the graph of yy concave up or concave down for t≥0t \ge 0?

Solution.

(a) The factor 800−y800 - y is zero at y=800y = 800, so L=800L = 800. Since y(0)=1000>800y(0) = 1000 \gt 800, dydt<0\dfrac{dy}{dt} \lt 0 and yy decreases toward 800800: the limit is 800800.

(b) Differentiate with the product rule:

d2ydt2=0.002dydt(800−y)+0.002y(−dydt)=0.002dydt(800−2y)\frac{d^2y}{dt^2} = 0.002\frac{dy}{dt}(800 - y) + 0.002y\left(-\frac{dy}{dt}\right) = 0.002\frac{dy}{dt}(800 - 2y)

For y>800y \gt 800, dydt<0\dfrac{dy}{dt} \lt 0 and 800−2y<0800 - 2y \lt 0, so d2ydt2>0\dfrac{d^2y}{dt^2} \gt 0. The graph is concave up: it falls, but more and more gently, as it levels off toward 800800.

The deer population from Example 1 is P(t)=5001+4e−0.4tP(t) = \dfrac{500}{1 + 4e^{-0.4t}}.

  • (a) Check that P(0)=100P(0) = 100.
  • (b) Estimate the population after 55 years.
  • (c) When is the population growing fastest?

Solution.

(a) P(0)=5001+4=100P(0) = \dfrac{500}{1 + 4} = 100. ✓ (Also, A=500−100100=4A = \dfrac{500 - 100}{100} = 4.)

(b) P(5)=5001+4e−2≈324.393P(5) = \dfrac{500}{1 + 4e^{-2}} \approx 324.393, so about 324324 deer.

(c) Growth is fastest when P=250P = 250:

5001+4e−0.4t=250  ⇒  1+4e−0.4t=2  ⇒  e−0.4t=14  ⇒  t=ln⁡40.4≈3.466 years\frac{500}{1 + 4e^{-0.4t}} = 250 \;\Rightarrow\; 1 + 4e^{-0.4t} = 2 \;\Rightarrow\; e^{-0.4t} = \frac{1}{4} \;\Rightarrow\; t = \frac{\ln 4}{0.4} \approx 3.466 \text{ years}

Example 4: Deriving the solution (optional extension)

Section titled “Example 4: Deriving the solution (optional extension)”

Solve dPdt=0.4P(1−P500)\dfrac{dP}{dt} = 0.4P\left(1 - \dfrac{P}{500}\right) with P(0)=100P(0) = 100.

Solution. Rewrite the right side as 0.4500P(500−P)\dfrac{0.4}{500}P(500 - P) and separate:

∫500P(500−P) dP=∫0.4 dt\int \frac{500}{P(500 - P)}\,dP = \int 0.4\,dt

By partial fractions, 500P(500−P)=1P+1500−P\dfrac{500}{P(500 - P)} = \dfrac{1}{P} + \dfrac{1}{500 - P}. For 0<P<5000 \lt P \lt 500:

ln⁡P−ln⁡(500−P)=0.4t+C⇒ln⁡P500−P=0.4t+C\ln P - \ln(500 - P) = 0.4t + C \quad\Rightarrow\quad \ln\frac{P}{500 - P} = 0.4t + C

At t=0t = 0, P=100P = 100: C=ln⁡100400=ln⁡14C = \ln\dfrac{100}{400} = \ln\dfrac{1}{4}. So

P500−P=14e0.4t\frac{P}{500 - P} = \frac{1}{4}e^{0.4t}

Solve for PP. Taking reciprocals, 500−PP=4e−0.4t\dfrac{500 - P}{P} = 4e^{-0.4t}, so 500P−1=4e−0.4t\dfrac{500}{P} - 1 = 4e^{-0.4t} and

P(t)=5001+4e−0.4tP(t) = \frac{500}{1 + 4e^{-0.4t}}

Misreading the carrying capacity. In dPdt=0.002P(800−P)\dfrac{dP}{dt} = 0.002P(800 - P), L=800L = 800, not 0.0020.002 or 10.002\dfrac{1}{0.002}. Find the value of PP that makes the bracket zero.

Saying growth is fastest at the carrying capacity. At P=LP = L the growth rate is 00. Growth is fastest at P=L2P = \dfrac{L}{2}, halfway up.

Giving the time instead of the population (or the reverse). “For what value of PP” wants L2\dfrac{L}{2}. “At what time” needs the solution formula and a logarithm.

Assuming the population always increases. If P(0)>LP(0) \gt L, the population decreases toward LL. The limit is still LL.

Using dPdt\dfrac{dP}{dt} when you need d2Pdt2\dfrac{d^2P}{dt^2}. Concavity questions need the second derivative, found by differentiating the right side with respect to tt and substituting dPdt\dfrac{dP}{dt}.

1. (Warm-up) A population satisfies dPdt=0.3P(1−P2000)\dfrac{dP}{dt} = 0.3P\left(1 - \dfrac{P}{2000}\right) with P(0)=150P(0) = 150. Find the carrying capacity and the population at which it grows fastest.

Solution

L=2000L = 2000. Growth is fastest at P=20002=1000P = \dfrac{2000}{2} = 1000.

2. (Warm-up) For the same equation, suppose instead P(0)=2500P(0) = 2500. Is the population increasing or decreasing at first? Find lim⁡t→∞P(t)\displaystyle\lim_{t \to \infty} P(t).

Solution

At P=2500P = 2500, dPdt=0.3(2500)(1−25002000)=0.3(2500)(−0.25)=−187.5<0\dfrac{dP}{dt} = 0.3(2500)\left(1 - \dfrac{2500}{2000}\right) = 0.3(2500)(-0.25) = -187.5 \lt 0, so it is decreasing. It decreases toward the carrying capacity: the limit is 20002000.

3. (Warm-up) A quantity satisfies dydt=0.01y(300−y)\dfrac{dy}{dt} = 0.01y(300 - y) with y(0)=20y(0) = 20. Find lim⁡t→∞y(t)\displaystyle\lim_{t \to \infty} y(t), the value of yy where yy is growing fastest, and the growth rate at that moment.

Solution

L=300L = 300, so y→300y \to 300. Fastest growth is at y=150y = 150, where

dydt=0.01(150)(300−150)=0.01(150)(150)=225\frac{dy}{dt} = 0.01(150)(300 - 150) = 0.01(150)(150) = 225

4. (Core) The number of trout in a lake satisfies dFdt=0.5F(1−F6000)\dfrac{dF}{dt} = 0.5F\left(1 - \dfrac{F}{6000}\right), where tt is in years, with F(0)=1500F(0) = 1500.

  • (a) Find lim⁡t→∞F(t)\displaystyle\lim_{t \to \infty} F(t).
  • (b) How many trout are there when the population is growing fastest, and how fast is it growing then?
  • (c) Is the graph of FF concave up or concave down at t=0t = 0? Justify.
Solution

(a) L=6000L = 6000 and 0<1500<60000 \lt 1500 \lt 6000, so F→6000F \to 6000.

(b) At F=3000F = 3000: dFdt=0.5(3000)(0.5)=750\dfrac{dF}{dt} = 0.5(3000)(0.5) = 750 trout per year.

(c) d2Fdt2=0.5dFdt(1−2F6000)\dfrac{d^2F}{dt^2} = 0.5\dfrac{dF}{dt}\left(1 - \dfrac{2F}{6000}\right). At F=1500F = 1500, dFdt=0.5(1500)(0.75)=562.5>0\dfrac{dF}{dt} = 0.5(1500)(0.75) = 562.5 \gt 0 and 1−30006000=0.5>01 - \dfrac{3000}{6000} = 0.5 \gt 0, so d2Fdt2>0\dfrac{d^2F}{dt^2} \gt 0: concave up. (This makes sense: 15001500 is below half the carrying capacity.)

5. (Core) A population is modelled by P(t)=9001+8e−0.5tP(t) = \dfrac{900}{1 + 8e^{-0.5t}}, with tt in years.

  • (a) Find P(0)P(0) and lim⁡t→∞P(t)\displaystyle\lim_{t \to \infty} P(t).
  • (b) At what time is the population growing fastest? Give your answer to 3 decimal places.
Solution

(a) P(0)=9009=100P(0) = \dfrac{900}{9} = 100. As t→∞t \to \infty, 8e−0.5t→08e^{-0.5t} \to 0, so P→900P \to 900.

(b) Fastest growth when P=450P = 450: 1+8e−0.5t=21 + 8e^{-0.5t} = 2, so e−0.5t=18e^{-0.5t} = \dfrac{1}{8} and

t=ln⁡80.5=2ln⁡8≈4.159 yearst = \frac{\ln 8}{0.5} = 2\ln 8 \approx 4.159 \text{ years}

6. (Core) Show that dPdt=2P−0.004P2\dfrac{dP}{dt} = 2P - 0.004P^2 is a logistic equation. Find kk, the carrying capacity, and the value of PP where growth is fastest.

Solution

Factor out 2P2P:

2P−0.004P2=2P(1−0.002P)=2P(1−P500)2P - 0.004P^2 = 2P(1 - 0.002P) = 2P\left(1 - \frac{P}{500}\right)

So k=2k = 2, L=500L = 500, and growth is fastest at P=250P = 250.

7. (Core) For dPdt=0.2P(1−P100)\dfrac{dP}{dt} = 0.2P\left(1 - \dfrac{P}{100}\right), find d2Pdt2\dfrac{d^2P}{dt^2} in terms of PP and show that it is zero when P=50P = 50.

Solution

Write dPdt=0.2P−0.002P2\dfrac{dP}{dt} = 0.2P - 0.002P^2. Differentiate with respect to tt:

d2Pdt2=(0.2−0.004P)dPdt=0.2(1−0.02P)⋅0.2P(1−P100)\frac{d^2P}{dt^2} = (0.2 - 0.004P)\frac{dP}{dt} = 0.2(1 - 0.02P) \cdot 0.2P\left(1 - \frac{P}{100}\right)

At P=50P = 50, the factor 1−0.02(50)=01 - 0.02(50) = 0, so d2Pdt2=0\dfrac{d^2P}{dt^2} = 0. For 0<P<500 \lt P \lt 50 it is positive and for 50<P<10050 \lt P \lt 100 it is negative, so the graph of PP has an inflection point at P=50P = 50.

8. (Challenge, optional extension) Solve dPdt=0.5P(1−P40)\dfrac{dP}{dt} = 0.5P\left(1 - \dfrac{P}{40}\right) with P(0)=10P(0) = 10, using separation of variables and partial fractions.

Solution

Rewrite as dPdt=0.540P(40−P)\dfrac{dP}{dt} = \dfrac{0.5}{40}P(40 - P) and separate:

∫40P(40−P) dP=∫0.5 dt\int \frac{40}{P(40 - P)}\,dP = \int 0.5\,dt

Partial fractions: 40P(40−P)=1P+140−P\dfrac{40}{P(40 - P)} = \dfrac{1}{P} + \dfrac{1}{40 - P}. For 0<P<400 \lt P \lt 40:

ln⁡P40−P=0.5t+C\ln\frac{P}{40 - P} = 0.5t + C

At t=0t = 0: C=ln⁡1030=ln⁡13C = \ln\dfrac{10}{30} = \ln\dfrac{1}{3}. So P40−P=13e0.5t\dfrac{P}{40 - P} = \dfrac{1}{3}e^{0.5t}, which gives 40−PP=3e−0.5t\dfrac{40 - P}{P} = 3e^{-0.5t}, so 40P=1+3e−0.5t\dfrac{40}{P} = 1 + 3e^{-0.5t} and

P(t)=401+3e−0.5tP(t) = \frac{40}{1 + 3e^{-0.5t}}

Check with the formula: A=40−1010=3A = \dfrac{40 - 10}{10} = 3. ✓

9. (Challenge) In a school of 12001200 students, a rumour spreads at a rate proportional to both the number of students RR who have heard it and the number who haven’t. At t=0t = 0 days, 5050 students have heard it.

  • (a) Write a differential equation for RR.
  • (b) How many students have heard the rumour when it is spreading fastest?
  • (c) The solution is R(t)=12001+23e−0.6tR(t) = \dfrac{1200}{1 + 23e^{-0.6t}}. When is the rumour spreading fastest? Give your answer to 3 decimal places.
Solution

(a) dRdt=kR(1200−R)\dfrac{dR}{dt} = kR(1200 - R) for some constant k>0k \gt 0.

(b) This is logistic with L=1200L = 1200, so the rumour spreads fastest when R=600R = 600 students.

(c) Set R=600R = 600: 1+23e−0.6t=21 + 23e^{-0.6t} = 2, so e−0.6t=123e^{-0.6t} = \dfrac{1}{23} and

t=ln⁡230.6≈5.226 dayst = \frac{\ln 23}{0.6} \approx 5.226 \text{ days}

(Check the starting value: R(0)=120024=50R(0) = \dfrac{1200}{24} = 50. ✓)