Professional Documents
Culture Documents
Differential Equations
(Lotka-Volterra Predator-Prey Model)
5 January 2023
1
Declaration
I Keoagile Balekane Raborife, hereby declare that all the information submitted is the product
of my efforts, both in conception and execution, and that all the sources that I have used or
quoted have been indicated and properly acknowledged through complete references.
2
Abstract
Based on observational data collected in the Kruger National Park game reserve, we
construct the Lotka-Volterra (predator-prey equations) model to predict the interactions
between lions and wildebeest. The coefficients (parameters) for both species’ intrinsic
growth rates and the effectiveness of predators in converting food into fertility were de-
termined from the field data.
We alter the model by considering three lion cropping strategies: constant rate crop-
ping, cropping proportional to the population present, and cropping proportional to the
square of the population present. We see how the populations change from the phase
potraits in our figures from the alteration of the model, and we also discover intriguing
interpretations of how the populations of both species might develop.
3
Acknowledgment
I want to thank God for always being there with me, the Lord knows this was not an easy
journey to start and accomplish. To Mrs. E. Sibanyoni, thank you very much for helping me
to register on time to do my honors and offering to assist me with paying for my fees, am
forever grateful. To my beautiful mother, the best I could have ever asked for, thank you for
your prayers, your love which is the sweetest I’ve ever known, and your support throughout
my academic journey and life as a whole. To Ms. Dipuo Tikane, thank you for being the best
mentor and sister, your love for mathematics triggered me to also pursue mathematics. Also, to
prof Munganga my supervisor thank you for your feedback, and for directing me on the correct
path as to complete this project in time.
4
Contents
1 Introduction 7
2 Preliminaries 8
2.1 Systems of differential equations . . . . . . . . . . . . . . . . . . . . . . . . . . . 8
2.2 Locally Lipschitz functions . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 8
2.3 Well-posedness . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 9
2.4 Equilibrium points . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 10
2.5 Stability . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 10
2.6 Linearization . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 11
4 Species interaction 13
5 Stability analysis 15
8 Concluding remarks 20
Bibliography 21
Index 22
A Appendix 23
5
List of Tables
1 Wildebeest, zebra and lion population densities since 1972 . . . . . . . . . . . . 23
2 Number of lions to be cropped to maintain a stable population using strategy
(12) over a year . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 24
List of Figures
1 Phase plot of a 2D predator-prey system for 3 initial conditions [4] . . . . . . . . 14
2 Numerical simulation of the Lotka-Volterra model [4] . . . . . . . . . . . . . . . 14
3 Numerical simulation of the Lotka-Volterra model [5] . . . . . . . . . . . . . . . 17
4 Trajectories for cropping at a constant rate R of 0.1 and 0.2 respectively [5] . . . 18
5 Trajectories for cropping proportional to the population R of 0.4 and 0.8 [5] . . 19
6 Trajectories for cropping proportional to the square population R of 0.4 and 0.8
[5] . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 19
6
K.B Raborife (16528301) HRAPM82 Assignment 10
1 Introduction
The Lotka-Volterra model was the first to explain interactions between two species, a predator
and a prey, living in the same ecosystem and it can be used to predict what the populations
of the two species over time would be like. A basic understanding of ecology is required to
comprehend the lotka-volterra model. When two species coexist in the same habitat, they
share the same resources. In ecology, two terms should be defined: habitat and ecological
niche. A habitat is a place where an organism lives, whereas an ecological niche is made up of
biotic factors, food sources, and the habits of the organisms as a whole [2]. As a result, the
niche is much more precise and specific than the habitat, which consists solely of biotic factors
and the biotic elements that live there, and as a result, the competition’s outcome will be either
a win or loss or partitioning [7].
In an ideal world, no two species can coexist in the same niche without becoming competitive.
As a result, if two species share the same niche, they should compete. That concept is known
in ecology as the competitive exclusion principle or Gause’s Law. According to Gause’s Law,
if the niche between two species is indifferent, the system will result in a competition. If
competition arises between these two species, one will win and the other will lose. Furthermore,
the successful species will live in that habitat, while the unsuccessful species will become locally
extinct. Partitioning, on the other hand, occurs when two species coexist in the same habitat
and share the same niche, but have limited resources [7].
The goal is to study the relationship between the prey and the predator by applying the Lotka-
Volterra model and differential equations. To characterize the relationship between the two
species, we investigate the interactions that occur between predator and their prey and try to
provide an alternative viewpoint on how these interactions should be described. The species’
connection will be outlined and figures illustrating the relationship between the species will be
provided.
We explain how to estimate the coefficients of the components in this system of nonlinear
first-order differential equations using information received from the field.
We discuss how the data obtained can be utilized to estimate the parameters of the terms in this
system of nonlinear first-order differential equations. The lion (Panthera leo) and wildebeest
(Connochaetes taurinus) population projections, kill rates, cropping rates, and calf survival
rates are all contained in the given dataset [8] that was gathered over six years in the Kruger
National Park (South Africa).
7/25
K.B Raborife (16528301) HRAPM82 Assignment 10
2 Preliminaries
We introduce the basic concepts of stability and derive some results concerning the existence
and uniqueness of solutions.
8/25
K.B Raborife (16528301) HRAPM82 Assignment 10
2.3 Well-posedness
Theorem 1 (Uniqueness) Consider the autonomous system x′ = f¯(x) and suppose the func-
tion f¯ is locally Lipschitz on its domain. If x and y are solutions of the system defined on the
interval (α, β) and x(s) = y(s) for some s ∈ (α, β), then x = y on (α, β) [9].
Remark 1 A function f¯ : Rn → Rn is locally Lipschitz on its domain D if the partial deriva-
tives of its components are continuous on its domain D.
Theorem 2 (Local existence) Consider a function f¯ : Rn → Rn defined on an open D in
Rn and consider the initial value problem
9/25
K.B Raborife (16528301) HRAPM82 Assignment 10
x′ = αx − βxy = 0,
y ′ = δxy − γy = 0
α
x(α − βy) = 0 ⇐⇒ x = 0 or α − βy = 0 ⇒ y = β
γ
y(δx − γ) = 0 ⇐⇒ y = 0 or δx − γy = 0 ⇒ x = δ
Hence the two possible equilibrium points for all values of t, are (x, y) = (0, 0) and (x∗ , y ∗ ) =
( γδ , αβ ).
The equilibrium point (x, y) = (0, 0) suggests that both of our species (lions and wildebeest)
are being extinct, and the point (x∗ , y ∗ ) = ( γδ , αβ ), corresponds to the population density at
which the size of the population for both species will remain.
2.5 Stability
Types of stability
Definition 8 Point p is stable if, for each ϵ > 0 and t0 ∈ R, there exists δ > 0 such that if
x(t) is a solution of (1) and ∥x(t0 ) − p∥ < δ then ∥x(t) − p∥ < ϵ for all t ≥ t0 .
The point p, if it is not stable then it is called unstable.
Definition 9 The point p is Asymptotically stable if it is stable and if for every t0 ∈ R, there
exists δ > 0 such that if x(t) is a solution of (1) and ∥x(t0 ) − p∥ < δ then
lim x(t) = p
t→∞
10/25
K.B Raborife (16528301) HRAPM82 Assignment 10
2.6 Linearization
In some cases, the behavior of the solutions of a non-linear system like the Lotka-Volterra model
(5) near an equilibrium point p can be resolved by studying a linear system.
Definition 11 (Jacobian matrix) Suppose the function f¯ defined on Rn → Rn is a vector
field.
The matrix is given by
∂1 f1 (p) ∂2 f1 (p) . . . ∂n f1 (p)
∂1 f2 (p) ∂1 f2 (p) . . . ∂n f2 (p)
Jf¯(p) = ..
.. .. ..
. . . .
∂1 fn (p) ∂2 fn (p) . . . ∂n fn (p)
is called the Jacobian matrix of the vector field f¯ at the equilibrium point p.
Remark 2 If A = Jf¯(p), then the behavior of the solutions of nonlinear systems near the
equilibrium point p is approximately the same behavior as that of solutions of linear systems.
Theorem 3 Suppose the point p is an equilibrium point of the system x̄′ = f¯(x̄) .
(a) If all the eigenvalues of Jf¯(p) have negative real parts, then p is asymptotically stable.
(b) If any eigenvalue of Jf¯(p) has positive real parts, then p is unstable.
Theorem 4 Suppose the point p is an equilibrium point of the system x′ = f¯(x). If there is no
eigenvalue of the matrix Jf¯(p) that has a positive real part but there exists a zero eigenvalue
or eigenvalue with a zero real part, then the equilibrium point p can either be
i. asymptotically stable,
ii. stable but not asymptotically stable,
iii. unstable.
.
11/25
K.B Raborife (16528301) HRAPM82 Assignment 10
x′ = αx − βxy. (3)
This equation tells us that the change in the prey’s population depends on its growth minus
the rate at which it encounters the predator. And similarly, the predator equation is given by
The equation shows that the change in the predator population is influenced mainly by the
food supply (the prey).
Thus, the Lotka-Volterra predator-prey model [6, 10] is given by the following system of differ-
ential equations:
x′ = αx − βxy,
y ′ = δxy − γy. (5)
with α, β, δ, γ > 0.
12/25
K.B Raborife (16528301) HRAPM82 Assignment 10
4 Species interaction
The analysis of the relationship between the two species may be achieved by analyzing the
integrals of the individual populations using the separation of the variable method. Consider
the prey population equation:
dx
= x(α − βy).
dt
intergrating and simplifying the equation yield x(t) = A exp(α − βy)t, where A = exp(C) ∈ R.
Similarly the predator population equation
dy
= y(δx − γ).
dt
simplifies to y(t) = B exp(δx − γ)t where A = exp(C) ∈ R. From this, we see that the
population of the predator depends on the prey population.
dy
If x′ = dx
dt
and y ′ = dt
, then x′ = αx − βxy, y ′ = δxy − γy.
Thus
dy δxy − γy
= . (6)
dx αx − βxy
dy y(δx − γ)
= .
dx x(α − βy)
Cross multiply then divide by xy into both sides we get
α − βy δx − γ
dy = dx. (7)
y x
13/25
K.B Raborife (16528301) HRAPM82 Assignment 10
.
The phase portraits in Figure 1 clearly show the oscillation’s periodicity. The curves move
counterclockwise: when predator numbers are low, prey numbers increase, and when predator
numbers are high, prey numbers decrease. From Figure 2, we take note of how the predator
population lags behind the prey population: an increase in prey numbers results in a delayed
increase in predator numbers as the predators consume more prey.
14/25
K.B Raborife (16528301) HRAPM82 Assignment 10
5 Stability analysis
We aim to determine and classify the stability of the equilibrium points of the Lotka-Volterra
population model, by making of linearization theory discussed above matrix. The equations of
our model are given by
x′ = f (x, y) = αx − βxy,
y ′ = g(x, y) = δxy − γy.
α−λ 0
det(Jf − λI) =
0 −γ − λ
(9)
= (α − λ)(−γ − λ)
=0
which for the two-by-two Jacobian matrix results in a quadratic equation for λ. Our eigenvalues
are α and -γ respectively.
Hence, By theorem 3, we can conclude that the equilibrium point (x, y) = (0, 0) is unstable.
Consider the equilibrium point (x∗ , y ∗ ) = ( γδ , αβ ):
0 −βx∗
Jf∗¯ =
δy ∗ 0
0 − λ − βγ
det(Jf∗ − λI) = δα δ
β
0
(10)
= λ2 + αγ
=0
√
the solutions are λ = ± αγ, and they are purely imaginary. When the eigenvalues of the
two-by-two Jacobian are purely imaginary, the equilibrium point is referred to as a center, and
15/25
K.B Raborife (16528301) HRAPM82 Assignment 10
the perturbation oscillates and does not grow or decays. In this case, the angular frequency of
√
oscillation is ω = αγ and the period of the oscillation is 2π
ω
.
And from theorem 4 our equilibrium point (x∗ , y ∗ ) = ( γδ , αβ )can be either asymptotically stable,
or stable but not asymptotically stable or unstable.
x′ = 0, 405x − 0, 81xy,
y ′ = 0, 125xy − 1, 5y. (11)
From the system, we get the equilibrium points (0, 0) and (12, 0.5). The equilibrium point (0, 0)
is the saddle point and it is not much of interest, and the point (12, 0.5) is the center and we
can see from Figure 3 that the trajectories revolve around the center point. The population of
the wildebeest is on the x-axis and the population of the lions on the y-axis both measured in
thousands.
.
16/25
K.B Raborife (16528301) HRAPM82 Assignment 10
x′ = 0, 405x − 0, 81xy,
y ′ = 0, 125xy − 1, 5y − R.
17/25
K.B Raborife (16528301) HRAPM82 Assignment 10
Figure 4: Trajectories for cropping at a constant rate R of 0.1 and 0.2 respectively [5]
.
The consequence of continual lion removal over time is catastrophic, as seen in figure 4. The
trajectories illustrated in this figure are for cropping constant rates of 0.1 and 0.2, respectively.
These trajectories spiral out and finally cross the x-axis, signaling lion extinction. This suggests
that employing this method is ineffective.
x′ = 0, 405x − 0, 81xy,
y ′ = 0, 125xy − 1, 5y − Ry.
This model’s phase plane trajectories with R = 0.4 and R = 0.8 are illustrated in figure 5. The
trajectories reveal that the model’s equilibrium points are in the center, and the populations
move in a cyclic pattern. The steady-state population of lions remains constant at 500, but
the steady-state population of wildebeest grows as the R-value increases. However, Starfield
[8] suggests that it is impossible to accurately regulate the value of R over time, making this
method difficult to adopt in reality, and figure 5 shows that the model is particularly sensitive
to slight changes in R.
18/25
K.B Raborife (16528301) HRAPM82 Assignment 10
Figure 5: Trajectories for cropping proportional to the population R of 0.4 and 0.8 [5]
.
x′ = 0, 405x − 0, 81xy,
y ′ = 0, 125xy − 1, 5y − Ry 2 .
We can observe that the phase plane trajectories as shown in figure 6 for this model spiral inward
toward a fixed point when we plot the trajectories with the same R-values as in section 7.2.
This implies that, over time, both populations will tend towards stable population groupings,
and the drastic shift in nature of the critical points, from center when R = 0 to an attractive
spiral when R > 0 but not too big, indicates that bifurcation is occurring about this parameter.
Figure 6: Trajectories for cropping proportional to the square population R of 0.4 and 0.8 [5]
.
19/25
K.B Raborife (16528301) HRAPM82 Assignment 10
8 Concluding remarks
Our Lotka-Volterra predator-prey model is a model that can be utilized to predict the behavior
of the two species but it is not 100% accurate, because the parameter values are expected to
change, thus the model would not fit the census data in Table 1 perfectly or over a long period.
As a result, our parameter estimates are only educated guesses at best. Starfield and Bleloch
[8] summarize this ‘we can never really validate the sort of model that we have built, we can
only hope to gain confidence in it.’
From the three strategies of cropping introduced, the first cropping strategy was unproductive
because, for example, no one who sets out to implement this strategy would continue to crop
a population once it was evident that the population was declining. As shown in Figure 4, if
this strategy was implemented, the lions would become extinct. Figure 5 shows that the second
strategy was also ineffective because of the difficulty of maintaining a consistent crop rate. The
third strategy was effective, and as shown in Figure 6, the populations of both species spiral
toward a stable population.
More questions arise with regards to our model and the alterations made to accommodate
cropping, questions such as:
How accurate are the parameter estimates in the model?
What level of certainty can be implied for model predictions?
What is the model’s sensitivity to small changes in parameter values?
For our model to be more realistic and best predict how the two species would best interact and
how their populations would vary over time, factors such as rainfall, temperature and humidity,
diseases and other factors must be considered.
20/25
K.B Raborife (16528301) HRAPM82 Assignment 10
References
[1] Mira-Cristiana Anisiu. Lotka, volterra and their model. Didáctica mathematica, 32:9–17,
2014.
[2] Carly Dodd. Habitat and ecological niche. https://www.worldatlas.com/articles/
habitat-and-niche.html, 2021. Accessed January 10, 2023.
[3] Daniel M Dubois. A model of patchiness for prey—predator plankton populations. Eco-
logical Modelling, 1(1):67–80, 1975.
[4] Inasse El Arabi, Anas Chafi, and S Kammouri Alami. Numerical simulation of the sir
and lotka-volterra models used in biology. In 2019 International Conference on Intelligent
Systems and Advanced Computing Sciences (ISACS), pages 1–4. IEEE, 2019.
[5] Temple H Fay and Johanna C Greeff. Lyons and wildebeest: A predator-prey model.
Mathematics and Computer Education, 33:106–119, 1999.
[6] Alfred J Lotka. Analytical note on certain rhythmic relations in organic systems. Proceed-
ings of the National Academy of Sciences, 6(7):410–415, 1920.
[7] Sarah P Otto and Troy Day. A biologist’s guide to mathematical modeling in ecology
and evolution. In A Biologist’s Guide to Mathematical Modeling in Ecology and Evolution.
Princeton University Press, 2011.
[8] Anthony M Starfield and Andrew L Bleloch. Building models for conservation and wildlife
management. Macmillan, 1986.
[9] N.F.J van Rensburg. Differential equations and dynamical systems, 2021.
[10] Vito Volterra. The general equations of biological strife in the case of historical actions.
Proceedings of the Edinburgh Mathematical Society, 6(1):4–10, 1939.
21/25
Index
Asymptotically stable point, 10
Autonomous systems, 8
Cropping, 17, 18
Differential equation, 8
Ecological niche, 7
Ecology, 7
Eigenvalues, 11
Equilibrium points, 10
Extinction, 10
Habitation, 7
Jacobian, 11, 15
Linear system, 11
Lipschitz function, 8
Locally lipschitz, 9
locally lipschitz, 8
Lotka-Volterra model, 7, 12
Managing population, 17
Partial derivatives, 8
Phase potrait, 14
Predator population in terms of differential equa-
tions, 13
Prey population in terms of differential equa-
tions, 13
Separation of variables, 13
Solution of a differential equation, 8
Species competition, 7
Stability of a point, 10
Stable point, 10
Unstable point, 10
22
K.B Raborife (16528301) HRAPM82 Assignment 10
A Appendix
Table 1 shows population census numbers for wildebeest and zebra from 1972 to 1994, whereas
the lion population has been maintained at around 300-500 by migrating nomads [?].
23/25
K.B Raborife (16528301) HRAPM82 Assignment 10
Table 2: Number of lions to be cropped to maintain a stable population using strategy (12)
over a year
.
Month Population of Lions Number of lions to be cropped
0 500 -
1 476 24
2 454 22
3 434 20
4 415 19
5 398 17
6 383 15
7 368 15
8 355 13
9 342 13
10 331 11
11 321 10
12 311 10
Table 2 above gives us an indication as to how many lions should be culled so that the population
of wildebeest would recover [5].
24/25
K.B Raborife (16528301) HRAPM82 Assignment 10
25/25