You have n distinguishable balls and n distinguishable boxes. Each ball is placed uniformly at random into one of the boxes. What is the expected number of empty boxes when n=5?
Express as a fraction or decimal
Show solution
By linearity of expectation, the expected number of empty boxes is n⋅P(a given box is empty)=n⋅(nn−1)n. For n=5: 5⋅(54)5=5⋅31251024=31255120=6251024.