Definition · The Lotka–Volterra predator–prey systemPrey x and predators y obey x′ = α·x − β·x·y and y′ = −γ·y + δ·x·y, where α, β, γ and δ are positive constants.
The assumptions are named, not defended: prey have unlimited food and grow without bound alone, predators starve alone, and a meeting is as likely as the product of the two populations.
x′ = 2x − x·y
y′ = −y + x·y
Take α = 2 and β = γ = δ = 1. The x-rate factors as x·(2 − y) and the y-rate as y·(x − 1). The prey grow while there are fewer than 2 predators, and the predators grow while there are more than 1 prey. Each nullcline is a pair of lines, x = 0 or y = 2 for the first and y = 0 or x = 1 for the second, and the crossings that matter are (0, 0) and (1, 2).
Example · Both equilibria and their JacobiansThe Jacobian has rows 2 − y, −x and y, x − 1. At (0, 0) the rows are 2 0 and 0 −1: determinant −2, a saddle. Prey grow along the x-axis and predators die along the y-axis.
At (1, 2) the rows are 0 −1 and 2 0: trace 0, determinant 2, roots ±i·√2. The lab prints a centre of the linearisation, and that is all it can claim.
Theorem · A quantity the solutions keepAlong every solution with x > 0 and y > 0, V = x − ln x + y − 2·ln y is constant.
Differentiate along a solution. The rate of ln t is 1/t: that is the claim “The Integral of 1/t” made in defining ln x as the integral of 1/t from 1 to x, and the one Separable Equations, Growth and Decay used to integrate 1/y. With the chain rule, applied here as a claim beyond the polynomials it was verified on, ln x changes at the rate x′/x and ln y at the rate y′/y.
V′ = (1 − 1/x)·x′ + (1 − 2/y)·y′, and substituting x′ = x·(2 − y) and y′ = y·(x − 1) gives V′ = (x − 1)·(2 − y) + (y − 2)·(x − 1).
The two terms are negatives of each other, so V′ = 0. The value of V never changes, and a solution is confined to a level curve.
□
The proof is algebra the reader has; what it does not show is that the level curves are closed. That is a fact about the shape of V, which has its smallest value at (1, 2) and rises on all sides, and the lab does not prove it. It draws it. The trajectory view steps the system in floating point from the start and the legend says so, and the curve closes on the picture. A drawing is evidence. The reason is the conserved quantity.
Start at (1, 2) itself and the arrow is zero, so the point stays for ever, and Euler's exact steps stay at (1, 2) too. Start anywhere else in the first quadrant and the solution runs round the point. Because y′ > 0 only when x > 1, the predator peak comes after the prey peak, and the loop is traversed anticlockwise.