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.

Your guess
  • You picked A. Read on. At the end, the chapter comes back to your guess.

  • You picked B. Read on. At the end, the chapter comes back to your guess.

  • You picked C. Read on. At the end, the chapter comes back to your guess.

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. A tree diagram of choices with no chances. From the start, three branches lead to Red, Blue and Green scarves. From each scarf, two branches lead to Cap and Hood. The six ends are printed 1: RC, 2: RH, 3: BC, 4: BH, 5: GC and 6: GH. Step 1 shows only the three scarf branches. Step 2 adds the two hat branches from each scarf and numbers the six ends.RedBlueGreen

    1 Draw the first choice: three branches for the three scarves.

  2. A tree diagram of choices with no chances. From the start, three branches lead to Red, Blue and Green scarves. From each scarf, two branches lead to Cap and Hood. The six ends are printed 1: RC, 2: RH, 3: BC, 4: BH, 5: GC and 6: GH. Step 1 shows only the three scarf branches. Step 2 adds the two hat branches from each scarf and numbers the six ends.RedCapHoodBlueCapHoodGreenCapHood1: RC2: RH3: BC4: BH5: GC6: GH

    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.

Two boxes joined by a times sign. The box named scarf holds 3 and the box named hat holds 2. After an equals sign is 6.3scarf×2hat= 6
One box for each choice. Multiply the numbers in the boxes.

Worked example

Mei has 3 scarves and 2 hats. How many outfits can she make with one scarf and one hat?

  1. There are 3 ways to choose the scarf.
  2. For each scarf there are 2 ways to choose the hat.
  3. 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.

Three boxes named 1st, 2nd and 3rd joined by times signs, each holding 10. After an equals sign is 1 000.101st×102nd×103rd= 1 000
A lock with three wheels of ten digits. 10 × 10 × 10 codes.

Worked example

A lock has 3 wheels. Each wheel shows a digit from 0 to 9. How many different codes are there?

  1. Each wheel has 10 ways, and a wheel can repeat a digit shown by another wheel.
  2. The first two wheels together have 10 × 10 = 100 ways.
  3. 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?

  1. All 1 000 codes are equally likely.
  2. Only one code opens the lock.
  3. P(opens it) = 1/1000.
  4. 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.

A tree diagram of choices with no chances. The first letter is A, B or C. After each, two letters remain. After that, one letter remains. The six ends are printed 1: ABC, 2: ACB, 3: BAC, 4: BCA, 5: CAB and 6: CBA.ABCCBBACCACABBA1: ABC2: ACB3: BAC4: BCA5: CAB6: CBA
Three letters in a row: 6 arrangements.

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.

Three boxes named 1st, 2nd and 3rd joined by times signs. They hold 3, 2 and 1. After an equals sign is 6.31st×22nd×13rd= 6
Three letters: 3 choices, then 2, then 1.

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.

Four boxes named 1st, 2nd, 3rd and 4th joined by times signs. They hold 4, 3, 2 and 1. After an equals sign is 24.41st×32nd×23rd×14th= 24
Four different letters can be arranged in 4 × 3 × 2 × 1 = 24 ways.

Worked example

In how many ways can 4 different letters be arranged in a row?

  1. The first place can be filled in 4 ways.
  2. Then 3 letters are left. The first two places can be filled in 4 × 3 = 12 ways.
  3. Then 2 letters are left, so the first three places can be filled in 12 × 2 = 24 ways.
  4. 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.

  1. Write A, B, C and D on the four pieces.
  2. Put A first. List every way to arrange B, C and D after it. There should be 6.
  3. Do the same with B first, then C first, then D first.
  4. 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.

If you cannot try it, this is what happens.
A table with the head first, ways. Rows: A, 6; B, 6; C, 6; D, 6.firstwaysA6B6C6D6

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.

  1. A pupil chooses one of 4 books and one of 5 pens. How many different pairs can the pupil make?

    Tap your answer.
    1. Not this one. You added 4 + 5. Each book can go with each pen, so multiply. Go to M4.6.8. Try another.

    2. Not this one. You used 4 twice, 4 × 4. The second choice has 5 pens, not 4. Go to M4.6.8. Try another.

    3. Not this one. You used 5 twice, 5 × 5. The first choice has 4 books. Go to M4.6.8. Try another.

    4. Yes, that is right. There are 4 ways to choose the book and 5 ways to choose the pen. 4 × 5 = 20.

    See the answer

    20

    There are 4 ways to choose the book and 5 ways to choose the pen. 4 × 5 = 20.

    • If you chose A: You added 4 + 5. Each book can go with each pen, so multiply. Go to M4.6.8.
    • If you chose B: You used 4 twice, 4 × 4. The second choice has 5 pens, not 4. Go to M4.6.8.
    • If you chose C: You used 5 twice, 5 × 5. The first choice has 4 books. Go to M4.6.8.
  2. A lock has 3 wheels. Each wheel shows one digit from 0 to 4. How many different codes are there?

    Tap your answer.
    1. Not this one. You added 5 + 5 + 5. The choice on each wheel combines with every choice on the others, so multiply. Go to M4.6.8. Try another.

    2. Not this one. You took 5 × 4 × 3, as if a digit could not repeat. A wheel may show the same digit as another wheel. Go to M4.6.8. Try another.

    3. Yes, that is right. Each wheel has 5 ways. 5 × 5 × 5 = 125.

    See the answer

    125

    Each wheel has 5 ways. 5 × 5 × 5 = 125.

    • If you chose A: You added 5 + 5 + 5. The choice on each wheel combines with every choice on the others, so multiply. Go to M4.6.8.
    • If you chose B: You took 5 × 4 × 3, as if a digit could not repeat. A wheel may show the same digit as another wheel. Go to M4.6.8.
  3. In how many ways can 3 different people stand in a line, one person at each place?

    Tap your answer.
    1. Not this one. That counts the people, not the ways to line them up. Call them A, B and C, and list ABC, ACB, BAC and so on. Go to M4.6.8. Try another.

    2. Yes, that is right. There are 3 ways to choose the first person, 2 for the second and 1 for the last. 3 × 2 × 1 = 6.

    3. Not this one. You used 3 choices for every place. A person can stand in only one place, so it is 3 × 2 × 1. Go to M4.6.8. Try another.

    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.

    • If you chose A: That counts the people, not the ways to line them up. Call them A, B and C, and list ABC, ACB, BAC and so on. Go to M4.6.8.
    • If you chose C: You used 3 choices for every place. A person can stand in only one place, so it is 3 × 2 × 1. Go to M4.6.8.
  4. Five runners finish a race. In how many ways can first, second and third places be filled?

    Tap your answer.
    1. Yes, that is right. First place can go to 5 runners, second to 4 who are left, and third to 3. 5 × 4 × 3 = 60.

    2. Not this one. You multiplied 5 runners by 3 places. Each place is a new choice with one runner fewer, so multiply 5 × 4 × 3. Go to M4.6.8. Try another.

    3. Not this one. A runner cannot win two places. The second place has only 4 choices left, and the third has 3. Go to M4.6.8. Try another.

    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.

    • If you chose B: You multiplied 5 runners by 3 places. Each place is a new choice with one runner fewer, so multiply 5 × 4 × 3. Go to M4.6.8.
    • If you chose C: A runner cannot win two places. The second place has only 4 choices left, and the third has 3. Go to M4.6.8.
  5. The letters A, B, C and D are put in a random order. What is the probability that the order starts with AB?

    Tap your answer.
    1. Not this one. That counts only ABCD. ABDC also starts with AB, so 2 of the 24 arrangements fit. Go to M4.6.8. Try another.

    2. Yes, that is right. 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.

    3. Not this one. 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. Try another.

    4. Not this one. That is the chance that A comes first. The second place must be B too. Go to M4.6.8. Try another.

    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.
  6. 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.

  7. 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.

  8. 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.

Reading with a child? A short page for the adult: what this chapter teaches and three questions to ask.

No internet tomorrow? Save the whole book as one file (868 KB). It opens on any phone.