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.

ShirtJeansChinosCords
whitewhite, jeanswhite, chinoswhite, cords
blueblue, jeansblue, chinosblue, cords
greengreen, jeansgreen, chinosgreen, cords
plaidplaid, jeansplaid, chinosplaid, cords

Example

Rows times columns

How many possibilities are in the table?

  1. The table has 4 rows, one per shirt.
  2. It has 3 columns, one per pair of pants.
  3. Each square is exactly one possibility. None is missing, none appears twice.
  4. 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?

  1. First digit 1: 11, 12, 13.
  2. First digit 2: 21, 22, 23.
  3. First digit 3: 31, 32, 33.
  4. 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

If you count systematically, you miss no possibility: each first choice with each second, that is rows times columns.

Tasks

Three tasks complete the lesson. The order does not matter, the text above stays where it is.

Task 1 · Input

A café offers a piece of cake with a drink. There are 5 cakes and 3 drinks. How many possibilities?

Enter the result.

possibilities

Task 2 · Choice

A lock has two wheels, each with the digits 0 to 9. How many codes are there?

One answer is right.

Task 3 · Input

Two-digit codes from 1, 3, 5, 7 and 9, no digit twice. How many are there?

Enter the result.

codes

Go deeper

Three more tasks, optional. They do not count for completing the lesson.

Task 4 · Input · optional

A set menu: 2 starters, 6 main courses, 3 desserts. How many different menus are there?

Enter the result.

menus

Task 5 · Several right · optional

A snack bar: 6 rolls, 4 sauces, one of each. Which ways count all the possibilities?

Several answers are right. Pick all of them.

Task 6 · Fill in · optional

Fill in the words.

Tap a word, it goes into the marked gap.

Counting systematically means: you hold the choice fixed and pair it with second choice. The number of possibilities is rows columns.

Back to the chapter