Origin of Cooperators and Defectors
Traditionally in both classical as well as evolutionary game theory a finite set of discrete strategies is assumed a priori. When discussing the evolution of cooperation in social dilemmas, the simplest set of strategies would consist of cooperators and defectors. Cooperators provide a benefit to other individuals at some cost, while defectors attempt to exploit such common resources. This leads to a classic conflict of interest between the individual's and the community performance - and hence the dilemma. The game dynamics then determines the relative frequencies of the different strategies in a population.
From an evolutionary perspective, however, it is essential to understand the emergence of discrete strategies and particularly of cooperators and defectors in order to justify these a priori assumptions. Since evolution is a gradual process, it is important to consider continuous variants of game theoretical metaphors for cooperative interactions such as the Prisoner's Dilemma or the Snowdrift game. The essential difference between the two games is that in the Prisoner's Dilemma the benefits of cooperation accrue exclusively to the other individuals whereas in the Snowdrift game the act of cooperation also provides some benefits to the cooperator itself.
Even though the Snowdrift game has received relatively little attention in the literature it appears to be highly relevant in many biologically scenarios: Consider for example Saccharomyces cerevisiae a single-celled yeast species. The yeast cells secrete an enzyme which 'digests' their immediate surroundings (invertase hydrolyzes sucrose) and turns it into a food resource. Since this food resource is commonly available, it represents a public good that can be easily exploited by defectors that produce little or no enzyme (but rather reproduce faster). However, if no one produces the enzyme, everybody will die of starvation. Therefore, the costs and benefits of cooperative investments crucially depend on the present environment.
This tutorial complements a series of research articles by Michael Doebeli, Timothy Killingback & Christoph Hauert
Continuous Snowdrift game
Let us assume two individuals with strategies
In the following we highlight the rich and intriguing dynamics arising from this simple model. In particular, we demonstrate that this scenario can easily lead to evolutionary branching which gives rise to the spontaneous emergence of discrete strategies, i.e. cooperators and defectors. The two strategies co-exist in a stable equilibrium even under strictly mixing conditions and in absence of assortative interactions.
In the simplest case with
All of the following examples and suggestions are meant as inspirations for further experiments. Each example opens a new page with a running lab with all necessary parameters set as appropriate to demonstrate the different scenarios.
Evolutionary dynamics if singular strategy exists

Attractor - convergent stable and evolutionarily stable
Provided that the equilibrium
Such stable intermediate investment levels are related to results for the Snowdrift (or Hawk-Dove) game with mixed strategies, i.e. where individuals have a certain probability to cooperate or defect. In equilibrium, an intermediate propensity to cooperate evolves and represents an evolutionarily stable state.

Branching point - convergent stable but not evolutionarily stable
If

Repellor - not convergent stable
If
The figure combines two different simulation runs, one for
Evolutionary dynamics in the absence of singular strategies

Dominance (defection)
If the benefit that accrues to the cooperator itself is insufficient to cover the incurring costs in absence of cooperating co-players then defection dominates and lower investing individuals are better off. Consequently, the investment levels decrease and cooperation vanishes - despite the fact that everybody would be better off cooperating. This situation corresponds to the strictest form of a social dilemma and relates to the continuous Prisoner's Dilemma.

Dominance (cooperation)
In contrast to the Prisoner's Dilemma, mutualistic interactions represent the weakest form of a social dilemma. In fact, here cooperation dominates, i.e. higher investing individuals thrive. In a game theoretical setting assume a group of cooperators a and a single defector. The defector still outperforms the cooperators because he/she avoids the incurring costs. However, in a mutualistic setting, the defector would have been even better off by switching to cooperation too. As a consequence cooperative investments increase over time until they reach the upper limit.
Evolutionary dynamics of more complex scenarios

Branching point and repellor
More complicated cost and benefit functions lead to very interesting dynamics but generally they make a complete analysis impossible. Here we set

Branching point and repellor - intermediate investment levels
So far, whenever branching occurred the upper branch, i.e. investments increased until they reached the boundary of the trait range. In order to illustrate that this must not be the case consider
Adaptive dynamics in a nutshell

Consider a monomorphic population with strategy
References
- Killingback, T., Doebeli, M. & Hauert, C. (2010) Cooperation and Defection in the Tragedy of the Commons, Biological Theory 5, 3-6 doi: 10.1162/BIOT_a_00019.
- Doebeli, M., Hauert, C. & Killingback, T. (2004) The evolutionary origin of cooperators and defectors, Science 306, 859-862 doi: 10.1126/science.1101456.
Press & News
- When Laziness Pays: Math explains how cooperation and cheating evolve (2005) ScienceNews 167 (3) 35 by Erika Klarreich (January 15).
- Egoismo e altruismo, sempre in equilibrio (2004) Il Corriere della Sera (October 31) by Massimo Piattelli Palmarini.
This article 'Egoism and altruism, always in equilibrium' appeared in an Italian national newspaper. - Warum einige immer abräumen und andere ständig draufzahlen (2004) Die Welt (November 22) by Ranty Islam.
This article 'Why some always scoop the market and others persistently overpay' appeared in a German national newspaper.
Acknowledgements
These fascinating research results would have never been achieved without the inspiring discussions and advice from Michael Doebeli and Timothy Killingback. The evolutionary origin of this collection of tutorials lies in Karl Sigmund's encouragement, scientific inspiration and advice. To conquer the tricky subtleties of Java the patience and competence of Urs Bill was invaluable. Financial support of the Swiss National Science Foundation is gratefully acknowledged.