Phase Plane Diagrams ENT 420 Biological System Modeling Lecturer

Slides:



Advertisements
Similar presentations
Ch 7.6: Complex Eigenvalues
Advertisements

Differential Equations
Neural Modeling Suparat Chuechote. Introduction Nervous system - the main means by which humans and animals coordinate short-term responses to stimuli.
Quantum One: Lecture 4. Schrödinger's Wave Mechanics for a Free Quantum Particle.
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.
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.
1 Predator-Prey Oscillations in Space (again) Sandi Merchant D-dudes meeting November 21, 2005.
First-Order Differential Equations
Homework 4, Problem 3 The Allee Effect. Homework 4, Problem 4a The Ricker Model.
While there is a generally accepted precise definition for the term "first order differential equation'', this is not the case for the term "Bifurcation''.
Continuous Models Chapter 4. Bacteria Growth-Revisited Consider bacteria growing in a nutrient rich medium Variables –Time, t –N(t) = bacteria density.
Linear Simultaneous Equations
Analysis of the Rossler system Chiara Mocenni. Considering only the first two equations and ssuming small z The Rossler equations.
Linking graphs and systems of equations Graph of a linear equation Graphical solutions to systems.
Autumn 2008 EEE8013 Revision lecture 1 Ordinary Differential Equations.
Biological Modeling of Neural Networks Week 3 – Reducing detail : Two-dimensional neuron models Wulfram Gerstner EPFL, Lausanne, Switzerland 3.1 From Hodgkin-Huxley.
Population Modeling Mathematical Biology Lecture 2 James A. Glazier (Partially Based on Brittain Chapter 1)
TEST 1 REVIEW. Single Species Discrete Equations Chapter 1 in Text, Lecture 1 and 2 Notes –Homogeneous (Bacteria growth), Inhomogeneous (Breathing model)
Math 3120 Differential Equations with Boundary Value Problems
BME 6938 Neurodynamics Instructor: Dr Sachin S Talathi.
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.
ME375 Handouts - Spring 2002 Root Locus Method.
Simplified Models of Single Neuron Baktash Babadi Fall 2004, IPM, SCS, Tehran, Iran
Motivation As we’ve seen, chaos in nonlinear oscillator systems, such as the driven damped pendulum discussed last time is very complicated! –The nonlinear.
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.
Biological Modeling of Neural Networks Week 4 – Reducing detail - Adding detail Wulfram Gerstner EPFL, Lausanne, Switzerland 3.1 From Hodgkin-Huxley to.
Analysis of the Rossler system Chiara Mocenni. Considering only the first two equations and assuming small z, we have: The Rossler equations.
Review Etc.. Modified Tumor-Immune Model Dimensional Analysis Effective growth rate for tumor cells (density) 1/3 /time Carrying capacity for tumor cells.
Biological Modeling of Neural Networks Week 4 Reducing detail: Analysis of 2D models Wulfram Gerstner EPFL, Lausanne, Switzerland 3.1 From Hodgkin-Huxley.
Phase Plane Diagrams ENT 420 Biological System Modeling Lecturer Engr. Mohd Yusof bin Baharuddin MBiomedEng (Melbourne) BBiomedEng (Malaya)
General Considerations
Week 6 Applications of ODEs to the evolution game theory
1.1 Basic Concepts. Modeling
Systems of Differential Equations Phase Plane Analysis
Transfer Functions Convenient representation of a linear, dynamic model. A transfer function (TF) relates one input and one output: The following terminology.
Lesson Overview 5.1 How Populations Grow.
4.3 Constant-Coefficient Systems. Phase Plane Method
Boyce/DiPrima 9th ed, Ch 9.4: Competing Species Elementary Differential Equations and Boundary Value Problems, 9th edition, by William E. Boyce and.
Epilepsy as a dynamic disease: Musings by a clinical computationalist
Announcements Topics: Work On:
Boyce/DiPrima 9th ed, Ch 9.6: Liapunov’s Second Method Elementary Differential Equations and Boundary Value Problems, 9th edition, by William E. Boyce.
Systems of Ordinary Differential Equations Case I: real eigenvalues of multiplicity 1 MAT 275.
Boyce/DiPrima 10th ed, Ch 7.8: Repeated Eigenvalues Elementary Differential Equations and Boundary Value Problems, 10th edition, by William E. Boyce.
Stability of Differential Equations
Graphing Equations and Inequalities
Biointelligence Laboratory, Seoul National University
Instability Analysis of Nerve Cell Dynamics in the FitzHugh-Nagumo Model Nasrin Sultana*, Sampad Das and M. Osman Gani** Department of Mathematics, Jahangirnagar.
A Steady State Analysis of a Rosenzweig-MacArthur Predator-Prey System
NONLINEAR SYSTEMS IN THREE DIMENSIONS
One- and Two-Dimensional Flows
Quantum One.
Quantum One.
Systems of Differential Equations Phase Plane Analysis
9.8 Neural Excitability and Oscillations
Spontaneous Synchronization of Coupled Circadian Oscillators
Stability and Dynamics in Fabry-Perot cavities due to combined photothermal and radiation-pressure effects Francesco Marino1,4, Maurizio De Rosa2, Francesco.
Modern Control Systems (MCS)
Copyright © Cengage Learning. All rights reserved.
Absolute Value Functions
Graphing Linear Equations
Volume 5, Issue 4, Pages e4 (October 2017)
Boyce/DiPrima 10th ed, Ch 7.6: Complex Eigenvalues Elementary Differential Equations and Boundary Value Problems, 10th edition, by William E. Boyce and.
Systems of Differential Equations Autonomous Examples
Linear Regression Dr. Richard Jackson
Hopf Bifurcations on a Scavenger/Predator/Prey System
Population Modeling Mathematical Biology Lecture 2 James A. Glazier
Direction Fields and Euler's Method
Graphing Linear Equations
Week 6 Applications of ODEs to the evolution game theory
ECE 576 POWER SYSTEM DYNAMICS AND STABILITY
Presentation transcript:

Phase Plane Diagrams ENT 420 Biological System Modeling Lecturer Engr. Mohd Yusof bin Baharuddin MBiomedEng (Melbourne) BBiomedEng (Malaya)

Objectives Motivation Graphical methods for exploring systems of ODEs ENT 420 Biological System Modeling Objectives Motivation Graphical methods for exploring systems of ODEs Phase plane diagrams Example/tutorial: Chemostats Numerical software: xppaut Limit cycles, oscillators Introduce the FH-N class of models The Hopf Bifurcation

The story so far…. Model type Difference equations Systems of ODEs ENT 420 Biological System Modeling The story so far…. Model type Difference equations Systems of ODEs General form Steady state condition Stability condition Graphical exploration Phase plane diagrams Cobweb graph

Graphical interpretation of ODEs ENT 420 Biological System Modeling Graphical interpretation of ODEs Consider When y=0 and y=1, t y 1

Graphical interpretation of ODEs ENT 420 Biological System Modeling Graphical interpretation of ODEs When 0<y<1, When 1<y,

Graphical interpretation of ODEs ENT 420 Biological System Modeling Graphical interpretation of ODEs t y 1 t y 1

What about systems of ODEs? ENT 420 Biological System Modeling What about systems of ODEs? Too hard! y x We could produce a 3D plot i.e. with axis (x,y,t) t y t x

A phase plane graph Graphical interpretation of ODEs ENT 420 Biological System Modeling Graphical interpretation of ODEs Instead let’s look at how the slope and direction of the vector (dx/dt,dy/dt) varies within a plane (x-y 2D plot) e.g. y y x x Slope of vector given by A phase plane graph

ENT 420 Biological System Modeling Phase plane graph Example: Recall the Lotka-Volterra predator-prey model  1 prey predator Oscillatory neutral stable steady state

ENT 420 Biological System Modeling Phase plane graph Instead of graphing the behaviour of both predator and prey populations as a function of time, we instead can look at the change in prey populations versus change in predator populations on a phase plane plot. That is…..

Phase plane graph Rearrange to and integrate rearrange ENT 420 Biological System Modeling Phase plane graph Rearrange to and integrate rearrange

Phase plane graph  v c1 c2 c3 c4 1 ENT 420 Biological System Modeling Phase plane graph  1 prey predator u v 1 c1 c2 c3 c4 Can’t always integrate to get exact solution like in this example. Neutrally stable

A more systematic approach to phase plane diagrams ENT 420 Biological System Modeling A more systematic approach to phase plane diagrams Draw the nullclines: Let’s look at a previous example y X - nullclines y-nullclines y=1 steady states y - nullclines x x=1 These define the nullclines x-nullclines Steady states (singularities) occur at the intersection between x nullclines and y nullclines

A more systematic approach ENT 420 Biological System Modeling A more systematic approach Assign direction along the nullclines according to vector: Note one component of the vector will be zero on a nullcline. Arrows on y nullclines parallel to x axis Arrows on x nullclines parallel to y axis

A more systematic approach ENT 420 Biological System Modeling A more systematic approach We can start to see the flow patterns already Nullclines separate the phase plane plot into regions in which the flow is in the same general direction Dramatic local changes in the flow pattern can really only occur in the vicinity of steady states Begin to see global behaviour i.e. behaviour not local to steady states

Flow patterns around (linear) steady states in phase plane diagrams ENT 420 Biological System Modeling Flow patterns around (linear) steady states in phase plane diagrams Image from Fall et al. “Computational Cell Biology” (2002).

ENT 420 Biological System Modeling Murray (2002)

Gorillas again H H=k/m0 H=rN/j N=0 These define the nullclines ENT 420 Biological System Modeling Gorillas again Identify and draw nullclines H H=k/m0 H=rN/j N=0 These define the nullclines Steady states occur at the intersection between x nullclines and y nullclines N steady state

Gorillas again H H=k/m0 H=rN/j N=0 N ENT 420 Biological System Modeling Gorillas again Assign flow direction arrows along nullclines When N=0 H H=k/m0 When H=k/m0 H=rN/j N=0 When H=rN/j N steady state

Gorillas again H H=k/m0 H=rN/j N=0 N ENT 420 Biological System Modeling Gorillas again What kind of steady state do we have? Can’t tell just from phase plane plot! H H=k/m0 H=rN/j N=0 N steady state

Biological System Modeling ENT 420 Biological System Modeling k=1.1 at t=0 N=1000 and H=5 m0=0.1 r=0.01 j=0.1

Tutorial Example: Chemostat ENT 420 Biological System Modeling Tutorial Example: Chemostat Bacterial growth in a Chemostat A chemostat is a device for harvesting bacteria. Stock nutrient of concentration c0 enters the bacterial culture chamber with a flowrate F. For mass conservation there is an equal flow rate F out of the culture chamber. V is the volume of the culture chamber and N is the number density (number per volume) of bacteria in the culture chamber F c0 V N c F

Bacterial growth in a Chemostat ENT 420 Biological System Modeling Bacterial growth in a Chemostat The equations for the rate of change of the nutrient concentration and bacteria number density are as follows: F c0 c N V F k(c) is the concentration dependent reproduction rate of the bacteria α is units of nutrients consumed in producing one unit of population growth Note F has units of volume/time, FN/V has units number density of bacteria per time.

Example: Chemostat Bacterial growth in a Chemostat ENT 420 Biological System Modeling Example: Chemostat Bacterial growth in a Chemostat The rate of growth of bacteria increases with nutrient availability only up to some limiting value. (The poor little individual bacterium can only consume nutrient and reproduce at some limited rate.) k(c) kmax 0.5kmax Michaelis-Menton kinetics (more next week or the week after) c c1/2

Bacterial growth in a Chemostat Non-linear ODE: ENT 420 Biological System Modeling Bacterial growth in a Chemostat Non-linear ODE: We can non-dimensionalise these equations to make them look neater and to reduce the number of parameters. Let t=t*V/F, c=c*c1/2 and N=N*c1/2F/(αVkmax), where N*, C* and t* denote dimensionless bacteria density, nutrient concentration and time. We can then write the ODEs as: where α1=Vkmax/F and α2=c0/c1/2

ENT 420 Biological System Modeling Example: Chemostat For simplicity of mathematics let’s drop the superscript * and let’s assume that α1=2 and α2=3

Tutorial: Phase plane diagram of chemostat model ENT 420 Biological System Modeling Tutorial: Phase plane diagram of chemostat model c Find nullclines: N nullclines -> c nullclines -> 0,0 N

Example: Chemostat Bacterial growth in a Chemostat Non-linear ODE: ENT 420 Biological System Modeling Example: Chemostat Bacterial growth in a Chemostat Non-linear ODE: Steady states:

Example: Chemostat Bacterial growth in a Chemostat ENT 420 Biological System Modeling Example: Chemostat Bacterial growth in a Chemostat Stability of steady states: Linearise our equation to obtain the A matrix: Recall where

Example: Chemostat Bacterial growth in a Chemostat ENT 420 Biological System Modeling Example: Chemostat Bacterial growth in a Chemostat Stability of steady states: Linearise our equation to obtain the A matrix: Find eigenvalues at each steady state by

Example: Chemostat Stability of steady states: When ENT 420 Biological System Modeling Example: Chemostat Stability of steady states: When

ENT 420 Biological System Modeling Example: Chemostat When

ENT 420 Biological System Modeling Example: Chemostat

ENT 420 Biological System Modeling Software XPPAUT (freeware) (http://www.math.pitt.edu/~bard/xpp/xpp.html) a tool for solving differential equations, (up to 590 differential equations) difference equations, delay equations, functional equations, boundary value problems, and stochastic equations. Also creates phase plane diagrams, cobweb graphs does stability and bifurcation analysis etc (unlike Matlab)

Xppaut Program Write program in a text editor ENT 420 Biological System Modeling Xppaut Program Write program in a text editor The following is program for a linear system of 2 ODEs. Minimum program # equations dx/dt=a*x+b*y dy/dt=c*x+d*y # parameters par a=0, b=1, c=-1, d=0 # intial conditions init x=1, y=0 # that's all folks done dx/dt=a*x+b*y dy/dt=c*x+d*y par a, b, c, d done

Xppaut Program Write program in a text editor ENT 420 Biological System Modeling Xppaut Program Write program in a text editor The following is program for the Lotka-Volterra system  1 prey predator du/dt=u*(1-v) dv/dt=a*v*(u-1) par a=1 done u v 1

Xppaut Program Write program in a text editor ENT 420 Biological System Modeling Xppaut Program Write program in a text editor The following is program for the system considered at the start of this lecture du/dt=u*v-v dv/dt=v*u-u done

Xppaut Program Write program in a text editor ENT 420 Biological System Modeling Xppaut Program Write program in a text editor The following is program for the chemostat N c dN/dt=alpha1*(c/(1+c))*N-N dc/dt=-(c/(1+c))*N-c+alpha2 par alpha1=5, alpha2=0.5 @ xp=N, yp=C, xlo=-.25, xhi=3, ylo=-.1, yhi=1, total=100 @maxstor=10000 done

Xppaut Program Write program in a text editor ENT 420 Biological System Modeling Xppaut Program Write program in a text editor The following is program for the cancer model in lecture 5 dc/dt=delta*c*(w*c/(1+I)-1) dI/dt=sig+b*(gamma*c-I) par delta=1, W=1, sig=0, b=1, gamma=0.2 @ xp=c, yp=I, xlo=0, xhi=3, ylo=0, yhi=3, total=100 done

Closed paths like C correspond to periodic solutions ENT 420 Biological System Modeling At critical points S, R, Q the vector V is zero, and corresponds to stationary points Closed paths like C correspond to periodic solutions Simmons, G. (1991) “Differential equations with applications and historical notes”

Poincaré-Bendixson theorem ENT 420 Biological System Modeling Poincaré-Bendixson theorem If the phase plane contains a domain, enclosed by a boundary B on which the vector always points into the domain, and the domain contains a singular point P which is an unstable spiral or node then any phase trajectory cannot tend towards the singularity or leave the domain. Murray (2002) The Poincaré-Bendixson theorem says that as the trajectory will tend to a limit cycle

Oscillators, excitability and FitzHugh-Nagumo Models ENT 420 Biological System Modeling Oscillators, excitability and FitzHugh-Nagumo Models FitzHugh and Nagumo independently proposed a simplified model of the Hodgkin-Huxley equations that are used to describe the variation in sodium and potassium ions across a cell membrane of a nerve cell (neuron). Now, FH-N models are those with one linear nullcline for the “slow variable” and a cubic nullcline with an inverted “N” shape for the “fast variable”

Oscillators, excitability and FitzHugh-Nagumo Models ENT 420 Biological System Modeling Oscillators, excitability and FitzHugh-Nagumo Models Example: x represents the excitation variable “fast variable” y represents the recovery variable “slow variable” Parameters a, b and c in the model are assumed to be positive with the following restrictions z is a stimulus intensity

Phase plane diagram of FH-N model ENT 420 Biological System Modeling Phase plane diagram of FH-N model y z=0 x Two Nullclines: y z=-0.4 x Slight shift in curve

Oscillators, excitability and FitzHugh-Nagumo Models ENT 420 Biological System Modeling Oscillators, excitability and FitzHugh-Nagumo Models Stability? For the trace to be negative and the determinant positive i.e. a stable steady state or

Oscillators, excitability and FitzHugh-Nagumo Models ENT 420 Biological System Modeling Oscillators, excitability and FitzHugh-Nagumo Models That is the steady state is not stable if it falls within the region Imaginary number Since the requirement for a real value steady state not being stable is just Note: The stability condition of the steady state does not change with z, but the steady state itself does.

Xppaut Program Write program in a text editor ENT 420 Biological System Modeling Xppaut Program Write program in a text editor The following is program for the FH-N model du/dt=c*(v+u-(1/3)*u^3+zed) dv/dt=-(1/c)*(u-a+b*v) par a=0.7, b=0.8, c=3, zed @ xp=u, yp=v, xlo=-3, xhi=3, ylo=-3, yhi=3, total=100 @maxstor=10000 done

ENT 420 Biological System Modeling

ENT 420 Biological System Modeling The Hopf Bifurcation Hopf Bifurcation Theorem predicts the appearance of a limits cycle about any steady state that undergoes a transition from a stable to an unstable focus (spiral) as some parameter is varied.

The Hopf Bifurcation Consider A steady state occurs at ENT 420 Biological System Modeling The Hopf Bifurcation Consider A steady state occurs at At this steady state

The Hopf Bifurcation du/dt=v dv/dt=-v^3+r*v-u par r ENT 420 Biological System Modeling The Hopf Bifurcation du/dt=v dv/dt=-v^3+r*v-u par r @ xp=u, yp=v, xlo=-3, xhi=3, ylo=-3, yhi=3, total=100 @maxstor=10000 done

ENT 420 Biological System Modeling Summary Phase plane diagrams, nullclines, shapes of flow patterns near various linear steady states Examples: Chemostat, gorillas Xppaut Limit cycles Excitability FH-N models

Somewhere people still eating once a day…. ~Yusof~ ENT 420 Biological System Modeling Somewhere people still eating once a day…. ~Yusof~