Year 12

AQA A level Mathematics [Stat 1] Permutations Combinations Notes

Permutations & Combinations

— Mathematics · AS & A Level (9709) · Probability & Statistics 1 · Chapter 5 —
★ Exam Tip: Counting questions are short but every line of working earns marks. Ask first: is order important? (arranged → permutation · chosen / selected → combination). Past papers (e.g. 9709 P62 Nov 2013 Q6, P61 Jun 2016 Q6, P63 Jun 2010 Q4) mix letters with repeats, restrictions and selections in one question.
Prerequisite check (conditional probability): 10 outcomes: A = 3, B = 5, neither = 4 ⇒ A∪B = 6 ⇒ A∩B = 3 + 5 − 6 = 2. So P(A | B) = 25 and P(B | A) = 23.

1. Selections vs Arrangements

Used everywhere: transport logistics, proteins in genetic engineering, sorting algorithms, and cryptography (passwords, e-commerce).

Two ideas Combination = a way of selecting objects — order does not matter.
Permutation = selecting and arranging in a particular order — order does matter.
Example — two letters from A, B, C:
Combinations: AB, AC, BC → 3 ways (AB and BA are the same choice)
Permutations: AB, BA, AC, CA, BC, CB → 6 ways
Memory trick: permutation → Position matters (arranged). Combination → Committee / Choose (chosen, selected).

Key words: arranged ⇒ permutation. chosen, selected ⇒ combination. e.g. choosing strawberries + ice-cream = choosing ice-cream + strawberries → same combination.

Does ORDER matter? YESNO PermutationⁿPᵣ = n! / (n−r)! CombinationⁿCᵣ = n! / r!(n−r)! arranged · in a line · seats · digits chosen · selected · team · hand
first decision in every question
Explore 5.1 — the cipher idea: each letter A–Z (1–26) is changed to a fixed different letter. SATURN → ECHKBP gives clues: S=19→E=5, A=1→C=3, T=20→H=8 … Pattern: new number = 3 × old number (subtract 26 if > 26). Undo it (× 9, since 3×9 = 27 ≡ 1 mod 26): UJSNOL → GLOVED. With millions of possible passwords a random guess is almost certainly wrong.

2. The Factorial Function

Key Point 5.1n! = n(n − 1)(n − 2) … × 3 × 2 × 1  for any integer n > 0   |   0! = 1

Say "n factorial". On the calculator it is the n! or x! button.

Examples:
7! = 7×6×5×4×3×2×1 = 5040
6!4! = 6×5×4×3×2×14×3×2×1 = 6 × 5 = 30
5! − 4! = 4!(5 − 1) = 4! × 4 = 96    (take out the common factor 4!)
3!0! = 3×2×11 = 6
Careful: 5! − 4! ≠ 1! — never subtract the factorial numbers inside. Factorise: 4!(5−1).

Why is 0! = 1? Go down the list: each term = previous ÷ next number. 1! ÷ 1 = 1, so 0! must be 1.

7!6!5!4! 3!2!1!0! 504072012024 6211 ! ÷7÷6÷5÷4 ÷3÷2÷1
each step to the right divides by the factorial's number ⇒ 1! ÷ 1 = 1 = 0!
Did you know? (chess legend) 1 grain on square 1, 2 on square 2, 4 on square 3 … doubling. Total on 64 squares = 2⁰ + 2¹ + … + 2⁶³ = 2⁶⁴ − 1 ≈ 1.84 × 10¹⁹ grains (≈150 years of world wheat!). It is about ⅓ of 21!. Challenge: prove the sum without a formula (hint: add 1 to the total and watch it collapse: 1+1 = 2, 2+2 = 4, 4+4 = 8 …).

3. Permutations of n Distinct Objects

A permutation = objects arranged in a line. All methods use factorials.

Key Point 5.2nPn = n! = n(n − 1)(n − 2) … × 3 × 2 × 1  (n distinct objects, all used)
Why it works: choices for each place: 3 for the first, then 2, then 1 — multiply them. The numbers on the lines are number of choices, not the digits!

Digits 5, 6, 7: list → 567, 576, 657, 675, 756, 765 → 6 numbers. Lists and tree diagrams are fine for small n only (7 letters ⇒ 5040 branches!). Use the choices method:

3 × 2 × 1 = 3! = 3P3 = 6
567 675756 7 → 5676 → 5767 → 657 5 → 6756 → 7565 → 765 leftmidright
tree: 3 branches × 2 × 1 = 6 numbers
Worked Ex 5.1arrangement in a row

In how many ways can five boys be arranged in a row?

5 × 4 × 3 × 2 × 1 = 5! = 5P5 = 120 ways

Could also work right → left: 1×2×3×4×5 = 5! — same answer.

Worked Ex 5.2distinct objects

Nine elephants and four mice in a line — how many ways?

All 13 animals are distinct ⇒ arrange 13 different things.

13! = 13P13 = 6 227 020 800 ways

Big answers: give to 3 s.f. → 6.23 × 10⁹.

4. Permutations with Repeated Objects

If some objects are identical, there are fewer than n! arrangements — swapping two identical objects gives the same arrangement.

Letters A, A, B, C, D:
Pretend the A's differ (A₁, A₂): 5! = 120 arrangements. But A₁A₂ and A₂A₁ look identical, so every arrangement was counted 2! times ⇒ 120 ÷ 2! = 60.   AABCD = A₁A₂BCD = A₂A₁BCD.
Key Point 5.3 n!p! × q! × r! × …  where p, q, r, … = numbers of each identical type, p + q + r + … = n
Tip: single letters add 1! = 1, so you can leave them out of the bottom line.

Steps: ① count total letters n  ② list the repeated letters and how many of each  ③ n! ÷ (product of those factorials).

Worked Ex 5.3repeats

Capital of Burkina Faso: OUAGADOUGOU. Distinct arrangements of all its letters?

11 letters: O×3, U×3, A×2, G×2 (D only once ⇒ ignore).

11!3! × 3! × 2! × 2! = 277 200
Explore 5.2 — feeling big numbers: COUNTERCLOCKWISE has 16 letters (C×3, O×2, E×2) ⇒ 16!/(3!2!2!) ≈ 8.72 × 10¹¹ arrangements. If all 5.46 × 10⁹ people over 14 each wrote one new arrangement per day: 8.72×10¹¹ ÷ 5.46×10⁹ ≈ 160 days (done by ~9 June). Try the same for PNEUMONOULTRAMICROSCOPICSILICOVOLCANOCONIOSIS using years, seconds in a year (3.15×10⁷), people on Earth (7.48×10⁹) …

5. Permutations with Restrictions

Golden rule: deal with the restricted positions FIRST, then fill the free positions.
✓ Restriction toolkit
  • Fixed place (e.g. oldest at the left end) → 1 choice there, arrange the rest.
  • Must stay together → glue them into one object; arrange the objects; × arrangements inside the glue.
  • Must be separated → total − (together)  or  place the others first, put the separated ones in the gaps.
  • Even / odd, > some number → do the units digit (or first digit) first; split into cases if the choices overlap.
  • "At least / more than" → list every case, add (cases are mutually exclusive).
Worked Ex 5.4six men in a line

No restriction: 6! = 720. With restrictions fewer than 720. Find the number of ways if…

a) oldest man at far left  → 1 choice, other 5 in 5P5:

1 × 5! = 120

b) two youngest at the far right → they fill the 2 end places in 2P2, other 4 men in 4P4:

4! × 2! = 24 × 2= 48

c) shortest man at neither end → only 5 men can go far left, then only 4 can go far right; remaining 4 places filled in 4P4:

5 × 4! × 4= 480 alternative: shortest man in one of 4 middle spots, other 5 in 5! ⇒ 4 × 5! = 480 ✓
Worked Ex 5.5numbers with restrictions

How many odd four-digit numbers greater than 3000 from digits 1, 2, 3, 4, each used once?

First digit must be 3 or 4; last digit must be 1 or 3. The digit 3 can fit either place ⇒ split into two cases.

Start with 3last digit must be 1 (1 choice)middle two: 2! ways1 × 2! × 1 = 2
Start with 4last digit 1 or 3 (2 choices)middle two: 2! ways1 × 2! × 2 = 4
2 + 4 = 6 numbers they are 3241, 3421, 4123, 4213, 4231, 4321 · alternative: split by last digit (ends in 1 / ends in 3)
M₁M₂W₁W₂W₃ glued = 1 object 2! ways inside 4 objects ⇒ 4!
"must not be separated" ⇒ treat as ONE object
Worked Ex 5.6together / separated

Two mangoes (M) and three watermelons (W) in a line, all five distinguishable. Find the ways if the mangoes…

a) must not be separated: mangoes side by side in 2P2 ways; glued pair + 3 W = 4 objects in 4P4 ways.

2P2 × 4P4 = 2 × 24 = 48 ways

b) must be separated: total 5! = 120, and in 48 the mangoes are together.

120 − 48 = 72 ways
Explore 5.3 — 2 women & 3 men on a 5-seater bike (5! = 120):
(a) women separated: together = 2! × 4! = 48 ⇒ 120 − 48 = 72 ✓ correct.
(b) men separated: 120 − 3!×3! = 84 is flawed ✗. 3!×3! counts only "all three men side by side", but "not separated" also includes two together and one apart. Truly separated (no two men adjacent) is only the pattern M W M W M ⇒ 3! × 2! = 12. Lesson: "3 objects all separated" ≠ "not all together".

6. Permutations of r Objects from n

Now select some objects and arrange them. Choose and arrange 3 of A, B, C, D, E: choices 5 × 4 × 3 = 60 — that is 5! but the last 2! is missing ⇒ 5!(5−3)! = 5!2! = 60.

Key Point 5.4nPr = n!(n − r)!  permutations of r objects from n distinct objects
Quick way: ⁿPᵣ = r numbers multiplied, starting at n and going down. ⁷P₃ = 7 × 6 × 5.

Check: nPn = n!/0! = n! ✓.

Worked Ex 5.7digits

Three-digit numbers from 3, 4, 5, 6, 7, 8, 9, each used at most once?

7P3 = 7!(7−3)! = 7!4!= 7 × 6 × 5 = 210
Worked Ex 5.8cards

Five cards from a standard 52 arranged in a row?

52P5 = 52!47!= 52 × 51 × 50 × 49 × 48= 311 875 200
Worked Ex 5.9one person fixed in

4 of 18 girls on a four-seat sofa; the oldest girl must have a seat.

4 seats for the oldest; then select & arrange 3 of the other 17.

4 × 17P3= 4 × 4080 = 16 320
B₁B₂B₃B₄ 12345 ⁴P₄ boys, then girls into 3 of the 5 gaps: ⁵P₃
↑ = the 5 gaps (between or beside the boys)
Worked Ex 5.10separation by gaps

4 boys and 3 girls in a row, no two girls adjacent.

Arrange the 4 boys (⁴P₄); they make 5 gaps; the 3 girls pick 3 of the 5 gaps and are ordered there (⁵P₃).

4P4 × 5P3= 24 × 60 = 1440

Objects that must be separated go individually between / beside the objects that can be together.

7. Combinations

A combination = a selection where order does not matter. Choosing r from n. Each selection can be arranged in r! ways, so

nCr × r! = nPr = n!(n − r)!nCr = n!r!(n − r)!
Key Point 5.5nCr = n!r!(n − r)!  = (number we select from)!(no. selected)! × (no. not selected)!
Why ⁵C₃ = ⁵C₂: choosing 3 to keep = choosing 2 to leave out.

Three facts to remember:

  • nCr = nCn−r
  • nCr ≤ nPr (fewer selections than arrangements)
  • bottom numbers add to the top: r + (n−r) = n
  • AND (both selections happen) ⇒ ×  ·  OR (separate cases) ⇒ +
Fast forward: the modern notation (ⁿ ᵣ) = n!/r!(n−r)! is used in Chapter 7 (binomial). Calculators use ⁿCᵣ.
Worked Ex 5.11selection

3 fish from a bowl with 7 fish and 2 potatoes?

The potatoes are irrelevant — select 3 from the 7 fish.

7C3 = 7!3! × 4! = 35
Worked Ex 5.12two independent selections

5 books and 3 magazines from 8 books and 6 magazines?

Select 5 of 8 books AND 3 of 6 magazines — independent ⇒ multiply.

8C5 = 56    6C3 = 2056 × 20 = 1120
Worked Ex 5.13"more women than men"

Team of 5 from 6 women and 5 men — how many teams have more women than men?

6 women 5 men no. teams
3 2 ⁶C₃ × ⁵C₂ = 20 × 10 = 200
or 4 1 ⁶C₄ × ⁵C₁ = 15 × 5 = 75
or 5 0 ⁶C₅ × ⁵C₀ = 6 × 1 = 6
200 + 75 + 6 = 281 teams
Worked Ex 5.14repeated digit — split by cases

Distinct three-digit numbers from five cards: 5, 5, 7, 8, 9.

The repeated 5 forces three separate (mutually exclusive) cases — then add.

how many 5s working numbers
none digits 7,8,9 arranged: ³P₃ 6
one 5 2 of {7,8,9} chosen, arranged with a 5: ³C₂ × 3! 3 × 6 = 18
two 5s 1 of {7,8,9} chosen, arranged with 5,5: ³C₁ × 3!/2! 3 × 3 = 9
6 + 18 + 9 = 33 numbers

8. Probability with ⁿPᵣ and ⁿCᵣ

If all outcomes are equally likely (equiprobable):

P(event) = no. of favourable permutations (or combinations)no. of possible permutations (or combinations)
Rule: top and bottom must use the same method — both permutations (order matters) or both combinations (random selection). Check totals: in the numerator the "from" numbers add to the denominator's n, and the "selected" numbers to its r.
Worked Ex 5.15tins

15 identical unlabelled tins: 8 soup (S), 4 beans, 3 peas. Choose 7 at random; find P(exactly 5 soup).

Favourable: 5 from the 8 soup and 2 from the 7 "not soup" (S′ — beans or peas, doesn't matter).

P = 8C5 × 7C215C7 = 56 × 216435 = 3922145 = 0.183

Numerator check: 8 + 7 = 15 ✓ and 5 + 2 = 7 ✓.

Worked Ex 5.16cherries

Bag: 13 red (R), 7 black (B). Take 5 at random. P(more red than black)?

red black no. ways
5 0 ¹³C₅ × ⁷C₀ = 1287
4 1 ¹³C₄ × ⁷C₁ = 715 × 7 = 5005
3 2 ¹³C₃ × ⁷C₂ = 286 × 21 = 6006
Total 12 298
20C5 = 15 504  (all ways)P = 12 29815 504 = 0.793 cases are mutually exclusive ⇒ P(A or B or C) = P(A) + P(B) + P(C)

Explore 5.4: conditional probabilities give the same answer (e.g. P(5R) = 13/20 × 12/19 × 11/18 × 10/17 × 9/16 = 1287/15504) but need far more working — combinations are quicker.

1234 ABCD driver's side: 3 seats (³P₂)other side: 4 seats (⁴P₂)
minibus: driver D + 7 passenger seats (3 on the driver's side, 4 opposite)
Worked Ex 5.17seating probability

Minibus: driver + 7 passenger seats; 7 passengers seated at random. P(A and B sit on (a) the same side, (b) opposite sides)?

A, B both on driver's side: ³P₂ = 6 · both on the other side: ⁴P₂ = 12 · any two of 7 seats: ⁷P₂ = 42 P(same) = ³P₂⁷P₂ + ⁴P₂⁷P₂ = 642 + 1242 = 3/7 (b) P(opposite) = 1 − 37 = 4/7 "same side" and "opposite sides" are complementary events

9. Past-Paper Style Questions — Solved

9709 P62 Q6 Nov 2013REMEMBRANCE · letters

11 letters: R×2, E×3, M×2, B, A, N, C. Vowels: E, E, A, E.

i) no restrictions    ii) start and finish with M

11!2! 3! 2!= 1 663 200
M at both ends; 9 left: R×2, E×3, B, A, N, C9!2! 3! = 30 240
9709 P62 Q6 Nov 2013 (cont.)REMEMBRANCE · parts iii, iv

iii) arrangements not having all 4 vowels together ⇒ total − together.

vowel block E,E,A,E: 4!3! = 4 inside the block 8 objects (block, R, R, M, M, B, N, C): 8!2! 2! = 10 080 together = 4 × 10 080 = 40 320 1 663 200 − 40 320 = 1 622 880

iv) choose 4 letters, no M, no R, at least 2 E's. Available: E,E,E and 4 different letters B,A,N,C. (selection ⇒ combinations)

2 E's + 2 of the 4 others: ⁴C₂ = 6 3 E's + 1 of the 4 others: ⁴C₁ = 4 6 + 4 = 10
9709 P61 Q6 Jun 2016numbers & bunches

a i) 3-digit numbers (100–999), all digits different:

9 × 9 × 8 = 648first ≠ 0 (9), second ≠ first (9 incl. 0), third (8)

ii) of these, odd and > 700. First digit 7, 8 or 9; last digit odd; middle: 8 choices each time.

first 7: last ∈ {1,3,5,9} → 4 × 8 = 32 first 8: last ∈ {1,3,5,7,9} → 5 × 8 = 40 first 9: last ∈ {1,3,5,7} → 4 × 8 = 32 32 + 40 + 32 = 104
9709 P61 Q6 Jun 2016 (cont.)selection with minimums

b) 7 flowers from 6 roses, 5 tulips, 4 daffodils, at least 2 of each ⇒ (R,T,D) = (3,2,2), (2,3,2) or (2,2,3).

(3,2,2): ⁶C₃ × ⁵C₂ × ⁴C₂ = 20 × 10 × 6 = 1200 (2,3,2): ⁶C₂ × ⁵C₃ × ⁴C₂ = 15 × 10 × 6 = 900 (2,2,3): ⁶C₂ × ⁵C₂ × ⁴C₃ = 15 × 10 × 4 = 600 1200 + 900 + 600 = 2700
9709 P63 Q4 Jun 2010identical cans

3 identical cola (C), 2 green tea (G), 2 orange juice (O) in a row. (Total = 7!/(3!2!2!) = 210.)

i) first and last cans the same type → three cases:

both C: middle 5 = C,G,G,O,O → 5!/(2!2!) = 30 both G: middle 5 = C,C,C,O,O → 5!/(3!2!) = 10 both O: middle 5 = C,C,C,G,G → 5!/(3!2!) = 10 30 + 10 + 10 = 50

ii) 3 colas together and 2 green teas apart:

glue CCC → objects: [CCC], G, G, O, O → 5!/(2!2!) = 30 subtract G's adjacent: [CCC], [GG], O, O → 4!/2! = 12 30 − 12 = 18

10. Full Chapter Cheat-Sheet

✓ Formulas (n distinct objects unless stated)
  • n! = n(n−1)(n−2)…×2×1  ·  0! = 1
  • All n arranged: nPn = n!
  • r arranged from n: nPr = n!(n−r)!
  • With identical objects (p, q, r … of each kind): n!p! q! r! …
  • r chosen from n (order irrelevant): nCr = n!r!(n−r)!   with nCr = nCn−r, nCr ≤ nPr, nCr × r! = nPr
  • Probability = favourablepossible (both counted by perms or both by combs)
✓ Method reminders
  • Arranged → permutation · chosen / selected → combination.
  • Independent choices: AND → ×   Separate cases: OR → +.
  • Restricted places first; split into cases when choices overlap (e.g. odd numbers > 3000).
  • Together → glue as one object, × inside arrangements. Not together → total − together, or gaps method (ⁿ⁺¹Pₖ for k separated objects among n others).
  • Repeated digit / letter in selections ⇒ cases by how many of it are used.
  • Large answers: 3 s.f. · probability answers: fraction or 3 s.f. decimal.
  • Complement: P(not A) = 1 − P(A); "at least one" = total − none.
Did you know? The rule for permutations of n objects appears in Indian maths by 1150 (Bhāskara II, Līlāvatī). In 1677 Fabian Stedman used n! to count bell-ringing changes: a full peal of 10 bells = 3 628 800 sequences — over 3 months of ringing! That is why churches rarely have more than 5 bells.