In well-mixed populations the equilibrium fractions of cooperators and defectors are easily calculated using the replicator equation. If denotes the fraction of cooperators (and the fraction of defectors) then their evolutionary fate is given by

Four basic evolutionary scenarios of 2×2 Games in the -plane (with ): (a) Dominance of type (Prisoner's Dilemma); (b) Stable co-existence of and types (Snowdrift Game, Hawk-Dove Game, Chicken Game); (c) Bi-stability - the evolutionary outcome depends on the initial configuration (Staghunt Game); (d) Dominance of type (Bi-product mutualism). The color code indicates the equilibrium frequency of type ranging from low, red to intermediate, green and high, blue. In region (c) the color indicates the size of the basin of attraction of state .

where and denote the average payoffs of type and type players, respectively. The replicator equation basically states that the more successful strategy, i.e. the one with the higher payoff will increase in abundance. The above equation has three equilibria: two trivial ones with and as well as a non-trivial equilibrium for which leads to

.

The replicator equation allows to shift and normalize the payoffs without affecting the dynamics because the performance of cooperators and defectors only depends on the relative payoffs, i.e. on payoff differences. For this reason we can set and without loss of generality. Note that the equilibrium does not necessarily exist, i.e. lie in the interval . This gives rise to four basic evolutionary scenarios discussed below.

Basic evolutionary scenarios

All of the following examples and suggestions are meant as inspirations for further experimenting with the EvoLudo simulator. Each of following examples starts a lab that demonstrates the particular dynamical scenario. By modifying the parameters the dynamics can be further explored.

Color code: Type A Type B
 

Type A dominates

For Failed to parse (SVG (MathML can be enabled via browser plugin): Invalid response ("Math extension cannot connect to Restbase.") from server "https://wikimedia.org/api/rest_v1/":): {\displaystyle T<1} and   the only stable equilibrium is   (  is unstable and   does not exist). Thus, regardless of the initial configuration of the population type   will increase and eventually reach fixation.

If   indicates cooperation and   defection, then cooperation dominates defection. In biology, this situation refers to by-product mutualism, where cooperative behavior establishes as a by-product of some other activity. For example, the of stotting gazelles is cooperative behavior because it warns their fellows from approaching predators but at the same time it startles predators and displays the individuals strength, which might persuade the predator to go after another individual. The relative costs and benefits of these two aspects of stotting behavior determine whether warning other gazelles occurs only as a by-product.

 

Type B dominates

Conversely, for   and   the only stable equilibrium is   (  is unstable and   does not exist). Thus, type   players eventually disappear irrespective of the initial configuration of the population.

If   indicates cooperation and   defection, then defection dominates cooperation. In biology, this situation is represented by the famous Prisoner's Dilemma (for further details see the tutorial on Cooperation in structured populations).

 

Coexistence

For   and   both trivial equilibria   are unstable and the equilibrium   must exist and must be stable. In that case, type   and   individuals can co-exist.

This situation corresponds to the Snowdrift game, Chicken or Hawk-Dove game used to model cooperation and competition in biology (for further details see the tutorial on Cooperation in structured populations).

 

Bistability

Finally, for   and   both trivial equilibria are stable with an unstable equilibrium   in the interior. Depending on the initial configuration of the population either cooperators or defectors will increase and reach fixation. The position of Failed to parse (SVG (MathML can be enabled via browser plugin): Invalid response ("Math extension cannot connect to Restbase.") from server "https://wikimedia.org/api/rest_v1/":): {\displaystyle x_3} determines the basin of attraction of the evolutionary end states of all cooperation or all defection. If the initial fraction of cooperators exceeds   then the   types prevail but vanish otherwise.

This situation represent a coordination game often referred to as a Staghunt game.