Simulations

Deterministic population dynamics · 2

Continuous-time logistic model

dx/dt = rm x (1 − x)

x
population as a share of the carrying capacity K (x = N/K); it can start above 1
rm
the largest growth rate per head (births − deaths, per unit time) when the population is tiny
(1 − x)
crowding: the growth rate per head falls linearly and reaches 0 at K
t
continuous time: births and deaths happen all the time, generations overlap
Δt
the step of the Euler method in the owner's code: xn+1 = xn + rmΔt xn(1 − xn)

Trajectory

The exact curve and the owner's Euler steps.

Phase line

The growth rate dx/dt for every density x: where it is above zero the population grows, where it is below it shrinks.

Growth rate against density: arrows show which way x moves.

Growth rate over time

How fast the population changes along the exact curve, from x0 to K.

How fast the population grows, over time.

The theory, in short

Read the full write-up on GitHub Back to the simulations