Login

Concepts

Read through concept notes with worked explanations and diagrams, chapter by chapter.

Concept 09 / 09Permutations and Combinations

Division into Groups and Distribution to People

Dividing distinct objects into groups of given sizes, the extra division when groups of equal size are unlabelled, the difference between dividing into groups and distributing to named people, and counting arrangements of card hands and teams.

Dividing a set of distinct objects into groups is a combination problem with one subtle feature: whether the groups are labelled. Groups of unequal sizes. To divide m+n+pm + n + p distinct objects into three groups of sizes mm, nn and pp (all different), choose the first group, then the second from what remains, and the third is forced: (m+n+pm)(n+pn)=(m+n+p)!m! n! p!\binom{m + n + p}{m}\binom{n + p}{n} = \frac{(m + n + p)!}{m!\,n!\,p!}. Because the sizes differ, the groups are automatically distinguishable (the group of size mm is 'the group of size mm'), so no further adjustment is needed. Groups of equal sizes. To divide 3n3n distinct objects into 33 groups of nn each, the same method gives (3n)!(n!)3\frac{(3n)!}{(n!)^{3}}, but this counts every division 3!3! times, once for each order in which the same three groups could have been chosen as 'first', 'second' and 'third'. Since the groups are unlabelled, divide: (3n)!(n!)3 3!\frac{(3n)!}{(n!)^{3}\,3!}. In general, if kk of the groups have the same size, divide by k!k! for those groups. For example, dividing 1010 distinct objects into groups of 2,2,3,32, 2, 3, 3 gives 10!2! 2! 3! 3! 2! 2!\frac{10!}{2!\,2!\,3!\,3!\,2!\,2!}: one 2!2! for the two groups of size 22 and another for the two groups of size 33. Distribution to people. If the groups are then handed to distinct people (or placed in labelled boxes), the groups become labelled. Multiply the division count by the number of ways to assign the groups to the people. For equal groups this multiplies back the k!k!, so distributing 3n3n distinct objects equally among 33 people gives (3n)!(n!)3\frac{(3n)!}{(n!)^{3}}. For unequal groups of sizes m,n,pm, n, p given to 33 people where it is not specified who gets which size, multiply by 3!3!. A useful check is to think about what distinguishes the groups. If nothing does (same size, no labels), there must be a division by the number of ways to permute them. If something does (different sizes, or named recipients), there must not be. Classic contexts. Card games: dealing 5252 cards equally to 44 players is 52!(13!)4\frac{52!}{(13!)^{4}}; dividing them into 44 piles of 1313 with no players is 52!(13!)4 4!\frac{52!}{(13!)^{4}\,4!}. Tournaments: pairing 2n2n players into nn matches is (2n)!2n n!\frac{(2n)!}{2^{n}\,n!}, since each pair is an unordered group of 22 and the nn pairs are unlabelled. This equals (2n−1)(2n−3)⋯3⋅1(2n - 1)(2n - 3)\cdots 3 \cdot 1, which also follows by repeatedly pairing the first unpaired player with one of the others. Teams: dividing 1010 people into two teams of 55 for a game with no team names: 12(105)=126\frac{1}{2}\binom{10}{5} = 126. Key Takeaways: - Unequal groups m,n,pm, n, p: (m+n+p)!m! n! p!\frac{(m + n + p)!}{m!\,n!\,p!}. - kk groups of equal size: divide additionally by k!k!. - Distribution to named people: multiply the division by the number of ways to assign groups. - 3n3n objects equally to 33 people: (3n)!(n!)3\frac{(3n)!}{(n!)^{3}}; into 33 unlabelled equal groups: (3n)!(n!)33!\frac{(3n)!}{(n!)^{3}3!}. - Pairing 2n2n objects: (2n)!2nn!=(2n−1)(2n−3)⋯1\frac{(2n)!}{2^{n}n!} = (2n - 1)(2n - 3)\cdots 1. - Ask what distinguishes the groups; if nothing, divide by the permutations of those groups. - Pitfall: dividing by k!k! when the groups are going to named people. Brain-Teaser 1: In how many ways can 1212 distinct books be divided into 33 groups of 44? Distributed equally among 33 students? Divided into groups of 3,4,53, 4, 5? Distributed among 33 students so that they get 3,4,53, 4, 5 books in some order? Solution: Three equal groups: 12!(4!)33!=5775\frac{12!}{(4!)^{3}3!} = 5775. To 33 students equally: 12!(4!)3=34650\frac{12!}{(4!)^{3}} = 34650. Groups of 3,4,53, 4, 5: 12!3! 4! 5!=27720\frac{12!}{3!\,4!\,5!} = 27720. Distributed with sizes 3,4,53, 4, 5 in any order: 27720×3!=16632027720 \times 3! = 166320. The four answers differ only by factors of 3!3!, and in each case the factor is present exactly when the groups are labelled but not already distinguished by size. Brain-Teaser 2: 88 players enter a knockout tournament. In how many ways can the first-round matches be drawn? Solution: We need to pair 88 players into 44 unordered matches: 8!244!=4032016×24=105\frac{8!}{2^{4}4!} = \frac{40320}{16 \times 24} = 105. Check with the sequential method: the first player has 77 possible opponents, the next unpaired player 55, then 33, then 11: 7×5×3×1=1057 \times 5 \times 3 \times 1 = 105. Both methods agree, which confirms that the 242^{4} (order within each pair) and 4!4! (order of the matches) are the right corrections. Brain-Teaser 3: In how many ways can 66 distinct balls be put into 33 identical boxes so that no box is empty? Solution: The boxes are identical, so we count divisions into 33 non-empty unlabelled groups. The possible sizes are (4,1,1)(4, 1, 1), (3,2,1)(3, 2, 1) and (2,2,2)(2, 2, 2). Sizes 4,1,14, 1, 1: 6!4! 1! 1! 2!=15\frac{6!}{4!\,1!\,1!\,2!} = 15. Sizes 3,2,13, 2, 1: 6!3! 2! 1!=60\frac{6!}{3!\,2!\,1!} = 60. Sizes 2,2,22, 2, 2: 6!(2!)33!=15\frac{6!}{(2!)^{3}3!} = 15. Total 9090. If the boxes were distinct, the answer would be 90×3!=54090 \times 3! = 540, which matches the onto-function count 36−3⋅26+3=5403^{6} - 3 \cdot 2^{6} + 3 = 540. The cross-check shows why the equal-size correction depends on the size pattern.