70
Announcements Topics: - sections 3.1 + 3.2 (DTDSs), 3.3 (modelling with DTDSs) * 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_lecture12.pdf · 2019. 6. 7. · Announcements Topics: - sections 3.1 + 3.2 (DTDSs), 3.3 (modelling with DTDSs) * Read these

  • Upload
    others

  • View
    1

  • Download
    0

Embed Size (px)

Citation preview

Page 1: Announcements - McMaster Universityclemene/1LS3notes/1ls3_lecture12.pdf · 2019. 6. 7. · Announcements Topics: - sections 3.1 + 3.2 (DTDSs), 3.3 (modelling with DTDSs) * Read these

AnnouncementsTopics:

-  sections3.1+3.2(DTDSs),3.3(modellingwithDTDSs)*Readthesesectionsandstudysolvedexamplesinyourtextbook!

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

Page 2: Announcements - McMaster Universityclemene/1LS3notes/1ls3_lecture12.pdf · 2019. 6. 7. · Announcements Topics: - sections 3.1 + 3.2 (DTDSs), 3.3 (modelling with DTDSs) * Read these

DynamicalSystems

•  Discrete-timedynamicalsystemsdescribeasequenceofmeasurementsmadeatequallyspacedintervals

•  Continuous-timedynamicalsystems,usuallyknownasdifferentialequations,describemeasurementsthatarecollectedcontinuously

Page 3: Announcements - McMaster Universityclemene/1LS3notes/1ls3_lecture12.pdf · 2019. 6. 7. · Announcements Topics: - sections 3.1 + 3.2 (DTDSs), 3.3 (modelling with DTDSs) * Read these

Discrete-TimeDynamicalSystems

Adiscrete-timedynamicalsystemconsistsofaninitialvalueandarulethattransformsthesystemfromthepresentstatetoastateonestepintothefuture.

Page 4: Announcements - McMaster Universityclemene/1LS3notes/1ls3_lecture12.pdf · 2019. 6. 7. · Announcements Topics: - sections 3.1 + 3.2 (DTDSs), 3.3 (modelling with DTDSs) * Read these

Discrete-TimeDynamicalSystemsandUpdatingFunctions

Letrepresentthemeasurementofsomequantity.Therelationbetweentheinitialmeasurementandthefinalmeasurementisgivenbythediscrete-timedynamicalsystemTheupdatingfunctionacceptstheinitialvalueasinputandreturnsthefinalvalueasoutput.Note:representspresenttimeandrepresentsonetime-stepintothefuture

mt+1 = f (mt )€

mt

mt+1

m

f

mt

mt+1

t

t +1

Page 5: Announcements - McMaster Universityclemene/1LS3notes/1ls3_lecture12.pdf · 2019. 6. 7. · Announcements Topics: - sections 3.1 + 3.2 (DTDSs), 3.3 (modelling with DTDSs) * Read these

Solutions

Definition:Thesequenceofvaluesoffor0,1,2,…isthesolutionofthediscrete-timedynamicalsystemstartingfromtheinitialconditionThegraphofasolutionisadiscretesetofpointswiththetimeonthehorizontalaxisandthemeasurementontheverticalaxis.

mt

t =

mt+1 = f (mt )

m0.

t

mt

Page 6: Announcements - McMaster Universityclemene/1LS3notes/1ls3_lecture12.pdf · 2019. 6. 7. · Announcements Topics: - sections 3.1 + 3.2 (DTDSs), 3.3 (modelling with DTDSs) * Read these

Example:ADiscrete-TimeDynamicalSystemfor

aBacterialPopulation

Colony InitialPopulationbt(millions)

FinalPopulationbt+1(millions)

1 0.47 0.94

2 3.30 6.60

3 0.73 1.46

4 2.80 5.60

5 1.50 3.00

6 0.62 1.24

Data:

Page 7: Announcements - McMaster Universityclemene/1LS3notes/1ls3_lecture12.pdf · 2019. 6. 7. · Announcements Topics: - sections 3.1 + 3.2 (DTDSs), 3.3 (modelling with DTDSs) * Read these

Example:ADiscrete-TimeDynamicalSystemfor

aTreeGrowth

Tree InitialHeight,ht(m)

FinalHeight,ht+1(m)

1 23.1 23.9

2 18.7 19.5

3 20.6 21.4

4 16.0 16.8

5 32.5 33.3

6 19.8 20.6

Data:

Page 8: Announcements - McMaster Universityclemene/1LS3notes/1ls3_lecture12.pdf · 2019. 6. 7. · Announcements Topics: - sections 3.1 + 3.2 (DTDSs), 3.3 (modelling with DTDSs) * Read these

Example:ADiscrete-TimeDynamicalSystemfor

AbsorptionofPainMedicationApatientisonmethadone,amedicationusedtorelievechronic,severepain(forinstance,aftercertaintypesofsurgery).Itisknownthateveryday,thepatient’sbodyabsorbshalfofthemethadone.Inordertomaintainanappropriatelevelofthedrug,anewdosagecontaining1unitofmethadoneisadministeredattheendofeachday.

Page 9: Announcements - McMaster Universityclemene/1LS3notes/1ls3_lecture12.pdf · 2019. 6. 7. · Announcements Topics: - sections 3.1 + 3.2 (DTDSs), 3.3 (modelling with DTDSs) * Read these

BasicSolutions

BasicExponentialDiscrete-timeDynamicalSystemIfwithinitialcondition,thenBasicAdditiveDiscrete-timeDynamicalSystemIfwithinitialcondition,then

bt+1 = rbt

b0

bt = b0rt .

ht+1 = ht + a

h0

ht = h0 + at.

Page 10: Announcements - McMaster Universityclemene/1LS3notes/1ls3_lecture12.pdf · 2019. 6. 7. · Announcements Topics: - sections 3.1 + 3.2 (DTDSs), 3.3 (modelling with DTDSs) * Read these

CobwebbingCobwebbingisagraphicaltechniqueusedtodeterminethebehaviourofsolutionstoaDTDSwithoutcalculations.Thistechniqueallowsustosketchthegraphofthesolution(asetofdiscretepoints)directlyfromthegraphoftheupdatingfunction.

Page 11: Announcements - McMaster Universityclemene/1LS3notes/1ls3_lecture12.pdf · 2019. 6. 7. · Announcements Topics: - sections 3.1 + 3.2 (DTDSs), 3.3 (modelling with DTDSs) * Read these

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 12: Announcements - McMaster Universityclemene/1LS3notes/1ls3_lecture12.pdf · 2019. 6. 7. · Announcements Topics: - sections 3.1 + 3.2 (DTDSs), 3.3 (modelling with DTDSs) * Read these

Cobwebbing

Example:Startingwiththeinitialcondition,sketchthegraphofthesolutiontothesystembycobwebbing3steps. €

b0 =1

bt+1 = 2bt

Page 13: Announcements - McMaster Universityclemene/1LS3notes/1ls3_lecture12.pdf · 2019. 6. 7. · Announcements Topics: - sections 3.1 + 3.2 (DTDSs), 3.3 (modelling with DTDSs) * Read these

Cobwebbing

B

BB

T��

T

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

Page 14: Announcements - McMaster Universityclemene/1LS3notes/1ls3_lecture12.pdf · 2019. 6. 7. · Announcements Topics: - sections 3.1 + 3.2 (DTDSs), 3.3 (modelling with DTDSs) * Read these

Cobwebbing

b0€

(b0,b1)

B

BB

T��

T

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

Page 15: Announcements - McMaster Universityclemene/1LS3notes/1ls3_lecture12.pdf · 2019. 6. 7. · Announcements Topics: - sections 3.1 + 3.2 (DTDSs), 3.3 (modelling with DTDSs) * Read these

Cobwebbing

b0€

(b0,b1)

(b1,b1)

B

BB

T��

T

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

b1

Page 16: Announcements - McMaster Universityclemene/1LS3notes/1ls3_lecture12.pdf · 2019. 6. 7. · Announcements Topics: - sections 3.1 + 3.2 (DTDSs), 3.3 (modelling with DTDSs) * Read these

Cobwebbing

b0€

(b0,b1)

(b1,b1)€

(b1,b2)

b1

B

BB

T��

T

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

Page 17: Announcements - McMaster Universityclemene/1LS3notes/1ls3_lecture12.pdf · 2019. 6. 7. · Announcements Topics: - sections 3.1 + 3.2 (DTDSs), 3.3 (modelling with DTDSs) * Read these

Cobwebbing

b0€

(b0,b1)

(b1,b1)€

(b1,b2)

b1

(b2,b2)

b2

B

BB

T��

T

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

Page 18: Announcements - McMaster Universityclemene/1LS3notes/1ls3_lecture12.pdf · 2019. 6. 7. · Announcements Topics: - sections 3.1 + 3.2 (DTDSs), 3.3 (modelling with DTDSs) * Read these

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 19: Announcements - McMaster Universityclemene/1LS3notes/1ls3_lecture12.pdf · 2019. 6. 7. · Announcements Topics: - sections 3.1 + 3.2 (DTDSs), 3.3 (modelling with DTDSs) * Read these

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 20: Announcements - McMaster Universityclemene/1LS3notes/1ls3_lecture12.pdf · 2019. 6. 7. · Announcements Topics: - sections 3.1 + 3.2 (DTDSs), 3.3 (modelling with DTDSs) * Read these

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 21: Announcements - McMaster Universityclemene/1LS3notes/1ls3_lecture12.pdf · 2019. 6. 7. · Announcements Topics: - sections 3.1 + 3.2 (DTDSs), 3.3 (modelling with DTDSs) * Read these

Cobwebbing

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

M0 =1

Mt+1 =12Mt +1

M0 = 5

M0 = 2

Page 22: Announcements - McMaster Universityclemene/1LS3notes/1ls3_lecture12.pdf · 2019. 6. 7. · Announcements Topics: - sections 3.1 + 3.2 (DTDSs), 3.3 (modelling with DTDSs) * Read these

Cobwebbing-

-

T��

T

-T�� -T�

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

Page 23: Announcements - McMaster Universityclemene/1LS3notes/1ls3_lecture12.pdf · 2019. 6. 7. · Announcements Topics: - sections 3.1 + 3.2 (DTDSs), 3.3 (modelling with DTDSs) * Read these

Cobwebbing-

-

T��

T

-T�� -T�

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

M0

Page 24: Announcements - McMaster Universityclemene/1LS3notes/1ls3_lecture12.pdf · 2019. 6. 7. · Announcements Topics: - sections 3.1 + 3.2 (DTDSs), 3.3 (modelling with DTDSs) * Read these

Cobwebbing-

-

T��

T

-T�� -T�

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

M0

M1

Page 25: Announcements - McMaster Universityclemene/1LS3notes/1ls3_lecture12.pdf · 2019. 6. 7. · Announcements Topics: - sections 3.1 + 3.2 (DTDSs), 3.3 (modelling with DTDSs) * Read these

Cobwebbing-

-

T��

T

-T�� -T�

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

M0

M1

Page 26: Announcements - McMaster Universityclemene/1LS3notes/1ls3_lecture12.pdf · 2019. 6. 7. · Announcements Topics: - sections 3.1 + 3.2 (DTDSs), 3.3 (modelling with DTDSs) * Read these

Cobwebbing-

-

T��

T

-T�� -T�

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

M0

M1

M2

Page 27: Announcements - McMaster Universityclemene/1LS3notes/1ls3_lecture12.pdf · 2019. 6. 7. · Announcements Topics: - sections 3.1 + 3.2 (DTDSs), 3.3 (modelling with DTDSs) * Read these

Cobwebbing-

-

T��

T

-T�� -T�

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

M0

M1

M2

Page 28: Announcements - McMaster Universityclemene/1LS3notes/1ls3_lecture12.pdf · 2019. 6. 7. · Announcements Topics: - sections 3.1 + 3.2 (DTDSs), 3.3 (modelling with DTDSs) * Read these

Cobwebbing-

-

T��

T

-T�� -T�

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

M0

M1

M2

M3

Page 29: Announcements - McMaster Universityclemene/1LS3notes/1ls3_lecture12.pdf · 2019. 6. 7. · Announcements Topics: - sections 3.1 + 3.2 (DTDSs), 3.3 (modelling with DTDSs) * Read these

Cobwebbing-

-

T��

T

-T�� -T�

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

M0

Page 30: Announcements - McMaster Universityclemene/1LS3notes/1ls3_lecture12.pdf · 2019. 6. 7. · Announcements Topics: - sections 3.1 + 3.2 (DTDSs), 3.3 (modelling with DTDSs) * Read these

Cobwebbing-

-

T��

T

-T�� -T�

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

M0

M1

Page 31: Announcements - McMaster Universityclemene/1LS3notes/1ls3_lecture12.pdf · 2019. 6. 7. · Announcements Topics: - sections 3.1 + 3.2 (DTDSs), 3.3 (modelling with DTDSs) * Read these

Cobwebbing-

-

T��

T

-T�� -T�

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

M0

M1

Page 32: Announcements - McMaster Universityclemene/1LS3notes/1ls3_lecture12.pdf · 2019. 6. 7. · Announcements Topics: - sections 3.1 + 3.2 (DTDSs), 3.3 (modelling with DTDSs) * Read these

Cobwebbing-

-

T��

T

-T�� -T�

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

M0

M1

M2

Page 33: Announcements - McMaster Universityclemene/1LS3notes/1ls3_lecture12.pdf · 2019. 6. 7. · Announcements Topics: - sections 3.1 + 3.2 (DTDSs), 3.3 (modelling with DTDSs) * Read these

Cobwebbing-

-

T��

T

-T�� -T�

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

M0

M1

M2

Page 34: Announcements - McMaster Universityclemene/1LS3notes/1ls3_lecture12.pdf · 2019. 6. 7. · Announcements Topics: - sections 3.1 + 3.2 (DTDSs), 3.3 (modelling with DTDSs) * Read these

Cobwebbing-

-

T��

T

-T�� -T�

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

M0

M1

M2

M3

Page 35: Announcements - McMaster Universityclemene/1LS3notes/1ls3_lecture12.pdf · 2019. 6. 7. · Announcements Topics: - sections 3.1 + 3.2 (DTDSs), 3.3 (modelling with DTDSs) * Read these

Cobwebbing-

-

T��

T

-T�� -T�

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

M0

Page 36: Announcements - McMaster Universityclemene/1LS3notes/1ls3_lecture12.pdf · 2019. 6. 7. · Announcements Topics: - sections 3.1 + 3.2 (DTDSs), 3.3 (modelling with DTDSs) * Read these

Equilibria

Definition:ApointiscalledanequilibriumoftheDTDSifGeometrically,theequilibriacorrespondtopointswheretheupdatingfunctionintersectsthediagonal.

m*

mt+1 = f (mt )

f (m*) = m* .

Page 37: Announcements - McMaster Universityclemene/1LS3notes/1ls3_lecture12.pdf · 2019. 6. 7. · Announcements Topics: - sections 3.1 + 3.2 (DTDSs), 3.3 (modelling with DTDSs) * Read these

Equilibria

B

BB

T��

T

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

Page 38: Announcements - McMaster Universityclemene/1LS3notes/1ls3_lecture12.pdf · 2019. 6. 7. · Announcements Topics: - sections 3.1 + 3.2 (DTDSs), 3.3 (modelling with DTDSs) * Read these

Equilibria

B

BB

T��

T

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

b* = 0

Page 39: Announcements - McMaster Universityclemene/1LS3notes/1ls3_lecture12.pdf · 2019. 6. 7. · Announcements Topics: - sections 3.1 + 3.2 (DTDSs), 3.3 (modelling with DTDSs) * Read these

Equilibria

-

-

T��

T

-T�� -T�

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

Page 40: Announcements - McMaster Universityclemene/1LS3notes/1ls3_lecture12.pdf · 2019. 6. 7. · Announcements Topics: - sections 3.1 + 3.2 (DTDSs), 3.3 (modelling with DTDSs) * Read these

Equilibria

M* = 2

-

-

T��

T

-T�� -T�

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

Page 41: Announcements - McMaster Universityclemene/1LS3notes/1ls3_lecture12.pdf · 2019. 6. 7. · Announcements Topics: - sections 3.1 + 3.2 (DTDSs), 3.3 (modelling with DTDSs) * Read these

SolvingforEquilibria

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

m*.

Page 42: Announcements - McMaster Universityclemene/1LS3notes/1ls3_lecture12.pdf · 2019. 6. 7. · Announcements Topics: - sections 3.1 + 3.2 (DTDSs), 3.3 (modelling with DTDSs) * Read these

SolvingforEquilibria

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

Mt+1 =12Mt +1

xt+1 =axt1+ xt

Page 43: Announcements - McMaster Universityclemene/1LS3notes/1ls3_lecture12.pdf · 2019. 6. 7. · Announcements Topics: - sections 3.1 + 3.2 (DTDSs), 3.3 (modelling with DTDSs) * Read these

Cobwebbing

Example:ConsidertheDTDSforapopulationofcodfishwhereisthenumberofcodfishinmillionsandistime.Supposethatinitiallythereare1millioncodfish.Determinetheequilibriaandthebehaviourofthepopulationovertimebycobwebbing.

nt+1 = −0.6nt + 5.3

nt

t

Page 44: Announcements - McMaster Universityclemene/1LS3notes/1ls3_lecture12.pdf · 2019. 6. 7. · Announcements Topics: - sections 3.1 + 3.2 (DTDSs), 3.3 (modelling with DTDSs) * Read these

Cobwebbing

N

N

T��

T

NT�� NT�

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

Page 45: Announcements - McMaster Universityclemene/1LS3notes/1ls3_lecture12.pdf · 2019. 6. 7. · Announcements Topics: - sections 3.1 + 3.2 (DTDSs), 3.3 (modelling with DTDSs) * Read these

Cobwebbing

N

N

T��

T

NT�� NT�

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

n0

Page 46: Announcements - McMaster Universityclemene/1LS3notes/1ls3_lecture12.pdf · 2019. 6. 7. · Announcements Topics: - sections 3.1 + 3.2 (DTDSs), 3.3 (modelling with DTDSs) * Read these

Cobwebbing

n0

N

N

T��

T

NT�� NT�

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

n1

Page 47: Announcements - McMaster Universityclemene/1LS3notes/1ls3_lecture12.pdf · 2019. 6. 7. · Announcements Topics: - sections 3.1 + 3.2 (DTDSs), 3.3 (modelling with DTDSs) * Read these

Cobwebbing

n0

n1

N

N

T��

T

NT�� NT�

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

Page 48: Announcements - McMaster Universityclemene/1LS3notes/1ls3_lecture12.pdf · 2019. 6. 7. · Announcements Topics: - sections 3.1 + 3.2 (DTDSs), 3.3 (modelling with DTDSs) * Read these

Cobwebbing

n0

n1

N

N

T��

T

NT�� NT�

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

n2

Page 49: Announcements - McMaster Universityclemene/1LS3notes/1ls3_lecture12.pdf · 2019. 6. 7. · Announcements Topics: - sections 3.1 + 3.2 (DTDSs), 3.3 (modelling with DTDSs) * Read these

Cobwebbing

n0

n1

n2

N

N

T��

T

NT�� NT�

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

Page 50: Announcements - McMaster Universityclemene/1LS3notes/1ls3_lecture12.pdf · 2019. 6. 7. · Announcements Topics: - sections 3.1 + 3.2 (DTDSs), 3.3 (modelling with DTDSs) * Read these

Cobwebbing

n0

n1

n2

N

N

T��

T

NT�� NT�

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

n3

Page 51: Announcements - McMaster Universityclemene/1LS3notes/1ls3_lecture12.pdf · 2019. 6. 7. · Announcements Topics: - sections 3.1 + 3.2 (DTDSs), 3.3 (modelling with DTDSs) * Read these

Cobwebbing

n0

n1

n2

n3

N

N

T��

T

NT�� NT�

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

Page 52: Announcements - McMaster Universityclemene/1LS3notes/1ls3_lecture12.pdf · 2019. 6. 7. · Announcements Topics: - sections 3.1 + 3.2 (DTDSs), 3.3 (modelling with DTDSs) * Read these

Cobwebbing

n0

n1

n2

n3

N

N

T��

T

NT�� NT�

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

n4

Page 53: Announcements - McMaster Universityclemene/1LS3notes/1ls3_lecture12.pdf · 2019. 6. 7. · Announcements Topics: - sections 3.1 + 3.2 (DTDSs), 3.3 (modelling with DTDSs) * Read these

ASolutionFromCobwebbing

n0

n1

n2

n3

N

N

T��

T

NT�� NT�

N

T

T

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

N�������

Solution:

Page 54: Announcements - McMaster Universityclemene/1LS3notes/1ls3_lecture12.pdf · 2019. 6. 7. · Announcements Topics: - sections 3.1 + 3.2 (DTDSs), 3.3 (modelling with DTDSs) * Read these

StabilityofEquilibria

Anequilibriumisstableifsolutionsthatstartneartheequilibriummoveclosertotheequilibrium.

Anequilibriumisunstableifsolutionsthatstartneartheequilibriummoveawayfromtheequilibrium.

Page 55: Announcements - McMaster Universityclemene/1LS3notes/1ls3_lecture12.pdf · 2019. 6. 7. · Announcements Topics: - sections 3.1 + 3.2 (DTDSs), 3.3 (modelling with DTDSs) * Read these

MODELLINGWITHDTDSs

BacterialPopulationGrowth:Theparameteriscalledpercapitaproduction.Itrepresentsthenumberofnewbacteriaproducedperbacterium.

bt+1 = rbt

r

Page 56: Announcements - McMaster Universityclemene/1LS3notes/1ls3_lecture12.pdf · 2019. 6. 7. · Announcements Topics: - sections 3.1 + 3.2 (DTDSs), 3.3 (modelling with DTDSs) * Read these

BacterialPopulationGrowthinGeneral

Solution:Assumption:risconstantReality:rmaydependonthesizeofthepopulation (resourcesarelimited)

smallpopulationslesscompetitionhigherrlargepopulationsmorecompetitionlowerr

bt = b0rt

Page 57: Announcements - McMaster Universityclemene/1LS3notes/1ls3_lecture12.pdf · 2019. 6. 7. · Announcements Topics: - sections 3.1 + 3.2 (DTDSs), 3.3 (modelling with DTDSs) * Read these

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 58: Announcements - McMaster Universityclemene/1LS3notes/1ls3_lecture12.pdf · 2019. 6. 7. · Announcements Topics: - sections 3.1 + 3.2 (DTDSs), 3.3 (modelling with DTDSs) * Read these

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 59: Announcements - McMaster Universityclemene/1LS3notes/1ls3_lecture12.pdf · 2019. 6. 7. · Announcements Topics: - sections 3.1 + 3.2 (DTDSs), 3.3 (modelling with DTDSs) * Read these

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 60: Announcements - McMaster Universityclemene/1LS3notes/1ls3_lecture12.pdf · 2019. 6. 7. · Announcements Topics: - sections 3.1 + 3.2 (DTDSs), 3.3 (modelling with DTDSs) * Read these

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 61: Announcements - McMaster Universityclemene/1LS3notes/1ls3_lecture12.pdf · 2019. 6. 7. · Announcements Topics: - sections 3.1 + 3.2 (DTDSs), 3.3 (modelling with DTDSs) * Read these

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 62: Announcements - McMaster Universityclemene/1LS3notes/1ls3_lecture12.pdf · 2019. 6. 7. · Announcements Topics: - sections 3.1 + 3.2 (DTDSs), 3.3 (modelling with DTDSs) * Read these

SubstanceAbsorption(Elimination)andReplacement(Consumption)Models

EliminationofAlcohol:Theamountofalcoholthatisbrokendownbytheliverdependsontheamountofalcoholpresentinthebody.Thelargertheamount,thesmallertheproportionofalcoholbeingeliminated.*Similartothelimitedgrowthpopulationmodel

r( )

a t

a t

large amount

lowrate

small amount

highrate

Page 63: Announcements - McMaster Universityclemene/1LS3notes/1ls3_lecture12.pdf · 2019. 6. 7. · Announcements Topics: - sections 3.1 + 3.2 (DTDSs), 3.3 (modelling with DTDSs) * Read these

SubstanceAbsorption(Elimination)andReplacement(Consumption)Models

EliminationofAlcohol:DTDS:€

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

amountofalcohol(g)1hourlater

amountofalcoholnow

amountof“new”alcoholconsumedattimet+1

rateofelimination

Page 64: Announcements - McMaster Universityclemene/1LS3notes/1ls3_lecture12.pdf · 2019. 6. 7. · Announcements Topics: - sections 3.1 + 3.2 (DTDSs), 3.3 (modelling with DTDSs) * Read these

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 65: Announcements - McMaster Universityclemene/1LS3notes/1ls3_lecture12.pdf · 2019. 6. 7. · Announcements Topics: - sections 3.1 + 3.2 (DTDSs), 3.3 (modelling with DTDSs) * Read these

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 66: Announcements - McMaster Universityclemene/1LS3notes/1ls3_lecture12.pdf · 2019. 6. 7. · Announcements Topics: - sections 3.1 + 3.2 (DTDSs), 3.3 (modelling with DTDSs) * Read these

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 67: Announcements - McMaster Universityclemene/1LS3notes/1ls3_lecture12.pdf · 2019. 6. 7. · Announcements Topics: - sections 3.1 + 3.2 (DTDSs), 3.3 (modelling with DTDSs) * Read these

SubstanceAbsorption(Elimination)andReplacement(Consumption)Models

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

Page 68: Announcements - McMaster Universityclemene/1LS3notes/1ls3_lecture12.pdf · 2019. 6. 7. · Announcements Topics: - sections 3.1 + 3.2 (DTDSs), 3.3 (modelling with DTDSs) * Read these

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 69: Announcements - McMaster Universityclemene/1LS3notes/1ls3_lecture12.pdf · 2019. 6. 7. · Announcements Topics: - sections 3.1 + 3.2 (DTDSs), 3.3 (modelling with DTDSs) * Read these

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 70: Announcements - McMaster Universityclemene/1LS3notes/1ls3_lecture12.pdf · 2019. 6. 7. · Announcements Topics: - sections 3.1 + 3.2 (DTDSs), 3.3 (modelling with DTDSs) * Read these

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