Clear Notion Academy

Permutations and Combinations (Beyond Advanced) Practice: Ten players, among them two pairs of rivals (A,B) and (C,D) , are to be divided into five…

Question

Ten players, among them two pairs of rivals (A,B)(A,B) and (C,D)(C,D), are to be divided into five pairs to play five matches (the order of the matches is irrelevant, as is the order within a pair). In how many ways can the pairing be done so that neither AA and BB nor CC and DD are paired with each other? (In the figure the dashed segments join the two pairs of rivals.)

Answer

Answer: 750

Hint

Count all pairings, subtract those where a rival pair is matched, and add back those where both rival pairs are matched.

Solution

All pairings of 1010 people: 10!25 5!=9⋅7⋅5⋅3⋅1=945\dfrac{10!}{2^5\,5!}=9\cdot7\cdot5\cdot3\cdot1=945. Pairings in which AA is paired with BB: the other 88 people are paired freely in 7⋅5⋅3⋅1=1057\cdot5\cdot3\cdot1=105 ways. The same for CC with DD. Both AA–BB and CC–DD paired: the remaining 66 people give 5⋅3⋅1=155\cdot3\cdot1=15 pairings. By inclusion-exclusion the answer is 945−105−105+15=750945-105-105+15=750.

More questions from Permutations and Combinations (Beyond Advanced) Practice

Practise the full set: Permutations and Combinations — Beyond Advanced