Lab 5: Nonlinear Systems

Similar documents
Lesson 9: Predator-Prey and ode45

Using web-based Java pplane applet to graph solutions of systems of differential equations

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

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

1 The pendulum equation

2D-Volterra-Lotka Modeling For 2 Species

Lecture 20/Lab 21: Systems of Nonlinear ODEs

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

Problem set 7 Math 207A, Fall 2011 Solutions

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

Getting Started With The Predator - Prey Model: Nullclines

AMS 27L LAB #6 Winter 2009

Gerardo Zavala. Math 388. Predator-Prey Models

Math 312 Lecture Notes Linearization

Nonlinear dynamics & chaos BECS

MAT 275 Laboratory 4 MATLAB solvers for First-Order IVP

Differential Equations Spring 2007 Assignments

(Refer Slide Time: 00:32)

1 The relation between a second order linear ode and a system of two rst order linear odes

MAT 275 Laboratory 4 MATLAB solvers for First-Order IVP

MAT 275 Laboratory 4 MATLAB solvers for First-Order IVP

APPM 2360 Lab #3: The Predator Prey Model

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

LAB #6 The Swaying Building

Models Involving Interactions between Predator and Prey Populations

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

Computer lab for MAN460

Lotka Volterra Predator-Prey Model with a Predating Scavenger

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

Section 2.1 Differential Equation and Solutions

Differential Equations FMNN10 Graded Project #1 c G Söderlind 2017

Figure 1: Schematic of ship in still water showing the action of bouyancy and weight to right the ship.

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

M469, Fall 2010, Practice Problems for the Final

BUILDING BASICS WITH HYPERCHEM LITE

Math 216 First Midterm 19 October, 2017

Systems of Ordinary Differential Equations

Math 232, Final Test, 20 March 2007

1. Population dynamics of rabbits and foxes

Introduction to Dynamical Systems Basic Concepts of Dynamics

Exam 2 Study Guide: MATH 2080: Summer I 2016

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

STABILITY. Phase portraits and local stability

Is chaos possible in 1d? - yes - no - I don t know. What is the long term behavior for the following system if x(0) = π/2?

Homework 2 Modeling complex systems, Stability analysis, Discrete-time dynamical systems, Deterministic chaos

Nonlinear Dynamics. Moreno Marzolla Dip. di Informatica Scienza e Ingegneria (DISI) Università di Bologna.

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

Maps and differential equations

Bees and Flowers. Unit 1: Qualitative and Graphical Approaches

Population Dynamics II

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

Introduction to Dynamical Systems

2007 Summer College on Plasma Physics

Section 5.4 (Systems of Linear Differential Equation); 9.5 Eigenvalues and Eigenvectors, cont d

Lotka-Volterra Models Nizar Ezroura M53

Math 266: Phase Plane Portrait

Nonlinear Oscillators: Free Response

CDS 101 Precourse Phase Plane Analysis and Stability

Solutions to Math 53 Math 53 Practice Final

A Discrete Model of Three Species Prey- Predator System

Math Lecture 46

Work and Energy Experiments

MA 138: Calculus II for the Life Sciences

MATH 650 : Mathematical Modeling Fall, Written Assignment #3

tutorial ii: One-parameter bifurcation analysis of equilibria with matcont

Math 216 Final Exam 24 April, 2017

154 Chapter 9 Hints, Answers, and Solutions The particular trajectories are highlighted in the phase portraits below.

Math 266: Ordinary Differential Equations

ES205 Analysis and Design of Engineering Systems: Lab 1: An Introductory Tutorial: Getting Started with SIMULINK

Key words and phrases. Bifurcation, Difference Equations, Fixed Points, Predator - Prey System, Stability.

Math 215/255 Final Exam (Dec 2005)

Phenomenon: Canadian lynx and snowshoe hares

Motion II. Goals and Introduction

Further analysis. Objective Based on the understanding of the LV model from last report, further study the behaviours of the LV equations parameters.

Section 5. Graphing Systems

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

HOMEWORK 3: Phase portraits for Mathmatical Models, Analysis and Simulation, Fall 2010 Report due Mon Oct 4, Maximum score 7.0 pts.

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

Ordinary Differential Equations

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.

Workshop on Theoretical Ecology and Global Change March 2009

Autonomous Equations and Stability Sections

ANSWERS Final Exam Math 250b, Section 2 (Professor J. M. Cushing), 15 May 2008 PART 1

More Details Fixed point of mapping is point that maps into itself, i.e., x n+1 = x n.

THETA-LOGISTIC PREDATOR PREY

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

Tricky Asymptotics Fixed Point Notes.

Computers, Lies and the Fishing Season

Kinematics Lab. 1 Introduction. 2 Equipment. 3 Procedures

a. Follow the Start-Up Procedure in the laboratory manual. Note the safety rules.

A Stability Analysis on Models of Cooperative and Competitive Species

Student Exploration: Food Chain

MATH 415, WEEKS 7 & 8: Conservative and Hamiltonian Systems, Non-linear Pendulum

A Producer-Consumer Model With Stoichiometry

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

PHYSICS 211 LAB #8: Periodic Motion

Name: MA 226 Exam 2 Show Your Work and JUSTIFY Your Responses. Problem Possible Actual Score TOTAL 100

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

1. The Basic X-Y Scatter Plot

Name Student ID # Instructor Lab Period Date Due. Lab 5 Continuity

Transcription:

Lab 5: Nonlinear Systems Goals In this lab you will use the pplane6 program to study two nonlinear systems by direct numerical simulation. The first model, from population biology, displays interesting nonlinear oscillations (so-called limit cycles). The second is a system whose solutions depend on a parameter. Neither of these systems is described by exactly solvable systems of differential equations. Although much may be learned from strictly theoretical analyses, we must ultimately rely on computational methods to extract their quantitative predictions. Application 1: Predator-Prey Species Interactions In class we considered a model of predator-prey species interactions known as the Lotka-Volterra model (referred to in Section 6.3 as the predator-prey system). If x describes the size of a population of rabbits and y describes a population of foxes (which like to eat said rabbits) then the Lotka-Volterra model of their interactions says that there are positive constants a, b, c, d so that dx dy = x(a by) (1) = y( c + dx) (2) That is, the exponential growth rate of rabbits is decreased by the presence of foxes and the exponential death rate of foxes is decreased by the presence of rabbits. This model predicts some unlikely behavior. In the absence of foxes (y = 0), equation (1) becomes dx = ax. In other words, without any foxes the rabbits will always grow exponentially without bound. And even if the predator population is small, they will always eat the prey at a rate proportional to their product. In other words, 10 foxes surrounded by 100,000 rabbits would each have to eat ten times more than 10 foxes surrounded by 10,000 rabbits. If the rabbit population could be held at a fixed level x 0 > c/d, equation (2) becomes dy = Cy where C = c+dx 0 > 0. In other words, if the rabbit population is maintained at a given level, above some threshold, the fox population will always grow exponentially without bound. None of these predictions are ecologically reasonable. The following model addresses these problems.

For positive values of r, the two populations are modelled by: dx dy = x(1 x) xy x + 1 (3) 5 ( = ry 1 y ). (4) x In the absence of predators, the prey satisfies the logistic equation with equilibrium population x = 1. In the presence of predators, prey is consumed at a rate xy. That is, if x 1, then the predators consume prey at a rate x+ 1 5 5 proportional to the predator population. Only if x 1 do the predators 5 consume prey at a rate proportional to xy as in the Lotka-Volterra model. And for a fixed prey population, the predator population satisfies logistic growth with equilibrium population x. The parameter r is the inverse relaxation time for the predator population, i.e. is proportional to the time it 1 r takes the predator population to equilibrate. (Note: We have already scaled the variables and chosen some parameter values in equations (3) and (4). The general version of the model would have many more parameters.) Application 2: Bifurcation When one tries to understand the behavior of a nonlinear system one of the first things one looks at is the set of equilibrium solutions. The number and type of equilibrium solutions may well depend on some parameter(s) of the system: the mass of a component, the stiffness of a spring, the length of a lever, the resistance of an electronic component, etc. In this section of the lab you will observe in a very simple case how the structure of the equilibrium points of a system of equations changes as a parameter varies. Such a qualitative change is called a bifurcation and the associated parameter value is called a bifurcation point. The system in question is: dx dy In this system a is the parameter. = ax y (5) = x + ay + x 2 (6)

Prelab Assignment Before arriving in lab, answer the following questions. Your answers should be neatly presented and handed in at the beginning of lab. 1. Find the fixed points (critical points) of the Predator-Prey system, equations (3) and (4). Calculate the numerical value of the coexistence point corresponding to positive values of x and y. 2. Find the curve in the phase plane where the trajectories of (3) and (4) are vertical (the x-nullcline) and the curve in the phase plane where the trajectories are horizontal (the y-nullcline). Use the information from Prelab Problem 1 along with these curves to sketch possible phase portraits. 3. The system exhibits very different behavior depending on whether r > r c or r < r c, where r c =.053576.... In one regime, the coexistence point is stable and all solutions are attracted to it. In the other region, the coexistence point is unstable and population levels starting near the point spiral outward. Which do you think happens for which values of r? That is, do you think that a large or a small value of r ought to correspond to the stable coexistence or to the oscillatory behavior? (Either provide a coherent logical argument or do a stability analysis of the coexistence fixed point to justify your prediction.) 4. Find the equilibrium points for the second system; that is, for equations (5) and (6).

Phase Portraits To study the evolution of the fox and rabbit populations over time, you will want to generate a phase portrait plotting x against y. The following describes how you are to use pplane6 to generate these phase portraits: After you log on and open Matlab, type pplane6. As happened with the dfield6 program you used in Lab 1 a dialog box will open with lots of little boxes all filled in; ignore them and click on the Proceed button. You will see a graph with a direction field corresponding to a system of equations. Put the cursor on any point and click. You have just chosen initial conditions for the system. Now you know what the solution to the system of ODEs with your choice of initial conditions looks like. Plot a few solutions (your graph should suggest an insect) and then go to the Graph menu and select y vs t. Your cursor will become cross hairs; center the cross hairs on a solution curve and click. You will see a plot of - surprise - y vs t. You can change your mind and click on x vs t or both or 3D, etc. If your graph is getting too cluttered go to the Edit menu and select Erase all solutions. Finally, go to the Solutions menu and choose Find an equilibrium point; your cursor will again become a cross hair and if you position the cross hairs near an equilibrium point and click you will get a red dot at the equilibrium point and some info in a dialog box. You can repeat the command and find another equilibrium point for this system. When you use pplane6 to do this lab you will, of course, change the system in the pplane6 dialog box to the system you want to study. In the first case, the predator-prey system, there is a parameter r in the system. You can eneter the equations with the r in them and then, underneath the equations box, enter r=0.5 or whatever in the parameters or expressions box. (A parameter is a constant of the problem that changes from one problem to the next.) Some important points: when you set up your equation you also enter the minimum and maximum values for x and y as you did with dfield6 but it is often more convenient to zoom in or zoom out. You will find those commands under the Edit menu. In addition you should have the solver evolve the solution forward in time. This can be done by changing the solution direction in the options menu for the pplane6 Display window. (Looking at the solution only in the forward direction tells you whether

solutions are moving towards or away from an equilibrium point.) Now you have the tools to do the lab.

Lab Problems 1. Use pplane6 to solve equations (3) and (4) and print phase portaits. Start from various initial conditions, and use r =.07,.05 and.03. Zoom in on important features. 2. Check your prediction from Prelab Problem 3. What, if anything, surprised you about the behavior of the system? 3. What is different about the oscillatory state here compared to that of the Lotka-Volterra predator-prey model? Discuss. (Hint: Consider the dependence of the steady state oscillation amplitude on the initial condition. How many different closed orbits do you see for each value of r?) 4. Classify the equilibrium points of the second system (equations (5) and (6)) when a = 0.5, a = 0 and a = 0.5. 5. Provide a sketch or printout of the behavior of solutions near the equilibrium points in each of the three cases.