2026-03-19

Problem — 2026-03-19

Easy

Easyprobability

Four people each place their hat into a box. The hats are shuffled and each person draws one at random. What is the expected number of people who draw their own hat?

Enter a number

Show solution
Let Xi=1X_i = 1 if person ii draws their own hat. Then E[Xi]=14E[X_i] = \frac{1}{4}. By linearity of expectation, E[X1+X2+X3+X4]=414=1E[X_1 + X_2 + X_3 + X_4] = 4 \cdot \frac{1}{4} = 1. Remarkably, this equals 11 regardless of how many people participate.