Lotka-Volterra equations, or predator-prey equations, are a pair of first-order nonlinear differential equations describing the interaction between a food source and its consumers. If the prey is represented by the variable x and the predators by y, the equations are
The first term on each right-hand side represents population growth in the absence of interaction: exponential increase for the prey and exponential decrease for the predators. The nonlinear terms describe the result of predation, with the prey decreasing in number and the predators increasing.
The equations are written appear to have four independent parameters, but with the scaled variables
can be written as a system with a single independent parameter:
It is now straightforward to integrate these equations for a variety of initial conditions and parameter. The prey is in green and the predators in red for the obvious connotations:
The exponential increase of the prey can be seen by setting the initial predator population to zero, and the exponential decrease of predators by setting the initial prey population to zero.
The critical points of the nonlinear system are found by setting the right-hand sides of the differential equations equal to zero and solving for variable values. The two critical points for the scaled pair of equations are
Linearizing the pair of differential equation near the first critical point
produces a coefficient matrix with two real eigenvalues of different sign, so that this critical point is a saddle point. Linearizing the pair of differential equation near the second critical point
produces a coefficient matrix with pure imaginary eigenvalues, so that this critical point is a center. Phase-space orbits move around this center in a counterclockwise direction, since for  .
To display orbits in phase space, an energy integral is needed and easily found for this relatively simple system. Eliminating the differential with respect to time in the pair of equations gives
This energy integral can be rearranged to express one variable as a function of the other in terms of the Lambert W-function. This function satisfies the implicit equation
To determine multiply both sides of the energy integral by minus one, exponentiate and multiply again by the same factor:
For the multiplicative factor includes the inverse of the parameter:
Since the arguments of both functions are negative, the expressions are located in the double-valued region of the Lambert function, which looks like this:
One part of each phase-space orbit will come from the principal branch of the function, with the other part from the other real branch. Since this second branch has larger absolute values, the upper part of each orbit in phase space will come from it.
To determine the limits of variables in phase space, differentiate the energy integral implicitly with respect to each variable:
The limits of an orbit for a given variable occur when the other has the value of the center critical point. For
and for the limits are
where the two values come from the two real branches of the Lambert function as previously stated. The critical point is also the absolute minimum of the energy integral as a surface, as can be seen by forming its gradient
which is identically zero at the critical point. A visualization of the energy surface, with the critical point in red, confirms this behavior:
With limits available for both variables as well as the energy, one can now visualize an orbit for arbitrary energy, along with one for in purple and the center critical point again in red:
These orbits are patently horizontal slices of the energy surface above.
There are several ways to express the period of orbits as summarized nicely in this review article, the most direct making use of expressions already determined. The differential of the scaled temporal variable can be equally expressed as
Integrating either expression along an entire orbit provides an integral representation of the period. First denote integrals on each constituent branch of the orbit as
where overall signs are chosen to produce positive values for counterclockwise motion. The period of the complete orbit is then
These two expressions must give identical results by definition, so either can be used in practice. Taking the second as a bit more concise, the period as a function of energy is
The orbit period appears to be quite linear for small energies, but does not remain so for higher energies or low values of the single system parameter. Plotting the two parts of the period separately shows that they are not equal and their ratio is not constant, indicating that solutions to the pair of differential equations are not simply circular or Jacobi elliptic functions.
With an expression for period, numerical integration of the differential equations can be performed over just a single one. This facilitates visualization of the result in phase space with animation of the motion along the orbit:
Having integral representations for the two parts of the period allows one to write explicit expressions for the time to maxima and minima in each of the variables. Inspection of the phase-space orbits makes clear that the expression for a given initial variable is controlled by the value of the other initial variable relative to the center critical point, since this determines the branch of the relevant Lambert function. The time to maximum population of prey is thus
while the time to minimum prey is
Similarly, the time to maximum population of predators is
while the time to minimum predators is
These expressions can be verified visually by repeating the initial integration of the pair of differential equations for a single period and adding vertical lines at the indicated times:
Other quantities of interest are the times between maxima and minima in each of the populations. It might seem at first that expressions for such quantities will require four different options as combinations of the expressions just given, until one realizes that they remain in a single phase-space quadrant. This makes them easier to evaluate than anticipated:
Each of the pairs of integrals are easily seen to be equal: the integrands are equivalent by construction and the limits of integration follow from the corresponding change of variables. Again taking the simpler of the two representations, the temporal differences as functions of energy between maxima (in purple) and minima (in bright green) look like this:
The maxima thus get closer together for higher energy while the minina get further apart. The two temporal differences are equal at the energy minimum.
All of the interactive graphics presented here provide intuition into a desired parameterization of the exact solution to the pair of nonlinear differential equations.
Uploaded 2018.10.07 — Updated 2018.10.11 analyticphysics.com