Lesson 9: Predator-Prey and ode45

Size: px
Start display at page:

Download "Lesson 9: Predator-Prey and ode45"

Transcription

1 Lesson 9: Predator-Prey and ode Applied Problem. In this lesson we will allow for more than one population where they depend on each other. One population could be the predator such as a fox, and the second population could be the prey such as a rabbit. The populations will be modeled by two or more differential equations. The Matlab command ode45 can be used to solve such systems of differential equations. 9.2 Differential Equation Model. We will consider the first of the continuous predator-prey models: one predator, and one prey with constant birth and death rate, one predator, and one prey with variable birth and death rates and one predator, and two preys. We consider the predator to be a fox and a prey to be either rabbits or turkeys. One could also consider different species of fish such as sharks and bass. One Predator, and One Prey with Constant Birth and Death Rate. Suppose a fox population only eats rabbits and has population of x(t) at time t. With no rabbits the fox population will die out according to the differential equation x' = -dx where d is the birth rate minus the death rate. The rabbit population y(t) will, without any foxes, continue to grow for some time according to the differential equation y' = by where b is the birth rate minus the death rate.

2 2 We want to model the case where both populations are positive. In the above differential equation for the foxes we need an additional term on the right side that will be positive when there are rabbits. More precisely, this additional term should be large if either x(t) or y(t) are large. There are many ways to do this, but a good option is modify the birth rate minus the death rate for the fox populations to be -d + ey. The e is a positive constant because the rabbits are a source of food for the foxes. Thus, the differential equation for the foxes is x' = (-d + ey)x and x(0) = x 0. Fox Equation A similar term must be inserted into the birth rate minus the death rate for the rabbits. But, in this case the rabbit population should decrease, and so, we will insert -cx. y' = (b - cx)y and y(0) = y 0. Rabbit Equation These two differential equations are coupled, and they are known as the Lotka-Volterra system of differential equations. Solutions to such systems are usually difficult to find, and so, numerical methods are used. We will discuss this below. Fortunately, one can gain some qualitative knowledge about the solutions. There should be oscillations in the population. If the rabbit population is very large, then there will be plenty of food for the fox population and it should increase. As the fox population increases, more of the rabbits are consumed. So, the food supply for the fox population decreases, and the fox population will have to decrease. One expects there is a perfect balance of the populations where neither population changes. This means both x' and y' must be zero. This is called the steady state or equilibrium solution. There is one positive steady state solution x = b/c from the rabbit equation, and y = d/e from the fox equation.

3 3 In fact, the graph of the points (x(t), y(t)) must be a closed curve. In order to see this, consider the composed function H(x(t), y(t)), where H(x, y) = b ln(x) - c x + d ln(y) - ey and x(t) and y(t) satisfy the Lotka-Volterra equation. The time derivative of this composed function is computed by the chain rule as follows H' = H x x' + H y y' = (b/x -c) (-d + e y) x + (d/y - e) (b - c x) y = 0. Thus, H(x(t), y(t)) must be a constant. With some additional effort one can show that H(x, y) = constant defines a simple closed curve. Any numerical method should generate such a simple closed curve. 9.3 Method of Solution. In this lesson we will use the Matlab command ode45 to solve our systems of differential equation. This command is a robust implementation for systems of differential equations, which uses a variable step size method and the fourth and fifth order Runge-Kutta method. 9.4 Matlab Implementation. In the following calculations we have attempted to solve the second predator-prey model x' = -.5x +.01xy and y' =.5y -.01xy. The steady state solutions are given by x' = -.5x +.01xy = 0 and y' =.5y -.01xy = 0.

4 4 The nonzero steady state solutions are x = 50 and y = 50. Our numerical solution should orbit about the steady state solution. The first graph below does not quite do this. This is because some of the error options for ode45 need to be made smaller. The default value for relative error is.001, and this is what was used in the first graph below. The Matlab command odeset('reltol', 1e-5) was used to "tune" the ode45 method. Adjust the rf.m file by replacing line 6, the line with ode45, by the two following lines: options = odeset('reltol', 1e-5); [t y] = ode45('yprf',[to tf],yo,options); Here more time steps will be required; use the whos command to find the number of time steps n = 133 with RelTol = 1e-3, and n = 289 with RelTol = 1e-5. m-file yprf.m: function yprf =yprf(t,y) yprf(1) =-.5*y(1) +.01*y(1)*y(2); yprf(2) =.5*y(2) -.01*y(1)*y(2); yprf = [yprf(1) yprf(2)]'; m-file rf.m: %your name, your student number, lesson number clear; to = 0; tf =50; yo = [80 100]; [t y] = ode45('yprf',[to tf],yo); plot(y(:,1),y(:,2)) title('your name, your student number, lesson number') ylabel('rabbits') xlabel('fox') %plot(t,y(:,1),t,y(:,2)) %xlabel('time') %ylabel('rabbits and fox')

5 5 120 your name, your student number, lesson number rabbits fox 120 your name, your student number, lesson number rabbits fox

6 6 In the yprf.m file the x(t), fox, is associated with the symbol y(1), and y(t), rabbits, is associated with the symbol y(2). The right sides of the differential equations are given by yprf(1) and yprf(2). In rf.m the yo = [80 100] is a 1x2 array of initial populations where x(0) = 80 and y(0) = 100. The output [t y] from the rf.m file has three column vectors where the first column is for all the time values and the second and third columns are for the corresponding values of x(t) and y(t). These values can be viewed by typing [t y] at the Matlab prompt. Also the following graph of x(t) versus t and y(t) versus t was generated by typing plot(t, y(:,1),t,y(:,2)) at the Matlab prompt fox and rabbit populations time

7 7 9.5 Numerical Experiments. In the following calculations we have attempted to solve the fox and rabbit problem with harvesting of the fox population. The fox equation must be modified as follows to include a harvesting rate h(t) fox per unit time. x' = -.5x +.01xy - h(t) y' =.5y -.01xy. In the calculation indicated in the following graph h(t) = 1, and the graph spirals outward. 250 your name, your student number, lesson number rabbits fox

8 8 9.6 Additional Calculations. Consider the following fox and rabbit model with no harvesting x' = -.5x +.01xy, y' =.4y -.01xy and with variable initial conditions [x(0) y(0) ] = [( *(1+.S)) 90 ], [( *(1+.S)) 1 ] and [( *(1+.S)) 40]. (a). (b). (c). Find a steady state solution where both populations are positive. Modify the yprf.m file. Insert you name and student number into the rf.m file. Execute rf.m for each set of initial conditions. (d). Print the yprf.m and rf.m files and the graphs.

Lesson 14: Van der Pol Circuit and ode23s

Lesson 14: Van der Pol Circuit and ode23s Lesson 4: Van der Pol Circuit and ode3s 4. Applied Problem. A series LRC circuit when coupled via mutual inductance with a triode circuit can generate a sequence of pulsing currents that have very rapid

More information

Lab 5: Nonlinear Systems

Lab 5: Nonlinear Systems 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

More information

Lesson 4: Population, Taylor and Runge-Kutta Methods

Lesson 4: Population, Taylor and Runge-Kutta Methods Lesson 4: Population, Taylor and Runge-Kutta Methods 4.1 Applied Problem. Consider a single fish population whose size is given by x(t). The change in the size of the fish population over a given time

More information

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

Graded Project #1. Part 1. Explicit Runge Kutta methods. Goals Differential Equations FMN130 Gustaf Söderlind and Carmen Arévalo 2008-11-07 Graded Project #1 Differential Equations FMN130 Gustaf Söderlind and Carmen Arévalo This homework is due to be handed in on Wednesday 12 November 2008 before 13:00 in the post box of the numerical

More information

Lesson 13: Rapid Cooling and Euler-trapezoid

Lesson 13: Rapid Cooling and Euler-trapezoid Lesson 13: Rapid Cooling and Euler-trapezoid 13.1 Applied Problem. If an object is being cooled very rapidly, and the model is Newton's law of cooling, then the constant c in u t = c(usur - u) will be

More information

Problem set 7 Math 207A, Fall 2011 Solutions

Problem set 7 Math 207A, Fall 2011 Solutions Problem set 7 Math 207A, Fall 2011 s 1. Classify the equilibrium (x, y) = (0, 0) of the system x t = x, y t = y + x 2. Is the equilibrium hyperbolic? Find an equation for the trajectories in (x, y)- phase

More information

Getting Started With The Predator - Prey Model: Nullclines

Getting Started With The Predator - Prey Model: Nullclines Getting Started With The Predator - Prey Model: Nullclines James K. Peterson Department of Biological Sciences and Department of Mathematical Sciences Clemson University October 28, 2013 Outline The Predator

More information

2D-Volterra-Lotka Modeling For 2 Species

2D-Volterra-Lotka Modeling For 2 Species Majalat Al-Ulum Al-Insaniya wat - Tatbiqiya 2D-Volterra-Lotka Modeling For 2 Species Alhashmi Darah 1 University of Almergeb Department of Mathematics Faculty of Science Zliten Libya. Abstract The purpose

More information

MAT 275 Laboratory 4 MATLAB solvers for First-Order IVP

MAT 275 Laboratory 4 MATLAB solvers for First-Order IVP MAT 275 Laboratory 4 MATLAB solvers for First-Order IVP In this laboratory session we will learn how to. Use MATLAB solvers for solving scalar IVP 2. Use MATLAB solvers for solving higher order ODEs and

More information

APPM 2360 Lab #3: The Predator Prey Model

APPM 2360 Lab #3: The Predator Prey Model APPM 2360 Lab #3: The Predator Prey Model 1 Instructions Labs may be done in groups of 3 or less. One report must be turned in for each group and must be in PDF format. Labs must include each student s:

More information

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

Differential Equations FMNN10 Graded Project #1 c G Söderlind 2017 Differential Equations FMNN10 Graded Project #1 c G Söderlind 2017 Published 2017-10-30. Instruction in computer lab 2017-11-02/08/09. Project report due date: Monday 2017-11-13 at 10:00. Goals. The goal

More information

Project 6.3 Predator-Prey and Your Own Game Preserve

Project 6.3 Predator-Prey and Your Own Game Preserve Project 6.3 Predator-Prey and Your Own Game Preserve The closed trajectories in the figure below represent periodic solutions of a typical predator-prey system, but provide no information as to the actual

More information

MAT 275 Laboratory 4 MATLAB solvers for First-Order IVP

MAT 275 Laboratory 4 MATLAB solvers for First-Order IVP MATLAB sessions: Laboratory 4 MAT 275 Laboratory 4 MATLAB solvers for First-Order IVP In this laboratory session we will learn how to. Use MATLAB solvers for solving scalar IVP 2. Use MATLAB solvers for

More information

Lesson 11: Mass-Spring, Resonance and ode45

Lesson 11: Mass-Spring, Resonance and ode45 Lesson 11: Mass-Spring, Resonance and ode45 11.1 Applied Problem. Trucks and cars have springs and shock absorbers to make a comfortable and safe ride. Without good shock absorbers, the truck or car will

More information

Math 2930 Worksheet Introduction to Differential Equations. What is a Differential Equation and what are Solutions?

Math 2930 Worksheet Introduction to Differential Equations. What is a Differential Equation and what are Solutions? Math 2930 Worksheet Introduction to Differential Equations Week 1 January 25, 2019 What is a Differential Equation and what are Solutions? A differential equation is an equation that relates an unknown

More information

Lesson 9: Diffusion of Heat (discrete rod) and ode45

Lesson 9: Diffusion of Heat (discrete rod) and ode45 Lesson 9: Diffusion of Heat (discrete rod) and ode45 9.1 Applied Problem. Consider the temperature in a thin rod such as a wire with electrical current. Assume the ends have a fixed temperature and the

More information

MAT 275 Laboratory 4 MATLAB solvers for First-Order IVP

MAT 275 Laboratory 4 MATLAB solvers for First-Order IVP MAT 75 Laboratory 4 MATLAB solvers for First-Order IVP In this laboratory session we will learn how to. Use MATLAB solvers for solving scalar IVP. Use MATLAB solvers for solving higher order ODEs and systems

More information

Lesson 13: Rapid Cooling and Euler-trapezoid

Lesson 13: Rapid Cooling and Euler-trapezoid Lesson 3: Rapid Cooling and Euler-trapezoid 3. Applied Problem. If an object is being cooled very rapidly, and the model is Newton's law of cooling, then the constant c in u t = c(usur - u) will be large.

More information

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

EAD 115. Numerical Solution of Engineering and Scientific Problems. David M. Rocke Department of Applied Science EAD 115 Numerical Solution of Engineering and Scientific Problems David M. Rocke Department of Applied Science Transient Response of a Chemical Reactor Concentration of a substance in a chemical reactor

More information

Phenomenon: Canadian lynx and snowshoe hares

Phenomenon: Canadian lynx and snowshoe hares Outline Outline of Topics Shan He School for Computational Science University of Birmingham Module 06-23836: Computational Modelling with MATLAB Phenomenon: Canadian lynx and snowshoe hares All began with

More information

Lotka-Volterra Models Nizar Ezroura M53

Lotka-Volterra Models Nizar Ezroura M53 Lotka-Volterra Models Nizar Ezroura M53 The Lotka-Volterra equations are a pair of coupled first-order ODEs that are used to describe the evolution of two elements under some mutual interaction pattern.

More information

Gerardo Zavala. Math 388. Predator-Prey Models

Gerardo Zavala. Math 388. Predator-Prey Models Gerardo Zavala Math 388 Predator-Prey Models Spring 2013 1 History In the 1920s A. J. Lotka developed a mathematical model for the interaction between two species. The mathematician Vito Volterra worked

More information

Lecture 20/Lab 21: Systems of Nonlinear ODEs

Lecture 20/Lab 21: Systems of Nonlinear ODEs 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

More information

Bees and Flowers. Unit 1: Qualitative and Graphical Approaches

Bees and Flowers. Unit 1: Qualitative and Graphical Approaches Bees and Flowers Often scientists use rate of change equations in their stu of population growth for one or more species. In this problem we stu systems of rate of change equations designed to inform us

More information

MATH 250 Homework 4: Due May 4, 2017

MATH 250 Homework 4: Due May 4, 2017 Due May 4, 17 Answer the following questions to the best of your ability. Solutions should be typed. Any plots or graphs should be included with the question (please include the questions in your solutions).

More information

Lesson 15: Oregonator, Chemical Reactions and ode15s

Lesson 15: Oregonator, Chemical Reactions and ode15s Lesson 15: Oregonator, Chemical Reactions and ode15s 15.1 Applied Problem. The chemical reaction with bromous acid, bromide ion and cerium ion exhibits a remarkable chemical attributes, which oscillate

More information

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

Physics: spring-mass system, planet motion, pendulum. Biology: ecology problem, neural conduction, epidemics Applications of nonlinear ODE systems: Physics: spring-mass system, planet motion, pendulum Chemistry: mixing problems, chemical reactions Biology: ecology problem, neural conduction, epidemics Economy:

More information

Introduction to Dynamical Systems

Introduction to Dynamical Systems Introduction to Dynamical Systems Autonomous Planar Systems Vector form of a Dynamical System Trajectories Trajectories Don t Cross Equilibria Population Biology Rabbit-Fox System Trout System Trout System

More information

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

Nonlinear Dynamics. Moreno Marzolla Dip. di Informatica Scienza e Ingegneria (DISI) Università di Bologna. Nonlinear Dynamics Moreno Marzolla Dip. di Informatica Scienza e Ingegneria (DISI) Università di Bologna http://www.moreno.marzolla.name/ 2 Introduction: Dynamics of Simple Maps 3 Dynamical systems A dynamical

More information

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

Motivation and Goals. Modelling with ODEs. Continuous Processes. Ordinary Differential Equations. dy = dt Motivation and Goals Modelling with ODEs 24.10.01 Motivation: Ordinary Differential Equations (ODEs) are very important in all branches of Science and Engineering ODEs form the basis for the simulation

More information

EG4321/EG7040. Nonlinear Control. Dr. Matt Turner

EG4321/EG7040. Nonlinear Control. Dr. Matt Turner EG4321/EG7040 Nonlinear Control Dr. Matt Turner EG4321/EG7040 [An introduction to] Nonlinear Control Dr. Matt Turner EG4321/EG7040 [An introduction to] Nonlinear [System Analysis] and Control Dr. Matt

More information

Interactions. Yuan Gao. Spring Applied Mathematics University of Washington

Interactions. Yuan Gao. Spring Applied Mathematics University of Washington Interactions Yuan Gao Applied Mathematics University of Washington yuangao@uw.edu Spring 2015 1 / 27 Nonlinear System Consider the following coupled ODEs: dx = f (x, y). dt dy = g(x, y). dt In general,

More information

1. Population dynamics of rabbits and foxes

1. Population dynamics of rabbits and foxes 1. Population dynamics of rabbits and foxes (a) A simple Lotka Volterra Model We have discussed in detail the Lotka Volterra model for predator-prey relationships dn prey dt = +R prey,o N prey (t) γn prey

More information

Ordinary Differential Equations (ODE)

Ordinary Differential Equations (ODE) Ordinary Differential Equations (ODE) Why study Differential Equations? Many physical phenomena are best formulated mathematically in terms of their rate of change. Motion of a swinging pendulum Bungee-jumper

More information

Math 2930 Worksheet Introduction to Differential Equations

Math 2930 Worksheet Introduction to Differential Equations Math 2930 Worksheet Introduction to Differential Equations Week 1 August 24, 2017 Question 1. Is the function y = 1 + t a solution to the differential equation How about the function y = 1 + 2t? How about

More information

Systems of Ordinary Differential Equations

Systems of Ordinary Differential Equations Systems of Ordinary Differential Equations Systems of ordinary differential equations Last two lectures we have studied models of the form y (t) F (y), y(0) y0 (1) this is an scalar ordinary differential

More information

STABILITY OF EIGENVALUES FOR PREDATOR- PREY RELATIONSHIPS

STABILITY OF EIGENVALUES FOR PREDATOR- PREY RELATIONSHIPS Research Article STABILITY OF EIGENVALUES FOR PREDATOR- PREY RELATIONSHIPS Tailor Ravi M., 2 Bhathawala P.H. Address for Correspondence Assistant professor of Laxmi Institute of Technology, Sarigam, Valsad

More information

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

EECS 700: Exam # 1 Tuesday, October 21, 2014 EECS 700: Exam # 1 Tuesday, October 21, 2014 Print Name and Signature The rules for this exam are as follows: Write your name on the front page of the exam booklet. Initial each of the remaining pages

More information

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

CPS 5310: Parameter Estimation. Natasha Sharma, Ph.D. Example Suppose our task is to determine the net income for year 2019 based on the net incomes given below Year Net Income 2016 48.3 million 2017 90.4 million 2018 249.9 million Last lecture we tried to

More information

Math 232, Final Test, 20 March 2007

Math 232, Final Test, 20 March 2007 Math 232, Final Test, 20 March 2007 Name: Instructions. Do any five of the first six questions, and any five of the last six questions. Please do your best, and show all appropriate details in your solutions.

More information

Ordinary Differential Equations

Ordinary Differential Equations Ordinary Differential Equations Michael H. F. Wilkinson Institute for Mathematics and Computing Science University of Groningen The Netherlands December 2005 Overview What are Ordinary Differential Equations

More information

Math Assignment 2

Math Assignment 2 Math 2280 - Assignment 2 Dylan Zwick Spring 2014 Section 1.5-1, 15, 21, 29, 38, 42 Section 1.6-1, 3, 13, 16, 22, 26, 31, 36, 56 Section 2.1-1, 8, 11, 16, 29 Section 2.2-1, 10, 21, 23, 24 1 Section 1.5

More information

CDS 101: Lecture 2.1 System Modeling

CDS 101: Lecture 2.1 System Modeling CDS 101: Lecture 2.1 System Modeling Richard M. Murray 4 October 2004 Goals: Define what a model is and its use in answering questions about a system Introduce the concepts of state, dynamics, inputs and

More information

Section 5. Graphing Systems

Section 5. Graphing Systems Section 5. Graphing Systems 5A. The Phase Plane 5A-1. Find the critical points of each of the following non-linear autonomous systems. x = x 2 y 2 x = 1 x + y a) b) y = x xy y = y + 2x 2 5A-2. Write each

More information

Computers, Lies and the Fishing Season

Computers, Lies and the Fishing Season 1/47 Computers, Lies and the Fishing Season Liz Arnold May 21, 23 Introduction Computers, lies and the fishing season takes a look at computer software programs. As mathematicians, we depend on computers

More information

MECH : a Primer for Matlab s ode suite of functions

MECH : a Primer for Matlab s ode suite of functions Objectives MECH 4-563: a Primer for Matlab s ode suite of functions. Review the fundamentals of initial value problems and why numerical integration methods are needed.. Introduce the ode suite of numerical

More information

Lotka Volterra Predator-Prey Model with a Predating Scavenger

Lotka Volterra Predator-Prey Model with a Predating Scavenger Lotka Volterra Predator-Prey Model with a Predating Scavenger Monica Pescitelli Georgia College December 13, 2013 Abstract The classic Lotka Volterra equations are used to model the population dynamics

More information

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

Dynamical Systems and Chaos Part II: Biology Applications. Lecture 6: Population dynamics. Ilya Potapov Mathematics Department, TUT Room TD325 Dynamical Systems and Chaos Part II: Biology Applications Lecture 6: Population dynamics Ilya Potapov Mathematics Department, TUT Room TD325 Living things are dynamical systems Dynamical systems theory

More information

Math 128A Spring 2003 Week 12 Solutions

Math 128A Spring 2003 Week 12 Solutions Math 128A Spring 2003 Week 12 Solutions Burden & Faires 5.9: 1b, 2b, 3, 5, 6, 7 Burden & Faires 5.10: 4, 5, 8 Burden & Faires 5.11: 1c, 2, 5, 6, 8 Burden & Faires 5.9. Higher-Order Equations and Systems

More information

Ordinary Differential Equations: Initial Value problems (IVP)

Ordinary Differential Equations: Initial Value problems (IVP) Chapter Ordinary Differential Equations: Initial Value problems (IVP) Many engineering applications can be modeled as differential equations (DE) In this book, our emphasis is about how to use computer

More information

2007 Summer College on Plasma Physics

2007 Summer College on Plasma Physics 1856-18 2007 Summer College on Plasma Physics 30 July - 24 August, 2007 Numerical methods and simulations. Lecture 2: Simulation of ordinary differential equations. B. Eliasson Institut fur Theoretische

More information

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

1.2. Introduction to Modeling. P (t) = r P (t) (b) When r > 0 this is the exponential growth equation. G. NAGY ODE January 9, 2018 1 1.2. Introduction to Modeling Section Objective(s): Review of Exponential Growth. The Logistic Population Model. Competing Species Model. Overview of Mathematical Models.

More information

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

Lokta-Volterra predator-prey equation dx = ax bxy dt dy = cx + dxy dt Periodic solutions A periodic solution is a solution (x(t), y(t)) of dx = f(x, y) dt dy = g(x, y) dt such that x(t + T ) = x(t) and y(t + T ) = y(t) for any t, where T is a fixed number which is a period

More information

1 The pendulum equation

1 The pendulum equation Math 270 Honors ODE I Fall, 2008 Class notes # 5 A longer than usual homework assignment is at the end. The pendulum equation We now come to a particularly important example, the equation for an oscillating

More information

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

Name: MA 226 Exam 2 Show Your Work and JUSTIFY Your Responses. Problem Possible Actual Score TOTAL 100 Name: MA 226 Exam 2 Show Your Work and JUSTIFY Your Responses Problem Possible Actual Score 1 20 2 16 3 18 4 16 5 10 6 20 TOTAL 100 1.) 20 points - Short Answer (4 each) A) Consider the predator-prey system

More information

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

The functions in all models depend on two variables: time t and spatial variable x, (x, y) or (x, y, z). Review of Multi-variable calculus: The functions in all models depend on two variables: time t and spatial variable x, (x, y) or (x, y, z). The spatial variable represents the environment where the species

More information

Chemical Oscillations

Chemical Oscillations Chemical Oscillations 2. Mathematical Modelling Monika Sharma and Praveen Kumar The law of mass-action led chemists to the belief that reactions approach equilibrium steadily. So the discovery of chemical

More information

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

HOMEWORK 3: Phase portraits for Mathmatical Models, Analysis and Simulation, Fall 2010 Report due Mon Oct 4, Maximum score 7.0 pts. HOMEWORK 3: Phase portraits for Mathmatical Models, Analysis and Simulation, Fall 2010 Report due Mon Oct 4, 2010. Maximum score 7.0 pts. Three problems are to be solved in this homework assignment. The

More information

(Refer Slide Time: 00:32)

(Refer Slide Time: 00:32) Nonlinear Dynamical Systems Prof. Madhu. N. Belur and Prof. Harish. K. Pillai Department of Electrical Engineering Indian Institute of Technology, Bombay Lecture - 12 Scilab simulation of Lotka Volterra

More information

Predator-Prey Population Models

Predator-Prey Population Models 21 Predator-Prey Population Models Tools Used in Lab 21 Hudson Bay Data (Hare- Lynx) Lotka-Volterra Lotka-Volterra with Harvest How can we model the interaction between a species of predators and their

More information

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

FIRST-ORDER SYSTEMS OF ORDINARY DIFFERENTIAL EQUATIONS III: Autonomous Planar Systems David Levermore Department of Mathematics University of Maryland FIRST-ORDER SYSTEMS OF ORDINARY DIFFERENTIAL EQUATIONS III: Autonomous Planar Systems David Levermore Department of Mathematics University of Maryland 4 May 2012 Because the presentation of this material

More information

y 1 = 0 y 2 = 0, and y 1 = p 3 /p 4 y 2 = p 1 /p 2

y 1 = 0 y 2 = 0, and y 1 = p 3 /p 4 y 2 = p 1 /p 2 Simfit Tutorials and worked examples for simulation, curve fitting, statistical analysis, and plotting. http://www.simfit.org.uk The Lotka-Volterra predator-prey system of two differential equations is

More information

STABILITY. Phase portraits and local stability

STABILITY. Phase portraits and local stability MAS271 Methods for differential equations Dr. R. Jain STABILITY Phase portraits and local stability We are interested in system of ordinary differential equations of the form ẋ = f(x, y), ẏ = g(x, y),

More information

Predator-Prey Population Dynamics

Predator-Prey Population Dynamics Predator-Prey Population Dynamics Gonzalo Mateos Dept. of ECE and Goergen Institute for Data Science University of Rochester gmateosb@ece.rochester.edu http://www.ece.rochester.edu/~gmateosb/ October 2,

More information

A NUMERICAL STUDY ON PREDATOR PREY MODEL

A NUMERICAL STUDY ON PREDATOR PREY MODEL International Conference Mathematical and Computational Biology 2011 International Journal of Modern Physics: Conference Series Vol. 9 (2012) 347 353 World Scientific Publishing Company DOI: 10.1142/S2010194512005417

More information

Coordinate Curves for Trajectories

Coordinate Curves for Trajectories 43 The material on linearizations and Jacobian matrices developed in the last chapter certainly expanded our ability to deal with nonlinear systems of differential equations Unfortunately, those tools

More information

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

Lecture 1. Scott Pauls 1 3/28/07. Dartmouth College. Math 23, Spring Scott Pauls. Administrivia. Today s material. Lecture 1 1 1 Department of Mathematics Dartmouth College 3/28/07 Outline Course Overview http://www.math.dartmouth.edu/~m23s07 Matlab Ordinary differential equations Definition An ordinary differential

More information

Solution. Your sketch should show both x and y axes marked from 5 to 5 and circles of radius 1, 3, and 5 centered at the origin.

Solution. Your sketch should show both x and y axes marked from 5 to 5 and circles of radius 1, 3, and 5 centered at the origin. Solutions of the Sample Problems for the First In-Class Exam Math 246, Fall 208, Professor David Levermore () (a) Sketch the graph that would be produced by the following Matlab command. fplot(@(t) 2/t,

More information

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

Logistic Map, Euler & Runge-Kutta Method and Lotka-Volterra Equations Logistic Map, Euler & Runge-Kutta Method and Lotka-Volterra Equations S. Y. Ha and J. Park Department of Mathematical Sciences Seoul National University Sep 23, 2013 Contents 1 Logistic Map 2 Euler and

More information

Laboratory 1. Solving differential equations with nonzero initial conditions

Laboratory 1. Solving differential equations with nonzero initial conditions Laboratory 1 Solving differential equations with nonzero initial conditions 1. Purpose of the exercise: - learning symbolic and numerical methods of differential equations solving with MATLAB - using Simulink

More information

Continuous time population models

Continuous time population models Continuous time population models Jaap van der Meer jaap.van.der.meer@nioz.nl Abstract Many simple theoretical population models in continuous time relate the rate of change of the size of two populations

More information

Final Exam Sample Problems, Math 246, Spring 2018

Final Exam Sample Problems, Math 246, Spring 2018 Final Exam Sample Problems, Math 246, Spring 2018 1) Consider the differential equation dy dt = 9 y2 )y 2. a) Find all of its stationary points and classify their stability. b) Sketch its phase-line portrait

More information

Solutions of the Sample Problems for the First In-Class Exam Math 246, Fall 2017, Professor David Levermore

Solutions of the Sample Problems for the First In-Class Exam Math 246, Fall 2017, Professor David Levermore Solutions of the Sample Problems for the First In-Class Exam Math 246, Fall 207, Professor David Levermore () (a) Give the integral being evaluated by the following Matlab command. int( x/(+xˆ4), x,0,inf)

More information

MA 138 Calculus 2 with Life Science Applications Handout

MA 138 Calculus 2 with Life Science Applications Handout .. MA 138 Calculus 2 with Life Science Applications Handout Alberto Corso alberto.corso@uky.edu Department of Mathematics University of Kentucky February 17, 2017 . Example 4 (Lotka-Volterra Predator-Prey

More information

Solving Differential Equations with Simulink

Solving Differential Equations with Simulink Solving Differential Equation with Simulink Dr. R. L. Herman UNC Wilmington, Wilmington, NC March, 206 Solving ODE with Simulink, ICTCM 206 R. L. Herman Mar, 206 /9 Outline Simulink 2 Solution of ODE 3

More information

First In-Class Exam Solutions Math 246, Professor David Levermore Thursday, 20 September 2018

First In-Class Exam Solutions Math 246, Professor David Levermore Thursday, 20 September 2018 First In-Class Exam Solutions Math 246, Professor David Levermore Thursday, 20 September 208 () [6] In the absence of predators the population of mosquitoes in a certain area would increase at a rate proportional

More information

MAS212 Scientific Computing and Simulation

MAS212 Scientific Computing and Simulation MAS212 Scientific Computing and Simulation Dr. Sam Dolan School of Mathematics and Statistics, University of Sheffield Autumn 2017 http://sam-dolan.staff.shef.ac.uk/mas212/ G18 Hicks Building s.dolan@sheffield.ac.uk

More information

Dynamics Analysis of Anti-predator Model on Intermediate Predator With Ratio Dependent Functional Responses

Dynamics Analysis of Anti-predator Model on Intermediate Predator With Ratio Dependent Functional Responses Journal of Physics: Conference Series PAPER OPEN ACCESS Dynamics Analysis of Anti-predator Model on Intermediate Predator With Ratio Dependent Functional Responses To cite this article: D Savitri 2018

More information

Lab Project 4a MATLAB Model of Oscillatory Flow

Lab Project 4a MATLAB Model of Oscillatory Flow Lab Project 4a MATLAB Model of Oscillatory Flow Goals Prepare analytical and computational solutions for transient flow between the two upright arms of a U-shaped tube Compare the theoretical solutions

More information

Predator - Prey Model Trajectories and the nonlinear conservation law

Predator - Prey Model Trajectories and the nonlinear conservation law Predator - Prey Model Trajectories and the nonlinear conservation law James K. Peterson Department of Biological Sciences and Department of Mathematical Sciences Clemson University October 28, 2013 Outline

More information

Symbolic Solution of higher order equations

Symbolic Solution of higher order equations Math 216 - Assignment 4 - Higher Order Equations and Systems of Equations Due: Monday, April 16. Nothing accepted after Tuesday, April 17. This is worth 15 points. 10% points off for being late. You may

More information

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

Do not write in this space. Problem Possible Score Number Points Total 100 Math 9. Name Mathematical Modeling Exam I Fall 004 T. Judson Do not write in this space. Problem Possible Score Number Points 5 6 3 8 4 0 5 0 6 0 7 8 9 8 Total 00 Directions Please Read Carefully! You

More information

EXERCISES FOR SECTION 1.1

EXERCISES FOR SECTION 1.1 2 CHAPTER 1 FIRST-ORDER DIFFERENTIAL EQUATIONS EXERCISES FOR SECTION 1.1 1. Note that dy/ = 0 if and only if y = 3. Therefore, the constant function y(t) = 3for all t is the only equilibrium solution.

More information

Linear Systems of ODE: Nullclines, Eigenvector lines and trajectories

Linear Systems of ODE: Nullclines, Eigenvector lines and trajectories Linear Systems of ODE: Nullclines, Eigenvector lines and trajectories James K. Peterson Department of Biological Sciences and Department of Mathematical Sciences Clemson University October 6, 2013 Outline

More information

Numerical Methods for Ordinary Differential Equations

Numerical Methods for Ordinary Differential Equations CHAPTER 1 Numerical Methods for Ordinary Differential Equations In this chapter we discuss numerical method for ODE. We will discuss the two basic methods, Euler s Method and Runge-Kutta Method. 1. Numerical

More information

Coupled differential equations

Coupled differential equations Coupled differential equations Example: dy 1 dy 11 1 1 1 1 1 a y a y b x a y a y b x Consider the case with b1 b d y1 a11 a1 y1 y a1 ay dy y y e y 4/1/18 One way to address this sort of problem, is to

More information

Appendix 3B MATLAB Functions for Modeling and Time-domain analysis

Appendix 3B MATLAB Functions for Modeling and Time-domain analysis Appendix 3B MATLAB Functions for Modeling and Time-domain analysis MATLAB control system Toolbox contain the following functions for the time-domain response step impulse initial lsim gensig damp ltiview

More information

Elementary Differential Equations

Elementary Differential Equations Elementary Differential Equations George Voutsadakis 1 1 Mathematics and Computer Science Lake Superior State University LSSU Math 310 George Voutsadakis (LSSU) Differential Equations January 2014 1 /

More information

Chapter 7. Nonlinear Systems. 7.1 Introduction

Chapter 7. Nonlinear Systems. 7.1 Introduction Nonlinear Systems Chapter 7 The scientist does not study nature because it is useful; he studies it because he delights in it, and he delights in it because it is beautiful. - Jules Henri Poincaré (1854-1912)

More information

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

154 Chapter 9 Hints, Answers, and Solutions The particular trajectories are highlighted in the phase portraits below. 54 Chapter 9 Hints, Answers, and Solutions 9. The Phase Plane 9.. 4. The particular trajectories are highlighted in the phase portraits below... 3. 4. 9..5. Shown below is one possibility with x(t) and

More information

Chap. 20: Initial-Value Problems

Chap. 20: Initial-Value Problems Chap. 20: Initial-Value Problems Ordinary Differential Equations Goal: to solve differential equations of the form: dy dt f t, y The methods in this chapter are all one-step methods and have the general

More information

Falling Mass and Improved Euler

Falling Mass and Improved Euler Lesson 3: Falling Mass and Improved Euler 3.1 Applied Problem. Consider a mass which is falling through a viscous medium. One example is a falling rock, and a second example is a person in parachute. These

More information

CDS 101: Lecture 2.1 System Modeling. Lecture 1.1: Introduction Review from to last Feedback week and Control

CDS 101: Lecture 2.1 System Modeling. Lecture 1.1: Introduction Review from to last Feedback week and Control CDS 101: Lecture 2.1 System Modeling Richard M. Murray 7 October 2002 Goals: Describe what a model is and what types of questions it can be used to answer Introduce the concepts of state, dynamic, and

More information

1 (t + 4)(t 1) dt. Solution: The denominator of the integrand is already factored with the factors being distinct, so 1 (t + 4)(t 1) = A

1 (t + 4)(t 1) dt. Solution: The denominator of the integrand is already factored with the factors being distinct, so 1 (t + 4)(t 1) = A Calculus Topic: Integration of Rational Functions Section 8. # 0: Evaluate the integral (t + )(t ) Solution: The denominator of the integrand is already factored with the factors being distinct, so (t

More information

AM205: Assignment 3 (due 5 PM, October 20)

AM205: Assignment 3 (due 5 PM, October 20) AM25: Assignment 3 (due 5 PM, October 2) For this assignment, first complete problems 1, 2, 3, and 4, and then complete either problem 5 (on theory) or problem 6 (on an application). If you submit answers

More information

2015 Holl ISU MSM Ames, Iowa. A Few Good ODEs: An Introduction to Modeling and Computation

2015 Holl ISU MSM Ames, Iowa. A Few Good ODEs: An Introduction to Modeling and Computation 2015 Holl Mini-Conference @ ISU MSM Ames, Iowa A Few Good ODEs: An Introduction to Modeling and Computation James A. Rossmanith Department of Mathematics Iowa State University June 20 th, 2015 J.A. Rossmanith

More information

Modeling with differential equations

Modeling with differential equations Mathematical Modeling Lia Vas Modeling with differential equations When trying to predict the future value, one follows the following basic idea. Future value = present value + change. From this idea,

More information

Math 23: Differential Equations (Winter 2017) Midterm Exam Solutions

Math 23: Differential Equations (Winter 2017) Midterm Exam Solutions Math 3: Differential Equations (Winter 017) Midterm Exam Solutions 1. [0 points] or FALSE? You do not need to justify your answer. (a) [3 points] Critical points or equilibrium points for a first order

More information

Direction fields of differential equations...with SAGE

Direction fields of differential equations...with SAGE Direction fields of differential equations...with SAGE Many differential equations cannot be solved conveniently by analytical methods, so it is important to consider what qualitative information can be

More information

6x 2 8x + 5 ) = 12x 8

6x 2 8x + 5 ) = 12x 8 Example. If f(x) = x 3 4x + 5x + 1, then f (x) = 6x 8x + 5 Observation: f (x) is also a differentiable function... d dx ( f (x) ) = d dx ( 6x 8x + 5 ) = 1x 8 The derivative of f (x) is called the second

More information