Researchers have tackled the problem of cooperation (and the related one of the evolution of altruism) for some time now. Initial game theory models suggested that cooperative animals would quickly be supplanted by selfish ones because of a cost to cooperation, as in the the so-called simple prisoners’ dilemma.
In these situations, typically an individual can choose between an action that benefits everyone, but at a cost to oneself, and an action that clearly benefits the individual, but comes at the risk of greater loss if everyone adopts that strategy. It turns out that most of us would rather lose than share, a sad but to many not surprising commentary on the human condition.
However, people eventually realized that cooperation makes the most sense in social groups, where phenomena such as kin and reciprocal altruism can take place. Sure enough, if the prisoners’ dilemma game is played iteratively, instead of in just one round, and if the players are allowed to keep track of what other players are doing (i.e., to build “reputations”) then it turns out that cooperating, even at a certain cost to oneself, is the winning long-term strategy.