P: Hats
September, 2026
Problem
Suppose there is a dinner party where men check their hats. The hats get mixed up during dinner, so that afterward each man receives a random hat. In particular, each man gets his own hat with probabilit of .
What is the expected number of men who get their own hat?
Discussion
- number of men who get their hat
We'll use the linearity of expectation and express as sum of random variables:
We will define as an indicator for the event that man gets his own hat.
Variables are not mutually independant. We, however, do not need to worry, since linearity is preserved.
Now, according to linearity:
Thus, on average, we expect only 1 man to get his hat!