01 Recall: counting principle, permutations and combinations
Counting principle
- Multiplication rule (AND): if one task can be done in ways and, after it, a second task in ways, the two tasks together can be done in ways.
- Addition rule (OR): if two tasks cannot happen together and they can be done in and ways, then one of them can be done in ways.
- Factorial: , with .
Permutations ()
- Permutation: an arrangement of objects chosen from different objects, where the order matters.
- and .
- Arranging different objects around a circle (no fixed reference point) gives ways.
Combinations ()
- Combination: a selection of objects out of different objects, where the order does not matter.
- , and , .
- If , then either or .
- Pascal's rule: .
- Ratio of consecutive combinations: .
| Point of comparison | Permutations | Combinations |
|---|---|---|
| Order | Matters | Does not matter |
| Formula | ||
| Typical use | Forming numbers, passwords, rankings | Choosing committees, cards, subsets |
| Size |
✍️ Worked examples
Example 1:
- How many different 3-digit numbers can be formed from the digits 1, 2, 3, 4, 5 without repetition?
- In how many ways can a committee of 3 be chosen from 7 people?
Solution:
- Numbers: the order matters, so .
- Committee: the order does not matter, so .
Example 2: Solve and .
Solution:
- , so , , hence (reject ).
- , so , hence .