I have a question on the following problem:
- An independent living group is hosting eight pre-frosh, affectionately known as P1 , . . . , P8 by the permanent residents. Each pre-frosh is assigned a task: 2 must wash pots, 2 must clean the kitchen, 1 must clean the bathrooms, 1 must clean the common area, and 2 must serve dinner. In how many ways can P1 , . . . , P8 be put to productive use?
Solution:
There is a bijection from sequences containing two P ’s, two K’s, a B, a C, and two D’s. In particular, the sequence (t1 , . . . , t8 ) corresponds to assigning Pi to washing pots if ti = P , to cleaning the kitchen if ti = K, to cleaning the bathrooms if ti = B, etc. Therefore, the number of possible assignments is: $8! / (2!.2!.1!.1!.2!)$
I understand the solution but why we didn't divide the answer by $5!$, that is, the number of ways to choose the order of groups, for example we could choose the groups in the reverse order: 2 must serve dinner, 1 must clean the common area, 1 must clean the bathrooms, 2 must clean the kitchen and 2 must wash pots.
In the solution $8! / (2!.2!.1!.1!.2!)$ We considered the order by which we choose the 5 groups, and that is the definition of the multinomial coeffecient, but I think that this order doesn't matter in this problem.
I appreciate any help.
Why not divide by $5!$? The tasks are not interchangeable.
If we just wanted to divide the 8 people into 4 groups of 2... Then our formula would be $\frac {8!}{2!2!2!2!4!}$
But, if the task is to divide them into groups where each group has a defined character, that is a different question. We remove that $4!$ factor from the denominator.
You could think about it as we need 2 people to do task A. That splits our group into those 2 and the 6 assigned to other tasks. Then we assign 2 from the 6 to task B, leaving 4 for other tasks. Putting the sequence together gives.
${8\choose 2}{6\choose 2}{4\choose 1}{3 \choose 1}{2\choose 2}$
Next replace ${a\choose b}$ with $\frac {a!}{b!(a-b)!}$ in each above.
$\left(\frac {8!}{2!6!}\right)\left(\frac{6!}{2!4!}\right)\left(\frac {4!}{1!3!}\right)\left(\frac {3!}{1!2!}\right)\left(\frac {2!}{2!0!}\right)$
Multiply and simplify:
$\frac {8!}{2!2!1!1!2!}$