C2 Differential Equations : Computational Modeling and Simulation Instructor: Linwei Wang

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

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

MA 137 Calculus 1 with Life Science Application A First Look at Differential Equations (Section 4.1.2)

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

M469, Fall 2010, Practice Problems for the Final

Age (x) nx lx. Population dynamics Population size through time should be predictable N t+1 = N t + B + I - D - E

Ordinary Differential Equations

SYMBIOTIC MODELS WITH AN SIR DISEASE

Math 345 Intro to Math Biology Lecture 19: Models of Molecular Events and Biochemistry

Final Project Descriptions Introduction to Mathematical Biology Professor: Paul J. Atzberger. Project I: Predator-Prey Equations

3 Single species models. Reading: Otto & Day (2007) section 4.2.1

THETA-LOGISTIC PREDATOR PREY

2 One-dimensional models in discrete time

Chapter 2: Growth & Decay

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

BIO S380T Page 1 Summer 2005: Exam 2

We have two possible solutions (intersections of null-clines. dt = bv + muv = g(u, v). du = au nuv = f (u, v),

Deterministic Changes - Chapter 5 of Heinz

LOCAL AND GLOBAL STABILITY OF IMPULSIVE PEST MANAGEMENT MODEL WITH BIOLOGICAL HYBRID CONTROL

Math 232, Final Test, 20 March 2007

Thursday. Threshold and Sensitivity Analysis

Modeling with differential equations

Project 1 Modeling of Epidemics

population size at time t, then in continuous time this assumption translates into the equation for exponential growth dn dt = rn N(0)

Dynamics of a Population Model Controlling the Spread of Plague in Prairie Dogs

Intermediate Differential Equations. John A. Burns

Name: October 24, 2014 ID Number: Fall Midterm I. Number Total Points Points Obtained Total 40

A Simple Ecological Model

Predation is.. The eating of live organisms, regardless of their identity

Figure The Threshold Theorem of epidemiology

Spring /30/2013

INTERPRETING POPULATION DYNAMICS GRAPH

Section 6.3. x m+1 x m = i n x m, (6.3.1)

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

(e) Use Newton s method to find the x coordinate that satisfies this equation, and your graph in part (b) to show that this is an inflection point.

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

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

DIFFERENTIATION RULES

8 Ecosystem stability

Introduction to Dynamical Systems

Math 180 Chapter 4 Lecture Notes. Professor Miguel Ornelas

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

Multiple choice 2 pts each): x 2 = 18) Essay (pre-prepared) / 15 points. 19) Short Answer: / 2 points. 20) Short Answer / 5 points

Essential Ideas of Mathematical Modeling in Population Dynamics

Predator-prey interactions

Interactions. Yuan Gao. Spring Applied Mathematics University of Washington

(1 y) 2 = u 2 = 1 u = 1

The Fractional-order SIR and SIRS Epidemic Models with Variable Population Size

Ordinary Differential Equations: Worked Examples with Solutions. Edray Herber Goins Talitha Michal Washington

Mathematical modeling of Fish Resources Harvesting with. Predator at Maximum Sustainable Yield

The Dynamic Properties of a Deterministic SIR Epidemic Model in Discrete-Time

SIR Epidemic Model with total Population size

PULSE-SEASONAL HARVESTING VIA NONLINEAR DELAY DIFFERENTIAL EQUATIONS AND APPLICATIONS IN FISHERY MANAGEMENT. Lev V. Idels

Problem set 7 Math 207A, Fall 2011 Solutions

Differential Equations ( DEs) MA 137 Calculus 1 with Life Science Application A First Look at Differential Equations (Section 4.1.

2D-Volterra-Lotka Modeling For 2 Species

Unit 8: Ecology: Ecosystems and Communities

UCLA: Math 3B Problem set 6 (solutions) Fall, 2018

Mathematical Analysis of Epidemiological Models: Introduction

DIFFERENCE AND DIFFERENTIAL EQUATIONS IN MATHEMATICAL MODELLING. J. Banasiak

Integration, Separation of Variables

Optimal Harvesting Models for Fishery Populations

Compartmental modeling

Lecture 20/Lab 21: Systems of Nonlinear ODEs

Mathematical models in life sciences. Lecture notes of a course held by Marco Di Francesco based on the book by J. D. Murray

Population Dynamics Graphs

Applications in Biology

ODE Math 3331 (Summer 2014) June 16, 2014

Effect of Species 2 on Species 1 Competition - - Predator-Prey + - Parasite-Host + -

Community Ecology. Classification of types of interspecific interactions: Effect of Species 1 on Species 2

JMESTN Journal of Multidisciplinary Engineering Science and Technology (JMEST) ISSN: Vol. 2 Issue 4, April

Mathematical models in population dynamics and ecology

Figure 5: Bifurcation diagram for equation 4 as a function of K. n(t) << 1 then substituting into f(n) we get (using Taylor s theorem)

Introduction to SEIR Models

9.1 Solving Differential Equations

Life Science FROM MOLECULES TO ORGANISMS: STRUCTURES AND PROCESSES

Research Article On the Stability Property of the Infection-Free Equilibrium of a Viral Infection Model

The death of an epidemic

Chapter 4: Growth & Decay. Introduction

POPULATION DYNAMICS: TWO SPECIES MODELS; Susceptible Infected Recovered (SIR) MODEL. If they co-exist in the same environment:

1.Introduction: 2. The Model. Key words: Prey, Predator, Seasonality, Stability, Bifurcations, Chaos.

7.5. Exponential Growth and Decay. 502 Chapter 7: Transcendental Functions. The Law of Exponential Change

A Comparison of Two Predator-Prey Models with Holling s Type I Functional Response

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

A NUMERICAL STUDY ON PREDATOR PREY MODEL

Permanency and Asymptotic Behavior of The Generalized Lotka-Volterra Food Chain System

33. The gas law for an ideal gas at absolute temperature T (in. 34. In a fish farm, a population of fish is introduced into a pond

Module 02 Control Systems Preliminaries, Intro to State Space

Delay SIR Model with Nonlinear Incident Rate and Varying Total Population

Spotlight on Modeling: The Possum Plague

Levels of Ecological Organization. Biotic and Abiotic Factors. Studying Ecology. Chapter 4 Population Ecology

Chapter 4 Population Ecology

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

Systems of Ordinary Differential Equations

Math 116 Second Midterm March 20, 2013

Exam in TMA4195 Mathematical Modeling Solutions

Predation. Vine snake eating a young iguana, Panama. Vertebrate predators: lions and jaguars

3.5 Competition Models: Principle of Competitive Exclusion

Dynamics of Disease Spread. in a Predator-Prey System

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

Transcription:

C2 Differential Equations 4040-849-03: Computational Modeling and Simulation Instructor: Linwei Wang

Part IV Dynamic Systems

Equilibrium: Stable or Unstable? Equilibrium is a state of a system which does not change A differential equation / a system of differental equations: setting a derivative (all derivatives) to zero. Example 1: Logistic model Equilibrium N * : r 0 N * (1" N * Example 2: System of differential equation dn dt = r 0 N(1! N K ) K ) = 0 # N * = 0,N * = K " dx $ = f (x, y) dt # $ dy = g(x, y) % dt " # $ g(x *, y * ) = 0 Equilibrium x *,y * : f (x *, y * ) = 0

Equilibrium: Stable or Unstable? Equilibrium is a state of a system which does not change A differential equation / a system of differential equations: setting a derivative (all derivatives) to zero. A difference equation (discrete time) Example: Ricker s model (discrete-time analog of logistic model) Equilibrium N * : N t +1 = f (N t ) = N t exp[r(1" N t K )] N * = N * exp[r(1" N * K )] " N * = 0,N * = K

Equilibrium: Stable or Unstable? An equilibrium is considered stable (for simplicity we will consider asymptotic stability only) if the system always returns to it after small disturbances. If the system moves away from the equilibrium after small disturbances, then the equilibrium is unstable. One differential equation: stable equilibria are characterized by a negative first derivative, df/dn (negative feedback), whereas unstable equilibria are characterized by a positive one (positive feedback). dn dt = r 0 N(1" N K )

Equilibrium: Stable or Unstable? An equilibrium is considered stable (for simplicity we will consider asymptotic stability only) if the system always returns to it after small disturbances. System of differential equations: stable equilibria are characterized by negative real parts of ALL eigenvalues of the Jacobian matrix. If there is one eigenvalue with a positive real part, the equilibrium point is unstable #"f % "x A = % % "g $ %"x "f & "y ( ( "g ( "y'(

Equilibrium: Stable or Unstable? An equilibrium is considered stable (for simplicity we will consider asymptotic stability only) if the system always returns to it after small disturbances One difference equation: The equilibrium point is stable if and only if Example: Ricker s model "1 < df dn N= N * <1 N t +1 = f (N t ) N t +1 = f (N t ) = N t exp[r(1" N t K )] N t +1 = f (N t ) = N t exp[r(1" N t K )] df = (1" rn t dn t K )exp[r(1" N t K )] * N t = N ### $ 1" r Ricker s model has a stable equilibrium point N * if 0<r<2

Equilibrium: Stable or Unstable? An equilibrium is considered stable (for simplicity we will consider asymptotic stability only) if the system always returns to it after small disturbances. One difference equation

Equilibrium: Stable or Unstable? An equilibrium is considered stable (for simplicity we will consider asymptotic stability only) if the system always returns to it after small disturbances. System of difference equations: ALL eigenvalues of the Jacobian matrix have to lie within the circle with radius = 1 in the complex plain Find equilibrium points Approximate Jacobian matrix Calculate eigenvalues of the Jacobian matrix

Equilibrium: Stable or Asymptotically Stable An equilibrium is considered stable if the solution starting close enough to the equilibrium remain close forever If for every ε >0, there exists a! =!(") > 0 such that, if x(0)! x e <!, Then x(t)! x e <! for every t>=0 An equilibrium is considered to be asymptotically stable if the solution starting close enough to the equilibrium not only remain close but also converge to the equilibrium. If it is stable and if there exists! > 0 such that if x(0)! x e <!, then lim x(t)# x e = 0 t!"

Growth of - Population - Pollution - Cancer cell Growth and Decay Processes - Poverty - Investment - - Nonlinear: limiting nature of growth - Coupled / intertwined

Discrete Growth Processes Growth of money in a saving account Annual rate of interest r% The interest is paid & compound n times a year Deposite can be made at any time, but start to earn interest from the beginnng of the next time period y(k): total funds at the end of the kth period u(k): total deposits made during the kth period y(k) = y(k "1) + (r /n)y(k "1) + u(k) = (1+ r /n)y(k "1) + u(k)

Discrete Growth Processes Mortage Total debt: d dollars Monthly mortage interest: r Monthly payment: p What should be the value of p if the debt is to be paid off by N payments? y(k): balance at the end of the kth period u(k): amout of the kth period = p y(k) = y(k "1) + ry(k "1) " u(k) = (1+ r)y(k "1) " u(k) = (1+ r)y(k "1) " p, y(0) = d

Discrete Growth Process Growth of rabbit population A pair of rabbits is born to each pair of adult rabbits at the end of every month A newborn pair produces first offspring at two months of age A pair of rabbits keep producing forever according to the above rules y(k): number of rabbit pairs at the end of kth month y(k) = y(k "1) + y(k " 2)

Continuous Growth Population growth Assumption: when a population is introduced into an environment, where it is not already found, growth occurs at a rate that is directly proportional to the size of the population dn dt = kn, N(0) = N 0 " N(t) = N 0 e kt A large number of growth / decay phenomena follows this equation (physical, chemical, biological, medical, social sicence)

Example 1: Drug Dose Dose level of a drug Concentration level in the blood y(t) The rate of change of concentration in the blood is directly proportationally to the amount present Ingestion of medicine is added to the body with a constant amount y 0 at intervals of time T dy dt = "ky # y = y 0e "kt y(t) = y 0 e "kt + y 0 y(2t) = (y 0 e "kt + y 0 )e "kt + y 0! y(nt) = (y 0 + y 0 e "kt +"+ y 0 e "(n"1)kt )e "kt + y 0 = y 0(1" e "(n +1)kT ) 1" e "kt

Example 1: Drug Dose To achieve constant drug concentration y(nt) = y 0 (1" e"(n +1)kT ) 1" e "kt t " # What is the initial dose plan? (y init for first dose, y 0 afterwards) y(nt) = (y 0 + y 0 e "kt +!+ y init e "(n"1)kt )e "kt + y 0 = y 0 (1" e"nkt ) 1" e "kt + y init e "nkt = y 0 1" e "kt y init = y 0 1" e "kt

Example 2: Body Burden Body burden: study the effect of environmental pollutants on human health; defined as the level of pollutants in the organs, blood or other body fluids of an organism x(t): amount excreted through urine and faeces in (0,t) y(t): amount consumed via food and beverages in (0,t) z(t): amount per unit volume of blood at t u(t): amount inspired via lungs in (0,t) v(t): amount stored in body tissues in (0,t)

Example 2: Body Burden x(t): amount excreted through urine and faeces in (0,t) y(t): amount consumed via food and beverages in (0,t) z(t): amount per unit volume of blood at t u(t): amount inspired via lungs in (0,t) v(t): amount stored in body tissues in (0,t) dz(t) dt = "( dy(t) dt + du(t) dt # dx(t) dt # dv(t) ) dt Generally, the rate of change in the tissue is proportional to the amount in the blood dz dt + bz = "( d(y + u) dt # dx dt )

Example 3: Mathematical Economics Building steel mills in a developing country S a (t): Quantity of steel produced / available at t S c (t): Capacity of mills at t Assume all other materials & labors are abundant, the rate of steel production is propotational to the mill capacity Because building mills needs steel, the rate of mill building (mill capacity) is proportional to available steels " ds c $ dt # $ ds a % $ dt = k c S a, S c (0) = c 1 = k a S c! bs a, S a (0) = c 2

Limits To Growth Population growth: competition for food and resources lower birth rate, higher death rate dn dt = kn = (b " m)n m = m 1 N dn dt = b(1" N M )N, M = b /m 1 N(t) = (MN 0 /(M " N 0 ))e bt 1+ (N 0 /(M " N 0 ))e bt Small t: N(t) = MN 0 (M " N 0 ) ebt Large t: N(t) " M

Limits To Growth Population growth: In practice, environmental factors are much more complicated much harder to collect data for validation dn dt = k(t)n + Q(t) Enviromental factors Abnormal growth pa7ern, such as sudden natural calamity, hun<ng habits of predator, seasonal factor, etc

Competition Among Species Biological species Political parties Business enterprises Coupled reacting chemical components

Competition Among Species Ecological niche Two species S 1 and S 2 with ecological niches 1 and 2, respectively dn 1 dt = (b 1 " m 1 N 1 )N 1, N 1 (0) = N 10 dn 2 dt = (b 2 " m 2 N 2 )N 2, N 2 (0) = N 20 In the initial growth stage: Coexist only happens if b 1 =b 2! N 1 /N 2 = (N 10 /N 20 )exp(b 1 " b 2 )t

Competition Among Species Possible explanations Geographical isolation Ecological differentiation: different specialization Interbreeding & merging Apply to business and other problems as well Revision to the model Add interaction between species dn 1 dt dn 2 dt = m 1 (M 1 " N 1 "# 12 N 2 )N 1, N 1 (0) = N 10 = m 2 (M 2 " N 2 "# 21 N 1 )N 2, N 2 (0) = N 20

Predator-Prey Systems Consumer-resource Prey-plant Parasite-host Tumor cells (virus) immune systems Susceptible infectious

Predator-Prey Systems Lotka-Vloterra model Prey: H Predator: P Assumption: In the absence of predator, prey population grows exponentially In the absence of prey, predator population declines exponentially Interaction: prey decreases and predator increases at a rate proportional to the frequency of predator-prey encounters H = bh " shp H(0) = H 0 P = "dp + eshp P(0) = P 0

Predator-Prey Systems Equibilirium points # H(b " sp) = 0 $ % P("d + esh) = 0 Stability # J = b " sp "sh & % ( $ esp "d + esh' (H *,P * ) = (0,0),(H *,P * ) = ( d es,b s ) # J(0,0) = b 0 & % ( " 1 = b," 2 = #d $ 0 "d' # J( d es, b 0 " d & s ) = % e ( % e ( % 0 ( $ b ' " = ±i ed be

Predator-Prey Systems (H *,P * ) = ( d es,b s ) Stable, but not asymptotically stable Since a model is not a precise descrip<on of a system, qualita<ve predic<on should not be altered by slight modifica<ons!

Predator-Prey Systems Change of assumption: In the absence of predator, prey population grows by the logistic model # % H = bh(1" H $ K ) " shp H(0) = H 0 & % P = "dp + eshp P(0) = P 0

Predator-Prey Systems Equibilirium points # % H(b(1" H $ K ) " sp) = 0 & % P("d + esh) = 0 Stability # J = b " 2bH & % " sp "sh K ( $ % esp "d + esh' ( (H *,P * ) = (0,0) (H *,P * ) = (K,0) (H *,P * ) = ( d es, b s (1" d esk )) # J(0,0) = b 0 & % ( $ 0 "d' # J(K,0) = "b "sk & % ( " 1 = #b," 2 = esk # d $ 0 "d + esk' J( d es,b s (1" d esk )) =?

Predator-Prey Systems (H *,P * ) = ( d es,b s (1" d esk )) Structurally stable! b d < 4 Kes d (Kes d "1)

Predator-Prey Systems More realistic assumptions: Intra-species competition Relation between the predator s consumption rate and prey density Efficiency of converting prey to predator # H = r H H(1" H K )" a HP H % b + H $ P = a HP P &% b + H " cp # H % = r H H(1" H K ) " shp $ % P = r p P(1" P & ch ) Consump<on rate is increasing func<on of prey density but approaching a limit at high density Leslie s model

Predator-Prey Systems More realistic assumptions: Fluctuating environment Time-delay for reproduction N = rn(t)(1" N(t " T) ) K(t) Any more?

Epidemic Model Kermack-McKendrick epidemic model Population is divdied into three disjoint groups Suseptible (S) individuals are capable of contracting the diseases and become infective Infective (I) individuals are capable of trasmitting the diseases to others Removed (R) individuals have had the diseases and are dead, recovered & permanently immune, or are isolated until recovery & permanent immunity occur Rules The rate of change in S is proportional to the contacts between S & I I are removed at a rate proportional to their number Total number of population is constant

Epidemic Model # S = "isi % $ I = isi " ri % & R = ri Implications Initial number of S vs. occurance of epidemic: critical value of susceptible population In the case of a deadly diseases, an epidemic has less chance to occur!

Exercise Harvesting renewable resources, e.g. fish Use logistic population with an addiitonal mortality term (harvesting yield, proportional (catch rate) to the population). Find equilibrium population, determine the catch rate for stable equiblibrium, and determine the corresponding maximum yield N = rn(1" N K ) " cn Equilibrium point & stable condition Maximum yield N * = K(1" c r ),c < r c = r /2,(cN) max = rk /4

Exercise Now assume constant yield H 0, analyze the equilibrium points and what happens when H 0 approaches rk/4 N = rn(1" N K ) " H 0 N * 1 = 1 2 K(1" 1" 4 H 0 rk ) N * 2 = 1 2 K(1+ 1" 4 H 0 rk )