Lecture 20/Lab 21: Systems of Nonlinear ODEs

Similar documents
Getting Started With The Predator - Prey Model: Nullclines

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

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

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

Math 232, Final Test, 20 March 2007

Lab 5: Nonlinear Systems

. 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 The pendulum equation

Logistic Map, Euler & Runge-Kutta Method and Lotka-Volterra Equations

CPS 5310: Parameter Estimation. Natasha Sharma, Ph.D.

Non-Linear Models. Non-Linear Models Cont d

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

STABILITY. Phase portraits and local stability

Introduction to Dynamical Systems

Calculus for the Life Sciences II Assignment 6 solutions. f(x, y) = 3π 3 cos 2x + 2 sin 3y

MATH 215/255 Solutions to Additional Practice Problems April dy dt

Ordinary Differential Equations

Complex Dynamic Systems: Qualitative vs Quantitative analysis

Section 5. Graphing Systems

Workshop on Theoretical Ecology and Global Change March 2009

Math 1280 Notes 4 Last section revised, 1/31, 9:30 pm.

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

2D-Volterra-Lotka Modeling For 2 Species

Predator - Prey Model Trajectories and the nonlinear conservation law

MATH3203 Lecture 1 Mathematical Modelling and ODEs

1. Population dynamics of rabbits and foxes

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

Differential Equations and Modeling

Gerardo Zavala. Math 388. Predator-Prey Models

Math 266: Ordinary Differential Equations

CS 365 Introduction to Scientific Modeling Fall Semester, 2011 Review

Harvesting Model for Fishery Resource with Reserve Area and Modified Effort Function

MAS212 Scientific Computing and Simulation

Journal of the Vol. 36, pp , 2017 Nigerian Mathematical Society c Nigerian Mathematical Society

BIO S380T Page 1 Summer 2005: Exam 2

3.5 Competition Models: Principle of Competitive Exclusion

Nonlinear dynamics & chaos BECS

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

28. Pendulum phase portrait Draw the phase portrait for the pendulum (supported by an inextensible rod)

A NUMERICAL STUDY ON PREDATOR PREY MODEL

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

Nonlinear Autonomous Dynamical systems of two dimensions. Part A

Population Dynamics. Max Flöttmann and Jannis Uhlendorf. June 12, Max Flöttmann and Jannis Uhlendorf () Population Dynamics June 12, / 54

Problem set 7 Math 207A, Fall 2011 Solutions

Fundamentals of Dynamical Systems / Discrete-Time Models. Dr. Dylan McNamara people.uncw.edu/ mcnamarad

Phenomenon: Canadian lynx and snowshoe hares

Interactions. Yuan Gao. Spring Applied Mathematics University of Washington

Math 1270 Honors ODE I Fall, 2008 Class notes # 14. x 0 = F (x; y) y 0 = G (x; y) u 0 = au + bv = cu + dv

Bifurcation and Stability Analysis of a Prey-predator System with a Reserved Area

M469, Fall 2010, Practice Problems for the Final

Lesson 9: Predator-Prey and ode45

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.

Lotka Volterra Predator-Prey Model with a Predating Scavenger

Predator - Prey Model Trajectories are periodic

7 Planar systems of linear ODE

Predator-Prey Population Models

Lecture 8: Ordinary Differential Equations

14 Periodic phenomena in nature and limit cycles

Lecture 5: Function Approximation: Taylor Series

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

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

Chapter 1, Section 1.2, Example 9 (page 13) and Exercise 29 (page 15). Use the Uniqueness Tool. Select the option ẋ = x

UNIVERSITY of LIMERICK

Autonomous Equations and Stability Sections

Practice Problems for Final Exam

8. Qualitative analysis of autonomous equations on the line/population dynamics models, phase line, and stability of equilibrium points (corresponds

INTERPRETING POPULATION DYNAMICS GRAPH

4 Insect outbreak model

Do not write in this space. Problem Possible Score Number Points Total 100

Lecture 10: Singular Perturbations and Averaging 1

Motivation and Goals. Modelling with ODEs. Continuous Processes. Ordinary Differential Equations. dy = dt

Dynamical Systems. August 13, 2013

APPM 2360 Lab #3: The Predator Prey Model

Predator - Prey Model Trajectories are periodic

MA 138: Calculus II for the Life Sciences

Modeling with differential equations

Lecture 22: A Population Growth Equation with Diffusion

Linear Systems of ODE: Nullclines, Eigenvector lines and trajectories

Predation. Predation & Herbivory. Lotka-Volterra. Predation rate. Total rate of predation. Predator population 10/23/2013. Review types of predation

Entrance Exam, Differential Equations April, (Solve exactly 6 out of the 8 problems) y + 2y + y cos(x 2 y) = 0, y(0) = 2, y (0) = 4.

Math 341 Fall 2006 Final Exam December 12th, Name:

8 Ecosystem stability

Introduction to Dynamical Systems Basic Concepts of Dynamics

ENGR 213: Applied Ordinary Differential Equations

BIFURCATION PHENOMENA Lecture 1: Qualitative theory of planar ODEs

Name Student ID. Good luck and impress us with your toolkit of ecological knowledge and concepts!

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

x 2 F 1 = 0 K 2 v 2 E 1 E 2 F 2 = 0 v 1 K 1 x 1

Applied Calculus. Review Problems for the Final Exam

2007 Summer College on Plasma Physics

MATH 250 Homework 4: Due May 4, 2017

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

Models Involving Interactions between Predator and Prey Populations

Chapter 6 Nonlinear Systems and Phenomena. Friday, November 2, 12

Numerical Methods for ODEs. Lectures for PSU Summer Programs Xiantao Li

1.2. Introduction to Modeling. P (t) = r P (t) (b) When r > 0 this is the exponential growth equation.

BIOS 6150: Ecology Dr. Stephen Malcolm, Department of Biological Sciences

Continuous time population models

ODE Homework 1. Due Wed. 19 August 2009; At the beginning of the class

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

Transcription:

Lecture 20/Lab 21: Systems of Nonlinear ODEs MAR514 Geoffrey Cowles Department of Fisheries Oceanography School for Marine Science and Technology University of Massachusetts-Dartmouth

Coupled ODEs: Species Interaction We will now expand our analysis to more realistic system which include multiple, interacting species. We will study two fundamental models, the predator-prey and the competing species. Later, when we begin studying marine ecosystems, you should see the analogy with these fundamental models. For example, a classic NP model is a predator-prey model where the nutrient is the prey and phytoplankton is the predator. What do we hope to gain from the analysis: What are the steady states of my system Are my steady states stable or unstable How do the interaction parameterizations influence the system stability How does the system parameterization influence the dynamics of the system response (time scales, oscillation rates, relative magnitude of populations, etc)

Coupled ODEs: Predator-Prey Models We will start with a fundamental model of interaction in an ecosystem: The predator-prey model. History: Fur traders noted remarkable cycles in numbers of lynx and hare furs in the 1800s Later, Volterra noted similar fluctuations in fish populations and derived a fundamental set of equations to describe them Lotka derived simultaneously a similar set of equations Predator Prey (Lotka-Volterra) Equations dx dt dy dt = (ax bxy) = ( cy + dxy)

Coupled ODEs: Predator-Prey Models Parameters: a: growth rate of prey b: consumption of x by y c: natural mortality of y d: consumption of x by y Note: b and d are different because there is an efficiency to consumption In this model, they were looking to answer two questions: Can we explain the cycles in a typical predator-prey system? Why is it that only in some systems the predation limits the prey density? What happens if the state or parameters are changed. For example, disease could alter the mortality rate, or a change in habitat could modify the ability of the prey to hid and affect the rate of predation.

Coupled ODEs: Predator-Prey Models The model relates prey x and predator y and these variables can represent biomass or population densities. Here we have used the following assumptions: There are no time lags, predators respond instantaneously to a change in the prey and vice versa Prey grow exponentially without predators to control their population. x Predators depend on prey to survive, otherwise, natural mortality will wipe them out c Predation rate depends on the likelihood that a predator comes across prey, thus is proportional to prey population growth rate of the predator is proportional to food intake

Coupled ODEs: Consumption Responses Is a linear dependence of predation rate on prey realistic? No, realistically, should consider additional ecosystem dynamics: Saturation Above a certain density of prey, the consumption will level out (can only eat so much). We will use this when we parameterize grazing of Z on P Type 1 Predation with Saturation (From UIdaho WLF 448)

Coupled ODEs: Consumption Responses, cont d Refuge : below a density, prey have places to hide: Type 2 Predation with Refuge Effects (From UIdaho WLF 448)

Analysis of L-V model identify critical points in the system and think about their physical meaning plot the solution in phase (x,y) space using directional vectors examine Nullclines solve the full nonlinear system using Matlab and explore the results of phase plane trajectories by specifying a whole slew of initial conditions. But first, we need to take a step backward and work on some quantitative tools. First let s look at the generic representation of a coupled set of two ordinary differential equations. Let s look at the generic representation first. dx = f (x, y) (1.1) dt dy = g(x, y) (1.2) dt

Phase Space Phase space is the space of state variables. If we plot, for example, the time-dependent solution of two state variables together, we are working in the phase plane. For example:

Directional Gradients Consider the governing equations in generic form: ẋ = f (x, y) ẏ = g(x, y) We may not have an explicit solution for x(t) or y(t). But we do have direct information on the rate of change of our two species. For example, at the position in the phase plane x 1, y 1, we have: ẋ x1,y 1 = f (x 1, y 1 ) ẏ x1,y 1 = g(x 1, y 1 ) Note that we are primarily working with autonomous systems

Directional Gradients, cont d We may not know the solution x(t), y(t), but the differential equations tell as at any point in the phase plane (x, y) what the rate of change of the solution with time is. We can approximate the derivative using a forward Euler step: ẋ = dx dt x 1 x 0 t 1 t 0 f (x 0, y 0 ) (1.3) or given a solution (x 0, y 0 ) at t 0, we can determine the approximate solution at t 1 : x = x 2 x 1 (t 2 t 1 )f (x 1, y 1 ) (1.4) and y = y 2 y 1 (t 2 t 1 )g(x 1, y 1 ) (1.5)

Directional Gradients, cont d So we can compute the vector at each point. If we only wish to piece together the gradients, then all we care about is the relative size of g and f and their signs. We can normalize the vectors so they are all the same length (magnitude) but give different directions. If we evaluate the gradients at enough points, we can get a sense of the behavior of the system.

Directional Gradients, cont d The general procedure is as follows: 1 We plot our phase plane with species x on the x-axis and species y on the y-axis 2 We turn this into a regular grid of points, that is we divide up x into segments and y into segments so that we have a mesh of locations x, y. At each of these locations we evaluate our functions as above to find out what ẋ, ẏ are at each point. 3 We then draw an arrow with the tail located at the point x, y. The head of the vector is located at the point x + δx, y + δy where δx = f (x,y) g(x,y) and δx = are f 2 +g2 f 2 +g 2 related the rates of changes of prey x and predator y. This arrow is pointing in the direction that ecosystem is going at the moment.

Nullclines (a.k.a. isoclines) Nullcline: Curve along which one of the variables is a steady state Along the x isocline, we have f = 0 Along the x isocline the directional gradients must be parallel to the y axis, but can be oriented up or down How do we determine the direction? We look at the equation for ẏ and check the sign. If ẏ = g(x, y) > 0, y is increasing. We can also look at the y nullcline along which ẏ = 0 and the directional gradients are parallel to the x axis.

Work at Example: Pred-Prey dx dt dy dt Identify the critical points: = (ax bxy) = (cy dxy) 1 ˆx 1, ŷ 1 = 0, 0: Extinction of both species 2 ˆx 2, ŷ 2 = c d, a b : Growth equals mortality, clearly, the equations are coupled.

Nullclines of Pred-Prey x nullcline If we set ẋ = 0 we find that we have two straight lines, y = a b and x = 0. For this system, to the right of x = c d we have that ẏ > 0 and to the left we have that ẏ < 0. y nullcline If we set ẏ = 0 we find that we two straight lines given by x = c d and y = 0. Now, if we examine what happens to ẋ along the y nullcline, we see that when y > a b, we have that ẋ < 0 and below that line, it is positive. Note: Where the nullclines intersect is, by definition, a critical point.

Sketch of pred-prey analysis What is happening in the ecosystem?

Equilibrium Points We will look at the system behavior near the critical points of the system. Critical points are where the system is in equilibrium, that is, all states are perfectly balanced in accordance with the governing equations. For general linear systems, there is only one equilibrium point, at (0, 0). Nonlinear systems may have multiple, nonzero equilibrium points. x = F(x, y) = 0 y = G(x, y) = 0 Based on previous lectures we have capacity to analyze the system behavior of linear systems.

Linearization Linearization [ ] F x = F (x, y) F(x 0, y 0 ) + x (x o, y o ) [ ] G y = G(x, y) G(x 0, y 0 ) + x (x o, y o ) (x x 0 ) + [ F (x x 0 ) + ] y (x o, y o ) (y y 0 ) [ ] G y (x o, y o ) (y y 0 ) Since (x 0, y 0 ) is an equilibrium point, F(x 0, y 0 ) = G(x 0, y 0 ) = 0. Let u = x(t) x 0 and v = y(t) y 0. Then u = x and v = y [ ] F u x (x o, y o ) [ ] G v x (x o, y o ) u + [ F u + ] y (x 0, y 0 ) v [ ] G y (x 0, y 0 ) v