Professional Documents
Culture Documents
Nonlinear Dynamics of The Rock-Paper-Scissors Game
Nonlinear Dynamics of The Rock-Paper-Scissors Game
Nonlinear Dynamics of The Rock-Paper-Scissors Game
net/publication/272194516
CITATIONS READS
52 896
2 authors, including:
Danielle Toupo
Cornell University
5 PUBLICATIONS 102 CITATIONS
SEE PROFILE
All content following this page was uploaded by Danielle Toupo on 03 February 2016.
exists for all the mutation patterns considered, and persists arbitrarily close to the limit of zero
mutation rate and a zero-sum game.
TABLE I. Payoff matrix of a zero-sum Rock-Paper-Scissors 1 − x − y. By eliminating z in this fashion, one can
game capture the dynamics of the three strategies by studying
x and y alone. Following Ref. [7], the replicator-mutator
Rock Paper Scissors equations can be written as
Rock 0 −1 1
Paper 1 0 -1
Scissors -1 1 0 ẋ = x (fx − φ) + µ (−2x + y + z)
ẏ = y (fy − φ) + µ (−2y + x + z) (1)
According to the payoff matrix in Table I, each species where fi is the fitness of strategy i, defined as its ex-
gets a payoff 0 when playing against itself. When playing pected payoff against the current mix of strategies, and
against a different species, the winner gets a payoff 1 φ = xfx + yfy + zfz is the average fitness in the whole
while the loser gets −1. population. For the payoff matrix defined above in Ta-
A more general payoff matrix, considered in Ref. [7], ble III, and using z = 1 − x − y, we find
allows for non-zero-sum games. Now the winner gets a
payoff 1 and the loser gets −, as shown in Table II. This fx = 1 − x − ( + 2)y
game is zero sum if and only if = 1.
and
fy = ( + 2)x + ( + 1)(y − 1).
TABLE II. Payoff matrix of a Rock-Paper-Scissors game with
parameter . The game is a zero-sum game when = 1. A conceptual disadvantage of eliminating z in favor of
Rock Paper Scissors x and y is that the system’s cyclic symmetry becomes
Rock 0 − 1 less apparent. To highlight it, one can plot the phase
Paper 1 0 − portraits of the system on the equilateral triangle defined
Scissors − 1 0 by the face of the simplex x + y + z = 1, where 0 ≤
x, y, z ≤ 1. This mapping of the phase portrait onto the
equilateral triangle can be achieved by using the following
For convenience, we redefine the entries of the payoff transformation:
matrix so that the zero-sum case corresponds to = 0
1 √21
rather than = 1. The payoff matrix for the rest of this X x
= . (2)
paper is shown in Table III. Y 0 23 y
In what follows, all phase portraits will be plotted in
TABLE III. Payoff matrix of a Rock-Paper-Scissors game, (X, Y ) space, but we will still indicate the values of x, y, z
redefined so that the zero-sum game has = 0. at the vertices of the simplex, since these variables have
clearer interpretations.
Rock Paper Scissors ∗ ∗ ∗
Rock 0 −( + 1) 1
Equation (1) has four fixed points: (x , y , z ) =
1 1 1
Paper 1 0 −( + 1) (0, 0, 0) , (1, 0, 0) , (0, 1, 0), and 3 , 3 , 3 . The inner fixed
Scissors −( + 1) 1 0 point undergoes a Hopf bifurcation when µh = /18, as
shown in [7]. Moreover, the system undergoes three si-
multaneous saddle connections when µ = 0, meaning
that when µ = 0, there is a heteroclinic cycle linking
the three corners of the simplex. Figure 2 shows the
III. GLOBAL MUTATIONS stability diagram of Eq. (1) as well as phase portraits
corresponding to the different regions of Fig. 2(a).
The most symmetrical Rock-Paper-Scissors game with Incidentally, the occurrence of the heteroclinic cycle is
mutation is the one with global mutation, where each not an artifact of the global mutation structure assumed
species mutates into the other two with a rate µ, as shown here. For any mutation pattern, µ = 0 will always (triv-
in Fig. 1. ially) yield a heteroclinic cycle linking the three corners
Suppose that global mutation occurs in a well-mixed of the simplex, since that cycle is known to be present
population with N individuals. Let x, y and z denote in the absence of mutation [1, 2, 4, 7, 9]. Thus, all the
the relative frequencies of individuals playing rock, paper subsequent stability diagrams in this paper will show a
and scissors, respectively. Then x + y + z = 1 or z = saddle connection curve along the line µ = 0.
3
FIG. 2. (Color online) Stability diagram for Eq. (1) and FIG. 3. (Color online) Stability diagram and phase portraits
its associated phase portraits, in the case of global mutation. for Eq. (3). In this single-mutation case, rock x mutates into
µ
(a) Stability diagram. Locus of supercritical Hopf bifurca- paper y at a rate µ: x → y . (a) Stability diagram. Super-
tion, solid blue curve; saddle connection, dotted red line. (b) critical Hopf bifurcation, solid blue curve; saddle connection,
Phase portrait corresponding to Region 1 of the stability dia- dotted red line. (b) Phase portrait corresponding to Region
gram. The system has a stable interior point, corresponding 1 of the stability diagram. The system has a stable interior
to coexistence of all three strategies. (c) Phase portrait cor- point, corresponding to coexistence of all three strategies. (c)
responding to Region 2. The system has a stable limit cycle. Phase portrait corresponding to Region 2. The system has a
stable limit cycle.
µ
B. Single mutation: y −
→x
V. DOUBLE MUTATIONS
ẋ = x(fx − φ) + µ(−[αy x + αz x] + βx y + γx z)
VI. COMPLEX MUTATIONS ẏ = y(fy − φ) + µ(−[βx y + βz y] + αy x + γy z)
ż = z(fz − φ) + µ(−[γx z + γy z] + αz x + βz y). (5)
The analytical treatment of the model becomes pro-
hibitively messy as one adds more mutation pathways. Here the indicator coefficients given by the various α, β,
To make further progress, let us restrict attention to mu- and γ are set to 0 or 1, depending on which mutation
tation patterns that preserve (x, y) = ( 31 , 13 ) as the inner pathways are absent or present. For example, we set
fixed point for all values of and µ. These mutation αy = 1 if x mutates into y. Otherwise, we set αy = 0.
patterns are shown in Table IV. We computed the Hopf The same sort of reasoning applies to the various βj and
curve analytically for all of them and noticed something γk .
curious: The equation of the Hopf curve is always To ensure that ( 31 , 13 ) is a fixed point of Eq. (5), the
indicator coefficients must satisfy certain algebraic con-
µh = , straints. These are given by
3 × (# of mutations)
βx + γx = αy + αz
as shown in Table IV.
To derive this formula, we write the replicator equa- αy + γy = βx + βz
tions for all the mutation patterns in Table IV as a single α z + β z = γx + γy . (6)
6
2 µh =
6 VII. DISCUSSION
[1] J. Hofbauer and K. Sigmund, Evolutionary Games [12] B. Sinervo and C. M. Lively, Nature 380, 240 (1996).
and Population Dynamics (Cambridge University Press, [13] D. Semmann, H.-J. Krambeck, and M. Milinski, Nature
1998). 425, 390 (2003).
[2] M. A. Nowak, Evolutionary Dynamics: Exploring the [14] T. Galla, J. Stat. Mech. 2011, P08007 (2011).
Equations of Life (Harvard University Press, 2006). [15] L. A. Imhof, D. Fudenberg, and M. A. Nowak, Proc.
[3] G. Szabó and G. Fath, Phys. Rep. 446, 97 (2007). Natl. Acad. Sci. 102, 10797 (2005).
[4] A. Szolnoki, M. Mobilia, L.-L. Jiang, B. Szczesny, A. M. [16] W. G. Mitchener and M. A. Nowak, Proc. Roy. Soc. of
Rucklidge, and M. Perc, J. Roy. Soc. Interface 11, London-B 271, 701 (2004).
20140735 (2014). [17] D. Pais, C. H. Caicedo-Núnez, and N. E. Leonard, SIAM
[5] B. Kerr, M. A. Riley, M. W. Feldman, and B. J. Bohan- J. Appl. Dyn. Syst. 11, 1754 (2012).
nan, Nature 418, 171 (2002). [18] D. Pais and N. E. Leonard, in Decision and Control and
[6] B. C. Kirkup and M. A. Riley, Nature 428, 412 (2004). European Control Conference (CDC-ECC), 2011 50th
[7] M. Mobilia, J. Theor. Biol. 264, 1 (2010). IEEE Conference on (IEEE, 2011) pp. 3922–3927.
[8] T. Reichenbach, M. Mobilia, and E. Frey, Nature 448, [19] P. F. Stadler and P. Schuster, J. Math. Biol. 30, 597
1046 (2007). (1992).
[9] G. Szabó, A. Szolnoki, and R. Izsák, J. Phys. A: Math- [20] G. Szabó and J. Vukov, Phys. Rev. E 69, 036107 (2004).
ematical and General 37, 2599 (2004). [21] R. M. May and W. J. Leonard, SIAM J. Appl. Math. 29,
[10] A. Szolnoki, M. Perc, and G. Szabó, Phys. Rev. E 80, 243 (1975).
056104 (2009). [22] D. F. P. Toupo, D. G. Rand, and S. H. Strogatz, Int. J.
[11] B. Szczesny, M. Mobilia, and A. M. Rucklidge, EPL of Bifurcation and Chaos 24, 1430035 (2014).
(Europhysics Letters) 102, 28012 (2013).