# Lotka–Volterra equations

The Lotka–Volterra equations, also known as the Lotka–Volterra predator–prey model, are a pair of first-order nonlinear differential equations, frequently used to describe the dynamics of biological systems in which two species interact, one as a predator and the other as prey. The populations change through time according to the pair of equations: ${\begin{aligned}{\frac {dx}{dt}}&=\alpha x-\beta xy,\\{\frac {dy}{dt}}&=-\gamma y+\delta xy,\end{aligned}}$
where
* the variable x is the population density of prey (for example, the number of rabbits per square kilometre);
* the variable y is the population density of some predator (for example, the number of foxes per square kilometre);
* ${\tfrac {dy}{dt}}$ and ${\tfrac {dx}{dt}}$ represent the instantaneous growth rates of the two populations;
* t represents time;
* The prey's parameters, α and β, describe, respectively, the maximum prey per capita growth rate, and the effect of the presence of predators on the prey death rate.
* The predator's parameters, γ, δ, respectively describe the predator's per capita death rate, and the effect of the presence of prey on the predator's growth rate.
* All parameters are positive and real.
The solution of the differential equations is deterministic and continuous. This, in turn, implies that the generations of both the predator and prey are continually overlapping.
The Lotka–Volterra system of equations is an example of a Kolmogorov population model (not to be confused with the better known Kolmogorov equations), which is a more general framework that can model the dynamics of ecological systems with predator–prey interactions, competition, disease, and mutualism.

## Biological interpretation and model assumptions

The prey are assumed to have an unlimited food supply and to reproduce exponentially, unless subject to predation; this exponential growth is represented in the equation above by the term αx. The rate of predation on the prey is assumed to be proportional to the rate at which the predators and the prey meet; this is represented above by βxy. If either x or y is zero, then there can be no predation. With these two terms the prey equation above can be interpreted as follows: the rate of change of the prey's population is given by its own growth rate minus the rate at which it is preyed upon.
The term δxy represents the growth of the predator population. (Note the similarity to the predation rate; however, a different constant is used, as the rate at which the predator population grows is not necessarily equal to the rate at which it consumes the prey). The term γy represents the loss rate of the predators due to either natural death or emigration; it leads to an exponential decay in the absence of prey. Hence the equation expresses that the rate of change of the predator's population depends upon the rate at which it consumes prey, minus its intrinsic death rate.
The Lotka–Volterra predator-prey model makes a number of assumptions about the environment and biology of the predator and prey populations:
* The prey population finds ample food at all times.
* The food supply of the predator population depends entirely on the size of the prey population.
* The rate of change of population is proportional to its size.
* During the process, the environment does not change in favour of one species, and genetic adaptation is inconsequential.
* Predators have limitless appetite.
* Both populations can be described by a single variable. This amounts to assuming that the populations do not have a spatial or age distribution that contributes to the dynamics.

## Biological relevance of the model

None of the assumptions above are likely to hold for natural populations. Nevertheless, the Lotka–Volterra model shows two important properties of predator and prey populations and these properties often extend to variants of the model in which these assumptions are relaxed:
Firstly, the dynamics of predator and prey populations have a tendency to oscillate. Fluctuating numbers of predators and prey have been observed in natural populations, such as the lynx and snowshoe hare data of the Hudson's Bay Company and the moose and wolf populations in Isle Royale National Park.
Secondly, the population equilibrium of this model has the property that the prey equilibrium density (given by $x=\gamma /\delta$) depends on the predator's parameters, and the predator equilibrium density (given by $y=\alpha /\beta$) on the prey's parameters. This has as a consequence that an increase in, for instance, the prey growth rate, $\alpha$, leads to an increase in the predator equilibrium density, but not the prey equilibrium density. Making the environment better for the prey benefits the predator, not the prey (this is related to the paradox of the pesticides and to the paradox of enrichment). A demonstration of this phenomenon is provided by the increased percentage of predatory fish caught had increased during the years of World War I (1914–18), when prey growth rate was increased due to a reduced fishing effort.
A further example is provided by the experimental iron fertilization of the ocean. In several experiments large amounts of iron salts were dissolved in the ocean. The expectation was that iron, which is a limiting nutrient for phytoplankton, would boost growth of phytoplankton and that it would sequester carbon dioxide from the atmosphere. The addition of iron typically leads to a short bloom in phytoplankton, which is quickly consumed by other organisms (such as small fish or zooplankton) and limits the effect of enrichment mainly to increased predator density, which in turn limits the carbon sequestration. This is as predicted by the equilibrium population densities of the Lotka–Volterra predator-prey model, and is a feature that carries over to more elaborate models in which the restrictive assumptions of the simple model are relaxed.

## Applications to economics and marketing

The Lotka–Volterra model has additional applications to areas such as economics and marketing. It can be used to describe the dynamics in a market with several competitors, complementary platforms and products, a sharing economy, and more. There are situations in which one of the competitors drives the other competitors out of the market and other situations in which the market reaches an equilibrium where each firm stabilizes on its market share. It is also possible to describe situations in which there are cyclical changes in the industry or chaotic situations with no equilibrium and changes are frequent and unpredictable.

## History

The Lotka–Volterra predator–prey model was initially proposed by Alfred J. Lotka in the theory of autocatalytic chemical reactions in 1910. This was effectively the logistic equation, originally derived by Pierre François Verhulst. In 1920 Lotka extended the model, via Andrey Kolmogorov, to "organic systems" using a plant species and a herbivorous animal species as an example and in 1925 he used the equations to analyse predator–prey interactions in his book on biomathematics. The same set of equations was published in 1926 by Vito Volterra, a mathematician and physicist, who had become interested in mathematical biology. Volterra's enquiry was inspired through his interactions with the marine biologist Umberto D'Ancona, who was courting his daughter at the time and later was to become his son-in-law. D'Ancona studied the fish catches in the Adriatic Sea and had noticed that the percentage of predatory fish caught had increased during the years of World War I (1914–18). This puzzled him, as the fishing effort had been very much reduced during the war years and, as prey fish the preferred catch, one would intuitively expect this to increase of prey fish percentage. Volterra developed his model to explain D'Ancona's observation and did this independently from Alfred Lotka. He did credit Lotka's earlier work in his publication, after which the model has become known as the "Lotka-Volterra model".
The model was later extended to include density-dependent prey growth and a functional response of the form developed by C. S. Holling; a model that has become known as the Rosenzweig–MacArthur model. Both the Lotka–Volterra and Rosenzweig–MacArthur models have been used to explain the dynamics of natural populations of predators and prey.
In the late 1980s, an alternative to the Lotka–Volterra predator–prey model (and its common-prey-dependent generalizations) emerged, the ratio dependent or Arditi–Ginzburg model. The validity of prey- or ratio-dependent models has been much debated.
The Lotka–Volterra equations have a long history of use in economic theory; their initial application is commonly credited to Richard Goodwin in 1965 or 1967.

## Solutions to the equations

The equations have periodic solutions. These solutions do not have a simple expression in terms of the usual trigonometric functions, although they are quite tractable.
If none of the non-negative parameters α, β, γ, δ vanishes, three can be absorbed into the normalization of variables to leave only one parameter: since the first equation is homogeneous in x, and the second one in y, the parameters β/α and δ/γ are absorbable in the normalizations of y and x respectively, and γ into the normalization of t, so that only α/γ remains arbitrary. It is the only parameter affecting the nature of the solutions.
A linearization of the equations yields a solution similar to simple harmonic motion with the population of predators trailing that of prey by 90° in the cycle.

### A simple example

Suppose there are two species of animals, a rabbit (prey) and a fox (predator). If the initial densities are 10 rabbits and 10 foxes per square kilometre, one can plot the progression of the two species over time; given the parameters that the growth and death rates of rabbits are 1.1 and 0.4 while that of foxes are 0.1 and 0.4 respectively. The choice of time interval is arbitrary.
One may also plot solutions parametrically as orbits in phase space, without representing time, but with one axis representing the number of prey and the other axis representing the densities of predators for all times.
This corresponds to eliminating time from the two differential equations above to produce a single differential equation
    ${\frac {dy}{dx}}=-{\frac {y}{x}}{\frac {\delta x-\gamma }{\beta y-\alpha }}$
relating the variables x (predator) and y (prey). The solutions of this equation are closed curves. It is amenable to separation of variables: integrating
    ${\frac {\beta y-\alpha }{y}}\,dy+{\frac {\delta x-\gamma }{x}}\,dx=0$
yields the implicit relationship
    $V=\delta x-\gamma \ln(x)+\beta y-\alpha \ln(y),$
where V is a constant quantity depending on the initial conditions and conserved on each curve.
An aside: These graphs illustrate a serious potential limitation in the application as a biological model: for this specific choice of parameters, in each cycle, the rabbit population is reduced to extremely low numbers, yet recovers (while the fox population remains sizeable at the lowest rabbit density). In real-life situations, however, chance fluctuations of the discrete numbers of individuals might cause the rabbits to actually go extinct, and, by consequence, the foxes as well. This modelling problem has been called the "atto-fox problem", an atto-fox being a notional 10$^{−18}$ of a fox. A density of 10$^{−18}$ foxes per square kilometre equates to an average of approximately 5×10$^{−10}$ foxes on the surface of the earth, which in practical terms means that foxes are extinct.

### Hamiltonian structure of the system

Since the quantity $V(x,y)$ is conserved over time, it plays role of a Hamiltonian function of the system. To see this we can define Poisson bracket as follows $\{f(x,y),g(x,y)\}=-xy\left({\frac {\partial f}{\partial x}}{\frac {\partial g}{\partial y}}-{\frac {\partial f}{\partial y}}{\frac {\partial g}{\partial x}}\right)$. Then Hamilton's equations read ${\begin{cases}{\dot {x}}=\{x,V\}=\alpha x-\beta xy,\\{\dot {y}}=\{y,V\}=\delta xy-\gamma y.\end{cases}}$ The variables $x$ and $y$ are not canonical, since $\{x,y\}=-xy\neq 1$. However, using transformations $p=\ln(x)$ and $q=\ln(y)$ we came up to a canonical form of the Hamilton's equations featuring the Hamiltonian $H(q,p)=V(x(q,p),y(q,p))=\delta e^{p}-\gamma p+\beta e^{q}-\alpha q$: ${\begin{cases}{\dot {q}}={\frac {\partial H}{\partial p}}=\delta e^{p}-\gamma ,\\{\dot {p}}=-{\frac {\partial H}{\partial q}}=\alpha -\beta e^{q}.\end{cases}}$ The Poisson bracket for the canonical variables $(q,p)$ now takes the standard form $\{F(q,p),G(q,p)\}=\left({\frac {\partial F}{\partial q}}{\frac {\partial G}{\partial p}}-{\frac {\partial F}{\partial p}}{\frac {\partial G}{\partial q}}\right)$.

### Phase-space plot of a further example

Another example covers:
α = 2/3, β = 4/3, γ = 1 = δ. Assume x, y quantify thousands each. Circles represent prey and predator initial conditions from x = y = 0.9 to 1.8, in steps of 0.1. The fixed point is at (1, 1/2).

## Dynamics of the system

In the model system, the predators thrive when prey is plentiful but, ultimately, outstrip their food supply and decline. As the predator population is low, the prey population will increase again. These dynamics continue in a population cycle of growth and decline.

### Population equilibrium

Population equilibrium occurs in the model when neither of the population levels is changing, i.e. when both of the derivatives are equal to 0: $x(\alpha -\beta y)=0,$ $-y(\gamma -\delta x)=0.$
The above system of equations yields two solutions: $\{y=0,\ \ x=0\}$ and $\left\{y={\frac {\alpha }{\beta }},\ \ x={\frac {\gamma }{\delta }}\right\}.$
Hence, there are two equilibria.
The first solution effectively represents the extinction of both species. If both populations are at 0, then they will continue to be so indefinitely. The second solution represents a fixed point at which both populations sustain their current, non-zero numbers, and, in the simplified model, do so indefinitely. The levels of population at which this equilibrium is achieved depend on the chosen values of the parameters α, β, γ, and δ.

### Stability of the fixed points

The stability of the fixed point at the origin can be determined by performing a linearization using partial derivatives.
The Jacobian matrix of the predator–prey model is $J(x,y)={\begin{bmatrix}\alpha -\beta y&-\beta x\\\delta y&\delta x-\gamma \end{bmatrix}}.$ and is known as the community matrix.

#### First fixed point (extinction)

When evaluated at the steady state of (0, 0), the Jacobian matrix J becomes $J(0,0)={\begin{bmatrix}\alpha &0\\0&-\gamma \end{bmatrix}}.$
The eigenvalues of this matrix are $\lambda _{1}=\alpha ,\quad \lambda _{2}=-\gamma .$
In the model α and γ are always greater than zero, and as such the sign of the eigenvalues above will always differ. Hence the fixed point at the origin is a saddle point.
The instability of this fixed point is of significance. If it were stable, non-zero populations might be attracted towards it, and as such the dynamics of the system might lead towards the extinction of both species for many cases of initial population levels. However, as the fixed point at the origin is a saddle point, and hence unstable, it follows that the extinction of both species is difficult in the model. (In fact, this could only occur if the prey were artificially completely eradicated, causing the predators to die of starvation. If the predators were eradicated, the prey population would grow without bound in this simple model.) The populations of prey and predator can get infinitesimally close to zero and still recover.

#### Second fixed point (oscillations)

Evaluating J at the second fixed point leads to $J\left({\frac {\gamma }{\delta }},{\frac {\alpha }{\beta }}\right)={\begin{bmatrix}0&-{\frac {\beta \gamma }{\delta }}\\{\frac {\alpha \delta }{\beta }}&0\end{bmatrix}}.$
The eigenvalues of this matrix are $\lambda _{1}=i{\sqrt {\alpha \gamma }},\quad \lambda _{2}=-i{\sqrt {\alpha \gamma }}.$
As the eigenvalues are both purely imaginary and conjugate to each other, this fixed point must either be a center for closed orbits in the local vicinity or an attractive or repulsive spiral. In conservative systems, there must be closed orbits in the local vicinity of fixed points that exist at the minima and maxima of the conserved quantity. The conserved quantity is derived above to be $V=\delta x-\gamma \ln(x)+\beta y-\alpha \ln(y)$ on orbits. Thus orbits about the fixed point are closed and elliptic, so the solutions are periodic, oscillating on a small ellipse around the fixed point, with a frequency $\omega ={\sqrt {\lambda _{1}\lambda _{2}}}={\sqrt {\alpha \gamma }}$ and period $T=2{\pi }/({\sqrt {\lambda _{1}\lambda _{2}}})$.
As illustrated in the circulating oscillations in the figure above, the level curves are closed orbits surrounding the fixed point: the levels of the predator and prey populations cycle and oscillate without damping around the fixed point with frequency $\omega ={\sqrt {\alpha \gamma }}$.
The value of the constant of motion V, or, equivalently, K = exp(−V), $K=y^{\alpha }e^{-\beta y}x^{\gamma }e^{-\delta x}$, can be found for the closed orbits near the fixed point.
Increasing K moves a closed orbit closer to the fixed point. The largest value of the constant K is obtained by solving the optimization problem $y^{\alpha }e^{-\beta y}x^{\gamma }e^{-\delta x}={\frac {y^{\alpha }x^{\gamma }}{e^{\delta x+\beta y}}}\longrightarrow \max _{x,y>0}.$ The maximal value of K is thus attained at the stationary (fixed) point $\left({\frac {\gamma }{\delta }},{\frac {\alpha }{\beta }}\right)$ and amounts to $K^{*}=\left({\frac {\alpha }{\beta e}}\right)^{\alpha }\left({\frac {\gamma }{\delta e}}\right)^{\gamma },$ where e is Euler's number.