Population Dynamics

Grow populations exponentially or toward a carrying capacity, and simulate predator-prey cycles

Beginner

Interactive simulation

Model

0.50 /yr
500
10
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.

  1. 1
    In Single population mode, drag r, K and N₀ and compare the solid logistic curve with the dashed exponential curve.
  2. 2
    Find the circled inflection point on the left and the top of the hump on the right: both sit at N = K/2.
  3. 3
    Set N₀ above K to watch an overcrowded population shrink back to K.
  4. 4
    Switch to Predator and prey. Press Play and watch which population peaks first.
  5. 5
    Follow 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

ModelAssumesWhere it breaks down
ExponentialUnlimited food and space; constant per-capita birth and death ratesWithin a few doubling times resources run short
LogisticPer-capita growth falls in a straight line from r at N = 0 to zero at N = KReal populations can overshoot K when they respond to crowding with a delay
Lotka-VolterraPrey grow exponentially without predators; predators die out without prey; encounters are proportional to x × yNo prey carrying capacity, no predator satiation, no random events, so every orbit cycles forever

Why the predator peak comes later

Predators can only multiply after prey are plentiful, and they keep eating after prey start to decline. That delay, about a quarter of a cycle for small oscillations, is what keeps the populations out of step and the cycle going.

Real-world applications

Lynx and snowshoe hare

Hudson’s Bay Company fur records from 1845 to 1935 show hare and lynx numbers cycling every 9 to 11 years, with lynx peaks trailing hare peaks.

Fisheries management

Logistic growth is fastest at K/2, so harvesting to hold a stock near half its unfished size gives the classic maximum sustainable yield of rK/4.

Bacterial cultures

Bacteria in fresh broth grow exponentially, doubling every 20 minutes or so, then level off as nutrients run out: the S-shaped logistic curve.

Epidemics

Early case counts in an outbreak rise exponentially. As fewer people remain susceptible, growth slows in much the same way as logistic growth.

Biological pest control

Releasing a natural predator can hold a pest below damaging levels. Lotka-Volterra models show why both populations then tend to oscillate.

Human population

World population grew close to exponentially for centuries. Its growth rate peaked in the 1960s and has fallen since, a pattern compared with logistic growth.

Practice problems

Problem 1: Maximum sustainable yield

A fish stock grows logistically with r = 0.4 per year and K = 10,000 fish. What is the largest catch per year that can be taken forever, and at what stock size?
Show 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

A bacterial population grows exponentially with r = 0.035 per minute. How long does it take to double?
Show solution

Doubling time = ln 2 / r = 0.693 / 0.035

about 19.8 minutes

Problem 3: Equilibrium of a predator-prey system

In a Lotka-Volterra model α = 0.6, β = 0.025, δ = 0.01 and γ = 0.8 per year. Where is the equilibrium, and roughly how long is a small cycle around it?
Show 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.