Population Dynamics
Grow populations exponentially or toward a carrying capacity, and simulate predator-prey cycles
Interactive simulation
Model
- Time
- 0.00 yr
- Logistic N
- 10.0
- Exponential N
- 10.0
- Logistic dN/dt
- 4.9 /yr
- Inflection (N = K/2)
- t = 7.78 yr
- Max growth rK/4
- 62.5 /yr
- Doubling time ln2/r
- 1.39 yr
- N / K
- 2.0%
- Logistic: dN/dt = rN(1 − N/K)
- Exponential: dN/dt = rN
- Carrying capacity K
The logistic curve uses its exact solution N(t) = K / (1 + ((K − N₀)/N₀) e^(−rt)). The right-hand graph shows growth rate against population size: a straight line for exponential growth, a hump peaking at K/2 for logistic growth.
How population models work
A population model describes how fast a population changes, dN/dt, in terms of its current size. Each individual is born and dies at some rate, so the simplest assumption is that the whole population grows in proportion to its size. That gives exponential growth: the bigger it gets, the faster it grows.
No environment can support that for long. The logistic model adds a carrying capacity K: as N approaches K, crowding cuts the per-capita growth rate until it reaches zero. The result is an S-shaped curve that rises fastest at exactly half of K.
Populations also affect each other. In the Lotka-Volterra model prey grow on their own, predators need prey to grow, and every encounter removes prey and feeds predators. The two populations chase each other round and round in a repeating cycle.
- 1In Single population mode, drag r, K and N₀ and compare the solid logistic curve with the dashed exponential curve.
- 2Find the circled inflection point on the left and the top of the hump on the right: both sit at N = K/2.
- 3Set N₀ above K to watch an overcrowded population shrink back to K.
- 4Switch to Predator and prey. Press Play and watch which population peaks first.
- 5Follow the phase plot: the point travels anticlockwise around the equilibrium and comes back to where it started.
Key formulas
Exponential growth
dN/dt = rN, N(t) = N₀ e^(rt), doubling time = ln 2 / r
- r
- intrinsic growth rate, births minus deaths per individual per year
- N₀
- starting population
Logistic growth
dN/dt = rN(1 − N/K), N(t) = K / (1 + ((K − N₀)/N₀) e^(−rt))
- K
- carrying capacity, the largest population the environment can sustain
Growth is fastest at N = K/2, where dN/dt = rK/4. Starting from N₀ below K/2, that happens at t = ln((K − N₀)/N₀) / r.
Lotka-Volterra predator and prey
dx/dt = αx − βxy, dy/dt = δxy − γy
- x, y
- prey and predator populations
- α
- prey birth rate
- β
- rate at which predators kill prey
- δ
- predator births per prey eaten
- γ
- predator death rate
Equilibrium at x = γ/δ, y = α/β. Small cycles around it have period 2π / √(αγ). The quantity H = δx − γ ln x + βy − α ln y never changes, which is why every orbit is closed.
Model assumptions
| Model | Assumes | Where it breaks down |
|---|---|---|
| Exponential | Unlimited food and space; constant per-capita birth and death rates | Within a few doubling times resources run short |
| Logistic | Per-capita growth falls in a straight line from r at N = 0 to zero at N = K | Real populations can overshoot K when they respond to crowding with a delay |
| Lotka-Volterra | Prey grow exponentially without predators; predators die out without prey; encounters are proportional to x × y | No prey carrying capacity, no predator satiation, no random events, so every orbit cycles forever |
Why the predator peak comes later
Real-world applications
Lynx and snowshoe hare
Fisheries management
Bacterial cultures
Epidemics
Biological pest control
Human population
Practice problems
Problem 1: Maximum sustainable yield
Show solutionHide solution
Fastest growth is at N = K/2 = 5,000 fish
dN/dt = rK/4 = 0.4 × 10,000 / 4
1,000 fish per year, holding the stock at 5,000
Problem 2: Doubling time
Show solutionHide solution
Doubling time = ln 2 / r = 0.693 / 0.035
about 19.8 minutes
Problem 3: Equilibrium of a predator-prey system
Show solutionHide solution
Prey: x = γ/δ = 0.8 / 0.01 = 80
Predators: y = α/β = 0.6 / 0.025 = 24
Period ≈ 2π / √(0.6 × 0.8) = 2π / 0.693
(80, 24), with a period of about 9.1 years
Spotted a mistake on this page?
Wrong formula, broken animation or confusing wording. Tell us and we will fix it.