Counting, Permutation & Combination
Four formulas cover this entire unit. The skill is not memorising them — it is deciding which one the question wants. This is the single most useful unit in the syllabus, because Unit 3, 4 and 5 all lean on it.
Does the order of the chosen things matter?
- YES (first place, second place, rank, password, committee with a chair) → permutation nPr
- NO (just a group, a hand of cards, a selection, any order) → combination nCr
1. The Basic Principle of Counting
Multiplication rule — do this one, then that one
If a task is made of k separate steps, and step i can be done in nᵢ ways, then the whole task can be done in:
Each of the 4 positions independently has 10 options. Positions are ordered (the first digit is not the same as the fourth).
A lock has 3 buttons, each labelled 1, 2 or 3. A code of length 2 is pressed. How many codes are possible?
Addition rule — this OR that (but not overlapping)
When a task can be finished in two or more different but mutually exclusive ways, you add instead of multiplying.
Multiply when you must do all the steps (AND). Add when you can pick one of several options (OR).
Overlapping case (counted twice): inclusion–exclusion, |A ∪ B| = |A| + |B| − |A ∩ B|. Subtract the double-counted part.
A club has 5 men and 4 women. How many ways to pick a committee of 3 with at least one woman?
Bad approach (double counts): total committees − all-men = 9C3 − 5C3 = 84 − 10 = 74. ✓ correct, but harder.
Better (disjoint, add directly): split by exactly how many women:
2 women, 1 man: 4C2 × 5C1 = 6 × 5 = 30
3 women: 4C3 × 5C0 = 4 × 1 = 4
2. The Pigeonhole Principle
then at least one hole contains more than one pigeon.
Named after the obvious fact that you cannot give 12 pigeons 10 separate holes. In counting problems it answers: "how many are enough to guarantee…?"
Question: how many people must be in a room to guarantee two share a birthday?
h(2−1) + 1 = 366 × 1 + 1 = 367
- Find the number of categories (holes) — usually the number of possible values.
- Decide how many you need in one category (k) — read the word "two", "three", "pair".
- Answer = h(k−1) + 1.
- If a specific k is not requested, it is almost always k = 2, giving h + 1.
"Guarantee" is the trigger word. If a question says "at least" or "must", that is pigeonhole. If it says "in how many ways could this happen", that is nPr or nCr, not pigeonhole.
3. Permutations (nPr) — order MATTERS
Give gold, silver and bronze to 8 athletes.
Read it as slots: gold has 8 choices, silver has 7 left, bronze has 6 left.
From 9 men and 6 women, choose a chairman, a secretary and a treasurer. Roles are different, so order matters.
Secretary: 14 left
Treasurer: 13 left
Total = 15 × 14 × 13 = 2730
Do not try to remember the formula. Write the slots on a line and count the options above each one, then multiply. If a slot says "any" with no title, order is not important for that slot and you have an nCr instead.
Shortcuts worth knowing: nP1 = n, nP2 = n(n−1), nPn = n!.
4. Combinations (nCr) — order does NOT matter
From 10 students, choose a 4-person committee.
How many 5-card hands from a 52-card deck? Suit and rank order do not matter.
Whenever you use nPr and then notice the r things are actually interchangeable, just divide by r!. That single move converts any permutation answer into a combination answer.
So: "I used nPr but the positions are identical → divide by r!."
Handy values to memorise
5. Trigger Words — the real exam skill
| The question says… | What it really asks | Use |
|---|---|---|
| "arrange", "in order", "rank", "first/second/third", "code", "password", "PIN", "committee with a chair" | Order matters | nPr |
| "choose", "select", "select a committee", "group", "team", "hand of cards", "subset" | Order does not matter | nCr |
| "at least one", "at least two" | Split into cases, then add | addition rule + nCr |
| "no two", "not together", "all different" | Subtract the excluded cases | total − bad |
| "guarantee", "must", "at least … share" | Pigeonhole | h(k−1)+1 |
| "how many ways" + two independent choices | Multiply | × |
| "either … or …" | Mutually exclusive options | + |
| "from a group of m men and n women" | Split by gender, add the cases | Σ (mCi × nCj) |
Question: In how many ways can 4 boys and 3 girls sit in a row of 7 chairs such that no two girls sit together?
Step 1 — deal with the boys first. The boys are the "spacers":
Step 2 — the gaps. 4 boys in a row create 5 gaps:
Step 3 — place the girls in 3 of those 5 gaps:
Step 4 — multiply:
- Arrange the other group: n!
- Count the gaps: for m items in a row there are m + 1 gaps
- Put one of each into distinct gaps: P(m+1, k)
- Multiply
For a circle ("around a round table") the answer is (n−1)!, because rotations are the same. Fix one person first, then arrange the rest. Add reflections too if mirror images count as different.
6. Binomial Coefficients & Pascal's Triangle
The binomial coefficient ⁿC r is the r-th term multiplier in the expansion of (a+b)ⁿ. The array of all of them is Pascal's triangle.
Row 4 of the triangle is 1, 4, 6, 4, 1. Attach the powers of x and 2:
= x⁴ + 8x³ + 24x² + 32x + 16
Check: put x = 1 and the result must equal (1+2)⁴ = 81. 1 + 8 + 24 + 32 + 16 = 81 ✓
Question: find the coefficient of x³y² in the expansion of (x + y)⁷.
Always draw the missing exponent: 3 + 2 = 5, but the total is 7, so there is also an implicit x²y⁰ term. The coefficient of the x³y² term is ⁷C 3 (choose which 3 of the 7 brackets give the x).
In (a+b)ⁿ, the term with an−r br has coefficient ⁿC r. The exponent of b tells you the index r. If you get 21 vs 35 wrong, it is because you used r = 5 instead of r = 2. Because ⁷C 2 = ⁷C 5, always pick the smaller index — it is easier to compute.
Other useful recurrence
The first says "Pascal's rule" — build the next row from this one. The second lets you walk across a row without recomputing factorials.
Self-check
Open to see the answers
1. How many ways can 5 students be seated in a row? What if they sit around a round table?
Round table: (5−1)! = 24 (rotations are the same, so fix one person)
2. How many people are needed to guarantee two were born in the same month?
3. How many ways to pick a captain and a vice-captain from 7 players? How many to pick a 2-player team?
Team: ⁷C 2 = 21 (equal members → order does not matter)
Relation between them: 42 = 21 × 2! ✓
4. Expand (a + 1)⁵ and find the coefficient of a².
(a+1)⁵ = a⁵ + 5a⁴ + 10a³ + 10a² + 5a + 1
Coefficient of a² = ⁵C 3 = 10 ✓ (matches the table, confirming the index rule)