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

Slides:



Advertisements
Similar presentations
Ch 7.6: Complex Eigenvalues
Advertisements

Numerical Solutions of Differential Equations Euler’s Method.
Differential Equations
ESSENTIAL CALCULUS CH11 Partial derivatives
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.
DIFFERENTIAL EQUATIONS 9. We have looked at a variety of models for the growth of a single species that lives alone in an environment.
458 Multispecies Models (Introduction to predator-prey dynamics) Fish 458, Lecture 26.
Chapter 6 Models for Population Population models for single species –Malthusian growth model –The logistic model –The logistic model with harvest –Insect.
Arshak Grigoryan Project for Math. Modeling. Predator-Prey model (By Odell) Lets consider one of the variations of the Odell`s model where x, y are population.
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.
Action Potentials and Limit Cycles Computational Neuroeconomics and Neuroscience Spring 2011 Session 8 on , presented by Falk Lieder.
Ch 9.1: The Phase Plane: Linear Systems
1 Predator-Prey Oscillations in Space (again) Sandi Merchant D-dudes meeting November 21, 2005.
Welcome To Math 463: Introduction to Mathematical Biology
First-Order Differential Equations
Math 3C Systems of Differential Equations Autonomous Examples Prepared by Vince Zaccone For Campus Learning Assistance Services at UCSB.
Homework 4, Problem 3 The Allee Effect. Homework 4, Problem 4a The Ricker Model.
Ch 7.8: Repeated Eigenvalues
Neuronal excitability from a dynamical systems perspective Mike Famulare CSE/NEUBEH 528 Lecture April 14, 2009.
XPPAUT Differential Equations Tool B.Ermentrout & J.Rinzel.
While there is a generally accepted precise definition for the term "first order differential equation'', this is not the case for the term "Bifurcation''.
Dynamical Systems Analysis II: Evaluating Stability, Eigenvalues By Peter Woolf University of Michigan Michigan Chemical Process Dynamics.
Mathematical Models in Neural and Neuroendocrine Systems Richard Bertram Department of Mathematics and Programs in Neuroscience and Molecular Biophysics.
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
Kinematics Chapters 2 & 3.
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.
EXAMPLES: Example 1: Consider the system Calculate the equilibrium points for the system. Plot the phase portrait of the system. Solution: The equilibrium.
Autumn 2008 EEE8013 Revision lecture 1 Ordinary Differential Equations.
Boyce/DiPrima 9th ed, Ch 9.7: Periodic Solutions and Limit Cycles Elementary Differential Equations and Boundary Value Problems, 9th edition, by William.
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)
Ch 9 pages Lecture 23 – The Hydrogen Atom.
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.
Ch 9.8: Chaos and Strange Attractors: The Lorenz Equations
LURE 2009 SUMMER PROGRAM John Alford Sam Houston State University.
CEE162/262c Lecture 2: Nonlinear ODEs and phase diagrams1 CEE162 Lecture 2: Nonlinear ODEs and phase diagrams; predator-prey Overview Nonlinear chaotic.
Simplified Models of Single Neuron Baktash Babadi Fall 2004, IPM, SCS, Tehran, Iran
LYAPUNOV STABILITY THEORY:
Two-species competition The Lotka-Volterra Model Working with differential equations to predict population dynamics.
Relationships If we are doing a study which involves more than one variable, how can we tell if there is a relationship between two (or more) of the.
Chapter 7 Energy of a System.
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.
Computational Biology, Part 14 Recursion Relations Robert F. Murphy Copyright  1996, 1999, 2000, All rights reserved.
Analysis of the Rossler system Chiara Mocenni. Considering only the first two equations and assuming small z, we have: The Rossler equations.
MA3264 Mathematical Modelling Lecture 13 Practice Problems Homework 4 Answers.
Review Etc.. Modified Tumor-Immune Model Dimensional Analysis Effective growth rate for tumor cells (density) 1/3 /time Carrying capacity for tumor cells.
Chapter 3 Graphs and Functions. § 3.1 Graphing Equations.
Biological Modeling of Neural Networks Week 4 Reducing detail: Analysis of 2D models Wulfram Gerstner EPFL, Lausanne, Switzerland 3.1 From Hodgkin-Huxley.
Various Applications of Hopf Bifurcations Matt Mulvehill, Kaleb Mitchell, Niko Lachman.
Math 4B Systems of Differential Equations Population models Prepared by Vince Zaccone For Campus Learning Assistance Services at UCSB.
MA2213 Lecture 10 ODE. Topics Importance p Introduction to the theory p Numerical methods Forward Euler p. 383 Richardson’s extrapolation.
Boyce/DiPrima 9th ed, Ch 9.4: Competing Species Elementary Differential Equations and Boundary Value Problems, 9th edition, by William E. Boyce and.
Announcements Topics: Work On:
Stability of Differential Equations
Instability Analysis of Nerve Cell Dynamics in the FitzHugh-Nagumo Model Nasrin Sultana*, Sampad Das and M. Osman Gani** Department of Mathematics, Jahangirnagar.
One- and Two-Dimensional Flows
Phase Plane Diagrams ENT 420 Biological System Modeling Lecturer
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
Hopf Bifurcations on a Scavenger/Predator/Prey System
Presentation transcript:

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

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 ENT 420 Biological System Modeling Objectives

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

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

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

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

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

ENT 420 Biological System Modeling 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. x Slope of vector given by x yy A phase plane graph Graphical interpretation of ODEs

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…..

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

ENT 420 Biological System Modeling Phase plane graph u v  1 prey predator Neutrally stable c4c4 c3c3 c2c2 c1c1 Can’t always integrate to get exact solution like in this example.

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

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

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

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)

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

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

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

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

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 c 0 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 c0c0 c N V F

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 c0c0 cN 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.

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.) c k(c) k max c 1/2 0.5k max Michaelis-Menton kinetics (more next week or the week after)

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 * c 1/2 and N=N * c 1/2 F/(αVk max ), where N *, C * and t * denote dimensionless bacteria density, nutrient concentration and time. We can then write the ODEs as: where α 1 =Vk max /F and α 2 =c 0 /c 1/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

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

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

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

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

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

XPPAUT (freeware) ( 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) ENT 420 Biological System Modeling Software

ENT 420 Biological System Modeling Xppaut Program Write program in a text editor The following is program for a linear system of 2 ODEs. # 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 Minimum program

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

ENT 420 Biological System Modeling 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

ENT 420 Biological System Modeling 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, xp=N, yp=C, xlo=-.25, xhi=3, ylo=-.1, yhi=1, done Xppaut Program

ENT 420 Biological System Modeling 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, xp=c, yp=I, xlo=0, xhi=3, ylo=0, yhi=3, total=100 done Xppaut Program

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”

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. The Poincaré-Bendixson theorem says that as the trajectory will tend to a limit cycle Murray (2002)

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”

ENT 420 Biological System Modeling 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 Oscillators, excitability and FitzHugh-Nagumo Models

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

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

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, xp=u, yp=v, xlo=-3, xhi=3, ylo=-3, yhi=3, 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.

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

ENT 420 Biological System Modeling The Hopf Bifurcation du/dt=v dv/dt=-v^3+r*v-u par xp=u, yp=v, xlo=-3, xhi=3, ylo=-3, yhi=3, 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

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