Lecture 22: A Population Growth Equation with Diffusion

Similar documents
The functions in all models depend on two variables: time t and spatial variable x, (x, y) or (x, y, z).

Lecture 20/Lab 21: Systems of Nonlinear ODEs

Lecture 19: Solving linear ODEs + separable techniques for nonlinear ODE s

Final Exam Review Part I: Unit IV Material

Definition of differential equations and their classification. Methods of solution of first-order differential equations

Lecture 1. Scott Pauls 1 3/28/07. Dartmouth College. Math 23, Spring Scott Pauls. Administrivia. Today s material.

Math Lecture 46

Lecture 14: Ordinary Differential Equation I. First Order

The Fundamental Theorem of Calculus: Suppose f continuous on [a, b]. 1.) If G(x) = x. f(t)dt = F (b) F (a) where F is any antiderivative

Math Applied Differential Equations

Euler s Method (BC Only)

Math 232, Final Test, 20 March 2007

Essential Ordinary Differential Equations

MA 138 Calculus 2 for the Life Sciences Spring 2016 Final Exam May 4, Exam Scores. Question Score Total

EECS 700: Exam # 1 Tuesday, October 21, 2014

Exam 2 Study Guide: MATH 2080: Summer I 2016

Math 225 Differential Equations Notes Chapter 1

Chapter1. Ordinary Differential Equations

Homework #5 Solutions

. For each initial condition y(0) = y 0, there exists a. unique solution. In fact, given any point (x, y), there is a unique curve through this point,

1.2. Direction Fields: Graphical Representation of the ODE and its Solution Let us consider a first order differential equation of the form dy

AP Calculus BC Fall Final Part IIa

Power series solutions for 2nd order linear ODE s (not necessarily with constant coefficients) a n z n. n=0

y0 = F (t0)+c implies C = y0 F (t0) Integral = area between curve and x-axis (where I.e., f(t)dt = F (b) F (a) wheref is any antiderivative 2.

2.2 Separable Equations

Dynamical Systems and Chaos Part II: Biology Applications. Lecture 6: Population dynamics. Ilya Potapov Mathematics Department, TUT Room TD325

Compatible Systems and Charpit s Method

SMA 208: Ordinary differential equations I

Models Involving Interactions between Predator and Prey Populations

MATH 1014 N 3.0 W2015 APPLIED CALCULUS II - SECTION P. Perhaps the most important of all the applications of calculus is to differential equations.

Lecture Notes for Math 251: ODE and PDE. Lecture 7: 2.4 Differences Between Linear and Nonlinear Equations

MATH 1700 FINAL SPRING MOON

Outline. Calculus for the Life Sciences. What is a Differential Equation? Introduction. Lecture Notes Introduction to Differential Equa

Systems of Ordinary Differential Equations

Elementary Differential Equations

Math 132 Lesson R: Population models and the spread of rumors Application

Boyce/DiPrima/Meade 11 th ed, Ch 1.1: Basic Mathematical Models; Direction Fields

Lab 5: Nonlinear Systems

Graded Project #1. Part 1. Explicit Runge Kutta methods. Goals Differential Equations FMN130 Gustaf Söderlind and Carmen Arévalo

Workshop on Theoretical Ecology and Global Change March 2009

EAD 115. Numerical Solution of Engineering and Scientific Problems. David M. Rocke Department of Applied Science

MATH 353 LECTURE NOTES: WEEK 1 FIRST ORDER ODES

AMATH 351 Mar 15, 2013 FINAL REVIEW. Instructor: Jiri Najemnik

1. Find the solution of the following uncontrolled linear system. 2 α 1 1

Lecture No 1 Introduction to Diffusion equations The heat equat

Math 122 Fall Unit Test 1 Review Problems Set A

Math 4381 / 6378 Symmetry Analysis

Lecture 2. Introduction to Differential Equations. Roman Kitsela. October 1, Roman Kitsela Lecture 2 October 1, / 25

Chapter 2. Limits and Continuity 2.6 Limits Involving Infinity; Asymptotes of Graphs

FIRST-ORDER SYSTEMS OF ORDINARY DIFFERENTIAL EQUATIONS III: Autonomous Planar Systems David Levermore Department of Mathematics University of Maryland

Lecture 10: Singular Perturbations and Averaging 1

MA 102 Mathematics II Lecture Feb, 2015

Exercises given in lecture on the day in parantheses.

Question: Total. Points:

Math 2930 Worksheet Introduction to Differential Equations

Introduction to the Phase Plane

Some Special Types of First-Order PDEs Solving Cauchy s problem for nonlinear PDEs. MA 201: Partial Differential Equations Lecture - 6

STABILITY. Phase portraits and local stability

MA22S3 Summary Sheet: Ordinary Differential Equations

Physics: spring-mass system, planet motion, pendulum. Biology: ecology problem, neural conduction, epidemics

Solutions to homework assignment #7 Math 119B UC Davis, Spring for 1 r 4. Furthermore, the derivative of the logistic map is. L r(x) = r(1 2x).

The integrating factor method (Sect. 1.1)

Lokta-Volterra predator-prey equation dx = ax bxy dt dy = cx + dxy dt

16. Working with the Langevin and Fokker-Planck equations

THE ROSENZWEIG-MACARTHUR PREDATOR-PREY MODEL

First and Second Order Differential Equations Lecture 4

Elementary ODE Review

= 2e t e 2t + ( e 2t )e 3t = 2e t e t = e t. Math 20D Final Review

Spring /30/2013

LECTURE 4-1 INTRODUCTION TO ORDINARY DIFFERENTIAL EQUATIONS

Lecture 4: Dynamics of Equivalent Circuits

Modeling Prey-Predator Populations

Math 31S. Rumbos Fall Solutions to Exam 1

Nonlinear Autonomous Dynamical systems of two dimensions. Part A

First-Order Ordinary Differntial Equations: Classification and Linear Equations. David Levermore Department of Mathematics University of Maryland

MATH3203 Lecture 1 Mathematical Modelling and ODEs

Math 42: Calculus Final Exam March 15, 2010

Ordinary Differential Equations

12.7 Heat Equation: Modeling Very Long Bars.

An Introduction to Bessel Functions

Separable Differential Equations

Applications of integrals

First order differential equations

Homogeneous Equations with Constant Coefficients

Calculus II Study Guide Fall 2015 Instructor: Barry McQuarrie Page 1 of 8

Chaotic motion. Phys 750 Lecture 9

Problem set 7 Math 207A, Fall 2011 Solutions

An Introduction to Numerical Methods for Differential Equations. Janet Peterson

Ordinary Differential Equations (ODEs)

BIOS 3010: ECOLOGY. Dr Stephen Malcolm. Laboratory 6: Lotka-Volterra, the logistic. equation & Isle Royale

Modeling the Immune System W9. Ordinary Differential Equations as Macroscopic Modeling Tool

Final Exam Study Guide

An Application of Perturbation Methods in Evolutionary Ecology

Separation of variables

1 Differential. Equations. A differential equation is any equation that involves a derivative. For example, Newton s second law F ma

Solutions to the Review Questions

Math 308, Sections 301, 302, Summer 2008 Review before Test I 06/09/2008

1 The pendulum equation

Exam Two. Phu Vu. test Two. Take home group test April 13 ~ April 18. Your group alias: Your group members: Student name

APPM 2360: Final Exam 10:30am 1:00pm, May 6, 2015.

Transcription:

M3 - ADVANCED ENGINEERING MATHEMATICS Lecture : A Population Gth Equation with Diffusion The logistic population equation studied in ordinary differential equations classes has the form: ( p (t) = rp(t) p(t) ), K where p(t) is the population of some species at time t, r is its intrinsic gth rate, and K is the carrying capacity of the ecosystem in which it lives. If the ecosystem contains two interacting populations, a predator population p(t) and its prey q(t), the following system of equations is sometimes used by biologists to model their gth: dp dt dq dt = aɛqp + at q µpc = rq( q/k) aqp + at q, () where a is the predator attack rate, T is the predator handling time, ɛ is the predator conversion efficiency, µ is the predator death rate, and c is the predator density dependence. It is also a standard technique to assume that the populations are diffusing in space; that is, to add diffusion terms to each equation to obtain the following system of partial differential equations in the population variables p(x, y, t) and q(x, y, t): p t q t ( p = D p x + p y = D q ( q x + q y ) ) + aɛqp + at q µpc + rq( q/k) aqp + at q, () Here, the constants D p and D q represent the diffusion rates for the predator and prey, respectively. The following theoretical problem was brought to the writer s attention by a biologist: if the exponent c is greater than one, is there a possibility of diffusive instability in the case where the non-spatial model () is stable, and D p is sufficiently greater than D q? The following parameter values were suggested by the biologist: r =.3, K =, a =, T =, ɛ =., µ =., c =., D p =., D q =.3. These values were chosen to model a problem involving a lake containing populations of zooplankton (predators) and algae (prey). The populations are assumed to inhabit a rectangular region x and y.

The non-spatial model () can be solved numerically using the DEplot command in MAPLE. With the above parameter values, DEplot was used to graph the phase plane of (), and the result is shown in Figure. Note that there appears to be a stable spiral sink at ( q, p) (.7,.). This can be easily checked by finding the equilibrium points and then using the Trace- Determinant plane to determine their type. This also provides a very nice review exercise for the student... p. 3 6 q Figure : Phase plane for system () To solve the system (), we note that each equation is a parabolic partial differential equation, but each contains nonlinear terms in p and q; however, the method we have used for parabolic p.d.e.s still works. Approximating p and q by forward differences, and the second-order partials by central t t differences the reader is invited (indeed, encouraged) to check that the result is the following system of difference equations for P i,k,j p(i dx, k dy, j dt) and Q i,k,j q(i dx, k dy, j dt), i =,,..., N, k =,,..., M. The new constants are C px = td p, C ( x) py = td p, C ( y) qx = td q, C ( x) qy = td q. ( y) P i,k,j+ = P i,k,j + C px (P i+,k,j P i,k,j + P i,k,j ) ( ) aɛpi,k,j Q i,k,j + C py (P i,k+,j P i,k,j + P i,k,j ) + t ( + at Q i,k,j ) µp i,k,j c Q i,k,j+ = Q i,k,j + C qx (Q i+,k,j Q i,k,j + Q i,k,j ) ( + C qy (Q i,k+,j Q i,k,j + Q i,k,j ) + t rq i,k,j ( Q i,k,j K ) aq ) i,k,jp i,k,j ( + at Q i,k,j ) If neither population flows across any of the edges of the lake, we can q and are zero on the boundaries where x = and x =, and x are zero on the boundaries where y = and y =. In assume p x similarly, p y and q y the MAPLE program, making p x central difference p( x,y,t) p( x,y,t) x, for example, is done by assuming the = for all y and t. This is simulated by

making P,k,j = P,k,j for k =,,..., M at the beginning of each time step. The other three conditions are handled similarly. The initial condition requires specifying an initial predator population p(x, y, ) = f(x, y) and initial prey population q(x, y, ) = g(x, y) where f and g are functions defined on the rectangle x, y. The MAPLE program on page was used to compute time steps with t =., and with the x and y intervals partitioned so that x = y =.. For each j =,,..., the results were stored in two matrices, one for the predator distribution and the other for the prey. The surface defined by each of these matrices was plotted using the command matrixplot and the resulting plots were stored in two lists. Each of these lists can be animated to show how the corresponding population varies over time. Figures -9 show the two populations at various times...6 Pred[]... Prey[]. Figure :Predator at t = Figure 3:Prey at t =.6 Pred[]... 3 Prey[] Figure :Predator at t = Figure :Prey at t = The initial functions were chosen arbitrarily. The initial predator population is modelled by a sum of three exponential functions of the form e ((x x) +(y ȳ) ) 3

.6. Pred[]..3...6 Prey[].. Figure 6:Predator at t = Figure 7:Prey at t =.. Prey[]..76. Pred[].36.3. Figure :Predator at t = Figure 9:Prey at t = where the three points ( x, ȳ) were chosen to be (.3H,.3L), (.7H,.L), (.H,.7L), with H = and L = being the dimensions of the rectangular lake. The initial prey population was given by q(x, y, ) = g(x, y) =.9 +. sin(6πx/l)y(h y), which meant that the prey was scattered more or less equally over the rectangular region. It was found that, while there was a rather interesting transient behavior (especially see Figures and ), by the th time step (t =.), both populations had nearly converged to a constant value over the entire rectangle. The reader is invited to try changing parameters and/or initial functions to see if it is possible to produce a system where the distributions of the predator and prey populations oscillate infinitely without converging to a constant solution. Exercises:. * (There will be a problem similar to this on the Final Exam) Let P (x, t) be the size of a single population at a point x at time t. It is assumed that P satisfies the partial differential equation P t = D P p + rp ( P/K). x

Write a difference equation that would allow you to solve for P (x, t + t) in terms of values of P at time t. What would you need in terms of boundary conditions and initial conditions? Be specific.

MAPLE program for the predator-prey system with diffusion > Len:=: N:=: #length of pond > Hgt:=: M:=: #width of pond > r:=.3: #prey intrinsic gth rate > K:=: #prey carrying capacity > a:=.: #predator attack rate > T:=.: #predator handling time > eps:=.: #predator conversion efficiency > mu:=.: #predator death rate > c:=.: #predator density dependence > Dp:=.: Dq:=.3: #predator and prey diffusion rates > pie:=evalf(pi,): > g:=(x,y)->.9+.*(sin(6*pie*x/len))*y*(hgt-y): > f:=(x,y)->exp(-(x-.3*hgt) -(y-.3*len) )+exp(-(x-.7*hgt) -(y-.*len) )+exp(-(x-.*hgt) -(y-.7*len) ): > dx:=len/n: dy:=hgt/m: dt:=.: Cpx:=dt*Dp/(dx*dx): > Cpy:=dt*Dp/(dy*dy): Cqx:=dt*Dq/(dx*dx): Cqy:=dt*Dq/(dy*dy): > for i from to N do for k from to M do ## store the initial populations > P[i,k,]:=f(i*dx,k*dy); Q[i,k,]:=g(i*dx,k*dy); od; od: > S:=: for j from to S- do ## start a time step > for i from to N do > P[i,-,j]:=P[i,,j]; Q[i,-,j]:=Q[i,,j]; > P[i,M+,j]:=P[i,M-,j]; Q[i,M+,j]:=Q[i,M-,j]; od; > for k from to M do > P[-,k,j]:=P[,k,j]; Q[-,k,j]:=Q[,k,j]; > P[N+,k,j]:=P[N-,k,j]; Q[N+,k,j]:=Q[N-,k,j]; od; > for i from to N do for k from to M do > P[i,k,j+]:=P[i,k,j]+Cpx*(P[i+,k,j]-*P[i,k,j]+P[i-,k,j]) +Cpy*(P[i,k+,j]-*P[i,k,j]+P[i,k-,j]) +dt*a*eps*p[i,k,j]*q[i,k,j]/(+a*t*q[i,k,j])-dt*mu*p[i,k,j] c; > Q[i,k,j+]:=Q[i,k,j]+Cqx*(Q[i+,k,j]-*Q[i,k,j]+Q[i-,k,j]) +Cqy*(Q[i,k+,j]-*Q[i,k,j]+Q[i,k-,j]) +dt*r*q[i,k,j]*(.-q[i,k,j]/k)-dt*a*q[i,k,j]*p[i,k,j]/(+a*t*q[i,k,j]); > od; od; od: To set up the animation: > with(plots): with(linalg): > for s from to S do Pred[s]:=linalg[matrix](N+,M+); Prey[s]:=linalg[matrix](N+,M+); > for i from to N+ do for k from to M+ do Pred[s][i,k]:=P[i-,k-,s]; > Prey[s][i,k]:=Q[i-,k-,s]; od; od; > GPrey[s]:=matrixplot(Prey[s],axes=frame,gap=.,style=patch); > GPred[s]:=matrixplot(Pred[s],axes=frame,gap=.,style=patch);od: > Lpred:=[]: Lprey:=[]: for u from to S do Lpred:=[op(Lpred),[GPred[u]]]; Lprey:=[op(Lprey),[GPrey[u]]]; > od: To run the animation: > display3d(op(lpred),insequence=true); > display3d(op(lprey),insequence=true); 6