← Back to Calculus

Logistic and Predator-Prey Models

Unlimited exponential growth cannot last. The logistic model adds a limit set by resources, and predator-prey systems capture how two populations rise and fall together.

Why exponential growth breaks down

Exponential growth \(P' = kP\) predicts populations that grow forever, but real environments have limited food, space, and other resources. As a population gets large, its growth rate must slow. A good model should behave exponentially when \(P\) is small and level off as \(P\) approaches the environment's carrying capacity \(K\).

The logistic equation

The logistic equation multiplies exponential growth by a braking factor \(1 - \frac{P}{K}\). When \(P\) is small, the factor is near \(1\) and growth is nearly exponential. When \(P\) approaches \(K\), the factor approaches \(0\) and growth stops. If \(P > K\), the factor is negative and the population shrinks back toward \(K\).

\frac{dP}{dt} = rP\left(1 - \frac{P}{K}\right)

Equilibria and the S-curve

The logistic equation has two equilibria: \(P = 0\) (unstable) and \(P = K\) (stable). Solutions starting between them follow an S-shaped curve: slow start, rapid middle, slow approach to \(K\). The growth rate \(rP(1 - P/K)\) is a downward parabola in \(P\), largest at \(P = \frac{K}{2}\). So the population grows fastest when it is at half the carrying capacity, the inflection point of the S-curve.

Solving the logistic equation

The equation is separable. Using partial fractions on \(\frac{1}{P(1 - P/K)}\) and integrating gives the explicit solution below, where \(A = \frac{K - P_0}{P_0}\). As \(t \to \infty\), \(e^{-rt} \to 0\) and \(P \to K\). This formula is used for populations, the spread of rumours and technologies, and early phases of epidemics.

P(t) = \frac{K}{1 + Ae^{-rt}}

Worked example

A lake can support 1,000 fish (\(K = 1000\)). It is stocked with 100 fish, and \(r = 0.4\) per year. Then \(A = \frac{1000 - 100}{100} = 9\), so \(P(t) = \frac{1000}{1 + 9e^{-0.4t}}\). After 5 years, \(P \approx \frac{1000}{1 + 9(0.135)} \approx 451\). The population reaches 500, half capacity and the fastest growth, at \(t = \frac{\ln 9}{0.4} \approx 5.5\) years.

Harvesting

If fish are caught at a constant rate \(H\), the model becomes \(P' = rP(1 - \frac{P}{K}) - H\). Harvesting lowers the stable equilibrium. If \(H\) exceeds the maximum growth rate \(\frac{rK}{4}\), there is no equilibrium at all and the population collapses. This is the mathematics behind sustainable fishing quotas.

Two species: predator and prey

The Lotka-Volterra model tracks prey \(x\) (such as rabbits) and predators \(y\) (such as foxes). Prey grow on their own but are eaten in proportion to encounters \(xy\); predators die off on their own but grow by eating prey. The system couples two differential equations, each depending on both populations.

\frac{dx}{dt} = ax - bxy,\quad \frac{dy}{dt} = -cy + dxy

The predator-prey cycle

Solutions cycle: many rabbits feed a growing fox population; many foxes reduce the rabbits; fewer rabbits starve the foxes; fewer foxes let the rabbits recover. Plotting \(y\) against \(x\) gives closed loops around the equilibrium point \(\left(\frac{c}{d}, \frac{a}{b}\right)\). Fur-trading records of lynx and hares in Canada show cycles of roughly ten years, a famous real-world echo of this model.

Other systems

Competition models describe two species sharing a resource; depending on the parameters, one species wins or they coexist. The SIR epidemic model tracks susceptible, infected, and recovered people: \(S' = -\beta SI\), \(I' = \beta SI - \gamma I\), \(R' = \gamma I\). Its key number, \(R_0 = \frac{\beta S_0}{\gamma}\), predicts whether an outbreak grows.

Common mistakes

Thinking a logistic population grows fastest at the start or at the carrying capacity; it is fastest at \(\frac{K}{2}\). Forgetting that \(P = K\) is stable and \(P = 0\) unstable. Mixing up which terms in the predator-prey system have plus and minus signs. Treating model parameters as exact when they are estimates.

Try it yourself

For \(P' = 0.2P(1 - \frac{P}{500})\), find the equilibria and the population where growth is fastest. Answer: equilibria \(0\) and \(500\); fastest growth at \(250\), with rate \(0.2(250)(0.5) = 25\) per unit time. Then find the equilibrium of \(x' = 2x - xy\), \(y' = -3y + xy\). Answer: \((3, 2)\).

Key takeaways

Logistic growth \(rP(1 - P/K)\) starts exponentially and levels off at the carrying capacity \(K\), growing fastest at \(K/2\). Harvesting above \(rK/4\) causes collapse. Predator-prey systems produce linked cycles around an equilibrium. Systems of differential equations model interacting populations, epidemics, and competition.

Flashcard

Carrying capacity

K: the population the environment can sustain

The stable equilibrium of the logistic model.

Check your understanding

For dP/dt = 0.5P(1 - P/800), at what population is growth fastest?

Take the unit quiz

← Previous lesson