Tom K. answered 05/16/20
Knowledgeable and Friendly Math and Statistics Tutor
There are 6 possible arrangements: (1, 2, 3), (1, 3, 2), (2, 1, 3), (2, 3, 1),(3, 1, 2), (3, 2, 1)
We have 3 matches, 1 match, 1 match, 0 matches, 0 matches, 1 match
Thus, we have 0 matches 2 times, 1 match 3 times, and 3 matches 1 time
P(0) = 2/6 = 1/3 P(1) = 3/6 = 1/2 P(2) = 0/6 = 0 P(3) = 1/6
E(x) = the sum of x P(x) = 0 * 1/3 + 1 * 1/2 + 2 * 0 + 3 * 1/6 = 0 + 1/2 + 0 + 1/2 = 1
b) There are n! possible arrangements. If the i'th person selects the i'th hat, the other n-1 people, can have any possible ordering of the other n-1 hats, so there are n-1! possible combinations. Thus, P(Xi = 1) = n-1!/n! = n-1!/(n*n-1!) = 1/n