Can Bob Guess the Larger Number with Better Than 50% Accuracy?
Problem
Alice writes two distinct real numbers between 0 and 1 on separate sheets. Bob:
- Randomly selects and looks at one number.
- Must guess whether the number he sees is the larger or the smaller of the two.
Can Bob devise a strategy that gives him more than a 50% chance of being correct?
Naïve Strategy
If Bob has no information and randomly guesses “larger” or “smaller,” he will be correct with probability:
But can he do better?
Clever Strategy: Use a Random Threshold
Bob chooses a random number ( r ) from a known continuous distribution on ( (0,1) ), say uniformly at random.
Then his strategy is:
If the number he sees is less than ( r ), guess it is the smaller number.
If it is greater than ( r ), guess it is the larger number.
Why This Works
Let the two hidden numbers be ( a < b ). Bob randomly picks one of them to inspect. There are two cases:
- If he sees ( a ):
- He guesses “smaller” if ( a < r ) — which is correct.
- If he sees ( b ):
- He guesses “larger” if ( b > r ) — which is also correct.
Each has probability ( \frac{1}{2} ), so:
Because ( r \sim \text{Uniform}(0,1) ), these probabilities are ( 1 - b ) and ( a ), so:
Since ( a < b ), we have:
Thus, Bob beats 50% accuracy, regardless of what numbers Alice chooses!
Conclusion
\[ \boxed{ \text{Yes — by comparing the revealed number to a random threshold, Bob can win more than 50% of the time.} } \]
This works because the strategy introduces external randomness to exploit the structure of the problem.