Lotka-Volterra, Predator-Prey Model J. Brecker April 01, 2013.

Slides:



Advertisements
Similar presentations
Ch 7.6: Complex Eigenvalues
Advertisements

Boyce/DiPrima 9th ed, Ch 2.8: The Existence and Uniqueness Theorem Elementary Differential Equations and Boundary Value Problems, 9th edition, by William.
Differential Equations Brannan Copyright © 2010 by John Wiley & Sons, Inc. All rights reserved. Chapter 08: Series Solutions of Second Order Linear Equations.
Ch 7.7: Fundamental Matrices
Differential Equations
ESSENTIAL CALCULUS CH11 Partial derivatives
Section 2.9 Linear Approximations and Differentials Math 1231: Single-Variable Calculus.
Boyce/DiPrima 9th ed, Ch 3.5: Nonhomogeneous Equations;Method of Undetermined Coefficients Elementary Differential Equations and Boundary Value Problems,
Differential Equations
7.4 Predator–Prey Equations We will denote by x and y the populations of the prey and predator, respectively, at time t. In constructing a model of the.
259 Lecture 7 Spring 2015 Population Models in Excel.
Boyce/DiPrima 10th ed, Ch 10.1: Two-Point Boundary Value Problems Elementary Differential Equations and Boundary Value Problems, 10th edition, by William.
Ch 9.4: Competing Species In this section we explore the application of phase plane analysis to some problems in population dynamics. These problems involve.
Boyce/DiPrima 9th ed, Ch 2.5: Autonomous Equations and Population Dynamics Elementary Differential Equations and Boundary Value Problems, 9th edition,
Ch 5.2: Series Solutions Near an Ordinary Point, Part I
Ch 7.8: Repeated Eigenvalues
7 INVERSE FUNCTIONS.
1 Chapter 7 Transcendental Functions Inverse Functions and Their Derivatives.
Ch 7.5: Homogeneous Linear Systems with Constant Coefficients
Boyce/DiPrima 9th ed, Ch 11.2: Sturm-Liouville Boundary Value Problems Elementary Differential Equations and Boundary Value Problems, 9th edition, by.
Ordinary Differential Equations S.-Y. Leu Sept. 21,28, 2005.
Section 6.2 – Differential Equations (Growth and Decay)
Differential Equations
Section 8.1 Mathematical Modeling with Differential Equations.
Boyce/DiPrima 9 th ed, Ch 2.1: Linear Equations; Method of Integrating Factors Elementary Differential Equations and Boundary Value Problems, 9 th edition,
Boyce/DiPrima 9 th ed, Ch 3.1: 2 nd Order Linear Homogeneous Equations-Constant Coefficients Elementary Differential Equations and Boundary Value Problems,
Boyce/DiPrima 10th ed, Ch 10.5: Separation of Variables; Heat Conduction in a Rod Elementary Differential Equations and Boundary Value Problems, 10th.
Boyce/DiPrima 9th ed, Ch 7.3: Systems of Linear Equations, Linear Independence, Eigenvalues Elementary Differential Equations and Boundary Value Problems,
Boyce/DiPrima 9th ed, Ch 3.4: Repeated Roots; Reduction of Order Elementary Differential Equations and Boundary Value Problems, 9th edition, by William.
Copyright © 2005 Pearson Education, Inc. Publishing as Pearson Addison-Wesley Chapter 7 Transcendental Functions.
Nonhomogeneous Linear Differential Equations
Math 3120 Differential Equations with Boundary Value Problems
5.4 Exponential Functions: Differentiation and Integration The inverse of f(x) = ln x is f -1 = e x. Therefore, ln (e x ) = x and e ln x = x Solve for.
Rabbits, Foxes and Mathematical Modeling Peter Pang University Scholars Programme and Department of Mathematics, NUS SMS Workshop July 24, 2004.
Day 4 Differential Equations (option chapter). The number of rabbits in a population increases at a rate that is proportional to the number of rabbits.
Systems of Nonlinear Differential Equations
Ch 9.5: Predator-Prey Systems In Section 9.4 we discussed a model of two species that interact by competing for a common food supply or other natural resource.
Differential Equations. Definition A differential equation is an equation involving derivatives of an unknown function and possibly the function itself.
Boyce/DiPrima 9th ed, Ch 4.2: Homogeneous Equations with Constant Coefficients Elementary Differential Equations and Boundary Value Problems, 9th edition,
Boundary-Value Problems Boundary-value problems are those where conditions are not known at a single point but rather are given at different values of.
FW364 Ecological Problem Solving Class 21: Predation November 18, 2013.
Matrix Differential Calculus By Dr. Md. Nurul Haque Mollah, Professor, Dept. of Statistics, University of Rajshahi, Bangladesh Dr. M. N. H. MOLLAH.
CEE162/262c Lecture 2: Nonlinear ODEs and phase diagrams1 CEE162 Lecture 2: Nonlinear ODEs and phase diagrams; predator-prey Overview Nonlinear chaotic.
First-Order Differential Equations CHAPTER 2. CH2_2 Contents  2.1 Solution Curves Without a Solution 2.1 Solution Curves Without a Solution  2.2 Separable.
Boyce/DiPrima 9th ed, Ch 1.2: Solutions of Some Differential Equations Elementary Differential Equations and Boundary Value Problems, 9th edition, by.
Copyright © Cengage Learning. All rights reserved. 14 Partial Derivatives.
Sheng-Fang Huang. 1.1 Basic Concepts Modeling A model is very often an equation containing derivatives of an unknown function. Such a model is called.
Boyce/DiPrima 9 th ed, Ch 7.6: Complex Eigenvalues Elementary Differential Equations and Boundary Value Problems, 9 th edition, by William E. Boyce and.
Copyright © Cengage Learning. All rights reserved The Chain Rule.
Boyce/DiPrima 9th ed, Ch 3.3: Complex Roots of Characteristic Equation Elementary Differential Equations and Boundary Value Problems, 9th edition, by.
Boyce/DiPrima 9 th ed, Ch 2.2: Separable Equations Elementary Differential Equations and Boundary Value Problems, 9 th edition, by William E. Boyce and.
Boyce/DiPrima 9 th ed, Ch1.3: Classification of Differential Equations Elementary Differential Equations and Boundary Value Problems, 9 th edition, by.
Boyce/DiPrima 9 th ed, Ch 2.6: Exact Equations & Integrating Factors Elementary Differential Equations and Boundary Value Problems, 9 th edition, by William.
Math 4B Systems of Differential Equations Matrix Solutions Prepared by Vince Zaccone For Campus Learning Assistance Services at UCSB.
Class 3 Linear System Solution Using the Laplace Transform
Boyce/DiPrima 10th ed, Ch 7.9: Nonhomogeneous Linear Systems Elementary Differential Equations and Boundary Value Problems, 10th edition, by William E.
Boyce/DiPrima 9th ed, Ch 9.4: Competing Species Elementary Differential Equations and Boundary Value Problems, 9th edition, by William E. Boyce and.
Boyce/DiPrima 9th ed, Ch 9.6: Liapunov’s Second Method Elementary Differential Equations and Boundary Value Problems, 9th edition, by William E. Boyce.
Boyce/DiPrima 10th ed, Ch 7.7: Fundamental Matrices Elementary Differential Equations and Boundary Value Problems, 10th edition, by William E. Boyce and.
Boyce/DiPrima 10th ed, Ch 7.8: Repeated Eigenvalues Elementary Differential Equations and Boundary Value Problems, 10th edition, by William E. Boyce.
FIRST ORDER DIFFERENTIAL EQUATIONS
One- and Two-Dimensional Flows
Differential Equations:
Boyce/DiPrima 10th ed, Ch 7.5: Homogeneous Linear Systems with Constant Coefficients Elementary Differential Equations and Boundary Value Problems, 10th.
Ch 5.2: Series Solutions Near an Ordinary Point, Part I
Boyce/DiPrima 10th ed, Ch 7.3: Systems of Linear Equations, Linear Independence, Eigenvalues Elementary Differential Equations and Boundary Value Problems,
Copyright © Cengage Learning. All rights reserved.
Boyce/DiPrima 10th ed, Ch 7.6: Complex Eigenvalues Elementary Differential Equations and Boundary Value Problems, 10th edition, by William E. Boyce and.
Ch 7.5: Homogeneous Linear Systems with Constant Coefficients
Presentation transcript:

Lotka-Volterra, Predator-Prey Model J. Brecker April 01, 2013

Alfred Lotka & Vito Volterra Lotka ( ) Volterra ( )

Predator-Prey Model Assumptions The Lotka-Volterra predator-prey model makes a few important assumptions about the environment and the dynamics of the predator and prey populations: 1. The prey population finds ample food at all times. 2. In the absence of a predator, the prey grows at a rate proportional to the current population; thus dx/dt = αx, α>0, when y=0. 3. The food supply of the predator population depends entirely on the prey populations. 4. In the absence of the prey, the predator dies out; thus dy/dt = - β y, β >0, when x=0.

Predator-Prey Model Assumptions 5. The number of encounters between predator and prey is proportional to the product of their populations. Encounters between predator and prey tends to promote the growth of the predator and inhibit the growth of the prey. Thus, the growth rate of the predator is increased by the term γxy and the growth rate of the prey is decreased by the term – δxy. 6. During the process, the environment does not change in favor of one species and the genetic adaptation is sufficiently slow.

Rabbits & Foxes Let, x(t): rabbit (prey time t. y(t): fox (predator) time t.

The General Model Based on the assumptions for this model we have the following two-equation system of autonomous, first-order, nonlinear differential equations: (1)dx/dt = αx – δxy = x(α – δy), (2)dy/dt = – βy + γxy = y(– β + γy); α, β, δ, γ > 0.

The Parameters α: the growth rate of the prey β: the death rate of the predator δ, γ: measure the effect of the interactions of the two species the two species

When (y = 0), equation (1) becomes: (3)dx/dt = αx – δxy = αx. dx/dt – αx = 0.

The general solution to equation (3) dx/dt – αx = 0 is: (4)x(t) = ce αt So, the rabbit (prey) population will increase exponentially in the absence of a predator.

Likewise, in the absence of a prey (x = 0), equation (2) becomes: (5)dy/dt = –βy + γxy = – βy. dy/dt + βy = 0. The general solution to this equation is: (6)y(t) = ce -βt The fox population will experience exponential decay until extinction in the absence of prey.

The Predator-Prey Model (1)dx/dt = αx – δxy = x(α – δy), (2)dy/dt = –βy + γxy = y(– β + γy); with α, β, δ, γ > 0. with α, β, δ, γ > 0.

Let, α = 0.02 (the growth rate of the prey, per unit prey) β = 0.05 (the death rate of the predator, per unit predator) δ = γ = (measures effect of the interactions of the two species)

The Model So then we have the model: dx/dt = 0.02x – xy, dy/dt = – 0.05y xy. Both w.r.t time t.

We seek equilibrium points for the model. So we set: dx/dt = 0.02x – xy = 0, dx/dt = 0.02x – xy = 0, dy/dt = – 0.05y xy = 0. dy/dt = – 0.05y xy = 0. And solve for x and y… Two solutions are: (x, y) = (0, 0) & (x, y) = (125, 40). & (x, y) = (125, 40).

If x, y are small (i.e. 0 < x, y < 1), then The product xy < x and y is even smaller. So if we consider points close to the origin (0, 0), one of our critical points, then we can drop the terms: –.0005xy and.0004xy … –.0005xy and.0004xy … in the original system of equations.

So our original system reduces to: dx/dt =.02x, dy/dt = –.05y; α, γ > 0. This now a linear system of equations!

This linear system can be written as: d/dt (x) ( ) (x) (y) = ( ) (y) = A *(x, y) T. (y) = ( ) (y) = A *(x, y) T. Linear Systems are of the form: A x = b (where x, b are vectors).

In some applications we may be faced with a linear transformation from a vector x to multiples of that same vector where we can write λ x, (where λ is a scalar). So we may see: A x = λ x. In this case we can write: A x – λ x = ( A – λ I ) x = 0. ( I is the identity matrix).

If det(A – λ I ) = 0. Then ( A – λ I ) does not have an inverse and there will be nontrivial solutions to the system: ( A – λ I ) x = 0 ( A – λ I ) x = 0

Remember that for the autonomous first-order linear differential equation dx/dt = ax, the solution is x = ce at, where c is constant of integration. x = 0 is the only equilibrium solution to this equation if a ≠ 0. (if a ≠ 0, then if a ≠ 0. (if a ≠ 0, then If a < 0, then solution x(t) for dx/dt = ax is an exponential decay over time t. If a > 0, then solution x(t) for dx/dt = ax is an exponential growth over time t.

Assume that the solutions will have an exponential function e rt. Multiply e rt by some constant vector which we denote by ξ. So, we will seek vector solutions of the general form: x = ξ e rt. So we must determine what r and ξ are.

The general form system of equations: d/dt [ x ] = A x. (where x = (x, y) T ). d/dt [ x ] = A x. (where x = (x, y) T ). We substitute in x = ξ e rt, so we have: d/dt [ x ] = d/dt [ ξ e rt ] = A ( ξ e rt ). Differentiate both sides with respect to t: r ξ e rt = A ( ξ e rt ).

Since e rt > 0 always, then we can divide both sides by e rt. So we have: r ξ = A ξ. r ξ = A ξ. Or, A ξ – r ξ = ( A – r I ) ξ = 0. Seek eigenvalues, eigenvectors for matrix A.

**Examining solutions near the equilibrium point (0,0). The linear system: d/dt (x) ( ) (x) (y) = ( ) (y). (y) = ( ) (y).observe, ( A – r I ) = ( ) – r I = ( r 0 ) ( ) ( r). ( ) ( r). We want to find r such that det(A – rI) = 0. Set, det(A – rI) = ( r)( r) – 0 = ( r)( r) = r r –0.01 = 0.

Solutions for det(A – rI) = r r –0.01 = 0. We obtain the eigenvalues for matrix A: r 1 = 0.02, r 2 = –0.05. r 1 = 0.02, r 2 = –0.05. Use these to find eigenvectors…

For each eigenvalue, we find the vector ξ for (A – rI)ξ = 0. If r 1 = 0.02, then: (0.02 – r 0) (0 0) (0) (0.02 – r 0) (0 0) (0) ( r) ξ = ( ) ξ = (0). ( r) ξ = ( ) ξ = (0). (1) (1) We solve and get: ξ 1 = 1, ξ 2 =0. OR ξ = (0). So the eigenvector corresponding to the eigenvalue r 1 = 0.02 is: ξ (1) = (1, 0) T. ξ (1) = (1, 0) T.

for eigenvalue r 2 = We get the eigenvector corresponding to the eigenvalue r 2 = is ξ (2) = (0, 1) T. So by the general form x = ξe rt that we decided for linear systems, we have the solutions to the linear system: d/dt (x) ( ) (x) d/dt (x) ( ) (x) (y) = ( ) (y). (y) = ( ) (y). (1) (0) (1) (0) That is, x (1) = c 1 (0)e 0.02t and x (2) = c 2 (1)e -0.05t.

Linearly independent vectors form a fundamental set of solutions. So, the general solution, (x) (1) (0) (y) = c 1 (0)e 0.02t + c 2 (1)e -0.05t.

Let’s look at the general solution: (1) (1) x (1) = c 1 (0)e 0.02t. x (1) = c 1 (0)e 0.02t. We see that in this vector, x(t) = c 1 e 0.02t and y(t) = 0. What happens to this solution as time t  ∞?

Now, consider the other solution: (0) (0) x (2) = c 2 (1)e -0.05t, x (2) = c 2 (1)e -0.05t, where x(t) = 0 and y(t) = c 2 e -0.05t. What happens as time t  ∞?

Next lets examine the critical point (x, y) = (125, 40). Jacobian Matrix: [Fx(x, y) Fy(x, y)] [Fx(x, y) Fy(x, y)] J = [Gx(x, y) Gy(x, y)]. J = [Gx(x, y) Gy(x, y)]. We say that a system: dx/dt = F(x, y) dx/dt = F(x, y) dy/dt = G(x, y) dy/dt = G(x, y) is locally linear in the neighborhood of a critical point (x 0, y 0 ) when F and G have continuous partial derivatives up to order 2.

We can approximate a nonlinear system with a linear system near the point (x 0, y 0 ) by the equation: (u1) [F x (x 0, y 0 ) F y (x 0, y 0 )](u1) (u1) [F x (x 0, y 0 ) F y (x 0, y 0 )](u1) d/dt (u2) = [G x (x 0, y 0 ) G y (x 0, y 0 )](u2), d/dt (u2) = [G x (x 0, y 0 ) G y (x 0, y 0 )](u2), where u 1 = x – x 0, u 2 = y – y 0.

So, looking back to our original system of equations: dx/dt = 0.02x – xy, dx/dt = 0.02x – xy, dy/dt = – 0.05y xy. dy/dt = – 0.05y xy. With F(x, y) = dx/dt = 0.02x – xy and G(x, y) = dy/dt = – 0.05y xy. Then,F x (x, y) = 0.02 – y F y (x, y) = – x F y (x, y) = – x G x (x, y) = y. G x (x, y) = y. G y (x, y) = – x. G y (x, y) = – x. Now we can evaluate J at (x 0, y 0 ) = (125, 40).

F x (125, 40) = 0.02 – (40) = 0 F y (125, 40) = – (125) = G x (125, 40) = (40) = G y (125, 40) = – (125) = 0. [ ] [ ] So, J(125, 40) = [ ]. So, J(125, 40) = [ ].

And our approximate linear system near (125, 40) becomes: (u) (u) [ ] (u) (u) (u) [ ] (u) d/dt(v) = J(125, 40)(v) = [ ](v), d/dt(v) = J(125, 40)(v) = [ ](v), where u = x – 125, v = y – 40. where u = x – 125, v = y – 40. This is an approximated linear system.

We have the equation: [0 – λ ] [0 – λ ] (J(125, 40) – λI) = [ – λ]. (J(125, 40) – λI) = [ – λ]. We want the det(J(125, 40) – λI) = 0 or (J(125, 40) – λI) to be singular. (J(125, 40) – λI) to be singular. So, set det(J(125, 40) – λI) = λ = 0. Then λ 1 = i√0.001, λ 2 = -i√ So, we have complex conjugate eigenvalues for matrix J(125, 40).

When we solve the system (J(125, 40) – λI)ξ = 0 for ξ for each eigenvalue we get the vectors: (1.9764i) (1.9764i) ξ (1) = ( 1 ) associated with the eigenvalue λ 1 = i√ ξ (1) = ( 1 ) associated with the eigenvalue λ 1 = i√ ( i) ( i) ξ (2) = ( 1 ) associated with the eigenvalue λ 2 = -i√ ξ (2) = ( 1 ) associated with the eigenvalue λ 2 = -i√ So we have a set of fundamental solutions to the approximately linear system: (1.9764i) ( i) (1.9764i) ( i) x (1) = c 1 ( 1 )e i√0.001t, x (2) = c 2 ( 1 )e -i√0.001t. x (1) = c 1 ( 1 )e i√0.001t, x (2) = c 2 ( 1 )e -i√0.001t.

It can be shown that e ikt = cos(kt) + isin(kt) when we consider the Taylor series for e t. So we can write: (1.9764i) (1.9764i) x (1) = c 1 ( 1 ) * cos(√0.001 t) + i sin(√0.001 t) x (1) = c 1 ( 1 ) * cos(√0.001 t) + i sin(√0.001 t) ( i) ( i) x (2) = c 2 ( 1 ) * cos(√0.001 t) – i sin(√0.001 t). x (2) = c 2 ( 1 ) * cos(√0.001 t) – i sin(√0.001 t). The sine and cosine functions indicate oscillating solutions.

In the nonlinear system: dx/dt = 0.02x – xy, dx/dt = 0.02x – xy, dy/dt = – 0.05y xy. dy/dt = – 0.05y xy. Recall the Chain Rule in calculus where for two functions x(t) and y(t), we can write dy/dx = (dy/dt)(dt/dx). So we can get: dy/dt = – 0.05y xy / 0.02x – xy = ( x)y / (0.02 – y)x. dy/dt = – 0.05y xy / 0.02x – xy = ( x)y / (0.02 – y)x.

Or… dy/dx = ( x)y / (0.02 – y)x. Use separation of variables and solve this: ∫[(0.02 – y) / y] dy = ∫[( x) / x] dx. We integrate and we get: 0.05ln(x) ln(y) – x – y = C, where C is the constant of integration.

References: DiPrima, R.C; Boyce, W.E. Elementary Differential Equations and Boundary Value Problems 9th Ed.: John Wiley & Sons, Inc., Print. Zill, Dennis G. A First Course in Differential Equations with Modeling Applications 9th Ed.: Brooks/Cole, Cengage Learning, Print. Predator-Prey Oscillation Simulation Using Excel [Video]. (2012). Retrieved April 11, 2013, From Polking, John. dfield and pplane. Rice University Math Department, 6 March Web. 12 April “Lotka-Volterra Equation.“ Wikipedia, The Free Encyclopedia. Wikimedia Foundation, Inc. 1 April Web. 11 April

Image references: