a tight race between deterministic and stochastic …vnicosia/cosydy2016/slides/yang.pdfa tight race...

22
. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . A tight race between deterministic and stochastic dynamics of RPS-model Qian Yang Supervisors: Prof. Jonathan Dawes & Dr. Tim Rogers University of Bath Email: [email protected] July 5, 2016 Qian Yang (Uni. of Bath) Different dynamics in cyclic dominance July 5, 2016 1 / 16

Upload: others

Post on 23-Jun-2020

0 views

Category:

Documents


0 download

TRANSCRIPT

Page 1: A tight race between deterministic and stochastic …vnicosia/cosydy2016/slides/Yang.pdfA tight race between deterministic and stochastic dynamics of RPS-model Qian Yang Supervisors:

.

.

.

.

.

.

.

.

.

.

.

.

.

.

.

.

.

.

.

.

.

.

.

.

.

.

.

.

.

.

.

.

.

.

.

.

.

.

.

.

A tight race between deterministic and stochasticdynamics of RPS-model

Qian Yang

Supervisors: Prof. Jonathan Dawes & Dr. Tim RogersUniversity of Bath

Email: [email protected]

July 5, 2016

Qian Yang (Uni. of Bath) Different dynamics in cyclic dominance July 5, 2016 1 / 16

Page 2: A tight race between deterministic and stochastic …vnicosia/cosydy2016/slides/Yang.pdfA tight race between deterministic and stochastic dynamics of RPS-model Qian Yang Supervisors:

.

.

.

.

.

.

.

.

.

.

.

.

.

.

.

.

.

.

.

.

.

.

.

.

.

.

.

.

.

.

.

.

.

.

.

.

.

.

.

.

Overview

1 Motivation

2 RPS-Model2.1 Rock-Paper-Scissors - It’s just a GAME.2.2 ODEs and simulations for RPS-model - We found a RACE!2.3 Three regions of average period of these cycles - WHO WINS?

3 Summary

Qian Yang (Uni. of Bath) Different dynamics in cyclic dominance July 5, 2016 2 / 16

Page 3: A tight race between deterministic and stochastic …vnicosia/cosydy2016/slides/Yang.pdfA tight race between deterministic and stochastic dynamics of RPS-model Qian Yang Supervisors:

.

.

.

.

.

.

.

.

.

.

.

.

.

.

.

.

.

.

.

.

.

.

.

.

.

.

.

.

.

.

.

.

.

.

.

.

.

.

.

.

1. Motivation

Cyclic Dominance (Rock-Paper-Scissors)–

1 widely exists in nature, eg. Biology, Chemistry

2 describes the interactions between species

Qian Yang (Uni. of Bath) Different dynamics in cyclic dominance July 5, 2016 3 / 16

Page 4: A tight race between deterministic and stochastic …vnicosia/cosydy2016/slides/Yang.pdfA tight race between deterministic and stochastic dynamics of RPS-model Qian Yang Supervisors:

.

.

.

.

.

.

.

.

.

.

.

.

.

.

.

.

.

.

.

.

.

.

.

.

.

.

.

.

.

.

.

.

.

.

.

.

.

.

.

.

1. Motivation

Analysis Method –

1 Deterministic: Continuous andinfinite.

2 Stochastic: Discrete and finite

Main work –

1 Agreement and disagreement ofRPS-model with the two methods.

2 Noise slows down the evolution ofcyclic dominance.

Qian Yang (Uni. of Bath) Different dynamics in cyclic dominance July 5, 2016 4 / 16

Page 5: A tight race between deterministic and stochastic …vnicosia/cosydy2016/slides/Yang.pdfA tight race between deterministic and stochastic dynamics of RPS-model Qian Yang Supervisors:

.

.

.

.

.

.

.

.

.

.

.

.

.

.

.

.

.

.

.

.

.

.

.

.

.

.

.

.

.

.

.

.

.

.

.

.

.

.

.

.

2.1 Rock-Paper-Scissors Game

RPS simplest model

B(Paper)

A(Rock)C(Scissors)

x y : x beats y

Payoff matrix

P =

A B CABC

01−1

−101

1−10

Differential equations fordeterministic study

a = a(c − b),

b = b(a− c),

c = c(b − a),

and a(t) + b(t) + c(t) = 1.

Chemical reactions forstochastic simulation

A+ B1−→ B + B,

B + C1−→ C + C ,

C + A1−→ A+ A,

and A+ B + C = N,N is fixed.

Qian Yang (Uni. of Bath) Different dynamics in cyclic dominance July 5, 2016 5 / 16

Page 6: A tight race between deterministic and stochastic …vnicosia/cosydy2016/slides/Yang.pdfA tight race between deterministic and stochastic dynamics of RPS-model Qian Yang Supervisors:

.

.

.

.

.

.

.

.

.

.

.

.

.

.

.

.

.

.

.

.

.

.

.

.

.

.

.

.

.

.

.

.

.

.

.

.

.

.

.

.

2.1 Rock-Paper-Scissors Game

RPS simplest model

B(Paper)

A(Rock)C(Scissors)

x y : x beats y

Payoff matrix

P =

A B CABC

01−1

−101

1−10

Differential equations fordeterministic study

a = a(c − b),

b = b(a− c),

c = c(b − a),

and a(t) + b(t) + c(t) = 1.

Chemical reactions forstochastic simulation

A+ B1−→ B + B,

B + C1−→ C + C ,

C + A1−→ A+ A,

and A+ B + C = N,N is fixed.

Qian Yang (Uni. of Bath) Different dynamics in cyclic dominance July 5, 2016 5 / 16

Page 7: A tight race between deterministic and stochastic …vnicosia/cosydy2016/slides/Yang.pdfA tight race between deterministic and stochastic dynamics of RPS-model Qian Yang Supervisors:

.

.

.

.

.

.

.

.

.

.

.

.

.

.

.

.

.

.

.

.

.

.

.

.

.

.

.

.

.

.

.

.

.

.

.

.

.

.

.

.

2.1 Rock-Paper-Scissors Game

RPS simplest model

B(Paper)

A(Rock)C(Scissors)

x y : x beats y

Payoff matrix

P =

A B CABC

01−1

−101

1−10

Differential equations fordeterministic study

a = a(c − b),

b = b(a− c),

c = c(b − a),

and a(t) + b(t) + c(t) = 1.

Chemical reactions forstochastic simulation

A+ B1−→ B + B,

B + C1−→ C + C ,

C + A1−→ A+ A,

and A+ B + C = N,N is fixed.

Qian Yang (Uni. of Bath) Different dynamics in cyclic dominance July 5, 2016 5 / 16

Page 8: A tight race between deterministic and stochastic …vnicosia/cosydy2016/slides/Yang.pdfA tight race between deterministic and stochastic dynamics of RPS-model Qian Yang Supervisors:

.

.

.

.

.

.

.

.

.

.

.

.

.

.

.

.

.

.

.

.

.

.

.

.

.

.

.

.

.

.

.

.

.

.

.

.

.

.

.

.

2.1 Rock-Paper-Scissors Game

RPS simplest model

B(Paper)

A(Rock)C(Scissors)

x y : x beats y

Payoff matrix

P =

A B CABC

01−1

−101

1−10

Differential equations fordeterministic study

a = a(c − b),

b = b(a− c),

c = c(b − a),

and a(t) + b(t) + c(t) = 1.

Chemical reactions forstochastic simulation

A+ B1−→ B + B,

B + C1−→ C + C ,

C + A1−→ A+ A,

and A+ B + C = N,N is fixed.

Qian Yang (Uni. of Bath) Different dynamics in cyclic dominance July 5, 2016 5 / 16

Page 9: A tight race between deterministic and stochastic …vnicosia/cosydy2016/slides/Yang.pdfA tight race between deterministic and stochastic dynamics of RPS-model Qian Yang Supervisors:

.

.

.

.

.

.

.

.

.

.

.

.

.

.

.

.

.

.

.

.

.

.

.

.

.

.

.

.

.

.

.

.

.

.

.

.

.

.

.

.

2.1 Rock-Paper-Scissors Game

Update the simplest RPS-model

RPS-model with mutation and unbalanced payoff

B(Paper)

A(Rock)C(Scissors)

x y : x beats yx y : x mutates into y

Payoff matrix

P =

A B CABC

01

−β − 1

−β − 101

1−β − 1

0

+Mutations

Qian Yang (Uni. of Bath) Different dynamics in cyclic dominance July 5, 2016 6 / 16

Page 10: A tight race between deterministic and stochastic …vnicosia/cosydy2016/slides/Yang.pdfA tight race between deterministic and stochastic dynamics of RPS-model Qian Yang Supervisors:

.

.

.

.

.

.

.

.

.

.

.

.

.

.

.

.

.

.

.

.

.

.

.

.

.

.

.

.

.

.

.

.

.

.

.

.

.

.

.

.

2.1 Rock-Paper-Scissors Game

Update the simplest RPS-model

RPS-model with mutation and unbalanced payoff

B(Paper)

A(Rock)C(Scissors)

x y : x beats yx y : x mutates into y

Payoff matrix

P =

A B CABC

01

−β − 1

−β − 101

1−β − 1

0

+Mutations

Qian Yang (Uni. of Bath) Different dynamics in cyclic dominance July 5, 2016 6 / 16

Page 11: A tight race between deterministic and stochastic …vnicosia/cosydy2016/slides/Yang.pdfA tight race between deterministic and stochastic dynamics of RPS-model Qian Yang Supervisors:

.

.

.

.

.

.

.

.

.

.

.

.

.

.

.

.

.

.

.

.

.

.

.

.

.

.

.

.

.

.

.

.

.

.

.

.

.

.

.

.

2.1 Rock-Paper-Scissors Game

Update the simplest RPS-model

Ordinary Differential Equations

a = a[c − (1 + β)b + β(ab + bc + ac)] + µ(b + c − 2a),

b = b[a− (1 + β)c + β(ab + bc + ac)] + µ(c + a− 2b),

c = c[b − (1 + β)a+ β(ab + bc + ac)] + µ(a+ b − 2c).

with β > 0 and µ > 0, µ is mutation rate.

Chemical reactions for stochastic simulations

A+ B1−→ B + B, B + C

1−→C + C , C + A1−→ A+ A,

A+ B + Bβ−→ B + B + B, A

µ−→ B, Aµ−→ C ,

A+ A+ Cβ−→ A+ A+ A, B

µ−→ C , Bµ−→ A,

B + C + Cβ−→ C + C + C , C

µ−→ A, Cµ−→ B.

Qian Yang (Uni. of Bath) Different dynamics in cyclic dominance July 5, 2016 7 / 16

Page 12: A tight race between deterministic and stochastic …vnicosia/cosydy2016/slides/Yang.pdfA tight race between deterministic and stochastic dynamics of RPS-model Qian Yang Supervisors:

.

.

.

.

.

.

.

.

.

.

.

.

.

.

.

.

.

.

.

.

.

.

.

.

.

.

.

.

.

.

.

.

.

.

.

.

.

.

.

.

2.1 Rock-Paper-Scissors Game

Update the simplest RPS-model

Ordinary Differential Equations

a = a[c − (1 + β)b + β(ab + bc + ac)] + µ(b + c − 2a),

b = b[a− (1 + β)c + β(ab + bc + ac)] + µ(c + a− 2b),

c = c[b − (1 + β)a+ β(ab + bc + ac)] + µ(a+ b − 2c).

with β > 0 and µ > 0, µ is mutation rate.

Chemical reactions for stochastic simulations

A+ B1−→ B + B, B + C

1−→C + C , C + A1−→ A+ A,

A+ B + Bβ−→ B + B + B, A

µ−→ B, Aµ−→ C ,

A+ A+ Cβ−→ A+ A+ A, B

µ−→ C , Bµ−→ A,

B + C + Cβ−→ C + C + C , C

µ−→ A, Cµ−→ B.

Qian Yang (Uni. of Bath) Different dynamics in cyclic dominance July 5, 2016 7 / 16

Page 13: A tight race between deterministic and stochastic …vnicosia/cosydy2016/slides/Yang.pdfA tight race between deterministic and stochastic dynamics of RPS-model Qian Yang Supervisors:

.

.

.

.

.

.

.

.

.

.

.

.

.

.

.

.

.

.

.

.

.

.

.

.

.

.

.

.

.

.

.

.

.

.

.

.

.

.

.

.

2.2 Analysis of ODEs

Jacobian Matrix of ODEs

1 The only interior equilibrium:

x∗ = (a∗, b∗, c∗) = (1/3, 1/3, 1/3)

2 Jacobian matrix around the equilibrium

J∗ =

(−1

3 − 3µ −23 − 1

3β23 + 1

3β13 + 1

3β − 3µ

)3 The critical value of µ:

µc =β

18.

4 When µ < µc , Hopf bifurcation happens.

Qian Yang (Uni. of Bath) Different dynamics in cyclic dominance July 5, 2016 8 / 16

Page 14: A tight race between deterministic and stochastic …vnicosia/cosydy2016/slides/Yang.pdfA tight race between deterministic and stochastic dynamics of RPS-model Qian Yang Supervisors:

.

.

.

.

.

.

.

.

.

.

.

.

.

.

.

.

.

.

.

.

.

.

.

.

.

.

.

.

.

.

.

.

.

.

.

.

.

.

.

.

2.2 Numerical solution of ODEs

Formation of a robust cycle - limit cycle

Figure: β = 12 , µ = 1

216 < µc = 136 , y1 = a+ 1

2b, y2 =√32 b.

0 0.2 0.4 0.6 0.8 10

0.1

0.2

0.3

0.4

0.5

0.6

0.7

0.8

0.9

The coordinates transformation makes the flow spiraling outwardsvisible.

Qian Yang (Uni. of Bath) Different dynamics in cyclic dominance July 5, 2016 9 / 16

Page 15: A tight race between deterministic and stochastic …vnicosia/cosydy2016/slides/Yang.pdfA tight race between deterministic and stochastic dynamics of RPS-model Qian Yang Supervisors:

.

.

.

.

.

.

.

.

.

.

.

.

.

.

.

.

.

.

.

.

.

.

.

.

.

.

.

.

.

.

.

.

.

.

.

.

.

.

.

.

2.2 Stochasitic simulations

Comparison with numerical solution to ODEs

Figure: β = 12 , µ = 1

216 . N is total of individuals in simulation.

Behave differently. SSA - Stochastic Simulation Algorithm.

Size N controls the level of randomness.

Qian Yang (Uni. of Bath) Different dynamics in cyclic dominance July 5, 2016 10 / 16

Page 16: A tight race between deterministic and stochastic …vnicosia/cosydy2016/slides/Yang.pdfA tight race between deterministic and stochastic dynamics of RPS-model Qian Yang Supervisors:

.

.

.

.

.

.

.

.

.

.

.

.

.

.

.

.

.

.

.

.

.

.

.

.

.

.

.

.

.

.

.

.

.

.

.

.

.

.

.

.

2.2 Quasi-periodic cycles

Average period of these quasi-periodic cycles

An interesting comparison:

There is a RACE between stochastic dynamic and deterministicdynamic!

Qian Yang (Uni. of Bath) Different dynamics in cyclic dominance July 5, 2016 11 / 16

Page 17: A tight race between deterministic and stochastic …vnicosia/cosydy2016/slides/Yang.pdfA tight race between deterministic and stochastic dynamics of RPS-model Qian Yang Supervisors:

.

.

.

.

.

.

.

.

.

.

.

.

.

.

.

.

.

.

.

.

.

.

.

.

.

.

.

.

.

.

.

.

.

.

.

.

.

.

.

.

2.3 Region I - the right part

Determinsitic dynamic governs the game

Compose local and global map:

global map

local map

(0,0,1) (1,0,0)

(0,1,0)

TODE ∝ − lnµ is proved theoretically.

Qian Yang (Uni. of Bath) Different dynamics in cyclic dominance July 5, 2016 12 / 16

Page 18: A tight race between deterministic and stochastic …vnicosia/cosydy2016/slides/Yang.pdfA tight race between deterministic and stochastic dynamics of RPS-model Qian Yang Supervisors:

.

.

.

.

.

.

.

.

.

.

.

.

.

.

.

.

.

.

.

.

.

.

.

.

.

.

.

.

.

.

.

.

.

.

.

.

.

.

.

.

2.3 Region III - the left part

Stochastic dynamic prevails the opponent

The cycle in this region looks like:

It is a 1-D death-birth process.

When µ ≪ 1N lnN , TSSA ∝ 1

Nµ .

Qian Yang (Uni. of Bath) Different dynamics in cyclic dominance July 5, 2016 13 / 16

Page 19: A tight race between deterministic and stochastic …vnicosia/cosydy2016/slides/Yang.pdfA tight race between deterministic and stochastic dynamics of RPS-model Qian Yang Supervisors:

.

.

.

.

.

.

.

.

.

.

.

.

.

.

.

.

.

.

.

.

.

.

.

.

.

.

.

.

.

.

.

.

.

.

.

.

.

.

.

.

2.3 Region II - the middle part

A tight race between the two dynamics

Explanation: the idea of asymptotic phase (the picture, cited from J.M. Newby) and SDE.

When µ ∼ 1N lnN , TSDE ≈ −3 lnµ+ C 3

Nµ .

Qian Yang (Uni. of Bath) Different dynamics in cyclic dominance July 5, 2016 14 / 16

Page 20: A tight race between deterministic and stochastic …vnicosia/cosydy2016/slides/Yang.pdfA tight race between deterministic and stochastic dynamics of RPS-model Qian Yang Supervisors:

.

.

.

.

.

.

.

.

.

.

.

.

.

.

.

.

.

.

.

.

.

.

.

.

.

.

.

.

.

.

.

.

.

.

.

.

.

.

.

.

3. Summary - Three regions

Region Winner Methods Figure

Region I1

N lnN≪ µ < µc

DeterministicTODE ∝ − lnµ

composition of localand global maps

global map

local map

(0,0,1) (1,0,0)

(0,1,0)

Region IIµ ∼ 1

N lnN

EvenTSDE ≈ −3 lnµ+ C 3

asymptotic phaseand SDE

Region III0 < µ ≪ 1

N lnN

StochasticTSSA ∝ 1

Markov Chain

Table: Different result of the race in different region.

Qian Yang (Uni. of Bath) Different dynamics in cyclic dominance July 5, 2016 15 / 16

Page 21: A tight race between deterministic and stochastic …vnicosia/cosydy2016/slides/Yang.pdfA tight race between deterministic and stochastic dynamics of RPS-model Qian Yang Supervisors:

.

.

.

.

.

.

.

.

.

.

.

.

.

.

.

.

.

.

.

.

.

.

.

.

.

.

.

.

.

.

.

.

.

.

.

.

.

.

.

.

3. Summary - Final comparison

A tight race between the two dynamics

Summarise three theoretical analysis, and draw the following figure:

Finally, the result of the match is revealed. Thank you for yourattention!

Qian Yang (Uni. of Bath) Different dynamics in cyclic dominance July 5, 2016 16 / 16

Page 22: A tight race between deterministic and stochastic …vnicosia/cosydy2016/slides/Yang.pdfA tight race between deterministic and stochastic dynamics of RPS-model Qian Yang Supervisors:

.

.

.

.

.

.

.

.

.

.

.

.

.

.

.

.

.

.

.

.

.

.

.

.

.

.

.

.

.

.

.

.

.

.

.

.

.

.

.

.

3. Summary - Final comparison

A tight race between the two dynamics

Summarise three theoretical analysis, and draw the following figure:

Finally, the result of the match is revealed. Thank you for yourattention!

Qian Yang (Uni. of Bath) Different dynamics in cyclic dominance July 5, 2016 16 / 16