rabbits foxes
Field notes
How it works
Grass grows. Rabbits eat grass. Foxes eat rabbits. Nothing arrives and nothing leaves.
Why the numbers swing
Plenty of grass means more rabbits, which means more foxes. More foxes and less grass means fewer rabbits, then hungry foxes. The grass grows back and it starts again. Bare ground recovers slowly, so a boom year sets up the crash.
The foxes run late
The foxes rise and fall some weeks after the rabbits. Lotka and Volterra predicted this on paper a century ago, and nobody told this island. The notebook measures the gap from week 100 (the dotted line on the chart), after the first clumsy boom while the animals are still learning.
Feeding the rabbits feeds the foxes
In the equations, the settled rabbit count depends only on the foxes, and the settled fox count only on the rabbits. So richer grass buys more foxes, not more rabbits. Try it under Step in. The notebook writes the prediction first and the result 60 weeks later.
Nobody taught them
The rabbits choose from graze, wander, run, sit, breed and seek grass. The foxes choose from hunt, wander, roam, sit, breed and follow. No rule says a rabbit should run from a fox. They start almost at random, get one reward (roughly "still alive"), and slowly favor what works.
They learn which action to pick, not how to do it. The memory belongs to the species, since no rabbit lives long enough to learn much alone. The small number under each name in the strip is how many situations that species has met so far.
What was measured
Over 500 weeks, animals that learn live about 5% longer than ones that don't. In the first 160 weeks they live shorter lives, because exploring costs. (An earlier version said 20%. Memory was leaking between runs.) The foxes barely improve: there are fewer of them, so they get less practice.
The equations
Lotka (1925) and Volterra (1926) wrote them separately. Prey multiply on their own and get eaten in proportion to how often the two species meet. Hunters die off at a steady rate and multiply in proportion to the same meetings. Four things follow:
It never settles. The solutions are loops, not resting points.
The hunters trail by about a quarter of a cycle.
Feeding the prey feeds the hunters. Volterra used this to explain why predatory fish increased in the Adriatic when World War I stopped the fishing.
Except here, extinction is real. On paper a population can fall to a millionth of an animal and recover. This island counts whole animals, so when the last one dies it stays dead.
Related models
Flip the signs and you get the competition model, two species after the same food, which usually ends with one gone. Change them again and you get Lanchester's 1916 combat laws, which is why there's a gorilla in the list. If everyone can reach the fight, strength goes as numbers squared. If only a few can, it goes as plain numbers.
Change the cast
Restarts on the same seed, so the coastline stays and only the animals change.
Step in
You're on the shore. You get one action now, then none for 20 weeks. Most of the time, doing nothing is the right call.