Is my solution for the following textbook problem correct?
In a 10-member family, what is the probability that the birthdays of the members include all seven days of the week?
My solution:
All possible combinations are equal to $7^{10}$, which is akin to the problem of distributing $10$ different objects into 10 distinct boxes with repetitive objects allowed.
Now, we select $7$ objects (i.e., people) ${10 \choose 7}$, put them in the boxes (i.e., days) so that we have at least one birthday on each day. Accounting for internal permutation, we have ${10 \choose 7}\cdot7!$
Three objects are left. These could be put in the same box or in different boxes. We break down the possibilities:
- All three in different boxes. We have $7$ choices for the first object, $6$ for the seven and $5$ for the third. In other words, ${7 \choose 1}\cdot {6 \choose 1}\cdot {5 \choose 1}$. Now, we have three $2$-member boxes each having a $2!$ internal permutation. Hence, we have
$$\frac{{7 \choose 1}\cdot {6 \choose 1}\cdot {5 \choose 1}}{2!\cdot2!\cdot2!}$$
- Two in the same box. We choose a pair put them in any of the seven boxes and there's six choices for the remaining object. Again, factoring in repeated cases, we get
$$\frac{{3 \choose 2}\cdot {7 \choose 1}\cdot {6 \choose 1}}{3!\cdot2!}$$
- All three one the same day. This is easy: $$ \frac{{7 \choose 1}}{4!}$$
Now, employing the rule of sum (since the above cases are mutually exclusive), we compute the probability
$$ \frac {{10 \choose 7} \cdot 7! \cdot [\frac{{7 \choose 1}\cdot {6 \choose 1}\cdot {5 \choose 1}}{2!\cdot2!\cdot2!} + \frac{{3 \choose 2}\cdot {7 \choose 1}\cdot {6 \choose 1}}{3!\cdot2!} +\frac{{7 \choose 1}}{4!}]} {7^{10}} $$ which is almost $0.08$.
Also, can you think of a better, more systematic (or perhaps general) solution for the above problem? I suspect there's one and that this could be done through computing the complement cases. I have been trying to no avail. I can't eliminate repetitive distributions.
Update: Thanks for the replies gentlemen. All were very helpful. Case closed.
It's very nearly right. The only issue is that when you divide out to account for counting a particular combination multiple times, you don't need the factorials. So that means case 2, say, should be $$\frac{\binom 32\binom 71\binom 61}{3\times2}.$$ This is because when counting combinations where three people have birthdays on Monday and two have birthdays on Saturday, say, there are $3\times 2$ ways to choose your initial seven people who cover all the days, not $3!\times 2!$.
Making this change will give you just over $10\%$. A more general way to do it is to use the inclusion-exclusion principle. The number of ways to miss out at least one day is $$\binom71\times6^{10}-\binom 72\times5^{10}+\binom 73\times4^{10}-\binom 74\times3^{10}+\binom 75\times2^{10}-\binom 76\times1^{10},$$ so we can subtract this from $7^{10}$ to get the number of ways to cover all days.