Sub topic 4
Combinations: When Order Does Not Matter
Assume you can simplify fractions, solve basic equations, and read set language such as “and” and “or.” You should also be comfortable with factorials. The factorial of a positive integer \(n\), written \(n!\), is the product \(n(n-1)(n-2)\cdots1\).
A combination is a selection in which the order of the selected items does not matter. For example, choosing Ana, Ben, and Chris for a committee is the same committee as choosing Chris, Ana, and Ben. The arrangement of the names does not create a new outcome.
The combination formula
The number of ways to choose \(r\) items from \(n\) distinct items is
\binom{n}{r}=\frac{n!}{r!(n-r)!}.The expression \(\binom{n}{r}\) is read “\(n\) choose \(r\).”
Why does the formula divide by \(r!\)? First, imagine selecting and arranging \(r\) items. That gives
\frac{n!}{(n-r)!}ordered selections. However, each group of \(r\) items appears \(r!\) times, once for every possible ordering. Dividing by \(r!\) removes these duplicates.
For example, selecting three students from five gives
\binom{5}{3}
=\frac{5!}{3!2!}
=\frac{5\cdot4\cdot3!}{3!\cdot2}
=10.The group consisting of Alex, Bea, and Chen is counted once, not six times.
import math
students = math.comb(5, 3)
print(students) # 10Recognizing a combination problem
Use combinations when the selected objects form a group, set, team, or committee and no positions are assigned.
| Wording | Correct tool | Reason |
|---|---|---|
| Choose 4 books to bring | Combination | Only the group matters |
| Select a president and secretary | Permutation | The positions differ |
| Form a 3-digit code | Permutation | The order creates a different code |
| Choose 2 toppings | Combination | The order of toppings does not matter |
A useful test is to ask: Would swapping two selected items create a different outcome? If no, use a combination. If yes, use a permutation.
Worked example: committee selection
A department has 6 engineers and 4 designers. How many committees of 3 contain exactly 2 engineers and 1 designer?
Choose the engineers and designers separately:
\binom{6}{2}\binom{4}{1}
=15\cdot4
=60.The multiplication principle applies because each pair of engineers can be combined with each selected designer.
If the question instead asks for committees with at least 2 engineers, count the cases separately:
- Exactly 2 engineers and 1 designer: \(\binom{6}{2}\binom{4}{1}=60\)
- Exactly 3 engineers: \(\binom{6}{3}=20\)
Therefore, the total is \(60+20=80\).
Useful checks and common errors
The symmetry rule
\binom{n}{r}=\binom{n}{n-r}can make calculations easier. Choosing 3 people to serve on a committee from 10 people is equivalent to leaving out 7 people:
\binom{10}{3}=\binom{10}{7}.Common errors include:
- Using \(n^r\) when repetition or ordered positions are not allowed.
- Using \(nPr\) and forgetting that different orders represent the same group.
- Multiplying by \(r!\) after already using the combination formula.
- Treating “at least” as one case instead of adding all possible cases.
Exercise
A group of 8 students must choose 3 representatives. How many different groups are possible?
Show answer
Since the representatives have no assigned roles, order does not matter. The count is \(\binom{8}{3}=\frac{8!}{3!5!}=56\).