Module 2.2 · Counting and Probability
The multiplication principle
When a choice happens in stages, you don't need to list every possibility. You multiply. The multiplication principle is the engine behind nearly every counting formula, and learning to set up the stages well is the single most useful counting skill on the AMC 8.
The principle
Suppose you pick an outfit: shirts, pairs of pants, pairs of shoes. For each shirt there are pants, so shirt-and-pants combinations. For each of those there are pairs of shoes, so outfits.
The multiplication principle
If a task happens in stages, with choices for the first stage, choices for the second stage no matter what was chosen first, and so on, then the number of ways to do the whole task is
The phrase "no matter what was chosen first" is the key condition. The number of choices at each stage must be the same whatever happened earlier, even if the actual options change.
Slots
For numbers, codes and words, draw one blank slot for each position and write the number of choices in each slot.
How many license plates have letters followed by digits?
How many three-digit numbers have only odd digits? Each slot has choices (), so .
Fill the most restricted slot first
When some slots have special rules, fill those first. Otherwise the number of choices for a later slot can depend on what happened earlier, and the principle breaks.
Worked example: Even numbers with distinct digits
How many even three-digit numbers have three different digits?
The units digit must be even () and the hundreds digit can't be . These two rules interact, because choosing for the units digit changes how many options the hundreds digit has. Split into two cases.
- Units digit : hundreds digit has choices ( to ), tens digit has left: .
- Units digit or ( choices): hundreds digit can't be or the units digit, so choices; tens digit has left (anything except those two): .
Total: .
Worked example: Adjacent stripes
A flag has horizontal stripes. Each is painted one of colors, and neighboring stripes must be different colors. How many flags are possible?
Top stripe: choices. Each stripe below it: any color except the one directly above it, so choices. Total: .
Notice the colors that are allowed change from flag to flag, but the number of allowed colors is always . That's all the principle needs.
Worked example: Adding and multiplying together
Three roads join town to town , four roads join to , and two more roads go directly from to . How many routes go from to without visiting a town twice?
Split on whether the route passes through . Through : . Direct: . Total: .
Use multiplication for "and then" (stages) and addition for "or" (separate cases).
Common mistake
Don't forget that a leading digit can't be . "Four-digit PIN codes" allow a leading ( of them); "four-digit numbers" don't (). Read carefully which one the problem means.
Practice
A deli offers kinds of bread, kinds of meat and kinds of cheese. A sandwich uses one of each. How many different sandwiches are possible?
Enter a number. Fractions like 3/4 and sqrt(2) are OK.
How many four-digit numbers have only even digits?
Enter a number. Fractions like 3/4 and sqrt(2) are OK.
How many three-digit numbers have three different digits?
A flag has vertical stripes, each painted one of colors. Neighboring stripes must be different colors, but the two outer stripes may match. How many flags are possible?
Enter a number. Fractions like 3/4 and sqrt(2) are OK.
A palindrome reads the same forward and backward, like . How many five-digit palindromes are divisible by ?
Enter a number. Fractions like 3/4 and sqrt(2) are OK.
How many odd three-digit numbers have three different digits?
Enter a number. Fractions like 3/4 and sqrt(2) are OK.
In how many four-digit numbers do the digits alternate between odd and even? (Examples: and .)
Eight runners are in a race. In how many ways can the gold, silver and bronze medals be awarded, if Dana, one of the runners, is known not to win gold? (No ties.)
Enter a number. Fractions like 3/4 and sqrt(2) are OK.
Real contest practice
- 2017 AMC 8, Problem 15: count paths that spell a word, one step at a time.
- 2015 AMC 8, Problem 11: count license plates slot by slot.