Deterministic population dynamics · 4
Lotka–Volterra competition
dN1/dt = r1N1(1 − (N1 + α21N2)/K1)dN2/dt = r2N2(1 − (N2 + α12N1)/K2)
- N1, N2
- the two species (SP1, SP2)
- r1, r2
- growth rate per head when rare and alone
- K1, K2
- carrying capacity of each species alone
- α21, α12
- α21 — the effect of one SP2 individual on SP1, counted in SP1 individuals; α12 — the effect of SP1 on SP2 (this is the owner's convention; many textbooks swap the indices)
Phase plane
Time series
Both populations from your last start in the phase plane, or from 10% of each carrying capacity.
Outcome map
The two competition coefficients decide who wins; the carrying capacities set where the borders are.
The theory, in short
- Two logistic species. Each grows logistically alone (ri, Ki); the other species adds a linear drag.
- Competition coefficients. α21 converts SP2 into SP1-equivalents (α21 = 2: one SP2 individual weighs on SP1 like two of its own); (N1 + α21N2) is the crowding SP1 feels.
- Equilibria. e0 = (0, 0), e1 = (K1, 0), e2 = (0, K2), and e3 = ((K1 − α21K2)/(1 − α12α21), (K2 − α12K1)/(1 − α12α21)) when it is positive.
- Stability comes from the Jacobian's eigenvalues at each equilibrium (the README's table: node, saddle, spiral, centre).
- Invasion tests. SP1 can grow when rare in SP2's world iff K1 > α21K2; SP2 iff K2 > α12K1. Both → coexistence; one → that species wins; neither → bistability (founder control).
- Coexistence needs each species to limit itself more than it limits the other.
- No spirals. In competition the Jacobian at e3 has real eigenvalues, so populations approach without oscillating.
- Growth rates set the speed and the shape of the paths, not the outcome.
- Degenerate cases. With α12 = K2/K1 and α21 = K1/K2 (so α12α21 = 1) the two nullclines coincide: a whole line of equilibria (neutral); near it the approach is extremely slow.