Walrasia
Oligopoly and game theory

The prisoner's dilemma in economics, explained

2026-10-19 · Walrasia

Two rivals would both be richer if they kept their prices high. Each of them knows it. And yet, week after week, they cut prices and both earn less. The usual guess is that someone is being stupid. Nobody is. The prisoner's dilemma is what happens when two perfectly sensible choices add up to a bad result.

The short answerA prisoner's dilemma is a game between two players in which each one has a dominant strategy, a choice that pays more whatever the other player does, yet when both play it, both end up worse off than if they had both chosen the other option. The two players land on the Nash equilibrium, the outcome where neither can gain by changing alone, and it is not the outcome either of them wanted. In economics it explains price wars, advertising races and why cartels fall apart.

The story behind the name

In 1950 two American mathematicians, Merrill Flood and Melvin Dresher, tested a game with this shape at RAND, a research group in California. Albert Tucker, a mathematician at Princeton University, retold it as a story about two suspects questioned in separate rooms. If both stay silent, each gets a short sentence. If one confesses and the other stays silent, the confessor walks free and the silent one gets a long sentence. If both confess, both get a medium sentence. Whatever the other suspect does, confessing is better for you. So both confess, and both do worse than if they had both kept quiet.

In economics the suspects are firms and the sentences are profits. Lesson 8 of the Microeconomics course plays it out with two gas stations. If you want the original story with the suspects, Lesson 1 of the Game Theory course does that.

Two gas stations and a payoff matrix

Island Fuel and Cross Road Fuel sit across the road from each other and are the only two stations for miles. Each can charge High, $3.00 a gallon, or Low, $2.50. Drivers cross the road for cheaper fuel, so each station's profit depends on both prices. The table below, a payoff matrix, shows each station's weekly profit for every pair of choices: Island Fuel's number in blue, Cross Road Fuel's in orange.

The way to read it is one column or one row at a time. Fix what the rival does, then ask which of your two choices pays more. That answer is your best reply. Move the slider to walk through it.

Cross Road Fuel High · $3.00Low · $2.50 Island Fuel High$3.00 Low$2.50 $6,000/$6,000 $2,000/$8,000 $8,000/$2,000 $4,000/$4,000
0
Profit per week, Island Fuel in blue and Cross Road Fuel in orange. If both charge High, $6,000 each. If both charge Low, $4,000 each. If one is Low and the other High, the low one takes most of the drivers: $8,000 against $2,000.
Each cell: Island Fuel's weekly profit in blue, Cross Road Fuel's in orange. An underline marks a best reply; the green cell is where both numbers are underlined.

Why nobody moves: the Nash equilibrium

An outcome where every player is already playing a best reply to what the others are doing is a Nash equilibrium, named after John Nash, the American mathematician who described it in 1950. Nobody wants to move alone, so the outcome holds. In the gas station game there is exactly one: both charge Low, $4,000 each.

And here is the dilemma. Both charging High would pay $6,000 each, $2,000 more for both. But (High, High) is not stable. Stand in that cell and ask Island Fuel's question: if I cut to Low while the rival stays High, I jump to $8,000. Cross Road Fuel asks the same question and gets the same answer. Each one cuts to protect itself from the other's cut, and both land at $4,000. The four numbers each station can earn, in order, are what make a prisoner's dilemma:

Outcome for Island FuelIts profitName
I cut, the rival stays High$8,000Temptation
Both stay High$6,000Reward for cooperating
Both cut to Low$4,000Punishment
I stay High, the rival cuts$2,000Sucker's payoff

Temptation beats reward, and punishment beats the sucker's payoff: that is why cutting is dominant. Reward beats punishment: that is why both lose by doing it. Any game with its four payoffs in this order is a prisoner's dilemma, whatever the story on top.

The way out: play again tomorrow

The two owners could agree to both stay at High. That is collusion, and a group of firms that agrees to act like a single seller is a cartel, usually illegal because it raises prices for buyers. The matrix says why such a deal is fragile: the first owner to break it secretly jumps from $6,000 to $8,000.

But gas stations do not set a price once. They set it every week, for years. A station that cheats this week can be punished next week. The simplest punishment rule is tit-for-tat: start by cooperating, then copy whatever the rival did last time. Suppose Island Fuel plays tit-for-tat and Cross Road Fuel cheats in week 1 and then stays Low. Cross Road Fuel earns $8,000 once, then $4,000 a week once Island Fuel copies the cut, instead of $6,000 a week from the deal. Move the slider to see how long the cheat pays.

$0$12k$24k$36k$48k 02468 WeeksCross Road Fuel's profit so far Keep the deal Cheat in week 1 $24,000 $20,000
4
Over 4 weeks. Keep the deal: 4 × $6,000 = $24,000. Cheat in week 1: $8,000 + 3 × $4,000 = $20,000. Cheating costs $4,000.
Green: Cross Road Fuel keeps the deal and earns $6,000 every week. Orange: it cheats in week 1 ($8,000), then earns $4,000 a week once Island Fuel copies the cut. The lines cross at week 2.

Played once, cheating wins. Played for two weeks, it is a tie. From three weeks on, the deal wins, and every extra week adds $2,000 to the gap. That is why rivals who meet every week can keep prices high without writing anything down, and why cartels still crack: a member who thinks the game is about to end, or that a cheat will go unnoticed, is back in the one-week case.

The trap on tests

Quick check

1. Two bakeries can each run an ad campaign or not. Both advertise: $4,000 each. Neither advertises: $5,000 each. Only one advertises: $7,000 for the advertiser, $2,000 for the other. Is this a prisoner's dilemma?

Yes. Fix the rival at "No ad": advertising pays $7,000 against $5,000. Fix the rival at "Ad": $4,000 against $2,000. Advertising is dominant for both, so both advertise and earn $4,000 each, less than the $5,000 each they would earn with no ads. The order is 7,000 > 5,000 > 4,000 > 2,000, exactly the gas stations' pattern.

2. Against tit-for-tat, Cross Road Fuel cheats in week 1 and then stays Low. For how many weeks must the game last before keeping the deal pays more?

Three. The deal pays $6,000 a week; the cheat pays $8,000 once, then $4,000 a week. After 1 week: $6,000 against $8,000, the cheat is ahead. After 2 weeks: $12,000 against $12,000, a tie. After 3 weeks: $18,000 against $16,000, the deal is ahead, and it stays ahead by $2,000 more each week.

3. True or false: "In a prisoner's dilemma, the Nash equilibrium is the cell with the highest total profit."

False. The Nash equilibrium is where each player's choice is a best reply to the other's, which is (Low, Low): $8,000 in total. The highest total is (High, High), $12,000, and it is exactly the outcome the dominant strategies walk both players away from.

Lesson 8 · Oligopoly and game theory · interactiveShould you start a price war?Try it yourself: move the curves and see what happens. About 15 minutes, on your phone.