75
Announcements Topics: - section 3.2 (cobwebbing, equilibria), 3.3 (modelling with DTDSs); 6.7 + 6.8 (stability of dynamical systems) * Read these sections and study solved examples in your textbook! Homework: - review lecture notes thoroughly - work on practice problems from the textbook and assignments from the coursepack as assigned on the course web page (under the “SCHEDULE + HOMEWORK” link)

Announcements - McMaster Universityclemene/1LS3notes/1ls3_week12+.pdf · 1. Graph the updating function and the diagonal. 2. Plot the initial value m 0 on the horizontal axis. From

  • Upload
    others

  • View
    2

  • Download
    0

Embed Size (px)

Citation preview

Page 1: Announcements - McMaster Universityclemene/1LS3notes/1ls3_week12+.pdf · 1. Graph the updating function and the diagonal. 2. Plot the initial value m 0 on the horizontal axis. From

AnnouncementsTopics:

-  section3.2(cobwebbing,equilibria),3.3(modellingwithDTDSs);6.7+6.8(stabilityofdynamicalsystems)

*Readthesesectionsandstudysolvedexamplesinyourtextbook!

Homework:-  reviewlecturenotesthoroughly-  workonpracticeproblemsfromthetextbookandassignmentsfromthecoursepackasassignedonthecoursewebpage(underthe“SCHEDULE+HOMEWORK”link)

Page 2: Announcements - McMaster Universityclemene/1LS3notes/1ls3_week12+.pdf · 1. Graph the updating function and the diagonal. 2. Plot the initial value m 0 on the horizontal axis. From

CobwebbingCobwebbingisagraphicaltechniqueusedtodeterminethebehaviourofsolutionstoaDTDSwithoutcalculations.Thistechniqueallowsustosketchthegraphofthesolution(asetofdiscretepoints)directlyfromthegraphoftheupdatingfunction.

Page 3: Announcements - McMaster Universityclemene/1LS3notes/1ls3_week12+.pdf · 1. Graph the updating function and the diagonal. 2. Plot the initial value m 0 on the horizontal axis. From

CobwebbingAlgorithm:1.  Graphtheupdatingfunctionandthediagonal.

2.  Plottheinitialvaluem0onthehorizontalaxis.Fromthispoint,moveverticallytotheupdatingfunctiontoobtainthenextvalueofthemeasurement.Thecoordinatesofthispointare(m0,m1).

3.  Movehorizontallytothepoint(m1,m1)onthediagonal.Plotthevaluem1onthehorizontalaxis.Thisisthenextvalueofthesolution.

4.  Fromthepoint(m1,m1)onthediagonal,moveverticallytotheupdatingfunctiontoobtainthepoint(m1,m2)andthenhorizontallytothepoint(m2,m2)onthediagonal.Plotthepointm2onthehorizontalaxis.

5.  Continuealternating(or“cobwebbing”)betweentheupdatingfunctionandthediagonaltoobtainasetofsolutionpointsplottedalongthehorizontalaxis.

Page 4: Announcements - McMaster Universityclemene/1LS3notes/1ls3_week12+.pdf · 1. Graph the updating function and the diagonal. 2. Plot the initial value m 0 on the horizontal axis. From

Cobwebbing

Example:Startingwiththeinitialcondition,sketchthegraphofthesolutiontothesystembycobwebbing3steps. €

b0 =1

bt+1 = 2bt

Page 5: Announcements - McMaster Universityclemene/1LS3notes/1ls3_week12+.pdf · 1. Graph the updating function and the diagonal. 2. Plot the initial value m 0 on the horizontal axis. From

Cobwebbing

B

BB

T��

T

BT�� BT�BT�����F�B��T

Page 6: Announcements - McMaster Universityclemene/1LS3notes/1ls3_week12+.pdf · 1. Graph the updating function and the diagonal. 2. Plot the initial value m 0 on the horizontal axis. From

Cobwebbing

b0€

(b0,b1)

B

BB

T��

T

BT�� BT�BT�����F�B��T

Page 7: Announcements - McMaster Universityclemene/1LS3notes/1ls3_week12+.pdf · 1. Graph the updating function and the diagonal. 2. Plot the initial value m 0 on the horizontal axis. From

Cobwebbing

b0€

(b0,b1)

(b1,b1)

B

BB

T��

T

BT�� BT�BT�����F�B��T

b1

Page 8: Announcements - McMaster Universityclemene/1LS3notes/1ls3_week12+.pdf · 1. Graph the updating function and the diagonal. 2. Plot the initial value m 0 on the horizontal axis. From

Cobwebbing

b0€

(b0,b1)

(b1,b1)€

(b1,b2)

b1

B

BB

T��

T

BT�� BT�BT�����F�B��T

Page 9: Announcements - McMaster Universityclemene/1LS3notes/1ls3_week12+.pdf · 1. Graph the updating function and the diagonal. 2. Plot the initial value m 0 on the horizontal axis. From

Cobwebbing

b0€

(b0,b1)

(b1,b1)€

(b1,b2)

b1

(b2,b2)

b2

B

BB

T��

T

BT�� BT�BT�����F�B��T

Page 10: Announcements - McMaster Universityclemene/1LS3notes/1ls3_week12+.pdf · 1. Graph the updating function and the diagonal. 2. Plot the initial value m 0 on the horizontal axis. From

Cobwebbing

b0€

(b0,b1)

(b1,b1)€

(b1,b2)

b1

(b2,b2)

b2

(b2,b3)

B

BB

T��

T

BT�� BT�BT�����F�B��T

Page 11: Announcements - McMaster Universityclemene/1LS3notes/1ls3_week12+.pdf · 1. Graph the updating function and the diagonal. 2. Plot the initial value m 0 on the horizontal axis. From

Cobwebbing

b0€

(b0,b1)

(b1,b1)€

(b1,b2)

b1

(b2,b2)

b2

(b2,b3)

(b3,b3)

b3

B

BB

T��

T

BT�� BT�BT�����F�B��T

Page 12: Announcements - McMaster Universityclemene/1LS3notes/1ls3_week12+.pdf · 1. Graph the updating function and the diagonal. 2. Plot the initial value m 0 on the horizontal axis. From

ASolutionFromCobwebbing

b0€

(b0,b1)

(b1,b1)€

(b1,b2)

b1

(b2,b2)

b2

(b2,b3)

(b3,b3)

b3

B

BB

T��

T

BT�� BT�BT�����F�B��T

B

T

T

������������������������������������������������

Page 13: Announcements - McMaster Universityclemene/1LS3notes/1ls3_week12+.pdf · 1. Graph the updating function and the diagonal. 2. Plot the initial value m 0 on the horizontal axis. From

Cobwebbing

Example:ConsidertheDTDSforthemethadoneconcentrationinapatient’sblood:Cobwebfor3stepsstartingfrom(i)  (ii)  (iii) 

M0 =1

Mt+1 =12Mt +1

M0 = 5

M0 = 2

Page 14: Announcements - McMaster Universityclemene/1LS3notes/1ls3_week12+.pdf · 1. Graph the updating function and the diagonal. 2. Plot the initial value m 0 on the horizontal axis. From

Cobwebbing-

-

T��

T

-T�� -T�

- T�����F�-��T

Page 15: Announcements - McMaster Universityclemene/1LS3notes/1ls3_week12+.pdf · 1. Graph the updating function and the diagonal. 2. Plot the initial value m 0 on the horizontal axis. From

Cobwebbing-

-

T��

T

-T�� -T�

- T�����F�-��T

M0

Page 16: Announcements - McMaster Universityclemene/1LS3notes/1ls3_week12+.pdf · 1. Graph the updating function and the diagonal. 2. Plot the initial value m 0 on the horizontal axis. From

Cobwebbing-

-

T��

T

-T�� -T�

- T�����F�-��T

M0

M1

Page 17: Announcements - McMaster Universityclemene/1LS3notes/1ls3_week12+.pdf · 1. Graph the updating function and the diagonal. 2. Plot the initial value m 0 on the horizontal axis. From

Cobwebbing-

-

T��

T

-T�� -T�

- T�����F�-��T

M0

M1

Page 18: Announcements - McMaster Universityclemene/1LS3notes/1ls3_week12+.pdf · 1. Graph the updating function and the diagonal. 2. Plot the initial value m 0 on the horizontal axis. From

Cobwebbing-

-

T��

T

-T�� -T�

- T�����F�-��T

M0

M1

M2

Page 19: Announcements - McMaster Universityclemene/1LS3notes/1ls3_week12+.pdf · 1. Graph the updating function and the diagonal. 2. Plot the initial value m 0 on the horizontal axis. From

Cobwebbing-

-

T��

T

-T�� -T�

- T�����F�-��T

M0

M1

M2

Page 20: Announcements - McMaster Universityclemene/1LS3notes/1ls3_week12+.pdf · 1. Graph the updating function and the diagonal. 2. Plot the initial value m 0 on the horizontal axis. From

Cobwebbing-

-

T��

T

-T�� -T�

- T�����F�-��T

M0

M1

M2

M3

Page 21: Announcements - McMaster Universityclemene/1LS3notes/1ls3_week12+.pdf · 1. Graph the updating function and the diagonal. 2. Plot the initial value m 0 on the horizontal axis. From

Cobwebbing

The image cannot be displayed. Your computer may not have enough memory to open the image, or the image may have been corrupted. Restart your computer, and then open the file again. If the red x still appears, you may have to delete the image and then insert it again.

M0

Page 22: Announcements - McMaster Universityclemene/1LS3notes/1ls3_week12+.pdf · 1. Graph the updating function and the diagonal. 2. Plot the initial value m 0 on the horizontal axis. From

Cobwebbing-

-

T��

T

-T�� -T�

- T�����F�-��T

M0

M1

Page 23: Announcements - McMaster Universityclemene/1LS3notes/1ls3_week12+.pdf · 1. Graph the updating function and the diagonal. 2. Plot the initial value m 0 on the horizontal axis. From

Cobwebbing-

-

T��

T

-T�� -T�

- T�����F�-��T

M0

M1

Page 24: Announcements - McMaster Universityclemene/1LS3notes/1ls3_week12+.pdf · 1. Graph the updating function and the diagonal. 2. Plot the initial value m 0 on the horizontal axis. From

Cobwebbing-

-

T��

T

-T�� -T�

- T�����F�-��T

M0

M1

M2

Page 25: Announcements - McMaster Universityclemene/1LS3notes/1ls3_week12+.pdf · 1. Graph the updating function and the diagonal. 2. Plot the initial value m 0 on the horizontal axis. From

Cobwebbing-

-

T��

T

-T�� -T�

- T�����F�-��T

M0

M1

M2

Page 26: Announcements - McMaster Universityclemene/1LS3notes/1ls3_week12+.pdf · 1. Graph the updating function and the diagonal. 2. Plot the initial value m 0 on the horizontal axis. From

Cobwebbing-

-

T��

T

-T�� -T�

- T�����F�-��T

M0

M1

M2

M3

Page 27: Announcements - McMaster Universityclemene/1LS3notes/1ls3_week12+.pdf · 1. Graph the updating function and the diagonal. 2. Plot the initial value m 0 on the horizontal axis. From

Cobwebbing-

-

T��

T

-T�� -T�

- T�����F�-��T

M0

Page 28: Announcements - McMaster Universityclemene/1LS3notes/1ls3_week12+.pdf · 1. Graph the updating function and the diagonal. 2. Plot the initial value m 0 on the horizontal axis. From

Equilibria

Definition:ApointiscalledanequilibriumoftheDTDSifGeometrically,theequilibriacorrespondtopointswheretheupdatingfunctionintersectsthediagonal.

m*

mt+1 = f (mt )

f (m*) = m* .

Page 29: Announcements - McMaster Universityclemene/1LS3notes/1ls3_week12+.pdf · 1. Graph the updating function and the diagonal. 2. Plot the initial value m 0 on the horizontal axis. From

Equilibria

B

BB

T��

T

BT�� BT�BT�����F�B��T

Page 30: Announcements - McMaster Universityclemene/1LS3notes/1ls3_week12+.pdf · 1. Graph the updating function and the diagonal. 2. Plot the initial value m 0 on the horizontal axis. From

Equilibria

B

BB

T��

T

BT�� BT�BT�����F�B��T

b* = 0

Page 31: Announcements - McMaster Universityclemene/1LS3notes/1ls3_week12+.pdf · 1. Graph the updating function and the diagonal. 2. Plot the initial value m 0 on the horizontal axis. From

Equilibria

-

-

T��

T

-T�� -T�

- T�����F�-��T

Page 32: Announcements - McMaster Universityclemene/1LS3notes/1ls3_week12+.pdf · 1. Graph the updating function and the diagonal. 2. Plot the initial value m 0 on the horizontal axis. From

Equilibria

M* = 2

-

-

T��

T

-T�� -T�

- T�����F�-��T

Page 33: Announcements - McMaster Universityclemene/1LS3notes/1ls3_week12+.pdf · 1. Graph the updating function and the diagonal. 2. Plot the initial value m 0 on the horizontal axis. From

SolvingforEquilibria

Algorithm:1.  Writetheequationfortheequilibrium.2.  Solvefor3.  Thinkabouttheresults.

m*.

Page 34: Announcements - McMaster Universityclemene/1LS3notes/1ls3_week12+.pdf · 1. Graph the updating function and the diagonal. 2. Plot the initial value m 0 on the horizontal axis. From

SolvingforEquilibria

Examples:Findtheequilibria,iftheyexist,foreachofthefollowingsystems.(a) (b)

Mt+1 =12Mt +1

xt+1 =axt1+ xt

Page 35: Announcements - McMaster Universityclemene/1LS3notes/1ls3_week12+.pdf · 1. Graph the updating function and the diagonal. 2. Plot the initial value m 0 on the horizontal axis. From

Cobwebbing

Example:ConsidertheDTDSforapopulationofcodfishwhereisthenumberofcodfishinmillionsandistime.Supposethatinitiallythereare1millioncodfish.Determinetheequilibriaandthebehaviourofthepopulationovertimebycobwebbing.

nt+1 = −0.6nt + 5.3

nt

t

Page 36: Announcements - McMaster Universityclemene/1LS3notes/1ls3_week12+.pdf · 1. Graph the updating function and the diagonal. 2. Plot the initial value m 0 on the horizontal axis. From

Cobwebbing

N

N

T��

T

NT�� NT�

T�F�N���� ���N������T

Page 37: Announcements - McMaster Universityclemene/1LS3notes/1ls3_week12+.pdf · 1. Graph the updating function and the diagonal. 2. Plot the initial value m 0 on the horizontal axis. From

Cobwebbing

N

N

T��

T

NT�� NT�

T�F�N���� ���N������T

n0

Page 38: Announcements - McMaster Universityclemene/1LS3notes/1ls3_week12+.pdf · 1. Graph the updating function and the diagonal. 2. Plot the initial value m 0 on the horizontal axis. From

Cobwebbing

n0

N

N

T��

T

NT�� NT�

T�F�N���� ���N������T

n1

Page 39: Announcements - McMaster Universityclemene/1LS3notes/1ls3_week12+.pdf · 1. Graph the updating function and the diagonal. 2. Plot the initial value m 0 on the horizontal axis. From

Cobwebbing

n0

n1

N

N

T��

T

NT�� NT�

T�F�N���� ���N������T

Page 40: Announcements - McMaster Universityclemene/1LS3notes/1ls3_week12+.pdf · 1. Graph the updating function and the diagonal. 2. Plot the initial value m 0 on the horizontal axis. From

Cobwebbing

n0

n1

N

N

T��

T

NT�� NT�

T�F�N���� ���N������T

n2

Page 41: Announcements - McMaster Universityclemene/1LS3notes/1ls3_week12+.pdf · 1. Graph the updating function and the diagonal. 2. Plot the initial value m 0 on the horizontal axis. From

Cobwebbing

n0

n1

n2

N

N

T��

T

NT�� NT�

T�F�N���� ���N������T

Page 42: Announcements - McMaster Universityclemene/1LS3notes/1ls3_week12+.pdf · 1. Graph the updating function and the diagonal. 2. Plot the initial value m 0 on the horizontal axis. From

Cobwebbing

n0

n1

n2

N

N

T��

T

NT�� NT�

T�F�N���� ���N������T

n3

Page 43: Announcements - McMaster Universityclemene/1LS3notes/1ls3_week12+.pdf · 1. Graph the updating function and the diagonal. 2. Plot the initial value m 0 on the horizontal axis. From

Cobwebbing

n0

n1

n2

n3

N

N

T��

T

NT�� NT�

T�F�N���� ���N������T

Page 44: Announcements - McMaster Universityclemene/1LS3notes/1ls3_week12+.pdf · 1. Graph the updating function and the diagonal. 2. Plot the initial value m 0 on the horizontal axis. From

Cobwebbing

n0

n1

n2

n3

N

N

T��

T

NT�� NT�

T�F�N���� ���N������T

n4

Page 45: Announcements - McMaster Universityclemene/1LS3notes/1ls3_week12+.pdf · 1. Graph the updating function and the diagonal. 2. Plot the initial value m 0 on the horizontal axis. From

ASolutionFromCobwebbing

n0

n1

n2

n3

N

N

T��

T

NT�� NT�

N

T

T

������������������������������������������������������������������������������������

N�������

Solution:

Page 46: Announcements - McMaster Universityclemene/1LS3notes/1ls3_week12+.pdf · 1. Graph the updating function and the diagonal. 2. Plot the initial value m 0 on the horizontal axis. From

StabilityofEquilibria

Anequilibriumisstableifsolutionsthatstartneartheequilibriummoveclosertotheequilibrium.

Anequilibriumisunstableifsolutionsthatstartneartheequilibriummoveawayfromtheequilibrium.

Page 47: Announcements - McMaster Universityclemene/1LS3notes/1ls3_week12+.pdf · 1. Graph the updating function and the diagonal. 2. Plot the initial value m 0 on the horizontal axis. From

MODELLINGWITHDTDSs

BacterialPopulationGrowth:Theparameteriscalledpercapitaproduction.Itrepresentsthenumberofnewbacteriaproducedperbacterium.

bt+1 = rbt

r

Page 48: Announcements - McMaster Universityclemene/1LS3notes/1ls3_week12+.pdf · 1. Graph the updating function and the diagonal. 2. Plot the initial value m 0 on the horizontal axis. From

BacterialPopulationGrowthinGeneral

Solution:Assumption:risconstantReality:rwilldependonthesizeofthepopulation (resourcesarelimited)

smallpopulationslesscompetitionhigherrlargepopulationsmorecompetitionlowerr

bt = b0rt

Page 49: Announcements - McMaster Universityclemene/1LS3notes/1ls3_week12+.pdf · 1. Graph the updating function and the diagonal. 2. Plot the initial value m 0 on the horizontal axis. From

MODELLINGWITHDTDSsModelforLimitedBacterialPopulationGrowth:Replacetheconstantrbyafunctionwhichmatchesnaturalobservations:.

bt+1 = r(bt ) ⋅ bt

r( )

bt

bt

large pop’n

lowrate

small pop’n

highrate

r α 1bt

⇒ r(bt ) = k ⋅ 1bt

Page 50: Announcements - McMaster Universityclemene/1LS3notes/1ls3_week12+.pdf · 1. Graph the updating function and the diagonal. 2. Plot the initial value m 0 on the horizontal axis. From

MODELLINGWITHDTDSs

ModelforLimitedBacterialPopulationGrowth:Example:

r(bt ) =2

1+ 0.001bt

-2000 -1500 -1000 -500 0 500 1000 1500 2000

-16

-8

8

16 €

bt€

r(bt )

Page 51: Announcements - McMaster Universityclemene/1LS3notes/1ls3_week12+.pdf · 1. Graph the updating function and the diagonal. 2. Plot the initial value m 0 on the horizontal axis. From

MODELLINGWITHDTDSs

ModelforLimitedBacterialPopulationGrowth:Example:Determineequilibriaandbehaviourofnearbysolutionsbycobwebbing.

bt+1 =2

1+ 0.001bt

⎝ ⎜

⎠ ⎟ ⋅ bt

0 250 500 750 1000 1250 1500 1750 2000 2250

250

500

750

1000

1250

Page 52: Announcements - McMaster Universityclemene/1LS3notes/1ls3_week12+.pdf · 1. Graph the updating function and the diagonal. 2. Plot the initial value m 0 on the horizontal axis. From

elimination of chemicals

*** filtration by kidneys (kidneys break down constant amount per hour … caffeine) *** breaking down the chemicals using enzymes from the liver (amount of chemical broken down depends on the amount present … alcohol)

Page 53: Announcements - McMaster Universityclemene/1LS3notes/1ls3_week12+.pdf · 1. Graph the updating function and the diagonal. 2. Plot the initial value m 0 on the horizontal axis. From

SubstanceAbsorption(Elimination)andReplacement(Consumption)Models

AbsorptionofCaffeine:Ourbodieseliminatecaffeineataconstantrateof13%perhour.DTDS:*Similarto“methadone”example

ct+1 = 0.87ct + d

amountofcaffeine(mg)1hourlater

amountofcaffeinenow

amountof“new”caffeineconsumedattimet+1

Page 54: Announcements - McMaster Universityclemene/1LS3notes/1ls3_week12+.pdf · 1. Graph the updating function and the diagonal. 2. Plot the initial value m 0 on the horizontal axis. From

SubstanceAbsorption(Elimination)andReplacement(Consumption)Models

EliminationofAlcohol:Theamountofalcoholthatisbrokendownbytheliverdependsontheamountofalcoholpresentinthebody.Thelargertheamount,thesmallertheproportionofalcoholbeingeliminated.*Similartothelimitedgrowthpopulationmodel

r( )

a t

a t

large amount

lowrate

small amount

highrate

Page 55: Announcements - McMaster Universityclemene/1LS3notes/1ls3_week12+.pdf · 1. Graph the updating function and the diagonal. 2. Plot the initial value m 0 on the horizontal axis. From

SubstanceAbsorption(Elimination)andReplacement(Consumption)Models

EliminationofAlcohol:DTDS:€

at+1 = at − r(at )at + d

amountofalcohol(g)1hourlater

amountofalcoholnow

amountof“new”alcoholconsumedattimet+1

rateofelimination

Page 56: Announcements - McMaster Universityclemene/1LS3notes/1ls3_week12+.pdf · 1. Graph the updating function and the diagonal. 2. Plot the initial value m 0 on the horizontal axis. From

SubstanceAbsorption(Elimination)andReplacement(Consumption)Models

EliminationofAlcohol:Example:RateofElimination:DTDS:

r(at ) =10.14.2 + at

at+1 = at −10.14.2 + at

⎝ ⎜

⎠ ⎟ at + d-15 -10 -5 0 5 10 15 20

-5

5

10

at€

r(at )

Page 57: Announcements - McMaster Universityclemene/1LS3notes/1ls3_week12+.pdf · 1. Graph the updating function and the diagonal. 2. Plot the initial value m 0 on the horizontal axis. From

SubstanceAbsorption(Elimination)andReplacement(Consumption)Models

EliminationofAlcohol:Example:RateofElimination:DTDS:

r(at ) =10.14.2 + at

at+1 = at −10.14.2 + at

⎝ ⎜

⎠ ⎟ at + d

at

r(at )

0 8 16 24 32 40 48 56 64 72

1

2

3

4

5

Page 58: Announcements - McMaster Universityclemene/1LS3notes/1ls3_week12+.pdf · 1. Graph the updating function and the diagonal. 2. Plot the initial value m 0 on the horizontal axis. From

definition

one drink = 14 grams of alcohol * 5 ounces of wine, or * 12 ounces of beer, or * 1.5 ounces of 80 proof (vodka, rum, gin, etc.)

Page 59: Announcements - McMaster Universityclemene/1LS3notes/1ls3_week12+.pdf · 1. Graph the updating function and the diagonal. 2. Plot the initial value m 0 on the horizontal axis. From

effects depend on many factors (body mass, constitution, gender, age, etc.)

10 g … slight impairment 40 g … driving while intoxicated (DWI) limit; blunted feelings, disinhibition; impaired reasoning 60 g … emotional swings; staggering, slurred speech, reaction time slows down 100 g … loss of understanding, impaired sensations, memory blackout 150 g … serious breathing problems, irregular heart rate, unconsciousness 200 g … possible coma, death

Page 60: Announcements - McMaster Universityclemene/1LS3notes/1ls3_week12+.pdf · 1. Graph the updating function and the diagonal. 2. Plot the initial value m 0 on the horizontal axis. From

SubstanceAbsorption(Elimination)andReplacement(Consumption)Models

EliminationofAlcohol:Example:Astandarddrinkcontains14gofalcohol.Comparewhathappensovertimeforthefollowingsituations:(a) Youconsumetwodrinksrightawayandcontinuetohavehalfofadrinkeveryhour(b) Youconsumeonedrinkeveryhour

Page 61: Announcements - McMaster Universityclemene/1LS3notes/1ls3_week12+.pdf · 1. Graph the updating function and the diagonal. 2. Plot the initial value m 0 on the horizontal axis. From

SubstanceAbsorption(Elimination)andReplacement(Consumption)Models

EliminationofAlcohol:(a) Youconsumetwodrinksrightawayandcontinuetohavehalfofadrinkeveryhour

0 8 16 24 32 40 48 56 64 72

8

16

24

32

40

f (at ) = at −10.14.2 + at

⎝ ⎜

⎠ ⎟ at + 7, a0 = 28

Page 62: Announcements - McMaster Universityclemene/1LS3notes/1ls3_week12+.pdf · 1. Graph the updating function and the diagonal. 2. Plot the initial value m 0 on the horizontal axis. From

SubstanceAbsorption(Elimination)andReplacement(Consumption)Models

EliminationofAlcohol:(b)Youconsumeonedrinkeveryhour

0 8 16 24 32 40 48 56 64 72

8

16

24

32

40

f (at ) = at −10.14.2 + at

⎝ ⎜

⎠ ⎟ at +14, a0 = 0

Page 63: Announcements - McMaster Universityclemene/1LS3notes/1ls3_week12+.pdf · 1. Graph the updating function and the diagonal. 2. Plot the initial value m 0 on the horizontal axis. From

so … how much alcohol is in the body

** 2 rapid drinks, then 1/2 drink every hour … decreases, stabilizes at 9.5 grams ** one drink every hour … increases, after 5 hours reaches 41 grams. keeps increasing, no limit

Page 64: Announcements - McMaster Universityclemene/1LS3notes/1ls3_week12+.pdf · 1. Graph the updating function and the diagonal. 2. Plot the initial value m 0 on the horizontal axis. From

CheckingStabilityofEquilibria

Todeterminestability,wecanuse:1.  Cobwebbing2.  “GraphicalCriteria”(ifthetheupdating

functionisincreasingattheequilibrium)3.  “SlopeCriteria”i.e.theStabilityTheorem

(providedtheslopeattheequilibriumisn’texactly-1or1)

Page 65: Announcements - McMaster Universityclemene/1LS3notes/1ls3_week12+.pdf · 1. Graph the updating function and the diagonal. 2. Plot the initial value m 0 on the horizontal axis. From

StabilityTheoremforDTDSs

•  Anequilibriumisstableiftheabsolutevalueofthederivativeoftheupdatingfunctionis<1attheequilibrium,i.e.,

Example:

Mt+1 =12Mt +1

-

-

T��

T

-T�� -T�

TF�-�������-����T

f '(m*) <1

Page 66: Announcements - McMaster Universityclemene/1LS3notes/1ls3_week12+.pdf · 1. Graph the updating function and the diagonal. 2. Plot the initial value m 0 on the horizontal axis. From

StabilityTheoremforDTDSs

•  Anequilibriumisstableiftheabsolutevalueofthederivativeoftheupdatingfunctionis<1attheequilibrium,i.e.,

Example:

f '(m*) <1

nt+1 = −0.6nt + 5.3

N

N

T��

T

NT�� NT�

T�F�N���� ���N������T

Page 67: Announcements - McMaster Universityclemene/1LS3notes/1ls3_week12+.pdf · 1. Graph the updating function and the diagonal. 2. Plot the initial value m 0 on the horizontal axis. From

StabilityTheoremforDTDSs

•  Anequilibriumisunstableiftheabsolutevalueofthederivativeoftheupdatingfunctionis>1attheequilibrium,i.e.,

Example:

bt+1 = 2bt

B

BB

T��

T

BT�� BT�

T�F�B�����BT

f '(m*) >1

Page 68: Announcements - McMaster Universityclemene/1LS3notes/1ls3_week12+.pdf · 1. Graph the updating function and the diagonal. 2. Plot the initial value m 0 on the horizontal axis. From

StabilityTheoremforDTDSs

•  Iftheslopeoftheupdatingfunctionisexactly1or-1attheequilibrium,i.e.,

thentheequilibriumcouldbestable,unstable,orhalf-stable.

Example:

f '(m*) =1

Page 69: Announcements - McMaster Universityclemene/1LS3notes/1ls3_week12+.pdf · 1. Graph the updating function and the diagonal. 2. Plot the initial value m 0 on the horizontal axis. From

StabilityTheoremforDTDSs

Example:DTDSforalimitedpopulation

xt+1 =2xt

1+ 0.001xt

Page 70: Announcements - McMaster Universityclemene/1LS3notes/1ls3_week12+.pdf · 1. Graph the updating function and the diagonal. 2. Plot the initial value m 0 on the horizontal axis. From

StabilityTheoremforDTDSs

Example:DTDSforalimitedpopulation

-5000 0 5000 1!104

1.5!104

2!104

2.5!104

3!104

-1!104

-5000

5000

1!104

xt+1 =2xt

1+ 0.001xt

-1000 0 1000 2000 3000 4000 5000 6000 7000 8000

-2000

-1000

1000

2000

ZoomIn

Page 71: Announcements - McMaster Universityclemene/1LS3notes/1ls3_week12+.pdf · 1. Graph the updating function and the diagonal. 2. Plot the initial value m 0 on the horizontal axis. From

StabilityTheoremforDTDSs

Example:logisticdynamicalsystem

xt+1 = rxt (1− xt )

Page 72: Announcements - McMaster Universityclemene/1LS3notes/1ls3_week12+.pdf · 1. Graph the updating function and the diagonal. 2. Plot the initial value m 0 on the horizontal axis. From

StabilityTheoremforDTDSs

Example:logisticdynamicalsystem

xt+1 =1.5xt (1− xt )

xt+1 = 3.5xt (1− xt )

-0.25 0 0.25 0.5 0.75 1 1.25 1.5 1.75 2

-0.25

0.25

0.5

0.75

1

-0.25 0 0.25 0.5 0.75 1 1.25 1.5 1.75 2

-0.25

0.25

0.5

0.75

1

Page 73: Announcements - McMaster Universityclemene/1LS3notes/1ls3_week12+.pdf · 1. Graph the updating function and the diagonal. 2. Plot the initial value m 0 on the horizontal axis. From

GraphicalCriterionforStabilityofEquilibriaforaDTDSwithanIncreasingUpdatingFunction

•  Anequilibriumisstableifthegraphofthe(increasing)updatingfunctioncrossesthediagonalfromabovetobelow.

Example:

-

-

T��

T

-T�� -T�

TF�-�������-����T

Mt+1 =12Mt +1

Page 74: Announcements - McMaster Universityclemene/1LS3notes/1ls3_week12+.pdf · 1. Graph the updating function and the diagonal. 2. Plot the initial value m 0 on the horizontal axis. From

GraphicalCriterionforStabilityofEquilibriaforaDTDSwithanIncreasingUpdatingFunction

•  Anequilibriumisunstableifthegraphofthe(increasing)updatingfunctioncrossesthediagonalfrombelowtoabove.

Example:

B

BB

T��

T

BT�� BT�

T�F�B�����BT

bt+1 = 2bt

Page 75: Announcements - McMaster Universityclemene/1LS3notes/1ls3_week12+.pdf · 1. Graph the updating function and the diagonal. 2. Plot the initial value m 0 on the horizontal axis. From

GraphicalCriterionforStabilityofEquilibriaforaDTDSwithanIncreasingUpdatingFunction

Example:DTDSforalimitedpopulation

-5000 0 5000 1!104

1.5!104

2!104

2.5!104

3!104

-1!104

-5000

5000

1!104

xt+1 =2xt

1+ 0.001xt

-1000 0 1000 2000 3000 4000 5000 6000 7000 8000

-2000

-1000

1000

2000

ZoomIn