nCr
n!
×
24
Mathematics · WASSCE + Cambridge O Level + IB + North America

Counting, Permutations and Combinations

Count outcomes with the multiplication principle, arrange items with factorials and permutations, choose groups with combinations, and use counting in probability.

⏱ about 55 min🎯 0 hands-on activities🃏 20 flashcards📊 2 infographics🎛 1 live explorer
⚡

Before you start

Your starting line

What you need: a pencil, an exercise book and a calculator.

What you should already know: multiplying whole numbers and simplifying fractions (Lessons 1 and 2), and single-event and combined probability (Lessons 47 and 48).

By the end of this lesson you will be able to ✔ use the multiplication principle to count the outcomes of several choices
✔ work with factorials and count arrangements (permutations), including repeated letters
✔ count arrangements with restrictions, such as people who must stand together
✔ use nCr to count selections where the order does not matter
✔ combine counting with probability to answer exam-style questions
ChallengeAdaeze’s phone has a 4-digit PIN. Chinedu says there are only 40 possible PINs, because there are 10 digits and 4 places. Adaeze says there are far more. Who is right? By the end of this lesson you will be able to count the PINs exactly, and to count teams, queues and codes without listing them one by one.
How this lesson fitsThis is the seventh and last lesson in the Statistics and Probability module. Counting methods give you the totals that probability needs, and the next module begins with calculus.
🎚 Learning mode
Look for this signWhat it means
📊 InfographicA picture that explains the idea. Study it before reading the words.
🎛 Live explorerChange the numbers and watch the answer change.
▶ Show next stepPredict the move first, then tap to check yourself.
🧠 Explain it to yourselfAnswer in your own words before opening the model answer.
1

The multiplication principle

Count without listing

Many counting questions involve several choices made one after another. The multiplication principle says that if the first choice can be made in m ways, and for each of these the second choice can be made in n ways, then the two choices together can be made in m × n ways. In words: “and” means multiply. The word “or”, when the choices are separate and only one is made, means add.

Worked example 1: a school shop sells 3 shirts, 4 pairs of trousers and 2 pairs of shoes. How many different outfits are possible?
1
Shirt: 3 choices
The first slot.
2
Trousers: 4 choices
The second slot. Every shirt can go with every pair of trousers.
3
Shoes: 2 choices
The third slot.
4
3 × 4 × 2 = 24
Multiply the number of choices in each slot.
24 outfits M1 A1
Worked example 2: Adaeze’s PIN has 4 digits chosen from 0 to 9. How many PINs are there (a) if digits can repeat, (b) if no digit can repeat?
1
(a) Four slots, each with 10 choices
Digits can repeat, so no digit is used up.
2
10 × 10 × 10 × 10 = 10 000
Multiply.
3
(b) Slots with 10, 9, 8 and 7 choices
A digit that has been used cannot be used again.
4
10 × 9 × 8 × 7 = 5 040
Multiply.
Chinedu is wrong. There are 10 000 PINs with repeats, or 5 040 with no repeated digit. M1 A1 M1 A1

📊 Infographic 1 · The slot method

Fill the slots, then multiply4-digit PIN, digits may repeat10101010×××10 × 10 × 10 × 10 = 10 000 PINsNo digit used twice10987×××10 × 9 × 8 × 7 = 5 040 PINs
Draw one slot for each choice, write the number of choices in it, and multiply. When a digit cannot be used twice, each slot has one fewer choice than the one before.
Worked example 3: how many 3-digit numbers can be made from the digits 1, 2, 3, 4 and 5 if digits may repeat and the number must be even?
1
Last digit must be 2 or 4: 2 choices
Fill the slot with the rule first.
2
First digit: 5 choices
Any of the five digits.
3
Middle digit: 5 choices
Repeats are allowed.
4
5 × 5 × 2 = 50
Multiply.
50 M1 A1
Rule firstWhen a slot has a rule (even, odd, not zero), fill that slot first. Then fill the free slots. If you start with the free slots, the number of choices left for the restricted slot can depend on what you picked, and the count becomes messy.
Add or multiply?Picking a shirt and trousers: multiply, 3 × 4 = 12. Picking either one fruit from 3 or one drink from 2: add, 3 + 2 = 5, because you take only one item.
🧠 Explain it to yourself: why do we multiply the numbers of choices and not add them?

Model answer: Each shirt can be worn with every pair of trousers. One shirt gives 4 outfits, the next shirt gives 4 more, and so on, so 3 shirts give 3 groups of 4 outfits, which is 3 × 4 = 12. Adding 3 + 4 = 7 would only count the items, not the ways of combining them.

2

Factorials and arrangements

Counting orders

The factorial of a whole number n, written n!, is the product of all whole numbers from n down to 1. So 5! = 5 × 4 × 3 × 2 × 1 = 120. By agreement, 0! = 1 and 1! = 1. Factorials count arrangements: n different objects can be placed in a row in n! ways, because the first place has n choices, the second has n − 1, and so on down to 1.

Worked example 4: work out (a) 5!, (b) 7! ÷ 5!, (c) 8! ÷ (6! × 2!)
1
(a) 5! = 5 × 4 × 3 × 2 × 1 = 120
Multiply down to 1.
2
(b) 7! ÷ 5! = 7 × 6 = 42
Cancel the 5! on the top and the bottom.
3
(c) 8! ÷ 6! = 8 × 7 = 56
Cancel 6!.
4
56 ÷ 2! = 56 ÷ 2 = 28
Since 2! = 2.
120, 42 and 28 B1 M1 A1 A1
Worked example 5: in how many ways can 5 different books be arranged on a shelf?
1
First place: 5 choices, second: 4, third: 3, fourth: 2, last: 1
Each place has one fewer choice, because a book cannot be used twice.
2
5 × 4 × 3 × 2 × 1 = 5! = 120
Multiply.
120 ways M1 A1

Permutations: choosing and arranging

A permutation is an arrangement in which the order matters. The number of ways to arrange r objects taken from n different objects is nPr = n! ÷ (n − r)!. In practice, multiply r numbers starting at n and going down by 1 each time.

Worked example 6: 8 runners take part in a race. In how many ways can gold, silver and bronze be awarded?
1
Gold: 8 runners could win
8 choices.
2
Silver: 7 runners are left
7 choices.
3
Bronze: 6 runners are left
6 choices.
4
8 × 7 × 6 = 336
This is 8P3 = 8! ÷ 5!.
336 ways M1 A1

When some items are identical

If n objects include p identical items of one kind and q identical items of another kind, the number of different arrangements is n! ÷ (p! × q!). We divide because swapping two identical items does not give a new arrangement.

Worked example 7: find the number of arrangements of the letters of (a) SCHOOL, (b) ACCRA
1
(a) SCHOOL has 6 letters, with O twice
Count each letter first.
2
6! ÷ 2! = 720 ÷ 2 = 360
Divide by 2! for the repeated O.
3
(b) ACCRA has 5 letters: A twice and C twice
Two letters repeat.
4
5! ÷ (2! × 2!) = 120 ÷ 4 = 30
Divide by 2! for A and by 2! for C.
360 and 30 M1 A1 M1 A1
🧠 Explain it to yourself: why do we divide by 2! when a letter is repeated?

Model answer: If the two O’s in SCHOOL were different, say O1 and O2, swapping them would give a new arrangement, and 6! = 720 would be right. They look the same, so each real arrangement has been counted twice, once for each order of the two O’s. Dividing by 2! removes this double counting.

3

Arrangements with restrictions

Together, apart and fixed places

Exam questions often add a rule: two people must stand together, two must not stand together, or one person must be at an end. Three tools handle almost every case: the block method (glue items together), the complement (total minus the unwanted cases), and fixing the restricted item first.

Worked example 8: five friends, Kofi, Ama, Bisi, Sam and Tunde, stand in a row. In how many ways can they stand if Kofi and Ama must be together?
1
Glue Kofi and Ama into one block
Now there are 4 objects: the block, Bisi, Sam and Tunde.
2
Arrange the 4 objects: 4! = 24
The block counts as one object.
3
Kofi and Ama can swap inside the block: 2! = 2
Two orders inside the block.
4
24 × 2 = 48
Multiply the two stages.
48 ways M1 M1 A1
Worked example 9: in how many ways can the same five friends stand if Kofi and Ama must NOT be together?
1
All arrangements: 5! = 120
No rules.
2
Arrangements with Kofi and Ama together: 48
From the last example.
3
120 − 48 = 72
Every arrangement is either together or apart.
72 ways M1 A1
Worked example 10: six people sit on a bench. The principal must sit at one end. In how many ways can they be seated?
1
The principal: 2 choices
Left end or right end.
2
The other 5 people fill the other 5 seats: 5! = 120
Any order.
3
2 × 120 = 240
Multiply.
240 ways M1 M1 A1
Glue, then swapAfter you glue items into a block, always ask whether the items inside can swap. Two people give 2! orders inside, three people give 3! orders. The final answer is (arrangements of the objects) × (orders inside the block).
🧠 Explain it to yourself: why is “not together” easier as total minus together?

Model answer: Counting the arrangements where two people are apart means handling many separate positions for them. Counting them together uses one simple block. Every arrangement is either together or apart, so apart = total − together, and no case is missed or counted twice.

4

Combinations

Choosing when order does not matter

A combination is a selection in which the order does not matter, such as choosing a team or a committee. Choosing Ama, Bisi and Sam is the same team as choosing Sam, Ama and Bisi. The number of ways to choose r items from n different items is nCr = n! ÷ (r! × (n − r)!). In practice, write r numbers on the top starting at n and going down, and r! on the bottom.

📊 Infographic 2 · Permutations and combinations

Choose 3 letters from A, B, C, DOrder does not matter, so there are 4 groups (4C3)ABCABDACDBCD× 6 orders× 6 orders× 6 orders× 6 orders4 groups × 6 orders = 24 arrangements4P3 = 24 (order matters)4C3 = 24 ÷ 6 = 4 (order does not matter)
Choosing 3 letters from 4 gives 4 groups. Each group can be arranged in 6 orders, which gives 24 arrangements. So nCr = nPr ÷ r!: 24 ÷ 6 = 4.
Worked example 11: a class of 10 pupils must choose 3 of them for a quiz team. How many different teams are possible?
1
Order does not matter, so use 10C3
A team is a group.
2
10C3 = (10 × 9 × 8) ÷ (3 × 2 × 1)
Three factors on the top, 3! on the bottom.
3
= 720 ÷ 6 = 120
Divide.
120 teams M1 M1 A1
Worked example 12: work out (a) 8C6 and (b) 12C0
1
(a) 8C6 = 8C2
nCr = nC(n − r), because choosing 6 to take is the same as choosing 2 to leave behind.
2
8C2 = (8 × 7) ÷ (2 × 1) = 28
Much easier numbers.
3
(b) 12C0 = 1
There is exactly one way to choose nothing.
28 and 1 M1 A1 B1

🎛 Live explorer · Arrangements and selections

Type n and r. See nPr (order matters) and nCr (order does not matter). Try n = 10 and r = 3, then n = 8 and r = 6, then n = 4 and r = 3.

Every group of r items can be arranged in r! orders. That is why nPr is always r! times bigger than nCr.
Order matters or not?Swap two of the chosen items. If you get something different, order matters, so use a permutation (a PIN, a podium, a queue, a president and a secretary). If you get the same result, order does not matter, so use a combination (a team, a hand of cards, a committee).
🧠 Explain it to yourself: why do we divide nPr by r! to get nCr?

Model answer: nPr counts every arrangement of the chosen items. Each group of r items appears r! times in that count, once for each order. Dividing by r! counts each group once. For 4P3 = 24, each group appears 6 times, so 4C3 = 24 ÷ 6 = 4.

5

Selecting from groups, and probability

Putting the tools together

Many problems select from two groups at once. Make one selection from each group and multiply, because the selections are joined by “and”. For “at least one”, count total minus none. For probability, when items are chosen at random every group is equally likely, so probability = favourable groups ÷ total groups.

Worked example 13: a committee must have 2 boys and 2 girls, chosen from 5 boys and 4 girls. How many committees are possible?
1
Choose 2 boys from 5: 5C2 = 10
A combination, because order does not matter.
2
Choose 2 girls from 4: 4C2 = 6
Another combination.
3
10 × 6 = 60
Boys and girls, so multiply.
60 committees M1 M1 A1
Worked example 14: a team of 3 is chosen from 5 boys and 4 girls. How many teams have at least one girl?
1
All teams: 9C3 = (9 × 8 × 7) ÷ 6 = 84
No rules.
2
Teams with no girl: 5C3 = 10
All three from the 5 boys.
3
84 − 10 = 74
Total minus none.
74 teams M1 M1 A1
Worked example 15: three people are chosen at random from 5 boys and 4 girls. Find the probability that all three are boys.
1
Total equally likely teams: 9C3 = 84
From the previous example.
2
Teams of 3 boys: 5C3 = 10
Favourable groups.
3
P = 10 ÷ 84 = 5/42
Divide top and bottom by 2.
5/42 M1 M1 A1
Worked example 16: a lottery draws 4 numbers from 10 balls numbered 1 to 10. Ayo chooses 4 numbers. What is the probability that he wins?
1
The order of the numbers does not matter
Use a combination.
2
10C4 = (10 × 9 × 8 × 7) ÷ (4 × 3 × 2 × 1) = 5040 ÷ 24 = 210
The number of possible draws.
3
Only one draw matches his choice, so P = 1/210
One favourable group out of 210.
1/210 M1 A1 A1
🧠 Explain it to yourself: why does “at least one” lead to total minus none?

Model answer: “At least one girl” covers 1, 2 or 3 girls, which is three separate cases to add. The only other possibility is no girl at all. So the number with at least one is the total minus the number with none, which needs a single subtraction.

6

Exam practice and errors

Questions in the style of WASSCE, Cambridge and IB

Common errors, side by side

Wrong: 3 shirts and 4 trousers: 3 + 4 = 7 outfits
Right: Choices joined by “and” multiply: 3 × 4 = 12 outfits.
Wrong: 0! = 0
Right: 0! = 1. There is one way to arrange nothing.
Wrong: Arrangements of ACCRA: 5! = 120
Right: A and C each appear twice: 5! ÷ (2! × 2!) = 30.
Wrong: Kofi and Ama together: 4! = 24
Right: Do not forget the swap inside the block: 4! × 2! = 48.
Wrong: Choosing 2 from 5: 5 × 4 = 20 teams
Right: A team has no order, so divide by 2!: 5C2 = 10.
Wrong: At least one girl: count only the case with exactly one girl
Right: Use total minus none: 84 − 10 = 74.

Exam-style questions with mark schemes

Cover the solution, try each question, then compare. M is a method mark, A is an accuracy mark that depends on the method, and B is an independent mark. A counting answer must be a whole number.

Question 1 (6 marks): (a) Find the number of different arrangements of the letters in the word BANANA. (b) How many of these arrangements begin with B? (c) How many of these arrangements have all three A’s together?
1
(a) 6! ÷ (3! × 2!) = 720 ÷ 12
M1: 6! divided by 3! for the A’s and 2! for the N’s.
2
= 60
A1: the correct total.
3
(b) B first, then arrange ANANA: 5! ÷ (3! × 2!) = 120 ÷ 12 = 10
M1: fixing the B and arranging the other five letters. A1: 10.
4
(c) Glue AAA into one block: the objects are AAA, B, N, N
M1: treating the three A’s as one block.
5
4! ÷ 2! = 24 ÷ 2 = 12
A1: dividing by 2! because N is repeated.
Why students score marks hereThey count each letter first (A three times, N twice) and write the division clearly. In (b) they fix the B and treat what is left as a smaller problem. In (c) they glue the A’s, which leaves four objects, and remember that the N’s still repeat.
Why students lose marks hereThey use 6! = 720 and forget to divide. They divide by 3 × 2 instead of 3! × 2!. In (b) they divide by only 2!, forgetting that the A’s still repeat. In (c) they multiply by 3! for the order inside the block, although the three A’s are identical and cannot be swapped.
Question 2 (5 marks): a club has 6 boys and 4 girls. A committee of 4 is chosen. Find the number of committees (a) in total, (b) with exactly 2 girls, (c) with at least one girl.
1
(a) 10C4 = (10 × 9 × 8 × 7) ÷ (4 × 3 × 2 × 1) = 5040 ÷ 24 = 210
B1: the correct total.
2
(b) 2 boys from 6: 6C2 = 15, and 2 girls from 4: 4C2 = 6
M1: one combination for each group.
3
15 × 6 = 90
A1: multiplying, because boys and girls are both needed.
4
(c) No girl: all 4 from the 6 boys, 6C4 = 15
M1: finding the case with no girl.
5
210 − 15 = 195
A1: total minus none.
Why students score marks hereThey decide at the start that a committee has no order, so they use combinations throughout. They multiply the two groups in (b) and use total minus none in (c), which needs one subtraction instead of three cases.
Why students lose marks hereThey use permutations, such as 10P4 = 5040, for a committee where order does not matter. They add 15 + 6 in (b) instead of multiplying. In (c) they work out only the case with exactly one girl, and miss the cases with two, three and four girls.
Question 3 (5 marks): a bag holds 5 red counters and 3 blue counters. Three counters are taken at random together. (a) Show that the number of ways to choose 3 counters is 56. (b) Find the probability that exactly 2 are red. (c) Find the probability that all 3 are the same colour.
1
(a) 8C3 = (8 × 7 × 6) ÷ (3 × 2 × 1) = 336 ÷ 6 = 56
B1: every line of the working is shown, because the answer is given.
2
(b) 2 red from 5: 5C2 = 10, and 1 blue from 3: 3C1 = 3. Ways = 10 × 3 = 30
M1: one combination for each colour, multiplied.
3
P = 30/56 = 15/28
A1: dividing by 56 and simplifying.
4
(c) All red: 5C3 = 10. All blue: 3C3 = 1. Total = 11
M1: adding the two cases, which cannot happen together.
5
P = 11/56
A1: the correct probability.
Why students score marks hereThey use 56 as the denominator in every part. They choose the red and the blue separately and multiply, then add the all-red and all-blue cases. They check that the cases add up: 10 + 30 + 15 + 1 = 56.
Why students lose marks hereThey multiply fractions such as 5/8 × 4/7 × 3/6 and forget the different orders. They put 30 over 8 or over 3. In (c) they forget the all-blue case, or multiply the two cases instead of adding them.
Five exam habits ✔ Ask first: does the order matter? Permutation if yes, combination if no.
✔ Draw slots and write the number of choices in each one. Fill a restricted slot first.
✔ Count each letter before you divide for repeats, and use the factorial of each repeat count.
✔ For “together”, glue and swap. For “not together” or “at least one”, use total minus the unwanted case.
✔ Check that a count is a whole number and that a probability lies between 0 and 1.
7

Check

Test yourself without looking back

Recap checklist

Up nextYou can now count outcomes exactly, which completes the Statistics and Probability module. The next lesson starts the Calculus module with differentiation, which measures how fast a quantity is changing.
🃏

Flashcards

20 cards that test only today’s lesson

Tap the card to turn it over. Choose “Got it” only if you could have said the answer aloud. Use the arrow keys to move.

🎉 Lesson done?

Back to the top