64
Motivation Master Equation Law of mass action Steady vs absorbing states Analytical methods: Characteristic function Introduction to stochastic modelling in Mathematical Biology Tom´ asAlarc´on Computational & Mathematical Biology Group Centre de Recerca Matem` atica T. Alarc´ on (CRM, Barcelona, Spain) Lecture 1 Biomat 2013, Granada, June 2013 1 / 28

Introduction to stochastic modelling in Mathematical Biologykinetic/biomat13/IMG/courses/alarcon/alarc… · Speci c to mathematical biology 1 L.J.S. Allen. An introduction to stochastic

  • Upload
    others

  • View
    0

  • Download
    0

Embed Size (px)

Citation preview

Page 1: Introduction to stochastic modelling in Mathematical Biologykinetic/biomat13/IMG/courses/alarcon/alarc… · Speci c to mathematical biology 1 L.J.S. Allen. An introduction to stochastic

Motivation Master Equation Law of mass action Steady vs absorbing states Analytical methods: Characteristic function

Introduction to stochastic modelling in Mathematical Biology

Tomas Alarcon

Computational & Mathematical Biology GroupCentre de Recerca Matematica

T. Alarcon (CRM, Barcelona, Spain) Lecture 1 Biomat 2013, Granada, June 2013 1 / 28

Page 2: Introduction to stochastic modelling in Mathematical Biologykinetic/biomat13/IMG/courses/alarcon/alarc… · Speci c to mathematical biology 1 L.J.S. Allen. An introduction to stochastic

Motivation Master Equation Law of mass action Steady vs absorbing states Analytical methods: Characteristic function

Outline

Motivation

Master Equation

Law of mass action

Steady vs absorbing states

Analytical methods: Characteristic function

T. Alarcon (CRM, Barcelona, Spain) Lecture 1 Biomat 2013, Granada, June 2013 2 / 28

Page 3: Introduction to stochastic modelling in Mathematical Biologykinetic/biomat13/IMG/courses/alarcon/alarc… · Speci c to mathematical biology 1 L.J.S. Allen. An introduction to stochastic

Motivation Master Equation Law of mass action Steady vs absorbing states Analytical methods: Characteristic function

General bibliography

General references on stochastic processes

1 N. Van Kampen. Stochastic processes in physics and chemistry. Elsevier (2007)

2 C.W. Gardiner. Stochastic methods. Springer-Verlag (2009)

Specific to mathematical biology

1 L.J.S. Allen. An introduction to stochastic processes with applications to biology.CRC Press. (2003)

References to specialised literature relevant to specific issues will be given as we go

T. Alarcon (CRM, Barcelona, Spain) Lecture 1 Biomat 2013, Granada, June 2013 3 / 28

Page 4: Introduction to stochastic modelling in Mathematical Biologykinetic/biomat13/IMG/courses/alarcon/alarc… · Speci c to mathematical biology 1 L.J.S. Allen. An introduction to stochastic

Motivation Master Equation Law of mass action Steady vs absorbing states Analytical methods: Characteristic function

Outline

Motivation

Master Equation

Law of mass action

Steady vs absorbing states

Analytical methods: Characteristic function

T. Alarcon (CRM, Barcelona, Spain) Lecture 1 Biomat 2013, Granada, June 2013 4 / 28

Page 5: Introduction to stochastic modelling in Mathematical Biologykinetic/biomat13/IMG/courses/alarcon/alarc… · Speci c to mathematical biology 1 L.J.S. Allen. An introduction to stochastic

Motivation Master Equation Law of mass action Steady vs absorbing states Analytical methods: Characteristic function

Motivation

There exists the general idea that randomness and noise simply add an unsystematicperturbation to a well-defined average behaviour

I will present several examples of systems in which noise contributes to thebehaviour of the system in a non-trivial manner and it is fundamental tounderstanding the system

From these examples I will extract rules of thumb for ascertaining when randomnessplays a fundamental roles

T. Alarcon (CRM, Barcelona, Spain) Lecture 1 Biomat 2013, Granada, June 2013 5 / 28

Page 6: Introduction to stochastic modelling in Mathematical Biologykinetic/biomat13/IMG/courses/alarcon/alarc… · Speci c to mathematical biology 1 L.J.S. Allen. An introduction to stochastic

Motivation Master Equation Law of mass action Steady vs absorbing states Analytical methods: Characteristic function

Large fluctuations in bistable systems

Mean-field model of the G1/S transition modela

aTyson & Novak. JTB. 210, 249-263 (2001)

dy

dt= k1 − (k ′2 + k ′′2 x)y

dx

dt=

k ′3(1− x)

J3 + (1− x)− k4myx

J4 + x

0 0.1 0.2 0.3 0.4 0.5 0.6 0.7 0.8 0.9 1

10−2

10−1

100

101

CycB

Cdh1

T. Alarcon (CRM, Barcelona, Spain) Lecture 1 Biomat 2013, Granada, June 2013 6 / 28

Page 7: Introduction to stochastic modelling in Mathematical Biologykinetic/biomat13/IMG/courses/alarcon/alarc… · Speci c to mathematical biology 1 L.J.S. Allen. An introduction to stochastic

Motivation Master Equation Law of mass action Steady vs absorbing states Analytical methods: Characteristic function

Finite-size Tyson-Novak system

Separatrix turns into a barrier

0 0.1 0.2 0.3 0.4 0.5 0.6 0.7 0.8 0.90

0.1

0.2

0.3

0.4

0.5

0.6

0.7

0.8

0.9

1

CycB

Cdh1

0 0.1 0.2 0.3 0.4 0.5 0.6 0.70

0.1

0.2

0.3

0.4

0.5

0.6

0.7

0.8

0.9

1

CycB

Cdh1

T. Alarcon (CRM, Barcelona, Spain) Lecture 1 Biomat 2013, Granada, June 2013 7 / 28

Page 8: Introduction to stochastic modelling in Mathematical Biologykinetic/biomat13/IMG/courses/alarcon/alarc… · Speci c to mathematical biology 1 L.J.S. Allen. An introduction to stochastic

Motivation Master Equation Law of mass action Steady vs absorbing states Analytical methods: Characteristic function

The Moran process

The Moran process, named after the australian statistician Pat Moran, is a widely-usedvariant of the Wright-Fisher model and is commonly used in population genetics

Moran process

N individuals of two types. N is keptfixed.

n: number of normal individuals. m:number of mutant individuals.N = n + m

At each time step:1 n→ n + 1 and m→ m − 1 with

probability rate W+(n) = nN

(1− n

N

)2 n→ n − 1 and m→ m + 1 with

probability rate W−(n) =(1− n

N

)nN

T. Alarcon (CRM, Barcelona, Spain) Lecture 1 Biomat 2013, Granada, June 2013 8 / 28

Page 9: Introduction to stochastic modelling in Mathematical Biologykinetic/biomat13/IMG/courses/alarcon/alarc… · Speci c to mathematical biology 1 L.J.S. Allen. An introduction to stochastic

Motivation Master Equation Law of mass action Steady vs absorbing states Analytical methods: Characteristic function

The Moran process

Simulation results

0 10 20 30 40 50 60 70 80 90 1000

5

10

15

20

25

30

35

40

45

50

Time

n

Note that W+(n) = W−(n), i.e.〈∆n〉 = 〈(n(t + ∆t)− n(t))〉 = 0

This implies that:

d〈n〉dt

= 0 (1)

The system has two absorving states:W+(n = 0) = W−(n = 0) = 0 andW+(n = N) = W−(n = N) = 0

This means that

limt→∞

P(n(t) = 0 ∪ n(t) = N) = 1 (2)

This behaviour is not at all captured bythe deterministic equation (1) whichpredicts that the population will stayconstant

T. Alarcon (CRM, Barcelona, Spain) Lecture 1 Biomat 2013, Granada, June 2013 9 / 28

Page 10: Introduction to stochastic modelling in Mathematical Biologykinetic/biomat13/IMG/courses/alarcon/alarc… · Speci c to mathematical biology 1 L.J.S. Allen. An introduction to stochastic

Motivation Master Equation Law of mass action Steady vs absorbing states Analytical methods: Characteristic function

Stochastic logistic growth

The logistic equation,

dm

dt= m

(1− m

K

), (3)

has two steady states: m = 0 unstable and m = K stable, i.e. regardless of the valueof K and for any initial condition such that m(t = 0) > 0, m(t) will asymptoticallyapproach K .

Consider now a continuous-time Markov process nt whose dynamics are given by thefollowing transition rate:

1 n→ n + 1 with probability rate W+(n) = n

2 n→ n − 1 with probability rate W−(n) = n(n−1)K

This stochastic process has a unique absorbing state: n = 0, and therefore weexpect the stochastic dynamics to show strong discrepancies with Eq. (8) whenrandomness is dominant

T. Alarcon (CRM, Barcelona, Spain) Lecture 1 Biomat 2013, Granada, June 2013 10 / 28

Page 11: Introduction to stochastic modelling in Mathematical Biologykinetic/biomat13/IMG/courses/alarcon/alarc… · Speci c to mathematical biology 1 L.J.S. Allen. An introduction to stochastic

Motivation Master Equation Law of mass action Steady vs absorbing states Analytical methods: Characteristic function

Stochastic logistic growth

Simulation results

0 10 20 30 40 50 60 70 80 90 1000

0.2

0.4

0.6

0.8

1

1.2

1.4

1.6

1.8

2

Time

n/K

Red line K = 10, green K = 50, blueK = 100, black K = 1000

For small K fluctuations dominate thebehaviour of the system. Extinctionsare common for small K , incontradiction to the behaviourpredicted by the logistic equation Eq.(8), and become rarer as K is allowedto increase.

T. Alarcon (CRM, Barcelona, Spain) Lecture 1 Biomat 2013, Granada, June 2013 11 / 28

Page 12: Introduction to stochastic modelling in Mathematical Biologykinetic/biomat13/IMG/courses/alarcon/alarc… · Speci c to mathematical biology 1 L.J.S. Allen. An introduction to stochastic

Motivation Master Equation Law of mass action Steady vs absorbing states Analytical methods: Characteristic function

Summary

We have seen two examples in which two different mathematical descriptions of thesame physical/biological process give different answers as to what is their behaviour

We have seen a model (the Moran model) where the deterministic descriptionpredicts the population to stay constant. To the contrary, the stochastic descriptionpredicts that the population never stays constant: Eventually, the system evolves ton = 0 or n = N

Another model (logistic growth) presents the same dilemma: Its deterministicdescription preditcs that n = 0 is always unstable, whereas the stochasticformulation shows that very often the system evolves to n = 0

The question naturally arises: How is this possible? How come two mathematicaldescriptions of the same phenomenon offers so different answers?

T. Alarcon (CRM, Barcelona, Spain) Lecture 1 Biomat 2013, Granada, June 2013 12 / 28

Page 13: Introduction to stochastic modelling in Mathematical Biologykinetic/biomat13/IMG/courses/alarcon/alarc… · Speci c to mathematical biology 1 L.J.S. Allen. An introduction to stochastic

Motivation Master Equation Law of mass action Steady vs absorbing states Analytical methods: Characteristic function

Summary

We have seen two examples in which two different mathematical descriptions of thesame physical/biological process give different answers as to what is their behaviour

We have seen a model (the Moran model) where the deterministic descriptionpredicts the population to stay constant. To the contrary, the stochastic descriptionpredicts that the population never stays constant: Eventually, the system evolves ton = 0 or n = N

Another model (logistic growth) presents the same dilemma: Its deterministicdescription preditcs that n = 0 is always unstable, whereas the stochasticformulation shows that very often the system evolves to n = 0

The question naturally arises: How is this possible? How come two mathematicaldescriptions of the same phenomenon offers so different answers?

T. Alarcon (CRM, Barcelona, Spain) Lecture 1 Biomat 2013, Granada, June 2013 12 / 28

Page 14: Introduction to stochastic modelling in Mathematical Biologykinetic/biomat13/IMG/courses/alarcon/alarc… · Speci c to mathematical biology 1 L.J.S. Allen. An introduction to stochastic

Motivation Master Equation Law of mass action Steady vs absorbing states Analytical methods: Characteristic function

Summary

We have seen two examples in which two different mathematical descriptions of thesame physical/biological process give different answers as to what is their behaviour

We have seen a model (the Moran model) where the deterministic descriptionpredicts the population to stay constant. To the contrary, the stochastic descriptionpredicts that the population never stays constant: Eventually, the system evolves ton = 0 or n = N

Another model (logistic growth) presents the same dilemma: Its deterministicdescription preditcs that n = 0 is always unstable, whereas the stochasticformulation shows that very often the system evolves to n = 0

The question naturally arises: How is this possible? How come two mathematicaldescriptions of the same phenomenon offers so different answers?

T. Alarcon (CRM, Barcelona, Spain) Lecture 1 Biomat 2013, Granada, June 2013 12 / 28

Page 15: Introduction to stochastic modelling in Mathematical Biologykinetic/biomat13/IMG/courses/alarcon/alarc… · Speci c to mathematical biology 1 L.J.S. Allen. An introduction to stochastic

Motivation Master Equation Law of mass action Steady vs absorbing states Analytical methods: Characteristic function

Summary

We have seen two examples in which two different mathematical descriptions of thesame physical/biological process give different answers as to what is their behaviour

We have seen a model (the Moran model) where the deterministic descriptionpredicts the population to stay constant. To the contrary, the stochastic descriptionpredicts that the population never stays constant: Eventually, the system evolves ton = 0 or n = N

Another model (logistic growth) presents the same dilemma: Its deterministicdescription preditcs that n = 0 is always unstable, whereas the stochasticformulation shows that very often the system evolves to n = 0

The question naturally arises: How is this possible? How come two mathematicaldescriptions of the same phenomenon offers so different answers?

T. Alarcon (CRM, Barcelona, Spain) Lecture 1 Biomat 2013, Granada, June 2013 12 / 28

Page 16: Introduction to stochastic modelling in Mathematical Biologykinetic/biomat13/IMG/courses/alarcon/alarc… · Speci c to mathematical biology 1 L.J.S. Allen. An introduction to stochastic

Motivation Master Equation Law of mass action Steady vs absorbing states Analytical methods: Characteristic function

Outline

Motivation

Master Equation

Law of mass action

Steady vs absorbing states

Analytical methods: Characteristic function

T. Alarcon (CRM, Barcelona, Spain) Lecture 1 Biomat 2013, Granada, June 2013 13 / 28

Page 17: Introduction to stochastic modelling in Mathematical Biologykinetic/biomat13/IMG/courses/alarcon/alarc… · Speci c to mathematical biology 1 L.J.S. Allen. An introduction to stochastic

Motivation Master Equation Law of mass action Steady vs absorbing states Analytical methods: Characteristic function

The Master Equation

The Master Equation is our fundamental mathematical description of an stochasticprocess and the starting point for any attempt to analyse a particular model

It is obtained as a probability balance for all the events that can occur during thetime interval (t, t + ∆t)

Mathematically, it is a set of ordinary differential equations for the probabilitydistribution P(X , t) i.e. the probability that the number of individuals in thepopulation at time t to be X

T. Alarcon (CRM, Barcelona, Spain) Lecture 1 Biomat 2013, Granada, June 2013 14 / 28

Page 18: Introduction to stochastic modelling in Mathematical Biologykinetic/biomat13/IMG/courses/alarcon/alarc… · Speci c to mathematical biology 1 L.J.S. Allen. An introduction to stochastic

Motivation Master Equation Law of mass action Steady vs absorbing states Analytical methods: Characteristic function

The Master Equation

The Master Equation is our fundamental mathematical description of an stochasticprocess and the starting point for any attempt to analyse a particular model

It is obtained as a probability balance for all the events that can occur during thetime interval (t, t + ∆t)

Mathematically, it is a set of ordinary differential equations for the probabilitydistribution P(X , t) i.e. the probability that the number of individuals in thepopulation at time t to be X

T. Alarcon (CRM, Barcelona, Spain) Lecture 1 Biomat 2013, Granada, June 2013 14 / 28

Page 19: Introduction to stochastic modelling in Mathematical Biologykinetic/biomat13/IMG/courses/alarcon/alarc… · Speci c to mathematical biology 1 L.J.S. Allen. An introduction to stochastic

Motivation Master Equation Law of mass action Steady vs absorbing states Analytical methods: Characteristic function

The Master Equation

The Master Equation is our fundamental mathematical description of an stochasticprocess and the starting point for any attempt to analyse a particular model

It is obtained as a probability balance for all the events that can occur during thetime interval (t, t + ∆t)

Mathematically, it is a set of ordinary differential equations for the probabilitydistribution P(X , t) i.e. the probability that the number of individuals in thepopulation at time t to be X

T. Alarcon (CRM, Barcelona, Spain) Lecture 1 Biomat 2013, Granada, June 2013 14 / 28

Page 20: Introduction to stochastic modelling in Mathematical Biologykinetic/biomat13/IMG/courses/alarcon/alarc… · Speci c to mathematical biology 1 L.J.S. Allen. An introduction to stochastic

Motivation Master Equation Law of mass action Steady vs absorbing states Analytical methods: Characteristic function

The Master Equation

dP(X , t)

dt=

R∑i=1

(Wi (X − ri , t)P(X − ri , t)−Wi (x , t)P(X , t)) (4)

where:

X is a (vector-valued) Markov process

R is the number of possible processes (e.g. birth, death, mutation)

Wi (X , t) is the probability rate of event i to occur

ri is the change in the value of X when event i occurs, i.e.

P(X (t + dt) = X (t) + ri |X (t)) = Wi (X , t)dt

The Master Equation can be interpreted as a balance equation where the first termcorresponds to positive flux into state X from every allowed state and the second term asnegative flux from state X into every possible state

T. Alarcon (CRM, Barcelona, Spain) Lecture 1 Biomat 2013, Granada, June 2013 15 / 28

Page 21: Introduction to stochastic modelling in Mathematical Biologykinetic/biomat13/IMG/courses/alarcon/alarc… · Speci c to mathematical biology 1 L.J.S. Allen. An introduction to stochastic

Motivation Master Equation Law of mass action Steady vs absorbing states Analytical methods: Characteristic function

The Master Equation

dP(X , t)

dt=

R∑i=1

(Wi (X − ri , t)P(X − ri , t)−Wi (x , t)P(X , t)) (4)

where:

X is a (vector-valued) Markov process

R is the number of possible processes (e.g. birth, death, mutation)

Wi (X , t) is the probability rate of event i to occur

ri is the change in the value of X when event i occurs, i.e.

P(X (t + dt) = X (t) + ri |X (t)) = Wi (X , t)dt

The Master Equation can be interpreted as a balance equation where the first termcorresponds to positive flux into state X from every allowed state and the second term asnegative flux from state X into every possible state

T. Alarcon (CRM, Barcelona, Spain) Lecture 1 Biomat 2013, Granada, June 2013 15 / 28

Page 22: Introduction to stochastic modelling in Mathematical Biologykinetic/biomat13/IMG/courses/alarcon/alarc… · Speci c to mathematical biology 1 L.J.S. Allen. An introduction to stochastic

Motivation Master Equation Law of mass action Steady vs absorbing states Analytical methods: Characteristic function

The Master Equation

dP(X , t)

dt=

R∑i=1

(Wi (X − ri , t)P(X − ri , t)−Wi (x , t)P(X , t)) (4)

where:

X is a (vector-valued) Markov process

R is the number of possible processes (e.g. birth, death, mutation)

Wi (X , t) is the probability rate of event i to occur

ri is the change in the value of X when event i occurs, i.e.

P(X (t + dt) = X (t) + ri |X (t)) = Wi (X , t)dt

The Master Equation can be interpreted as a balance equation where the first termcorresponds to positive flux into state X from every allowed state and the second term asnegative flux from state X into every possible state

T. Alarcon (CRM, Barcelona, Spain) Lecture 1 Biomat 2013, Granada, June 2013 15 / 28

Page 23: Introduction to stochastic modelling in Mathematical Biologykinetic/biomat13/IMG/courses/alarcon/alarc… · Speci c to mathematical biology 1 L.J.S. Allen. An introduction to stochastic

Motivation Master Equation Law of mass action Steady vs absorbing states Analytical methods: Characteristic function

The Master Equation

dP(X , t)

dt=

R∑i=1

(Wi (X − ri , t)P(X − ri , t)−Wi (x , t)P(X , t)) (4)

where:

X is a (vector-valued) Markov process

R is the number of possible processes (e.g. birth, death, mutation)

Wi (X , t) is the probability rate of event i to occur

ri is the change in the value of X when event i occurs, i.e.

P(X (t + dt) = X (t) + ri |X (t)) = Wi (X , t)dt

The Master Equation can be interpreted as a balance equation where the first termcorresponds to positive flux into state X from every allowed state and the second term asnegative flux from state X into every possible state

T. Alarcon (CRM, Barcelona, Spain) Lecture 1 Biomat 2013, Granada, June 2013 15 / 28

Page 24: Introduction to stochastic modelling in Mathematical Biologykinetic/biomat13/IMG/courses/alarcon/alarc… · Speci c to mathematical biology 1 L.J.S. Allen. An introduction to stochastic

Motivation Master Equation Law of mass action Steady vs absorbing states Analytical methods: Characteristic function

The Master Equation

dP(X , t)

dt=

R∑i=1

(Wi (X − ri , t)P(X − ri , t)−Wi (x , t)P(X , t)) (4)

where:

X is a (vector-valued) Markov process

R is the number of possible processes (e.g. birth, death, mutation)

Wi (X , t) is the probability rate of event i to occur

ri is the change in the value of X when event i occurs, i.e.P(X (t + dt) = X (t) + ri |X (t)) = Wi (X , t)dt

The Master Equation can be interpreted as a balance equation where the first termcorresponds to positive flux into state X from every allowed state and the second term asnegative flux from state X into every possible state

T. Alarcon (CRM, Barcelona, Spain) Lecture 1 Biomat 2013, Granada, June 2013 15 / 28

Page 25: Introduction to stochastic modelling in Mathematical Biologykinetic/biomat13/IMG/courses/alarcon/alarc… · Speci c to mathematical biology 1 L.J.S. Allen. An introduction to stochastic

Motivation Master Equation Law of mass action Steady vs absorbing states Analytical methods: Characteristic function

Outline

Motivation

Master Equation

Law of mass action

Steady vs absorbing states

Analytical methods: Characteristic function

T. Alarcon (CRM, Barcelona, Spain) Lecture 1 Biomat 2013, Granada, June 2013 16 / 28

Page 26: Introduction to stochastic modelling in Mathematical Biologykinetic/biomat13/IMG/courses/alarcon/alarc… · Speci c to mathematical biology 1 L.J.S. Allen. An introduction to stochastic

Motivation Master Equation Law of mass action Steady vs absorbing states Analytical methods: Characteristic function

Modelling the transition rates: The law of mass action

To specify an stochastic model we need to give an expression for the probability ratefor each of the events involved in the dynamics of the system (for example, birth anddeath)

The standard modelling assumption used to write down expressions for these rates isthe so called Law of Mass Action

This assumption, which originates in chamical kinetics, consists of assuming that theprobability rate of a particular event involving j molecular species, of the same typeor of different types, is proportional to (i) the number of ways in which thecorresponding molecular species can combine and (ii) a rate constant whichaccounts for the probability that an encounter of the elements participating in thereaction actually produces the corresponding product

T. Alarcon (CRM, Barcelona, Spain) Lecture 1 Biomat 2013, Granada, June 2013 17 / 28

Page 27: Introduction to stochastic modelling in Mathematical Biologykinetic/biomat13/IMG/courses/alarcon/alarc… · Speci c to mathematical biology 1 L.J.S. Allen. An introduction to stochastic

Motivation Master Equation Law of mass action Steady vs absorbing states Analytical methods: Characteristic function

Modelling the transition rates: The law of mass action

To specify an stochastic model we need to give an expression for the probability ratefor each of the events involved in the dynamics of the system (for example, birth anddeath)

The standard modelling assumption used to write down expressions for these rates isthe so called Law of Mass Action

This assumption, which originates in chamical kinetics, consists of assuming that theprobability rate of a particular event involving j molecular species, of the same typeor of different types, is proportional to (i) the number of ways in which thecorresponding molecular species can combine and (ii) a rate constant whichaccounts for the probability that an encounter of the elements participating in thereaction actually produces the corresponding product

T. Alarcon (CRM, Barcelona, Spain) Lecture 1 Biomat 2013, Granada, June 2013 17 / 28

Page 28: Introduction to stochastic modelling in Mathematical Biologykinetic/biomat13/IMG/courses/alarcon/alarc… · Speci c to mathematical biology 1 L.J.S. Allen. An introduction to stochastic

Motivation Master Equation Law of mass action Steady vs absorbing states Analytical methods: Characteristic function

Modelling the transition rates: The law of mass action

To specify an stochastic model we need to give an expression for the probability ratefor each of the events involved in the dynamics of the system (for example, birth anddeath)

The standard modelling assumption used to write down expressions for these rates isthe so called Law of Mass Action

This assumption, which originates in chamical kinetics, consists of assuming that theprobability rate of a particular event involving j molecular species, of the same typeor of different types, is proportional to (i) the number of ways in which thecorresponding molecular species can combine and (ii) a rate constant whichaccounts for the probability that an encounter of the elements participating in thereaction actually produces the corresponding product

T. Alarcon (CRM, Barcelona, Spain) Lecture 1 Biomat 2013, Granada, June 2013 17 / 28

Page 29: Introduction to stochastic modelling in Mathematical Biologykinetic/biomat13/IMG/courses/alarcon/alarc… · Speci c to mathematical biology 1 L.J.S. Allen. An introduction to stochastic

Motivation Master Equation Law of mass action Steady vs absorbing states Analytical methods: Characteristic function

Examples

X → Product: W (x) = k1X

X + Y → Product: W (x) = k2XY

2

X + X → Product: W (x) = k2X (X−1)

2

X + Y + Z → Product: W (x) = k3XYZ

3!

X + X + X → Product: W (x) = k3X (X−2)(X−3)

3!

T. Alarcon (CRM, Barcelona, Spain) Lecture 1 Biomat 2013, Granada, June 2013 18 / 28

Page 30: Introduction to stochastic modelling in Mathematical Biologykinetic/biomat13/IMG/courses/alarcon/alarc… · Speci c to mathematical biology 1 L.J.S. Allen. An introduction to stochastic

Motivation Master Equation Law of mass action Steady vs absorbing states Analytical methods: Characteristic function

Examples

X → Product: W (x) = k1X

X + Y → Product: W (x) = k2XY

2

X + X → Product: W (x) = k2X (X−1)

2

X + Y + Z → Product: W (x) = k3XYZ

3!

X + X + X → Product: W (x) = k3X (X−2)(X−3)

3!

T. Alarcon (CRM, Barcelona, Spain) Lecture 1 Biomat 2013, Granada, June 2013 18 / 28

Page 31: Introduction to stochastic modelling in Mathematical Biologykinetic/biomat13/IMG/courses/alarcon/alarc… · Speci c to mathematical biology 1 L.J.S. Allen. An introduction to stochastic

Motivation Master Equation Law of mass action Steady vs absorbing states Analytical methods: Characteristic function

Examples

X → Product: W (x) = k1X

X + Y → Product: W (x) = k2XY

2

X + X → Product: W (x) = k2X (X−1)

2

X + Y + Z → Product: W (x) = k3XYZ

3!

X + X + X → Product: W (x) = k3X (X−2)(X−3)

3!

T. Alarcon (CRM, Barcelona, Spain) Lecture 1 Biomat 2013, Granada, June 2013 18 / 28

Page 32: Introduction to stochastic modelling in Mathematical Biologykinetic/biomat13/IMG/courses/alarcon/alarc… · Speci c to mathematical biology 1 L.J.S. Allen. An introduction to stochastic

Motivation Master Equation Law of mass action Steady vs absorbing states Analytical methods: Characteristic function

Examples

X → Product: W (x) = k1X

X + Y → Product: W (x) = k2XY

2

X + X → Product: W (x) = k2X (X−1)

2

X + Y + Z → Product: W (x) = k3XYZ

3!

X + X + X → Product: W (x) = k3X (X−2)(X−3)

3!

T. Alarcon (CRM, Barcelona, Spain) Lecture 1 Biomat 2013, Granada, June 2013 18 / 28

Page 33: Introduction to stochastic modelling in Mathematical Biologykinetic/biomat13/IMG/courses/alarcon/alarc… · Speci c to mathematical biology 1 L.J.S. Allen. An introduction to stochastic

Motivation Master Equation Law of mass action Steady vs absorbing states Analytical methods: Characteristic function

Examples

X → Product: W (x) = k1X

X + Y → Product: W (x) = k2XY

2

X + X → Product: W (x) = k2X (X−1)

2

X + Y + Z → Product: W (x) = k3XYZ

3!

X + X + X → Product: W (x) = k3X (X−2)(X−3)

3!

T. Alarcon (CRM, Barcelona, Spain) Lecture 1 Biomat 2013, Granada, June 2013 18 / 28

Page 34: Introduction to stochastic modelling in Mathematical Biologykinetic/biomat13/IMG/courses/alarcon/alarc… · Speci c to mathematical biology 1 L.J.S. Allen. An introduction to stochastic

Motivation Master Equation Law of mass action Steady vs absorbing states Analytical methods: Characteristic function

Example: Birth-and-death process

1 Birth: n→ n + 1 with probability rate W+(n) = λn. Death: n→ n − 1 withprobability rate W−(n) = σn

2 Probability balance:

P(n, t+∆t) = λ(n−1)∆tP(n−1, t)+σ(n+1)∆tP(n+1, t)+(1−(λn∆t+σn∆t))P(n, t)(5)

3 When ∆t → 0:

dP(n, t)

dt= λ(n − 1)P(n − 1, t) + σ(n + 1)P(n + 1, t)− (λn + σn)P(n, t) (6)

T. Alarcon (CRM, Barcelona, Spain) Lecture 1 Biomat 2013, Granada, June 2013 19 / 28

Page 35: Introduction to stochastic modelling in Mathematical Biologykinetic/biomat13/IMG/courses/alarcon/alarc… · Speci c to mathematical biology 1 L.J.S. Allen. An introduction to stochastic

Motivation Master Equation Law of mass action Steady vs absorbing states Analytical methods: Characteristic function

Outline

Motivation

Master Equation

Law of mass action

Steady vs absorbing states

Analytical methods: Characteristic function

T. Alarcon (CRM, Barcelona, Spain) Lecture 1 Biomat 2013, Granada, June 2013 20 / 28

Page 36: Introduction to stochastic modelling in Mathematical Biologykinetic/biomat13/IMG/courses/alarcon/alarc… · Speci c to mathematical biology 1 L.J.S. Allen. An introduction to stochastic

Motivation Master Equation Law of mass action Steady vs absorbing states Analytical methods: Characteristic function

Steady states in stochastic systems

The definition of equilibrium states in stochastic systems is a bit technical and thereare several definitions of equilibrium (with or without detailed balance, equilibrium ornon-equilibrium, etc.)

We will avoid these technicalities, at least for the moment, and adopt a moreintuitive and practical approach (although not terribly rigorous)

For concreteness, consider (again) the stochastic logistic growth, i.e. a process ntsuch that:

1 n→ n + 1 with probability rate W+(n) = n

2 n→ n − 1 with probability rate W−(n) = n(n−1)K

Consider a state of the system, ns , is, roughly speaking, a state of the process suchthat W+(ns) = W−(ns).

1 W+(ns) is the number of births within a population of ns individuals2 Likewise, W−(ns) = the number of deaths within a population of ns individuals3 So an steady state of our population dynamics is reached when nt = ns , since death

rate is balanced by birth rates and therefore the population stays roughly constant

ns = K + 1 which coincides with the deterministic stable fixed point (if K 1)

Note that W+(n)−W−(n) > 0 if n < ns and W+(n)−W−(n) < 0 if n > ns

T. Alarcon (CRM, Barcelona, Spain) Lecture 1 Biomat 2013, Granada, June 2013 21 / 28

Page 37: Introduction to stochastic modelling in Mathematical Biologykinetic/biomat13/IMG/courses/alarcon/alarc… · Speci c to mathematical biology 1 L.J.S. Allen. An introduction to stochastic

Motivation Master Equation Law of mass action Steady vs absorbing states Analytical methods: Characteristic function

Steady states in stochastic systems

The definition of equilibrium states in stochastic systems is a bit technical and thereare several definitions of equilibrium (with or without detailed balance, equilibrium ornon-equilibrium, etc.)

We will avoid these technicalities, at least for the moment, and adopt a moreintuitive and practical approach (although not terribly rigorous)

For concreteness, consider (again) the stochastic logistic growth, i.e. a process ntsuch that:

1 n→ n + 1 with probability rate W+(n) = n

2 n→ n − 1 with probability rate W−(n) = n(n−1)K

Consider a state of the system, ns , is, roughly speaking, a state of the process suchthat W+(ns) = W−(ns).

1 W+(ns) is the number of births within a population of ns individuals2 Likewise, W−(ns) = the number of deaths within a population of ns individuals3 So an steady state of our population dynamics is reached when nt = ns , since death

rate is balanced by birth rates and therefore the population stays roughly constant

ns = K + 1 which coincides with the deterministic stable fixed point (if K 1)

Note that W+(n)−W−(n) > 0 if n < ns and W+(n)−W−(n) < 0 if n > ns

T. Alarcon (CRM, Barcelona, Spain) Lecture 1 Biomat 2013, Granada, June 2013 21 / 28

Page 38: Introduction to stochastic modelling in Mathematical Biologykinetic/biomat13/IMG/courses/alarcon/alarc… · Speci c to mathematical biology 1 L.J.S. Allen. An introduction to stochastic

Motivation Master Equation Law of mass action Steady vs absorbing states Analytical methods: Characteristic function

Steady states in stochastic systems

The definition of equilibrium states in stochastic systems is a bit technical and thereare several definitions of equilibrium (with or without detailed balance, equilibrium ornon-equilibrium, etc.)

We will avoid these technicalities, at least for the moment, and adopt a moreintuitive and practical approach (although not terribly rigorous)

For concreteness, consider (again) the stochastic logistic growth, i.e. a process ntsuch that:

1 n→ n + 1 with probability rate W+(n) = n

2 n→ n − 1 with probability rate W−(n) = n(n−1)K

Consider a state of the system, ns , is, roughly speaking, a state of the process suchthat W+(ns) = W−(ns).

1 W+(ns) is the number of births within a population of ns individuals2 Likewise, W−(ns) = the number of deaths within a population of ns individuals3 So an steady state of our population dynamics is reached when nt = ns , since death

rate is balanced by birth rates and therefore the population stays roughly constant

ns = K + 1 which coincides with the deterministic stable fixed point (if K 1)

Note that W+(n)−W−(n) > 0 if n < ns and W+(n)−W−(n) < 0 if n > ns

T. Alarcon (CRM, Barcelona, Spain) Lecture 1 Biomat 2013, Granada, June 2013 21 / 28

Page 39: Introduction to stochastic modelling in Mathematical Biologykinetic/biomat13/IMG/courses/alarcon/alarc… · Speci c to mathematical biology 1 L.J.S. Allen. An introduction to stochastic

Motivation Master Equation Law of mass action Steady vs absorbing states Analytical methods: Characteristic function

Steady states in stochastic systems

The definition of equilibrium states in stochastic systems is a bit technical and thereare several definitions of equilibrium (with or without detailed balance, equilibrium ornon-equilibrium, etc.)

We will avoid these technicalities, at least for the moment, and adopt a moreintuitive and practical approach (although not terribly rigorous)

For concreteness, consider (again) the stochastic logistic growth, i.e. a process ntsuch that:

1 n→ n + 1 with probability rate W+(n) = n

2 n→ n − 1 with probability rate W−(n) = n(n−1)K

Consider a state of the system, ns , is, roughly speaking, a state of the process suchthat W+(ns) = W−(ns).

1 W+(ns) is the number of births within a population of ns individuals2 Likewise, W−(ns) = the number of deaths within a population of ns individuals3 So an steady state of our population dynamics is reached when nt = ns , since death

rate is balanced by birth rates and therefore the population stays roughly constant

ns = K + 1 which coincides with the deterministic stable fixed point (if K 1)

Note that W+(n)−W−(n) > 0 if n < ns and W+(n)−W−(n) < 0 if n > ns

T. Alarcon (CRM, Barcelona, Spain) Lecture 1 Biomat 2013, Granada, June 2013 21 / 28

Page 40: Introduction to stochastic modelling in Mathematical Biologykinetic/biomat13/IMG/courses/alarcon/alarc… · Speci c to mathematical biology 1 L.J.S. Allen. An introduction to stochastic

Motivation Master Equation Law of mass action Steady vs absorbing states Analytical methods: Characteristic function

Steady states in stochastic systems

The definition of equilibrium states in stochastic systems is a bit technical and thereare several definitions of equilibrium (with or without detailed balance, equilibrium ornon-equilibrium, etc.)

We will avoid these technicalities, at least for the moment, and adopt a moreintuitive and practical approach (although not terribly rigorous)

For concreteness, consider (again) the stochastic logistic growth, i.e. a process ntsuch that:

1 n→ n + 1 with probability rate W+(n) = n

2 n→ n − 1 with probability rate W−(n) = n(n−1)K

Consider a state of the system, ns , is, roughly speaking, a state of the process suchthat W+(ns) = W−(ns).

1 W+(ns) is the number of births within a population of ns individuals2 Likewise, W−(ns) = the number of deaths within a population of ns individuals3 So an steady state of our population dynamics is reached when nt = ns , since death

rate is balanced by birth rates and therefore the population stays roughly constant

ns = K + 1 which coincides with the deterministic stable fixed point (if K 1)

Note that W+(n)−W−(n) > 0 if n < ns and W+(n)−W−(n) < 0 if n > ns

T. Alarcon (CRM, Barcelona, Spain) Lecture 1 Biomat 2013, Granada, June 2013 21 / 28

Page 41: Introduction to stochastic modelling in Mathematical Biologykinetic/biomat13/IMG/courses/alarcon/alarc… · Speci c to mathematical biology 1 L.J.S. Allen. An introduction to stochastic

Motivation Master Equation Law of mass action Steady vs absorbing states Analytical methods: Characteristic function

Steady states in stochastic systems

The definition of equilibrium states in stochastic systems is a bit technical and thereare several definitions of equilibrium (with or without detailed balance, equilibrium ornon-equilibrium, etc.)

We will avoid these technicalities, at least for the moment, and adopt a moreintuitive and practical approach (although not terribly rigorous)

For concreteness, consider (again) the stochastic logistic growth, i.e. a process ntsuch that:

1 n→ n + 1 with probability rate W+(n) = n

2 n→ n − 1 with probability rate W−(n) = n(n−1)K

Consider a state of the system, ns , is, roughly speaking, a state of the process suchthat W+(ns) = W−(ns).

1 W+(ns) is the number of births within a population of ns individuals2 Likewise, W−(ns) = the number of deaths within a population of ns individuals3 So an steady state of our population dynamics is reached when nt = ns , since death

rate is balanced by birth rates and therefore the population stays roughly constant

ns = K + 1 which coincides with the deterministic stable fixed point (if K 1)

Note that W+(n)−W−(n) > 0 if n < ns and W+(n)−W−(n) < 0 if n > ns

T. Alarcon (CRM, Barcelona, Spain) Lecture 1 Biomat 2013, Granada, June 2013 21 / 28

Page 42: Introduction to stochastic modelling in Mathematical Biologykinetic/biomat13/IMG/courses/alarcon/alarc… · Speci c to mathematical biology 1 L.J.S. Allen. An introduction to stochastic

Motivation Master Equation Law of mass action Steady vs absorbing states Analytical methods: Characteristic function

Steady states in stochastic systems

The definition of equilibrium states in stochastic systems is a bit technical and thereare several definitions of equilibrium (with or without detailed balance, equilibrium ornon-equilibrium, etc.)

We will avoid these technicalities, at least for the moment, and adopt a moreintuitive and practical approach (although not terribly rigorous)

For concreteness, consider (again) the stochastic logistic growth, i.e. a process ntsuch that:

1 n→ n + 1 with probability rate W+(n) = n

2 n→ n − 1 with probability rate W−(n) = n(n−1)K

Consider a state of the system, ns , is, roughly speaking, a state of the process suchthat W+(ns) = W−(ns).

1 W+(ns) is the number of births within a population of ns individuals2 Likewise, W−(ns) = the number of deaths within a population of ns individuals3 So an steady state of our population dynamics is reached when nt = ns , since death

rate is balanced by birth rates and therefore the population stays roughly constant

ns = K + 1 which coincides with the deterministic stable fixed point (if K 1)

Note that W+(n)−W−(n) > 0 if n < ns and W+(n)−W−(n) < 0 if n > ns

T. Alarcon (CRM, Barcelona, Spain) Lecture 1 Biomat 2013, Granada, June 2013 21 / 28

Page 43: Introduction to stochastic modelling in Mathematical Biologykinetic/biomat13/IMG/courses/alarcon/alarc… · Speci c to mathematical biology 1 L.J.S. Allen. An introduction to stochastic

Motivation Master Equation Law of mass action Steady vs absorbing states Analytical methods: Characteristic function

Absorbing states in stochastic systems

The concept of absorbing state is the stochastic equivalent of the concept ofattractor in deterministic systems

An absorbing state, n0, is characterised by Wi (n0) = 0, i.e. once the system hasreached the absorbing state, it cannot leave anymore

The set of accessible states of the abosrbing state is the equivalent of the basin ofattraction of an attractor in deterministic systems: If na is an accessible state of n0

the stochastic dynamics will take the system from na to n0 with probability one

Consider again, the stochastic logistic growth:

1 Steady states are in general not absorbing states2 W+(ns) 6= 0 and W+(ns) 6= 03 If n = 0 then W+(0) = W−(0) = 0 therefore n = 0 is an abosrbing state4 Also, ns belongs to the set of accessible states of n = 0

ns belonging to the set of accessible states of n = 0 means that there is at least oneconsecutive set of transitions that connects ns and n0. For example:K → K − 1→ K − 2→ · · · 1→ 0

However, if K 1 the probability of such a chain of events is vanishingly small

T. Alarcon (CRM, Barcelona, Spain) Lecture 1 Biomat 2013, Granada, June 2013 22 / 28

Page 44: Introduction to stochastic modelling in Mathematical Biologykinetic/biomat13/IMG/courses/alarcon/alarc… · Speci c to mathematical biology 1 L.J.S. Allen. An introduction to stochastic

Motivation Master Equation Law of mass action Steady vs absorbing states Analytical methods: Characteristic function

Absorbing states in stochastic systems

The concept of absorbing state is the stochastic equivalent of the concept ofattractor in deterministic systems

An absorbing state, n0, is characterised by Wi (n0) = 0, i.e. once the system hasreached the absorbing state, it cannot leave anymore

The set of accessible states of the abosrbing state is the equivalent of the basin ofattraction of an attractor in deterministic systems: If na is an accessible state of n0

the stochastic dynamics will take the system from na to n0 with probability one

Consider again, the stochastic logistic growth:

1 Steady states are in general not absorbing states2 W+(ns) 6= 0 and W+(ns) 6= 03 If n = 0 then W+(0) = W−(0) = 0 therefore n = 0 is an abosrbing state4 Also, ns belongs to the set of accessible states of n = 0

ns belonging to the set of accessible states of n = 0 means that there is at least oneconsecutive set of transitions that connects ns and n0. For example:K → K − 1→ K − 2→ · · · 1→ 0

However, if K 1 the probability of such a chain of events is vanishingly small

T. Alarcon (CRM, Barcelona, Spain) Lecture 1 Biomat 2013, Granada, June 2013 22 / 28

Page 45: Introduction to stochastic modelling in Mathematical Biologykinetic/biomat13/IMG/courses/alarcon/alarc… · Speci c to mathematical biology 1 L.J.S. Allen. An introduction to stochastic

Motivation Master Equation Law of mass action Steady vs absorbing states Analytical methods: Characteristic function

Absorbing states in stochastic systems

The concept of absorbing state is the stochastic equivalent of the concept ofattractor in deterministic systems

An absorbing state, n0, is characterised by Wi (n0) = 0, i.e. once the system hasreached the absorbing state, it cannot leave anymore

The set of accessible states of the abosrbing state is the equivalent of the basin ofattraction of an attractor in deterministic systems: If na is an accessible state of n0

the stochastic dynamics will take the system from na to n0 with probability one

Consider again, the stochastic logistic growth:

1 Steady states are in general not absorbing states2 W+(ns) 6= 0 and W+(ns) 6= 03 If n = 0 then W+(0) = W−(0) = 0 therefore n = 0 is an abosrbing state4 Also, ns belongs to the set of accessible states of n = 0

ns belonging to the set of accessible states of n = 0 means that there is at least oneconsecutive set of transitions that connects ns and n0. For example:K → K − 1→ K − 2→ · · · 1→ 0

However, if K 1 the probability of such a chain of events is vanishingly small

T. Alarcon (CRM, Barcelona, Spain) Lecture 1 Biomat 2013, Granada, June 2013 22 / 28

Page 46: Introduction to stochastic modelling in Mathematical Biologykinetic/biomat13/IMG/courses/alarcon/alarc… · Speci c to mathematical biology 1 L.J.S. Allen. An introduction to stochastic

Motivation Master Equation Law of mass action Steady vs absorbing states Analytical methods: Characteristic function

Absorbing states in stochastic systems

The concept of absorbing state is the stochastic equivalent of the concept ofattractor in deterministic systems

An absorbing state, n0, is characterised by Wi (n0) = 0, i.e. once the system hasreached the absorbing state, it cannot leave anymore

The set of accessible states of the abosrbing state is the equivalent of the basin ofattraction of an attractor in deterministic systems: If na is an accessible state of n0

the stochastic dynamics will take the system from na to n0 with probability one

Consider again, the stochastic logistic growth:

1 Steady states are in general not absorbing states2 W+(ns) 6= 0 and W+(ns) 6= 03 If n = 0 then W+(0) = W−(0) = 0 therefore n = 0 is an abosrbing state4 Also, ns belongs to the set of accessible states of n = 0

ns belonging to the set of accessible states of n = 0 means that there is at least oneconsecutive set of transitions that connects ns and n0. For example:K → K − 1→ K − 2→ · · · 1→ 0

However, if K 1 the probability of such a chain of events is vanishingly small

T. Alarcon (CRM, Barcelona, Spain) Lecture 1 Biomat 2013, Granada, June 2013 22 / 28

Page 47: Introduction to stochastic modelling in Mathematical Biologykinetic/biomat13/IMG/courses/alarcon/alarc… · Speci c to mathematical biology 1 L.J.S. Allen. An introduction to stochastic

Motivation Master Equation Law of mass action Steady vs absorbing states Analytical methods: Characteristic function

Absorbing states in stochastic systems

The concept of absorbing state is the stochastic equivalent of the concept ofattractor in deterministic systems

An absorbing state, n0, is characterised by Wi (n0) = 0, i.e. once the system hasreached the absorbing state, it cannot leave anymore

The set of accessible states of the abosrbing state is the equivalent of the basin ofattraction of an attractor in deterministic systems: If na is an accessible state of n0

the stochastic dynamics will take the system from na to n0 with probability one

Consider again, the stochastic logistic growth:1 Steady states are in general not absorbing states

2 W+(ns) 6= 0 and W+(ns) 6= 03 If n = 0 then W+(0) = W−(0) = 0 therefore n = 0 is an abosrbing state4 Also, ns belongs to the set of accessible states of n = 0

ns belonging to the set of accessible states of n = 0 means that there is at least oneconsecutive set of transitions that connects ns and n0. For example:K → K − 1→ K − 2→ · · · 1→ 0

However, if K 1 the probability of such a chain of events is vanishingly small

T. Alarcon (CRM, Barcelona, Spain) Lecture 1 Biomat 2013, Granada, June 2013 22 / 28

Page 48: Introduction to stochastic modelling in Mathematical Biologykinetic/biomat13/IMG/courses/alarcon/alarc… · Speci c to mathematical biology 1 L.J.S. Allen. An introduction to stochastic

Motivation Master Equation Law of mass action Steady vs absorbing states Analytical methods: Characteristic function

Absorbing states in stochastic systems

The concept of absorbing state is the stochastic equivalent of the concept ofattractor in deterministic systems

An absorbing state, n0, is characterised by Wi (n0) = 0, i.e. once the system hasreached the absorbing state, it cannot leave anymore

The set of accessible states of the abosrbing state is the equivalent of the basin ofattraction of an attractor in deterministic systems: If na is an accessible state of n0

the stochastic dynamics will take the system from na to n0 with probability one

Consider again, the stochastic logistic growth:1 Steady states are in general not absorbing states2 W+(ns) 6= 0 and W+(ns) 6= 0

3 If n = 0 then W+(0) = W−(0) = 0 therefore n = 0 is an abosrbing state4 Also, ns belongs to the set of accessible states of n = 0

ns belonging to the set of accessible states of n = 0 means that there is at least oneconsecutive set of transitions that connects ns and n0. For example:K → K − 1→ K − 2→ · · · 1→ 0

However, if K 1 the probability of such a chain of events is vanishingly small

T. Alarcon (CRM, Barcelona, Spain) Lecture 1 Biomat 2013, Granada, June 2013 22 / 28

Page 49: Introduction to stochastic modelling in Mathematical Biologykinetic/biomat13/IMG/courses/alarcon/alarc… · Speci c to mathematical biology 1 L.J.S. Allen. An introduction to stochastic

Motivation Master Equation Law of mass action Steady vs absorbing states Analytical methods: Characteristic function

Absorbing states in stochastic systems

The concept of absorbing state is the stochastic equivalent of the concept ofattractor in deterministic systems

An absorbing state, n0, is characterised by Wi (n0) = 0, i.e. once the system hasreached the absorbing state, it cannot leave anymore

The set of accessible states of the abosrbing state is the equivalent of the basin ofattraction of an attractor in deterministic systems: If na is an accessible state of n0

the stochastic dynamics will take the system from na to n0 with probability one

Consider again, the stochastic logistic growth:1 Steady states are in general not absorbing states2 W+(ns) 6= 0 and W+(ns) 6= 03 If n = 0 then W+(0) = W−(0) = 0 therefore n = 0 is an abosrbing state

4 Also, ns belongs to the set of accessible states of n = 0

ns belonging to the set of accessible states of n = 0 means that there is at least oneconsecutive set of transitions that connects ns and n0. For example:K → K − 1→ K − 2→ · · · 1→ 0

However, if K 1 the probability of such a chain of events is vanishingly small

T. Alarcon (CRM, Barcelona, Spain) Lecture 1 Biomat 2013, Granada, June 2013 22 / 28

Page 50: Introduction to stochastic modelling in Mathematical Biologykinetic/biomat13/IMG/courses/alarcon/alarc… · Speci c to mathematical biology 1 L.J.S. Allen. An introduction to stochastic

Motivation Master Equation Law of mass action Steady vs absorbing states Analytical methods: Characteristic function

Absorbing states in stochastic systems

The concept of absorbing state is the stochastic equivalent of the concept ofattractor in deterministic systems

An absorbing state, n0, is characterised by Wi (n0) = 0, i.e. once the system hasreached the absorbing state, it cannot leave anymore

The set of accessible states of the abosrbing state is the equivalent of the basin ofattraction of an attractor in deterministic systems: If na is an accessible state of n0

the stochastic dynamics will take the system from na to n0 with probability one

Consider again, the stochastic logistic growth:1 Steady states are in general not absorbing states2 W+(ns) 6= 0 and W+(ns) 6= 03 If n = 0 then W+(0) = W−(0) = 0 therefore n = 0 is an abosrbing state4 Also, ns belongs to the set of accessible states of n = 0

ns belonging to the set of accessible states of n = 0 means that there is at least oneconsecutive set of transitions that connects ns and n0. For example:K → K − 1→ K − 2→ · · · 1→ 0

However, if K 1 the probability of such a chain of events is vanishingly small

T. Alarcon (CRM, Barcelona, Spain) Lecture 1 Biomat 2013, Granada, June 2013 22 / 28

Page 51: Introduction to stochastic modelling in Mathematical Biologykinetic/biomat13/IMG/courses/alarcon/alarc… · Speci c to mathematical biology 1 L.J.S. Allen. An introduction to stochastic

Motivation Master Equation Law of mass action Steady vs absorbing states Analytical methods: Characteristic function

Absorbing states in stochastic systems

The concept of absorbing state is the stochastic equivalent of the concept ofattractor in deterministic systems

An absorbing state, n0, is characterised by Wi (n0) = 0, i.e. once the system hasreached the absorbing state, it cannot leave anymore

The set of accessible states of the abosrbing state is the equivalent of the basin ofattraction of an attractor in deterministic systems: If na is an accessible state of n0

the stochastic dynamics will take the system from na to n0 with probability one

Consider again, the stochastic logistic growth:1 Steady states are in general not absorbing states2 W+(ns) 6= 0 and W+(ns) 6= 03 If n = 0 then W+(0) = W−(0) = 0 therefore n = 0 is an abosrbing state4 Also, ns belongs to the set of accessible states of n = 0

ns belonging to the set of accessible states of n = 0 means that there is at least oneconsecutive set of transitions that connects ns and n0. For example:K → K − 1→ K − 2→ · · · 1→ 0

However, if K 1 the probability of such a chain of events is vanishingly small

T. Alarcon (CRM, Barcelona, Spain) Lecture 1 Biomat 2013, Granada, June 2013 22 / 28

Page 52: Introduction to stochastic modelling in Mathematical Biologykinetic/biomat13/IMG/courses/alarcon/alarc… · Speci c to mathematical biology 1 L.J.S. Allen. An introduction to stochastic

Motivation Master Equation Law of mass action Steady vs absorbing states Analytical methods: Characteristic function

Absorbing states in stochastic systems

The concept of absorbing state is the stochastic equivalent of the concept ofattractor in deterministic systems

An absorbing state, n0, is characterised by Wi (n0) = 0, i.e. once the system hasreached the absorbing state, it cannot leave anymore

The set of accessible states of the abosrbing state is the equivalent of the basin ofattraction of an attractor in deterministic systems: If na is an accessible state of n0

the stochastic dynamics will take the system from na to n0 with probability one

Consider again, the stochastic logistic growth:1 Steady states are in general not absorbing states2 W+(ns) 6= 0 and W+(ns) 6= 03 If n = 0 then W+(0) = W−(0) = 0 therefore n = 0 is an abosrbing state4 Also, ns belongs to the set of accessible states of n = 0

ns belonging to the set of accessible states of n = 0 means that there is at least oneconsecutive set of transitions that connects ns and n0. For example:K → K − 1→ K − 2→ · · · 1→ 0

However, if K 1 the probability of such a chain of events is vanishingly small

T. Alarcon (CRM, Barcelona, Spain) Lecture 1 Biomat 2013, Granada, June 2013 22 / 28

Page 53: Introduction to stochastic modelling in Mathematical Biologykinetic/biomat13/IMG/courses/alarcon/alarc… · Speci c to mathematical biology 1 L.J.S. Allen. An introduction to stochastic

Motivation Master Equation Law of mass action Steady vs absorbing states Analytical methods: Characteristic function

Summary I

ns is an steady state in the sense that births and deaths are balanced. Moreover,W+(n)−W−(n) > 0 if n < ns and W+(n)−W−(n) < 0 if n > ns . This isessentially equivalent to what happens in the deterministic logistic growth model.

However, ns is not an absorbing state of the stochastic dynamics. The onlyabsorbing state is n = 0

Stochastic extinctions are relatively rare provided K is big. If this is the case, thedeterministic system provides a reasonable approximation to the behaviour of themodel.

If, on the contrary, K is small stochastic extinctions are relatively common and thedeterministic description is not an accurate one

T. Alarcon (CRM, Barcelona, Spain) Lecture 1 Biomat 2013, Granada, June 2013 23 / 28

Page 54: Introduction to stochastic modelling in Mathematical Biologykinetic/biomat13/IMG/courses/alarcon/alarc… · Speci c to mathematical biology 1 L.J.S. Allen. An introduction to stochastic

Motivation Master Equation Law of mass action Steady vs absorbing states Analytical methods: Characteristic function

Summary I

ns is an steady state in the sense that births and deaths are balanced. Moreover,W+(n)−W−(n) > 0 if n < ns and W+(n)−W−(n) < 0 if n > ns . This isessentially equivalent to what happens in the deterministic logistic growth model.

However, ns is not an absorbing state of the stochastic dynamics. The onlyabsorbing state is n = 0

Stochastic extinctions are relatively rare provided K is big. If this is the case, thedeterministic system provides a reasonable approximation to the behaviour of themodel.

If, on the contrary, K is small stochastic extinctions are relatively common and thedeterministic description is not an accurate one

T. Alarcon (CRM, Barcelona, Spain) Lecture 1 Biomat 2013, Granada, June 2013 23 / 28

Page 55: Introduction to stochastic modelling in Mathematical Biologykinetic/biomat13/IMG/courses/alarcon/alarc… · Speci c to mathematical biology 1 L.J.S. Allen. An introduction to stochastic

Motivation Master Equation Law of mass action Steady vs absorbing states Analytical methods: Characteristic function

Summary I

ns is an steady state in the sense that births and deaths are balanced. Moreover,W+(n)−W−(n) > 0 if n < ns and W+(n)−W−(n) < 0 if n > ns . This isessentially equivalent to what happens in the deterministic logistic growth model.

However, ns is not an absorbing state of the stochastic dynamics. The onlyabsorbing state is n = 0

Stochastic extinctions are relatively rare provided K is big. If this is the case, thedeterministic system provides a reasonable approximation to the behaviour of themodel.

If, on the contrary, K is small stochastic extinctions are relatively common and thedeterministic description is not an accurate one

T. Alarcon (CRM, Barcelona, Spain) Lecture 1 Biomat 2013, Granada, June 2013 23 / 28

Page 56: Introduction to stochastic modelling in Mathematical Biologykinetic/biomat13/IMG/courses/alarcon/alarc… · Speci c to mathematical biology 1 L.J.S. Allen. An introduction to stochastic

Motivation Master Equation Law of mass action Steady vs absorbing states Analytical methods: Characteristic function

Summary I

ns is an steady state in the sense that births and deaths are balanced. Moreover,W+(n)−W−(n) > 0 if n < ns and W+(n)−W−(n) < 0 if n > ns . This isessentially equivalent to what happens in the deterministic logistic growth model.

However, ns is not an absorbing state of the stochastic dynamics. The onlyabsorbing state is n = 0

Stochastic extinctions are relatively rare provided K is big. If this is the case, thedeterministic system provides a reasonable approximation to the behaviour of themodel.

If, on the contrary, K is small stochastic extinctions are relatively common and thedeterministic description is not an accurate one

T. Alarcon (CRM, Barcelona, Spain) Lecture 1 Biomat 2013, Granada, June 2013 23 / 28

Page 57: Introduction to stochastic modelling in Mathematical Biologykinetic/biomat13/IMG/courses/alarcon/alarc… · Speci c to mathematical biology 1 L.J.S. Allen. An introduction to stochastic

Motivation Master Equation Law of mass action Steady vs absorbing states Analytical methods: Characteristic function

Summary II

We have seen several examples of stochastic systems in which noise and randomnessare the dominating factors. Their behaviours are not captured by their deterministicor mean-field conterparts

In general, we should expect non-trivial random effects for:1 Small populations: Large fluctuations/rare events have probability P ∼ e−ΩS for large

system size Ω2 Dynamics with absorbing states

T. Alarcon (CRM, Barcelona, Spain) Lecture 1 Biomat 2013, Granada, June 2013 24 / 28

Page 58: Introduction to stochastic modelling in Mathematical Biologykinetic/biomat13/IMG/courses/alarcon/alarc… · Speci c to mathematical biology 1 L.J.S. Allen. An introduction to stochastic

Motivation Master Equation Law of mass action Steady vs absorbing states Analytical methods: Characteristic function

Outline

Motivation

Master Equation

Law of mass action

Steady vs absorbing states

Analytical methods: Characteristic function

T. Alarcon (CRM, Barcelona, Spain) Lecture 1 Biomat 2013, Granada, June 2013 25 / 28

Page 59: Introduction to stochastic modelling in Mathematical Biologykinetic/biomat13/IMG/courses/alarcon/alarc… · Speci c to mathematical biology 1 L.J.S. Allen. An introduction to stochastic

Motivation Master Equation Law of mass action Steady vs absorbing states Analytical methods: Characteristic function

Analytical solutions

Analytical solutions to the Master Equation are rare. General situations need to bedealt with by means of perturbative methods (Lecture 2) or numerical simulation(Lecture 3)

For linear systems, it is possible to write a PDE for the so called probabilitygenerating function:

G(s, t) =∑n

P(n, t)sn (7)

Example: Birth-and-death process

1 Master Equation:

dP(n, t)

dt= λ(n − 1)P(n − 1, t) + σ(n + 1)P(n + 1, t)− (λn + σn)P(n, t) (8)

2 Multiply by sn and sum over all n∑n

sndP(n, t)

dt= s2

∑n

λ(n − 1)P(n − 1, t)sn−2 +∑n

σ(n + 1)P(n + 1, t)sn

−s∑n

(λn + σn)P(n, t)sn−1 (9)

T. Alarcon (CRM, Barcelona, Spain) Lecture 1 Biomat 2013, Granada, June 2013 26 / 28

Page 60: Introduction to stochastic modelling in Mathematical Biologykinetic/biomat13/IMG/courses/alarcon/alarc… · Speci c to mathematical biology 1 L.J.S. Allen. An introduction to stochastic

Motivation Master Equation Law of mass action Steady vs absorbing states Analytical methods: Characteristic function

Analytical solutions

Analytical solutions to the Master Equation are rare. General situations need to bedealt with by means of perturbative methods (Lecture 2) or numerical simulation(Lecture 3)

For linear systems, it is possible to write a PDE for the so called probabilitygenerating function:

G(s, t) =∑n

P(n, t)sn (7)

Example: Birth-and-death process

1 Master Equation:

dP(n, t)

dt= λ(n − 1)P(n − 1, t) + σ(n + 1)P(n + 1, t)− (λn + σn)P(n, t) (8)

2 Multiply by sn and sum over all n∑n

sndP(n, t)

dt= s2

∑n

λ(n − 1)P(n − 1, t)sn−2 +∑n

σ(n + 1)P(n + 1, t)sn

−s∑n

(λn + σn)P(n, t)sn−1 (9)

T. Alarcon (CRM, Barcelona, Spain) Lecture 1 Biomat 2013, Granada, June 2013 26 / 28

Page 61: Introduction to stochastic modelling in Mathematical Biologykinetic/biomat13/IMG/courses/alarcon/alarc… · Speci c to mathematical biology 1 L.J.S. Allen. An introduction to stochastic

Motivation Master Equation Law of mass action Steady vs absorbing states Analytical methods: Characteristic function

Analytical solutions

Analytical solutions to the Master Equation are rare. General situations need to bedealt with by means of perturbative methods (Lecture 2) or numerical simulation(Lecture 3)

For linear systems, it is possible to write a PDE for the so called probabilitygenerating function:

G(s, t) =∑n

P(n, t)sn (7)

Example: Birth-and-death process

1 Master Equation:

dP(n, t)

dt= λ(n − 1)P(n − 1, t) + σ(n + 1)P(n + 1, t)− (λn + σn)P(n, t) (8)

2 Multiply by sn and sum over all n∑n

sndP(n, t)

dt= s2

∑n

λ(n − 1)P(n − 1, t)sn−2 +∑n

σ(n + 1)P(n + 1, t)sn

−s∑n

(λn + σn)P(n, t)sn−1 (9)

T. Alarcon (CRM, Barcelona, Spain) Lecture 1 Biomat 2013, Granada, June 2013 26 / 28

Page 62: Introduction to stochastic modelling in Mathematical Biologykinetic/biomat13/IMG/courses/alarcon/alarc… · Speci c to mathematical biology 1 L.J.S. Allen. An introduction to stochastic

Motivation Master Equation Law of mass action Steady vs absorbing states Analytical methods: Characteristic function

Analytical solutions

Example: Birth-and-death process (cont.)

1 PDE for the characteristic function:

∂G(s, t)

∂t= (λs − σ)(s − 1)

∂G(s, t)

∂s(10)

2 This PDE can be solved by the method of characteristics. If G(s, t = 0) = s I

G(s, t) =

(σ(s − 1)− (σ − λs) exp(−t(λ− µ))

λ(s − 1)− (σ − λs) exp(−t(λ− µ))

)I

(11)

3 By Cauchy’s formula:

P(n, t) =n!

2πi

∮G(z , t)

zn+1dz (12)

Note

Even when an analytical, closed solution for the characteristic function is not available,this function and its associated PDE are the corner stone for asymptotic analysis,specially WKB asymptotics

T. Alarcon (CRM, Barcelona, Spain) Lecture 1 Biomat 2013, Granada, June 2013 27 / 28

Page 63: Introduction to stochastic modelling in Mathematical Biologykinetic/biomat13/IMG/courses/alarcon/alarc… · Speci c to mathematical biology 1 L.J.S. Allen. An introduction to stochastic

Motivation Master Equation Law of mass action Steady vs absorbing states Analytical methods: Characteristic function

Analytical solutions

Example: Birth-and-death process (cont.)

1 PDE for the characteristic function:

∂G(s, t)

∂t= (λs − σ)(s − 1)

∂G(s, t)

∂s(10)

2 This PDE can be solved by the method of characteristics. If G(s, t = 0) = s I

G(s, t) =

(σ(s − 1)− (σ − λs) exp(−t(λ− µ))

λ(s − 1)− (σ − λs) exp(−t(λ− µ))

)I

(11)

3 By Cauchy’s formula:

P(n, t) =n!

2πi

∮G(z , t)

zn+1dz (12)

Note

Even when an analytical, closed solution for the characteristic function is not available,this function and its associated PDE are the corner stone for asymptotic analysis,specially WKB asymptotics

T. Alarcon (CRM, Barcelona, Spain) Lecture 1 Biomat 2013, Granada, June 2013 27 / 28

Page 64: Introduction to stochastic modelling in Mathematical Biologykinetic/biomat13/IMG/courses/alarcon/alarc… · Speci c to mathematical biology 1 L.J.S. Allen. An introduction to stochastic

Motivation Master Equation Law of mass action Steady vs absorbing states Analytical methods: Characteristic function

Outline of next lecture

1 Formal definition of a Markov processThe Markov propertyChapman-Kolmogorov equationDerivation of the Master Equation

2 Asymptotic methods and rare eventsWKB/large deviations approximation to the solution of the Master EquationEikonal approximation and analytical mechanics in stochastic processes

T. Alarcon (CRM, Barcelona, Spain) Lecture 1 Biomat 2013, Granada, June 2013 28 / 28