Two tanks
x′ = −0.2x + 0.1y, y′ = 0.2x − 0.1y
Transfer between tanks.
The predator–prey (Lotka–Volterra) model is (prey), (predators). The non-trivial equilibrium is ; small oscillations about it have period .
This page is easier if you are comfortable with:
With , , , : the equilibrium is , where and . At , : and : the predators increase while the prey is momentarily steady. The linearisation at the equilibrium has eigenvalues , so the period is .
The system couples two equations, as in coupled first-order systems; the method for the linear part is in the linear system solution, and purely imaginary eigenvalues mean a centre (stability of an equilibrium): closed orbits, with prey peaks followed by predator peaks. The quantity is conserved along orbits.
Models of this type describe populations, chemical reactions and epidemics. Adding a carrying capacity makes the growth logistic (the Bernoulli equation, growth models), and numerical solution uses Runge–Kutta or Euler's method.
Predator–prey equations couple two populations whose sizes rise and fall in linked cycles.
The populations travel round a closed loop; the period is 7.26.
These examples are worked by hand, step by step, so you can compare your own working.
Find the equilibrium for , , , .
Find at , .
Find the period of small oscillations.
A few situations come up again and again. Knowing them saves time and helps you spot answers that cannot be right.
x′ = −0.2x + 0.1y, y′ = 0.2x − 0.1y
Transfer between tanks.
from (10, 0) with h = 1: (8, 2)
x + hx′, y + hy′.
x + y stays 10
x′ + y′ = 0.
x′ = 0 ⇒ y = 2x: (3.33, 6.67)
Total 10.
Coupled models describe several quantities whose rates depend on each other, e.g. x′ = ax + by, y′ = cx + dy. Euler’s method updates both together, and equilibria solve x′ = y′ = 0.
x′ = −0.2x + 0.1y at (10, 0). Find x′ and y′ (y′ = 0.2x − 0.1y).
Take one Euler step with h = 1 from (10, 0).
Find the equilibrium split of total 10.
Take a second Euler step from (8, 2).
using new x for y′ ✗
update both from old values ✓
Euler uses the old state.
x + x′ ✗
x + h x′ ✓
Scale by the step.
solving x alone ✗
they are coupled ✓
x′ depends on y.
x = 2y ✗
y = 2x ✓
0.2x = 0.1y.
Try each one on paper, then open the answer. Use the solver above to see the full working.
-2
2
2
-1.4
1.4
4
Unlimited fresh questions with instant marking. Choose a level, work it out on paper, then type your answer.
Solve: …
Several quantities with interlinked rates.
Update every variable from the old state.
Set all rates to zero.
The total x + y.
classical Runge–Kutta.
More in Differential equations and transforms and the formula sheets.