Two members of a gang are arrested and held in separate cells, unable to talk to each other. The police lack the evidence to convict them of the serious crime, so they offer each prisoner the same deal. Betray your partner by confessing, and if he stays silent you walk free while he serves ten years. If you both confess, you each get five years. If you both stay silent, the police can only pin a minor charge on you, and you each get one year. What should a rational prisoner do?

The unsettling answer is that a purely rational prisoner should betray the other, even though both would be better off keeping quiet. This is the prisoner’s dilemma, and it has been studied for the better part of a century because it seems to prove that cooperation is irrational, and yet cooperation is everywhere around us.
Why betrayal wins on paper
Look at it from one prisoner’s seat. You cannot know what your partner will do, so weigh both cases. If he stays silent, you can walk free by confessing instead of taking a year, so confessing is better. If he confesses, you get five years by confessing instead of ten by staying silent, so confessing is again better. Whatever he does, confessing gives you the lighter sentence. The exact same logic runs in his head. So both of you, reasoning flawlessly, confess, and you each get five years, when a little trust would have bought you one year each. Perfect individual logic produces a worse result for both. In the language of game theory, mutual betrayal is the Nash equilibrium: the outcome where neither player can do better by changing their own mind alone.
Where it came from
The puzzle was built in 1950 at the RAND Corporation, the American think tank set up to study strategy in the early Cold War. Two mathematicians, Merrill Flood and Melvin Dresher, designed the underlying game while probing how people act in situations that are neither fully cooperative nor strictly win-lose. It was a colleague, the mathematician Albert Tucker, who dressed the bare numbers in the story of two prisoners and gave it the name that stuck. The Cold War timing was not incidental. Two superpowers, each deciding whether to arm or disarm without trusting the other, are a prisoner’s dilemma with the whole planet as the stake.
The twist that rescues cooperation
If the story ended there, the world would be colder than it is. The escape hatch is repetition. Play the dilemma once and betrayal is hard to argue against. But play it again and again against the same person, remembering what they did last time, and everything shifts, because now today’s betrayal can be punished tomorrow.
In 1980 the political scientist Robert Axelrod tested this directly. He invited experts to submit strategies for a repeated prisoner’s dilemma and ran them against one another in a tournament of 200 rounds per match. The winner, submitted by the mathematician Anatol Rapoport, was also the simplest entry of them all. It was called Tit for Tat, and its entire rule was this: cooperate on the first move, then copy whatever your opponent did last time.
Axelrod found the strategies that thrived shared four traits. They were nice, never the first to betray. They were retaliating, so they could not be walked over. They were forgiving, returning to cooperation the instant the other side did. And they were clear, simple enough that an opponent could learn to trust them. A strategy that hit back when crossed but dropped the grudge at once beat every clever, greedy scheme in the room.
Why it matters
The prisoner’s dilemma looks like a proof that selfishness is the smart move, and for a single one-off encounter it nearly is. But we almost never live single encounters. We deal with the same neighbours, colleagues, countries and companies over and over, and in that repeated game the cold arithmetic flips. Being decent by default, refusing to be exploited, and forgiving quickly is not naive. It is, measured over a lifetime of rounds, the winning move.




