Login

Concepts

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

Concept 08 / 09Permutations and Combinations

Combinations: Selections, Properties of nCr and Restricted Selections

The formula nCr = n!/(r!(n - r)!) and its relation to nPr, symmetry and Pascal's rule, selections with a particular object always or never included, 'at least' and 'at most' conditions, and when to select first and arrange afterwards.

Figure 1
A combination is a selection, where order does not matter. The number of ways to choose rr objects from nn distinct objects is nCr=(nr)=n!r! (n−r)!^{n}C_{r} = \binom{n}{r} = \frac{n!}{r!\,(n - r)!}. Derivation: every selection of rr objects can be arranged in r!r! orders, and each arrangement is a permutation of rr objects from nn. So nPr=nCr×r!^{n}P_{r} = {^{n}C_{r}} \times r!, and dividing gives the formula. The ratio between permutations and combinations is exactly the number of orders of the chosen objects. Properties, each with a counting explanation. Symmetry: (nr)=(nn−r)\binom{n}{r} = \binom{n}{n - r}. Choosing which rr objects to take is the same as choosing which n−rn - r to leave. Consequently, if (na)=(nb)\binom{n}{a} = \binom{n}{b} then a=ba = b or a+b=na + b = n. Pascal's rule: (nr)+(nr−1)=(n+1r)\binom{n}{r} + \binom{n}{r - 1} = \binom{n + 1}{r}. Pick a particular object among n+1n + 1: selections of rr either exclude it ((nr)\binom{n}{r}) or include it and choose r−1r - 1 others ((nr−1)\binom{n}{r - 1}). This rule generates Pascal's triangle, shown in the figure. Absorption: (nr)=nr(n−1r−1)\binom{n}{r} = \frac{n}{r}\binom{n - 1}{r - 1}, equivalently r(nr)=n(n−1r−1)r\binom{n}{r} = n\binom{n - 1}{r - 1} (choose a committee of rr with a leader in two ways). Ratio: (nr)(nr−1)=n−r+1r\frac{\binom{n}{r}}{\binom{n}{r - 1}} = \frac{n - r + 1}{r}. So (nr)\binom{n}{r} increases while r<n+12r < \frac{n + 1}{2} and is largest at the middle: at r=n2r = \frac{n}{2} for even nn, and at r=n−12r = \frac{n - 1}{2} and n+12\frac{n + 1}{2} for odd nn. Sum: ∑r=0n(nr)=2n\sum_{r=0}^{n}\binom{n}{r} = 2^{n}, the total number of subsets. Restricted selections. A particular pp objects always included: choose the rest from the remaining n−pn - p: (n−pr−p)\binom{n - p}{r - p}. A particular pp objects always excluded: (n−pr)\binom{n - p}{r}. At least one from a group: total minus none from that group. At least kk of one type: add the cases 'exactly kk', 'exactly k+1k + 1', and so on; or subtract the complementary cases if there are fewer. From several groups (for example mm men and ww women, choose a committee with conditions): multiply the selections from each group within a case, then add over the cases. Selection versus arrangement. A frequent source of error is mixing the two. When a problem involves choosing and then arranging (for example, forming words from chosen letters), do it in two steps: first select with combinations, then arrange the selected objects with permutations. Choosing 33 letters from 55 distinct letters and arranging them gives (53)×3!=60=5P3\binom{5}{3} \times 3! = 60 = {^{5}P_{3}}. The two-step approach becomes essential when the objects have restrictions or repetitions. A common trap in 'at least one' questions: choosing one required item first and then choosing the rest freely overcounts. For a committee of 33 from 44 men and 33 women with at least one woman, '33 ways to pick a woman, then (62)\binom{6}{2} for the rest' gives 4545, but the correct answer is (73)−(43)=31\binom{7}{3} - \binom{4}{3} = 31. The first method counts a committee with two women twice, once for each choice of the 'designated' woman. Key Takeaways: - (nr)=n!r!(n−r)!=nPrr!\binom{n}{r} = \frac{n!}{r!(n - r)!} = \frac{^{n}P_{r}}{r!}. - (nr)=(nn−r)\binom{n}{r} = \binom{n}{n - r}; (na)=(nb)⇒a=b\binom{n}{a} = \binom{n}{b} \Rightarrow a = b or a+b=na + b = n. - Pascal: (nr)+(nr−1)=(n+1r)\binom{n}{r} + \binom{n}{r - 1} = \binom{n + 1}{r}. - r(nr)=n(n−1r−1)r\binom{n}{r} = n\binom{n - 1}{r - 1}. - (nr)\binom{n}{r} is largest at the middle value(s) of rr. - Always include pp: (n−pr−p)\binom{n - p}{r - p}; always exclude pp: (n−pr)\binom{n - p}{r}. - Select first, then arrange. - Pitfall: 'choose one of the required kind, then choose the rest freely' overcounts. Brain-Teaser 1: A committee of 55 is to be formed from 66 men and 44 women so that it has at least 22 women. In how many ways? How many if a particular man and a particular woman refuse to serve together? Solution: Cases by the number of women: 22 women: (42)(63)=6×20=120\binom{4}{2}\binom{6}{3} = 6 \times 20 = 120; 33 women: (43)(62)=4×15=60\binom{4}{3}\binom{6}{2} = 4 \times 15 = 60; 44 women: (44)(61)=6\binom{4}{4}\binom{6}{1} = 6. Total 186186. For the refusal condition, subtract the committees containing both of them and at least 22 women. With the man and the woman both in, we need 33 more people with at least 11 more woman, chosen from 55 men and 33 women: (83)−(53)=56−10=46\binom{8}{3} - \binom{5}{3} = 56 - 10 = 46. So the answer is 186−46=140186 - 46 = 140. Handling the forbidden pair by subtraction keeps the casework small. Brain-Teaser 2: If (n8)=(n12)\binom{n}{8} = \binom{n}{12}, find (n17)\binom{n}{17} and (22n)\binom{22}{n}. Solution: Since 8≠128 \neq 12, symmetry requires 8+12=n8 + 12 = n, so n=20n = 20. Then (2017)=(203)=1140\binom{20}{17} = \binom{20}{3} = 1140 and (2220)=(222)=231\binom{22}{20} = \binom{22}{2} = 231. Converting to the smaller of rr and n−rn - r makes the arithmetic easy. Brain-Teaser 3: Prove (n0)2+(n1)2+⋯+(nn)2=(2nn)\binom{n}{0}^{2} + \binom{n}{1}^{2} + \cdots + \binom{n}{n}^{2} = \binom{2n}{n} by a counting argument. Solution: Count the ways to choose nn people from a group of nn men and nn women. Directly, it is (2nn)\binom{2n}{n}. Alternatively, if kk men are chosen, then n−kn - k women are chosen, in (nk)(nn−k)=(nk)2\binom{n}{k}\binom{n}{n - k} = \binom{n}{k}^{2} ways; summing over kk from 00 to nn gives the left side. Counting the same set in two different ways (a double-counting or combinatorial proof) is often shorter and more illuminating than an algebraic proof.