The Absent Ticket Inspector
You board a train with seats, each assigned to exactly one passenger. You are the first to board, but you've lost your ticket and sit in a random seat (uniformly among all seats). Each subsequent passenger boards one at a time:
- If their assigned seat is free, they sit there.
- If their assigned seat is taken, they pick a random free seat uniformly.
Question: What is the probability that the last passenger sits in their own assigned seat?
(This is the classic "Airplane Boarding Problem." Solve it and explain why the answer is so clean.)
Answer: The Absent Ticket Inspector
Key Idea / Intuition
The answer is exactly , independent of . This is shocking — with 100 or 1,000,000 passengers, the last person still has a 50/50 chance. The key insight is that throughout the entire process, the "fate" of the last seat is determined by a single competition: at every displacement, the displaced passenger randomly chooses either seat 1 (your seat) or seat (their seat), or they pass the problem along. The last seat is eventually "claimed" by one of these two outcomes, and by symmetry they are equally likely.
Formal Proof / Solution
Setup: Label the seats . You (passenger 1) sit randomly. Passenger sits in seat if free, otherwise picks randomly among free seats. We want .
Key observation: At any moment during boarding, the only "contested" seats are seat (yours, the one you stole) and seat (the last seat). All other seats will eventually be resolved.
Elegant symmetry argument:
Consider the following invariant: whenever a displaced passenger must choose a random free seat, seat 1 and seat are always equally likely to be chosen (since neither is ever "preferentially" occupied during the random choices).
More precisely, we prove by induction: the last passenger sits in seat with probability .
Base case : You sit randomly in seat 1 or seat 2, each with probability . If you sit in seat 1 (your own), passenger 2 gets seat 2. If you sit in seat 2, passenger 2 is displaced and gets seat 1. So . ✓
Inductive step: Suppose the result holds for passengers. With passengers:
- With probability , you sit in seat 1 (your own) → everyone boards correctly → passenger gets seat . ✓
- With probability , you sit in seat → passenger is immediately displaced → passenger cannot sit in seat . ✗
- With probability (for seats , i.e., probability ), you sit in seat for some .
In the last case, passengers sit normally. Passenger is displaced and now faces the same problem with remaining seats (including seat 1 and seat ). By the symmetry of the random choice, this sub-problem has exactly the same structure as the original with fewer passengers.
By summing over all :
where is the probability for passengers. Using and assuming for all :
The cleanest way to see it: The process terminates when either seat 1 or seat is chosen by a displaced passenger. At that moment, the choice is uniform between these two seats (both are always free until one is taken). So:
Answer: , for all .
Source: Mathematical folklore / classic puzzle; related problems appear in Mosteller's Fifty Challenging Problems