Lotka-Volterra Equations

The Lotka-Volterra equations (predator-prey model) describe the coupled dynamics of two populations: prey and predator .

where are positive parameters:

  • : prey birth rate (prey grow exponentially without predators)
  • : predation rate (each encounter reduces prey)
  • : predator death rate (predators die without prey)
  • : predator growth from predation

Qualitative Behaviour

The populations oscillate periodically. When prey are plentiful, predators grow; when predators are numerous, prey decline; with fewer prey, predators decline; and prey recover. This produces closed orbits in the phase plane .

Python

Python
Output

Systems of ODEs | Explicit Euler method | Fourth order Runge-Kutta | Runge-Kutta methods