Winning an Unfair Game
You play a series of independent games against an opponent. You win each game with probability , where . So every single game is unfavorable to you.
Before play begins, you may choose the total number of games . There are two rules:
- must be even: .
- You win the match only if you win strictly more than half of the games. A tie counts as a loss.
(a) Intuition says you should keep the match as short as possible, so , because the law of large numbers works against you. Is that right? For example, what is the best when ?
(b) Find the optimal as a function of .
(Bonus: if odd were also allowed, what would the best choice be, and why does the "even" rule change everything?)
Answer: Winning an Unfair Game
Key Idea / Intuition
Two forces compete. The law of large numbers pulls long matches toward a loss, because . But with an even number of games, ties count as losses, and ties are very likely in short matches. In a 2-game match you need both wins, which is harsh. Lengthening the match makes ties rarer, roughly like . When is close to , this effect beats the slow drift against you for a while.
To find the balance point, compare a -game match with a -game match by appending two games. The outcome can only change in the two "boundary" situations, so all the binomial sums cancel except two terms.
Formal Proof / Solution
Let , and let be the probability of winning a -game match, i.e. of winning at least games.
Step 1: Append two games. Think of a -game match as the first games followed by two more. After games, your status (winner or loser) can change after the extra two games in only two cases:
- You had exactly wins (a narrow win) and lose both extra games. You end with wins out of , which is a tie and therefore a loss. This case has probability
- You had exactly wins (a tie) and win both extra games. You end with wins out of , which is a win. This case has probability
In every other case, your status is unchanged.
Step 2: The difference. Use . Then So (This also holds for , with and .)
Step 3: Unimodality. The sequence increases as long as and decreases afterwards. If is an integer , then . Hence the optimal number of games is
To restate this, note that . So is the smallest even integer that is at least . Equivalently:
When is an odd integer, the two neighboring even integers tie.
In particular, exactly when .
Step 4: The example . Here , so the optimal match has 10 games. Numerically: That is about 30% better than the "obvious" choice of 2 games.
Bonus: odd . Do the same two-extra-games comparison between and games. Now there are no ties. The status changes only if you had wins and lose both extra games, or had wins and win both. Since , So odd-length matches get steadily worse, and the best odd choice is , with winning probability . For , this gives , which beats .
The surprise in part (a) therefore comes entirely from the tie penalty. Forcing to be even makes short matches unexpectedly costly, and a longer match is the best way to dilute the ties.
Source: F. Mosteller, Fifty Challenging Problems in Probability with Solutions, Problem 44 ("Winning an Unfair Game"). Mosteller abridges it from "Optimal length of play for a binomial game," Mathematics Teacher 54 (1961), 411โ412.
Source: Frederick Mosteller, Fifty Challenging Problems in Probability with Solutions, Problem 44