Learn
Lesson · Systems and the Phase Plane · Nonlinear systems

Predator and Prey

The Lotka–Volterra system lets prey grow, predators die, and every meeting move one to the other. It has an equilibrium with both populations present, where the Jacobian has trace zero: a centre of the linearisation, which settles nothing. A quantity that stays constant along solutions does, and the drawn trajectory is a closed loop that matches it.

x′ = 2x − x·y prey y′ = −y + x·y predators equilibria (0, 0) saddle, (1, 2) centre V = x − ln x + y − 2·ln y is constant orbits are closed loops, not points
Two populations that chase each other

Core ideas

What this lesson establishes

Three ideas. The model states its assumptions, the Jacobian gives a borderline answer, and a conserved quantity finishes the argument.

1

The model says who feeds on whom

Let x be the prey and y the predators. Prey would grow at a rate proportional to x alone, predators would die at a rate proportional to y alone, and each meeting, which happens at a rate proportional to x·y, takes prey away and adds predators. With the numbers of this lesson, x′ = 2x − x·y and y′ = −y + x·y.

2

The interior equilibrium is a centre of the linearisation

Setting x·(2 − y) = 0 and y·(x − 1) = 0 gives (0, 0) and (1, 2). At (1, 2) the Jacobian has rows 0 −1 and 2 0, so τ = 0 and Δ = 2: roots ±i·√2. That is the borderline case from the last lesson, and the type tile says the linearisation is inconclusive.

3

A conserved quantity decides it

The function V = x − ln x + y − 2·ln y has the same value at every point of a solution. So a solution stays on one level curve of V, and near (1, 2) those level curves are closed loops. The populations then return to where they started, which neither settling nor spiralling away would do.

The material

A system that does not settle

The equations, both equilibria, the quantity the true solutions keep, and what the lab draws and what it cannot.

Definition · The Lotka–Volterra predator–prey system

Prey 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 Jacobians

The 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 keep

Along 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.

Interactive

Equilibria and the Jacobian

Checked exactly, linearised, and classified

A nonlinear systemequilibria checked exactly, linearised by the Jacobian
the fieldlisted pointsdrawn by stepping in floating point

Method

Reading a predator-prey system

Find the points, linearise, and when the linearisation is silent go to the conserved quantity.

1

Factor each rate

x′ = x·(2 − y) and y′ = y·(x − 1). Each factor is a family of points where that rate is zero.

2

Pair the factors to find the equilibria

x = 0 with y = 0, and y = 2 with x = 1. The other pairings give the same two points. Check each in both equations.

3

Linearise at each

The rows 2 − y, −x and y, x − 1 become 2 0 and 0 −1 at the origin, a saddle, and 0 −1 and 2 0 at (1, 2).

4

Notice the borderline

τ = 0 and Δ = 2 > 0 at (1, 2): a centre of the linearisation, which the Jacobian cannot decide.

5

Use the conserved quantity

Show V′ = 0 by substitution. Then read the drawn loop as agreeing with the level curves of V, and say that the drawing illustrates the argument rather than proving it.

Equilibria, centres and loops

Score 0 / 0

x′ = 2x − xy, y′ = −y + xy: the equilibria and the centre

The first preset, linearised at the interior equilibrium.

x′ = x·(2 − y) y′ = y·(x − 1) equilibria: (0, 0) and (1, 2) J (rows): 2 − y, −x and y, x − 1 at (0, 0): rows 2 0 and 0 −1, Δ = −2: saddle at (1, 2): rows 0 −1 and 2 0 τ = 0, Δ = 2, λ = ±i·√2 centre of J: inconclusive; V = x − ln x + y − 2·ln y

The linearisation at (1, 2) is a centre, and the lab says so. The reason a closed loop is still the right answer is that V′ = 0, not that the Jacobian predicted it.

The value of V at the start (1, 1) is 2, while at the equilibrium it is 3 − 2·ln 2 ≈ 1.61371, rounded. The start is on a bigger loop around the point, and the two never meet: the populations do not tend to (1, 2).

Common mistakes

1
Expecting predators and prey to settle to constant populationsThe equilibrium (1, 2) exists, and a reader expects the populations to approach it. They do not. The start (1, 1) has V = 2 and the equilibrium has V = 3 − 2·ln 2 ≈ 1.61371, rounded, and V never changes along a solution, so the start cannot reach the equilibrium. The populations go round it for ever, the roots ±i·√2 having no real part to make them decay.
2
Reading the drawn loop as a proof that the orbits closeThe trajectory is stepped in floating point. A closed-looking curve is what a correct conserved quantity predicts, and it is also what a very slow spiral would look like at this step size. The argument is V′ = 0 together with the shape of V, and the picture is illustration.
3
Taking a centre of the Jacobian to be a centre of the modelAt (1, 2) the linearisation is a centre and so is the model, but the reasons are separate. The previous lesson's x′ = −y + x³, y′ = x + y³ has the same linearisation and its orbits spiral out. What settled this system was a conserved quantity found for this system, not the Jacobian.

Check your understanding

✓
Finish when you can set up and analyse a predator-prey system.

You should be able to write the Lotka–Volterra equations, find both equilibria exactly, show the interior one has trace zero, verify by substitution that the stated quantity is conserved, and say why the drawn trajectory illustrates the result without proving it.

Note: Predators take from prey. When two species instead take from the same food, the picture changes character, and “Competing Species” classifies all four equilibria.

Kept in this browser only, for you. Nothing is sent anywhere and nothing checks it. Carry it to another device.

Feedback and recommendations

Something to change about this lesson? Write it down, tick it off when it is handled, and export the list when you want to act on it. Kept in this browser only: nothing is sent anywhere, and nobody is notified.

No recommendations yet for this lesson.