Combinations
Every question with a fully worked solution.
- Combinations - Video - Combinations made easy Watch
Theory
Combinations count selections in which order does not matter, such as committees, teams and hands of cards. This Year 11 Mathematics Extension 1 page explains \({}^{n}C_{r}=\dfrac{n!}{r!\,(n-r)!}\), its link with \({}^{n}P_{r}\), the identities \({}^{n}C_{r}={}^{n}C_{n-r}\) and \({}^{n}C_{r}={}^{n-1}C_{r-1}+{}^{n-1}C_{r}\), and how to count selections with restrictions: particular people, several groups, "at least" and "at most", diagonals and triangles, and dividing into teams.
A combination is a selection of objects in which the order does not matter. A committee, a team, a hand of cards and a set of points are combinations. A permutation is an ordered selection, such as first, second and third prizes, or people in seats.
The number of combinations of \(r\) objects chosen from \(n\) different objects is \({}^{n}C_{r}=\dfrac{n!}{r!\,(n-r)!}\). It is read "\(n\) choose \(r\)" and is also written \(\dbinom{n}{r}\).
Link with permutations. Each selection of \(r\) objects can be put in order in \(r!\) ways, so \({}^{n}P_{r}=r!\times{}^{n}C_{r}\), that is, \({}^{n}C_{r}=\dfrac{{}^{n}P_{r}}{r!}\). To work one out by hand, cancel the larger factorial: \({}^{8}C_{3}=\dfrac{8\times 7\times 6}{3\times 2\times 1}=56\).
Selections with restrictions. A particular person who must be included takes one place, so choose the rest from the others. A person who is excluded is removed first. When the objects come from different groups, choose from each group and multiply. When there are several possible cases (for example 3, 4 or 5 women), count each case and add. "At least one" is usually total minus none.
Selecting, then arranging. Choose the objects with \({}^{n}C_{r}\), then multiply by the number of ways to arrange them: \(r!\) in a row, \((r-1)!\) around a circle.
Dividing into groups. Choosing the people for one group fixes the other group. If two groups are the same size and have no labels, every division is counted twice, so divide by 2.
Combinations of \(r\) objects from \(n\) different objects:
Special values (using \(0!=1\)):
| Value | Equals | Reason |
|---|---|---|
| \({}^{n}C_{0}\) | \(1\) | choose nobody: one way |
| \({}^{n}C_{1}\) | \(n\) | choose any one of the \(n\) |
| \({}^{n}C_{n-1}\) | \(n\) | choose the one to leave out |
| \({}^{n}C_{n}\) | \(1\) | choose everybody: one way |
Choosing \(r\) objects to take is the same as choosing the \(n-r\) objects to leave:
So if \({}^{n}C_{a}={}^{n}C_{b}\) with \(a\neq b\), then \(n=a+b\). For example \({}^{n}C_{2}={}^{n}C_{9}\) gives \(n=11\), and both equal \(55\).
Pascal's identity: a selection either includes one particular object or it does not.
For example, committees of 2 from 6 people: those with Kim choose 1 more from the other 5, those without Kim choose 2 from the other 5, so \({}^{6}C_{2}={}^{5}C_{1}+{}^{5}C_{2}=5+10=15\).
| \(\text{LHS}\) | \(=\) | \(r\times\dfrac{n!}{r!\,(n-r)!}\) |
| \(=\) | \(\dfrac{n!}{(r-1)!\,(n-r)!}\) | |
| \(=\) | \(\dfrac{n\times(n-1)!}{(r-1)!\,\big((n-1)-(r-1)\big)!}\) | |
| \(=\) | \(n\times{}^{n-1}C_{r-1}=\text{RHS}\) |
How to count a selection
- Decide whether order matters. If it does not, use \({}^{n}C_{r}\).
- Handle particular objects first: remove anyone excluded; put in anyone included, then choose the rest from what is left.
- Split into groups (teachers and parents, vowels and consonants, suits): choose from each group and multiply.
- List the cases for "exactly", "at most", "a majority" or "the same colour", and add them. Leave out impossible cases, such as choosing 3 from 2.
- Use the complement for "at least one": total minus none.
- Finish the count: divide by 2 for two unlabelled groups of the same size, and multiply by the arrangements if the chosen objects are then put in order. Finish with a \(\therefore\) statement.
Selecting, then arranging
Choose 4 of 9 people and seat them in a row:
| \({}^{9}C_{4}\times 4!\) | \(=\) | \(126\times 24\) |
| \(=\) | \(3024\) |
This is \({}^{9}P_{4}=3024\), as it should be. Seat the 4 people around a round table instead:
| \({}^{9}C_{4}\times 3!\) | \(=\) | \(126\times 6\) |
| \(=\) | \(756\) |
Counting figures
A segment (a side, chord or diagonal) is fixed by 2 points, and a triangle by 3 points that are not on one line. An \(n\)-sided polygon has \({}^{n}C_{2}-n\) diagonals. If some of the points lie on a common line, count by cases or subtract the selections of 3 points on one line.
(i) with no restrictions?
(ii) if Mia must be in the team?
(iii) if Mia is in the team but Noah is not?
Order does not matter, so use combinations.
(i)
| \({}^{10}C_{4}\) | \(=\) | \(\dfrac{10\times 9\times 8\times 7}{4\times 3\times 2\times 1}\) |
| \(=\) | \(210\) |
(ii) Mia takes one place. Choose the other 3 from the other 9 students.
| \({}^{9}C_{3}\) | \(=\) | \(\dfrac{9\times 8\times 7}{3\times 2\times 1}\) |
| \(=\) | \(84\) |
(iii) Put Mia in and remove Noah. Choose 3 from the remaining 8.
| \({}^{8}C_{3}\) | \(=\) | \(\dfrac{8\times 7\times 6}{3\times 2\times 1}\) |
| \(=\) | \(56\) |
\(\therefore\) (i) \(210\) (ii) \(84\) (iii) \(56\) teams.
(i) How many diagonals can be drawn?
(ii) How many triangles can be formed using three of the vertices?
(i) Any 2 vertices give a segment. Take away the 9 sides.
| \(\text{Segments}\) | \(=\) | \({}^{9}C_{2}=36\) |
| \(\text{Diagonals}\) | \(=\) | \(36-9\) |
| \(=\) | \(27\) |
Check: each vertex has 6 diagonals (as drawn from \(V\)), and each diagonal has 2 ends: \(\dfrac{9\times 6}{2}=27\).
(ii) No three vertices of a polygon lie on one line, so any 3 vertices form a triangle.
| \({}^{9}C_{3}\) | \(=\) | \(\dfrac{9\times 8\times 7}{3\times 2\times 1}\) |
| \(=\) | \(84\) |
\(\therefore\) (i) \(27\) diagonals (ii) \(84\) triangles.
(i) contain exactly 2 parents?
(ii) contain at least one parent?
(iii) have a majority of teachers?
(i) 3 teachers and 2 parents.
| \({}^{7}C_{3}\times{}^{5}C_{2}\) | \(=\) | \(35\times 10\) |
| \(=\) | \(350\) |
(ii) At least one parent = total minus no parents.
| \(\text{Total}\) | \(=\) | \({}^{12}C_{5}=792\) |
| \(\text{No parents}\) | \(=\) | \({}^{7}C_{5}=21\) |
| \(\text{At least 1 parent}\) | \(=\) | \(792-21\) |
| \(=\) | \(771\) |
(iii) A majority of teachers means 3, 4 or 5 teachers.
| \(\text{5T}\) | \(=\) | \({}^{7}C_{5}=21\) |
| \(\text{4T, 1P}\) | \(=\) | \({}^{7}C_{4}\times{}^{5}C_{1}=175\) |
| \(\text{3T, 2P}\) | \(=\) | \(350\) |
| \(\text{Total}\) | \(=\) | \(21+175+350\) |
| \(=\) | \(546\) |
\(\therefore\) (i) \(350\) (ii) \(771\) (iii) \(546\) committees.
(i) In how many ways can this be done?
(ii) Sam and Lee are two of the twelve. In how many ways can the teams be chosen if Sam and Lee must be in different teams?
(i) Choose 6 people for one team; the other 6 form the other team. The teams have no labels, so each split is counted twice.
| \(\text{Ways}\) | \(=\) | \(\dfrac{{}^{12}C_{6}}{2}\) |
| \(=\) | \(\dfrac{924}{2}\) | |
| \(=\) | \(462\) |
(ii) Put Sam in one team and Lee in the other. Sam's team needs 5 more players from the other 10; the rest join Lee. The teams are now told apart by Sam and Lee, so do not divide by 2.
| \(\text{Ways}\) | \(=\) | \({}^{10}C_{5}\) |
| \(=\) | \(252\) |
Check: Sam and Lee in the same team: \({}^{10}C_{4}=210\), and \(462-210=252\).
\(\therefore\) (i) \(462\) ways (ii) \(252\) ways.
Common pitfalls
Frequently asked questions
What is the difference between a permutation and a combination?
In a permutation the order matters (first, second, third, or seats in a row). In a combination only the group matters. Each group of \(r\) can be ordered in \(r!\) ways, so \({}^{n}P_{r}=r!\times{}^{n}C_{r}\).
How do you calculate nCr?
\({}^{n}C_{r}=\dfrac{n!}{r!\,(n-r)!}\). By hand, cancel the larger factorial: \({}^{8}C_{3}=\dfrac{8\times 7\times 6}{3\times 2\times 1}=56\). Calculators have an nCr key.
Why is nCr equal to nC(n−r)?
Choosing \(r\) objects to take is the same as choosing the \(n-r\) objects to leave behind, so the two counts are equal. For example \({}^{10}C_{3}={}^{10}C_{7}=120\).
How do you solve "at least one" combination problems?
Count all the selections, then subtract the selections with none. From 7 teachers and 5 parents, committees of 5 with at least one parent number \({}^{12}C_{5}-{}^{7}C_{5}=792-21=771\).
How many diagonals does a polygon have?
Any two vertices are joined by a segment, so there are \({}^{n}C_{2}\) segments. Take away the \(n\) sides: \({}^{n}C_{2}-n=\dfrac{n(n-3)}{2}\) diagonals. A decagon has \(45-10=35\) diagonals.