M4.6.8 Chapter 8
Counting choices
Mei has 3 scarves and 2 hats. How many different outfits can she make with one scarf and one hat?
Your guess
Pick one before you read on. It is fine to be wrong.
By the end you can
- Count outcomes with the product rule
- Find how many ways there are to arrange 4 different letters
To find a probability by counting, you often need to know how many outcomes there are in all. Listing them works for small cases. For bigger cases, you need a faster way to count.
Start with Mei's clothes. A tree with no chances on its branches lists the outfits. Each scarf has two branches, one for each hat.
Draw it first
List the outfits as a tree
1 Draw the first choice: three branches for the three scarves.
2 From each scarf, draw two branches for the two hats. Number the ends: there are 6 outfits.
Notice that the tree has 3 groups of 2 ends. The number of ends is 3 × 2. This is the product rule. Suppose one choice can be made in a ways, and another in b ways. Then both can be made in a × b ways.
Worked example
Mei has 3 scarves and 2 hats. How many outfits can she make with one scarf and one hat?
- There are 3 ways to choose the scarf.
- For each scarf there are 2 ways to choose the hat.
- Multiply: 3 × 2 = 6 outfits.
Answer: 6
The rule works for any number of choices. Multiply the number of ways for each one. A lock has 3 wheels, and each wheel shows a digit from 0 to 9. Each wheel has 10 ways.
Worked example
A lock has 3 wheels. Each wheel shows a digit from 0 to 9. How many different codes are there?
- Each wheel has 10 ways, and a wheel can repeat a digit shown by another wheel.
- The first two wheels together have 10 × 10 = 100 ways.
- With the third wheel, 100 × 10 = 1 000 codes.
Answer: 1 000
Worked example
Joseph guesses a code for the lock at random. What is the probability that he opens it on his first try?
- All 1 000 codes are equally likely.
- Only one code opens the lock.
- P(opens it) = 1/1000.
- As a decimal, 1 ÷ 1 000 = 0.001.
Answer: 1/1000
Now a different kind of choice: putting things in order. Each way of doing it is an arrangement. How many arrangements of the letters A, B and C in a row are there, each letter used once? A tree lists them. After you choose the first letter, only two letters are left, and after the second, only one.
The number of choices falls each time, because a letter that is used cannot be used again. So the number of ways is 3 × 2 × 1 = 6, which agrees with the tree.
Four letters A, B, C and D work the same way. There are 4 ways to choose the first letter. Then 3 are left for the second, 2 for the third and 1 for the last.
Worked example
In how many ways can 4 different letters be arranged in a row?
- The first place can be filled in 4 ways.
- Then 3 letters are left. The first two places can be filled in 4 × 3 = 12 ways.
- Then 2 letters are left, so the first three places can be filled in 12 × 2 = 24 ways.
- The last place has 1 way, so 4 × 3 × 2 × 1 = 24.
Answer: 24
Counting gives probabilities. If the 4 letters are put in a random order, all 24 arrangements are equally likely. The chance that they come out as ABCD is 1 out of 24.
Try it
Find all 24 arrangements
You need: four small pieces of paper, a pencil.
- Write A, B, C and D on the four pieces.
- Put A first. List every way to arrange B, C and D after it. There should be 6.
- Do the same with B first, then C first, then D first.
- Add up. Each first letter gives 6, so the total is 4 × 6 = 24.
What you will see: Each first letter gives the same count, 3 × 2 × 1 = 6. That is the product rule at work.
A wrong idea many people have
To count the outfits, add the numbers of choices: 3 + 2.
Why it feels right: We add when we put groups together, and here there are two groups, scarves and hats.
The test that breaks it: Add and you get 5, but the tree shows 6 outfits. Each scarf is worn with each hat, so every scarf is counted twice, once for each hat.
What is true: When you make one choice and then another, multiply. Add only when you choose from one group or from the other, but not both.
A wrong idea many people have
Each place in a row of 4 letters has 4 choices, so there are 4 × 4 × 4 × 4 ways.
Why it feels right: The first place does have 4 choices, and it seems the others should too.
The test that breaks it: A letter used in the first place cannot be used again. The second place has only 3 letters left, then 2, then 1.
What is true: When nothing can be used twice, each choice has one fewer option than the last: 4 × 3 × 2 × 1.
Key words
- product rule
- if one choice has a ways and another has b ways, both together have a × b ways.
- arrangement
- a way of putting things in order, such as the letters ABCD in a row.
Back to your guess
The answer is C: 6, because each of the 3 scarves goes with each of the 2 hats.
Each scarf can be worn with either hat. That makes 2 outfits for the first scarf, 2 for the second and 2 for the third. 2 + 2 + 2 = 6, which is 3 × 2.
Check yourself
Try each one before you look. A wrong answer tells you where to go next.
A pupil chooses one of 4 books and one of 5 pens. How many different pairs can the pupil make?
See the answer
20
There are 4 ways to choose the book and 5 ways to choose the pen. 4 × 5 = 20.
A lock has 3 wheels. Each wheel shows one digit from 0 to 4. How many different codes are there?
See the answer
125
Each wheel has 5 ways. 5 × 5 × 5 = 125.
In how many ways can 3 different people stand in a line, one person at each place?
See the answer
6
There are 3 ways to choose the first person, 2 for the second and 1 for the last. 3 × 2 × 1 = 6.
Five runners finish a race. In how many ways can first, second and third places be filled?
See the answer
60
First place can go to 5 runners, second to 4 who are left, and third to 3. 5 × 4 × 3 = 60.
The letters A, B, C and D are put in a random order. What is the probability that the order starts with AB?
See the answer
1/12
There are 4 × 3 × 2 × 1 = 24 equally likely arrangements. If A and B come first, C and D can follow in 2 ways. So 2 of the 24 start with AB, and 2/24 = 1/12.
- If you chose A: That counts only ABCD. ABDC also starts with AB, so 2 of the 24 arrangements fit. Go to M4.6.8.
- If you chose C: You used 4 × 4. A letter cannot repeat, so there are 4 × 3 × 2 × 1 = 24 arrangements, and 2 of them start with AB. Go to M4.6.8.
- If you chose D: That is the chance that A comes first. The second place must be B too. Go to M4.6.8.
From an earlier chapter
P(A and B) = 4/20 and P(A) = 10/20. What is P(B given A)?
See the answer
2/5
P(B given A) = P(A and B) ÷ P(A) = 4/20 ÷ 10/20 = 4/10 = 2/5.
A meal is one of 2 soups, one of 5 mains and one of 3 fruits. How many different meals are there?
See the answer
30
Multiply the ways for each choice: 2 × 5 × 3 = 30.
In how many ways can 5 different books be arranged in a row on a shelf?
See the answer
120
There are 5 ways to choose the first book, then 4, 3, 2 and 1. 5 × 4 × 3 × 2 × 1 = 120.
Keep it
Copy this into your exercise book.
Product rule: a ways then b ways make a × b ways. Nothing used twice: the choices fall by one each time. 4 letters: 4 × 3 × 2 × 1 = 24.
Draw: A row of four boxes holding 4, 3, 2 and 1, with times signs between and 24 at the end.