The model $\frac{dP}{dt} = rP$ predicts endless exponential growth. Real populations run out of food or room and level off. The logistic equation builds that limit in, and you can solve it with separation of variables and partial fractions.
Why it works
Key idea
Where the formula comes from
Separate: $\frac{dP}{P(1 - P/K)} = r\,dt$. Partial fractions give $$\begin{aligned} &\frac{1}{P(1 - P/K)} \\ &= \frac{K}{P(K - P)} \\ &= \frac{1}{P} + \frac{1}{K - P}. \end{aligned}$$ Integrate: $\ln|P| - \ln|K - P| = rt + C$, so $\frac{P}{K - P} = Be^{rt}$. Solving for $P$ gives $P = \frac{K}{1 + Ae^{-rt}}$ with $A = \frac{1}{B}$, and $t = 0$ gives $A = \frac{K - P_0}{P_0}$.
Worked example: Solving a logistic model
- $K = 100$, $r = 0.5$, and $A = \frac{100 - 20}{20} = 4$.
- $P(t) = \frac{100}{1 + 4e^{-0.5t}}$.
- Check: $P(0) = \frac{100}{5} = 20$, and $P(t) \to 100$ as $t \to \infty$.
Answer: $P(t) = \frac{100}{1 + 4e^{-0.5t}}$
Worked example: When is growth fastest?
- Fastest growth happens at $P = \frac{K}{2} = 50$.
- Solve $\frac{100}{1 + 4e^{-0.5t}} = 50$: $1 + 4e^{-0.5t} = 2$, so $e^{-0.5t} = \frac{1}{4}$.
- $t = \frac{\ln 4}{0.5} = 2\ln 4 \approx 2.77$.
Answer: $t = 2\ln 4 \approx 2.77$
Worked example: Reading K from an expanded form
- Factor out $0.03P$: $$\begin{aligned} &0.03P\left(1 - \frac{0.0001}{0.03}P\right) \\ &= 0.03P\left(1 - \frac{P}{300}\right). \end{aligned}$$
- So $r = 0.03$ and $K = 300$.
Answer: $r = 0.03$, $K = 300$
Common mistake