Math paradoxes
School maths

The Sleeping Beauty problem A coin, a sleep, a wiped memory. What is the chance of heads?1/3 per awakening, 1/2 per experiment.

Beauty is put to sleep and a coin is tossed. On heads she is woken once, on tails twice, and each time her memory of any earlier waking is erased. When she wakes she doesn't know what day it is. What should her chance of heads be? Lock in your answer, then test it with bets, a simulation and the explanations.

Beauty is put to sleep and a coin is tossed. On heads she is woken once, on tails twice, and each time her memory is erased. Only a third of all awakenings follow heads, but half of all experiments do. Philosophers have argued since 2000: "thirders" count awakenings, "halfers" count experiments. Below you can see which question each camp is answering and whose bets pay off.

Make a guess
1/3of awakenings follow heads
1/2of experiments are heads
The puzzle

A coin on Sunday, a waking on Monday, and maybe on Tuesday

This is one of the few puzzles on the site where serious researchers still disagree. So instead of a single "right answer" we show where each number comes from and which question it actually answers.

  1. 1

    Sunday

    Beauty is put to sleep. She knows all the rules in advance. While she sleeps, the researchers toss a fair coin.

  2. 2

    Heads: one waking

    On heads she is woken on Monday, asked a question and put back to sleep until the experiment ends on Wednesday.

  3. 3

    Tails: two wakings

    On tails she is woken on Monday and on Tuesday. After Monday she is given a drug that erases the memory of that waking. Tuesday looks to her exactly like Monday.

  4. 4

    The question

    Each time she wakes she is asked: "How confident are you that the coin landed heads?" She doesn't know whether it is Monday or Tuesday, or whether she was woken before. What probability should she give?

Intuition says

"The coin is fair and I learned nothing new. So 1/2"

That is how the "halfers" argue, the philosopher David Lewis among them. But count the awakenings: of three possible ones, only one follows heads. So the "thirders", like Adam Elga, say 1/3. Both numbers are correct answers to different questions, and bets show when you need which.

Assumptions

  • The coin is fair: heads and tails 1/2 each.
  • Beauty knows the rules and reasons flawlessly.
  • The wakings are indistinguishable: no calendar, no clock, no memories.

We write H for heads and T for tails. Monday and Tuesday: Mon and Tue.

Round 1 · Guess

Beauty has woken up. What is the chance of heads?

Put yourself in her place: you have just woken and don't know what day it is. Lock in your answer before reading on.

Your answer
???

A breakdown of your answer will appear here.

Now the real question: what do the "halfers" count when they say 1/2?

Hints

Hard to decide? Open the hints one at a time: the easy one first, then stronger ones.

Round 2 · Bets

You are Beauty. Bet at every awakening

We toss the coin and wake you once or twice. Each time you bet $1 on heads or tails. Two cashiers settle the bets differently. The "per awakening" cashier takes $1 at every awakening. The "per experiment" cashier takes $1 for the whole experiment, so on tails each of the two awakenings is worth 50 cents. See which strategy wins at which cashier.

Experiment1
Awakenings so far0

Two cashiers

StrategyPer awakeningPer experiment

What is a "$1 if heads" ticket worth?

Your confidence in heads is the price at which the ticket neither gains nor loses for you. Average profit per ticket at each price, on your own experiments:

PriceBought at every awakeningOne per experiment

Round 3 · Simulation

A million experiments: counting awakenings and counting experiments

The computer runs experiments one after another and keeps two tallies: the share of experiments that were heads, and the share of awakenings that came after heads. Same coins, same awakenings; only the denominator differs.

Awakenings on tails
heads among experiments heads among awakenings dashed: theory
Experiments · heads among them
–
Awakenings · after heads
–

Round 4 · Two camps

Why some say 1/3, others 1/2, and both have a point

The dispute isn't about arithmetic: everyone agrees that heads accounts for 1/3 of awakenings and 1/2 of experiments. The argument is over which of these numbers Beauty should give when asked for "the chance of heads".

Elga's argument · thirders

Three identical awakenings

HMon1/3Tuezz
TMon1/3Tue1/3

On waking, Beauty could be in one of three situations: H-Mon, T-Mon, T-Tue. T-Mon and T-Tue are indistinguishable to her, so equally likely. And if she were told "it is Monday", heads and tails would have to be equal: the coin could even be tossed after the Monday waking, and a fair coin gives 1/2. So all three situations are equally likely, and heads gets 1/3. That was Adam Elga's argument in 2000.

Lewis's argument · halfers

She learned nothing new

On Sunday the chance of heads is 1/2. On waking, Beauty gets no information she didn't have on Sunday: she knew she would certainly be woken. Probabilities change only with new information, so it stays 1/2. That was David Lewis's reply to Elga in 2001.

Halfer: chance of heads once told "it is Monday"2/3
Thirder in the same situation1/2

The price of Lewis's view: once Beauty is told it is Monday, she must find heads more likely, 2/3, even though the coin may not have been tossed yet. Many find that strange, and that is where most of the debate concentrates.

Two questions

Same coins, different denominators

1,000 experiments
ExperimentsAwakenings
Heads500500
Tails5001,000
Heads share500/1000
= 1/2
500/1500
= 1/3

"In what share of experiments did the coin land heads?" The answer is 1/2. "After what share of awakenings is the coin showing heads?" The answer is 1/3. In 2008 the philosopher Berry Groisman argued that both camps are right and simply answer different questions. The words "chance of heads" allow both readings.

Bets decide

Which number pays depends on how bets are counted

A bet at every awakening: fair price of a "1 if heads" ticket1/3
One bet per experiment1/2

If Beauty bets twice on tails and once on heads, her tails bets multiply. Then the calibrated confidence is 1/3: at a price of 1/2 she loses 1/6 per ticket on average. If only one bet per experiment counts, the right price is 1/2. That is what you saw in round 2. This is why the philosopher Christopher Hitchcock argued in 2004 that a halfer can be beaten by a series of bets, while halfers reply that per-awakening bets simply count tails twice.

For formula lovers

Two conditional probabilities from the same data

The share of awakenings after heads: heads gives 1 awakening, tails gives 2, each with chance ½.

P(H|awakening) =12·112·1+12·2=13

The share of experiments with heads: each experiment counts once, however many awakenings it has.

P(H)=12

Elga: the three situations are equally likely, because T-Mon can't be told from T-Tue, and on Monday the coin may not even be tossed yet.

P(H-Mon)=P(T-Mon)=P(T-Tue)=13

Lewis: heads ½, and tails is split between the two days, ¼ each. Told that it is Monday, the halfer gets:

P(H|Mon)=1212+14=23

If tails brings k awakenings, the share of awakenings after heads is:

1212+12k=1k+1

None of these formulas is wrong. The difference is what counts as "one case": an awakening or an experiment. A Beauty who is asked afresh each time naturally answers about awakenings. A Beauty who only cares about the coin itself answers about the experiment.

Round 5 · Going further

A million awakenings, doomsday, and a driver who forgets

From one coin to questions that look quite different: how many people are yet to be born, when to leave the highway, and how to survey patients. Everywhere the same fork: count worlds or observers, people or visits.

Maths: a million awakenings on tails

The philosopher Nick Bostrom proposed an extreme version: on tails Beauty is woken a million times. Choose how many awakenings tails brings and watch the two camps drift apart.

Why this is hard to swallow

With a million awakenings the thirder is nearly sure of tails: the chance of heads is 1/1,000,001. A fair coin, and she bets on tails at a million to one. The halfer holds 1/2, but once told "this is your first awakening" she must give heads 1,000,000/1,000,001, becoming almost certain of heads because of the word "first".

Each camp ends up with its own awkward conclusion. Some, Bostrom among them, defend "double halfing": 1/2 on waking and 1/2 after hearing "Monday", at the cost of dropping the usual rule for updating probabilities. No version has convinced everyone yet.

Logic: the doomsday argument

The astrophysicist Brandon Carter in 1983, and later the philosopher John Leslie, reasoned like this. You are roughly the hundred-billionth human ever born. Compare two futures: 200 billion people in total (early doom) or far more (a long future). If you treat yourself as a random person from your world, being the hundred-billionth is far more likely in the small world. That is halfer logic: each world counts once, and you are a random point inside it.

Long future: total people

The thirder cancels the shift

Nick Bostrom named the two approaches: SSA (treat yourself as a random observer in your world) and SIA (a world with more observers is in itself more likely to contain you). SSA matches the halfers and produces the doomsday shift. SIA matches the thirders: it weights each world by its number of people, and that weight cancels the shift exactly. Under SIA the chance of early doom equals the prior.

So the one-coin Sleeping Beauty question is a model of whether your own birth rank can tell you anything about humanity's end.

Practice: the absent-minded driver

In 1997 Michele Piccione and Ariel Rubinstein described a driver on a night highway with two exits, unable to tell the first from the second. Turning off at the first scores 0. At the second, 4: that is home. Passing both scores 1. The driver can't remember passing an exit, so behaves the same at each: drive on with probability p.

Expected score
Simulation–

Score by p

The best plan made at home: p = 2/3, score 4/3. But at an exit the driver asks: "Where am I, first or second?" If he gives the first a 3/5 chance and optimises just this moment, he gets p = 1/3. It is the same fork as Beauty's: count the drive or each exit. The same year Robert Aumann, Sergiu Hart and Motty Perry showed that if the driver remembers his decision acts at both exits, the 2/3 plan stays best.

Check it in practice: a waiting-room survey

A clinic has 1,000 patients. Half come once a year, half twice. Survey whoever is in the waiting room over the year, and each visit yields one questionnaire. The share of once-a-year patients among questionnaires is 500/1500 = 1/3; among patients it is 1/2. That is exactly Beauty: the rare visitor is heads, the frequent one is tails with two awakenings.

Counting visits (questionnaires)1/3
Counting people (the register)1/2

Statisticians call this length-biased or frequency-biased sampling and fix it with weights: a frequent visitor's questionnaire counts with weight 1/2. The same effect explains why the bus you wait for seems later than the timetable says: the inspection paradox.

Bonus · Fun facts

Things to tell your friends

1980s

Zuboff came first

The problem was devised by the American philosopher Arnold Zuboff, who taught at University College London. It circulated in unpublished work from the mid-1980s and was printed in his 1990 paper "One Self". His version had many days: on one coin result a waking every day, on the other on just one random day.

1997

Economists got there early

Piccione and Rubinstein published the absent-minded driver in the game theory journal Games and Economic Behavior. The same paper has an example very close to Sleeping Beauty, three years before Elga's paper.

2000

Elga's five pages

Adam Elga published a five-page paper in the journal Analysis and answered 1/3. He credited the name "Sleeping Beauty" to Robert Stalnaker, who had learned of such examples from Zuboff's unpublished work. A year earlier the puzzle had been argued over in the rec.puzzles newsgroup.

2001

Lewis replies

The next year, in the same journal, David Lewis, one of the most influential philosophers of the 20th century, replied to Elga: 1/2. More than a hundred papers have followed, and the camps are still called thirders and halfers.

1,000,001

Extreme Beauty

Nick Bostrom, author of a book on anthropic reasoning, proposed the version with a million awakenings on tails. It sharpens both positions: the thirder bets a million to one against a fair coin, and the halfer, once told "Monday", is almost sure of heads.

2017

Mathematicians argue too

Peter Winkler, a well-known collector of mathematical puzzles, went through every camp's arguments in "The Sleeping Beauty Controversy" for the American Mathematical Monthly. He titled his talk on it "The Math Puzzle that Spawned 100 Philosophy Papers".

Discussion

What do you think?

Share your own explanation, an objection or a variant of the puzzle. You need a GitHub account to comment.

Newsletter

New puzzles, explanations and discussions

I keep adding new puzzles, new ways to explain them and write-ups of the discussions they start. Leave your email and I'll write when something new is out. No spam, one-click unsubscribe.

The sign-up form will appear here soon.