Lesson 5 of 5 · Open
Counting possibilities
Outfits, menus, codes: counting systematically so that none is missing.
There are 3 pairs of pants and 4 shirts in the closet. How many different combinations of one pair of pants and one shirt can you wear? If you list them at random, you soon forget one or name one twice. And counting the pieces of clothing does not help: the question asks for pairs, not pieces.
Each pair of pants and shirt is one possibility. To make sure none is missing, you count systematically, that is, by a fixed plan: you hold the first choice fixed and go through all the second ones. Then comes the next first choice. A table makes this clearest: one row per shirt, one column per pair of pants.
| Shirt | Jeans | Chinos | Cords |
|---|---|---|---|
| white | white, jeans | white, chinos | white, cords |
| blue | blue, jeans | blue, chinos | blue, cords |
| green | green, jeans | green, chinos | green, cords |
| plaid | plaid, jeans | plaid, chinos | plaid, cords |
Example
Rows times columns
How many possibilities are in the table?
- The table has 4 rows, one per shirt.
- It has 3 columns, one per pair of pants.
- Each square is exactly one possibility. None is missing, none appears twice.
- Just like a rectangle of squares: 4 rows times 3 columns, 4 · 3 = 12 possibilities.
New terms
- possibility
- one of the ways you can choose, here one pair of pants and shirt
- count systematically
- count by a fixed plan: each first choice with each second one, one after another
Quick check
A fourth pair of pants is added. How many possibilities does that add?
If a third choice is added, say 2 pairs of shoes, each of the 12 possibilities goes with each pair. You multiply once more: 12 · 2 = 24 possibilities.
Codes made of digits
A code has two places. The digits 1, 2 and 3 are allowed, and a digit may also appear twice. The first place is the first choice, the second place the second. The order matters: 12 and 21 are two different codes.
Example
All codes from 1, 2 and 3
How many two-digit codes are there?
- First digit 1: 11, 12, 13.
- First digit 2: 21, 22, 23.
- First digit 3: 31, 32, 33.
- 3 rows with 3 codes each: 3 · 3 = 9 codes.
If no digit may appear twice, 11, 22 and 33 drop out. Then each first digit has only 2 partners left, because it may not pick itself: 3 · 2 = 6 codes.
Typical mistake
Many people calculate 3 pants plus 4 shirts, so 7. That cannot be right: the jeans alone already give 4 possibilities, one per shirt. With 7, only 3 would be left for the other two pairs of pants, even though they go with every shirt too. Plus counts the pieces, times counts the pairs.
Remember
Tasks
Task 1 · Input
A café offers a piece of cake with a drink. There are 5 cakes and 3 drinks. How many possibilities?
Task 2 · Choice
A lock has two wheels, each with the digits 0 to 9. How many codes are there?
Task 3 · Input
Two-digit codes from 1, 3, 5, 7 and 9, no digit twice. How many are there?
Go deeper
Task 4 · Input · optional
A set menu: 2 starters, 6 main courses, 3 desserts. How many different menus are there?
Task 5 · Several right · optional
A snack bar: 6 rolls, 4 sauces, one of each. Which ways count all the possibilities?
Task 6 · Fill in · optional
Fill in the words.
Counting systematically means: you hold the choice fixed and pair it with second choice. The number of possibilities is rows columns.