Basic Counting Principles
Progress can't be saved in this browser, so this lesson's status can't be set.
Watch the video explainer
Learning goals
- Explain multiplication of stage counts using a tree or grid
- Add group sizes when one choice comes from separate, non-overlapping groups
- Decide whether a count multiplies or adds by checking what one complete outcome contains
- Count arrangements and codes, accounting for restricted choices and whether items may repeat
The multiplication principle
Start with the lunch, but shrink it so we can see everything. Say there are sandwiches, ham and veg, and drinks, tea, milk, and juice. A tree diagram lays out the choices in stages. Draw one branch for each sandwich, then from the end of every sandwich branch draw one branch for each drink. Each path from left to right makes one complete lunch, and the tips on the far right are all the lunches there are.
The sandwich branches each split into drink branches. The tips form equal groups of , so lunches. This is the multiplication principle, also called the fundamental counting principle: multiply the stage counts when each stage offers the same number of choices regardless of the earlier choices. The number may differ from stage to stage, as and do here.
Why choices then choices give outcomes#
Suppose you choose one of shirts and one of hats. A tree has shirt branches, each ending in hat branches. Every outfit appears at exactly one tip: its shirt determines the first branch and its hat the second. The groups of tips give outfits.
The same reasoning works with other numbers of shirts and hats. If the first stage has choices and every first choice allows second choices, the tree has groups of tips. Each tip is one complete outcome, and each outcome appears once. For positive whole-number counts and , adding those equal groups gives
The second-stage options may differ between branches; only their number must stay the same. If either stage has no choices, there are no complete outcomes, and the product is .
Trees, lists, and grids
A tree also gives an organized list: read its tips from top to bottom. Keep one sandwich fixed while running through all the drinks, then move to the next sandwich. This fixed order helps you check that no lunch was skipped or counted twice.
A grid shows the same count as a rectangle. Put the sandwiches down the side and the drinks across the top, and each cell is one lunch. A rectangle with rows of cells holds cells. That is the multiplication principle in picture form, since the area of a rectangle is rows times columns.
Worked example 1 Count lunches at the full diner
The diner from the opening offers sandwiches and drinks, and a lunch is one sandwich and one drink. How many different lunches are possible?
First choose a sandwich, then a drink. Every sandwich can pair with every drink, so each of the sandwich choices has drink choices:
There are possible lunches. As a check, a tree would draw sandwich branches, each splitting into drinks. That gives groups of tips, which is tips in all.
Three or more stages
The tree can keep growing. If a third stage gives every existing outcome new branches, there are times as many tips. Multiply by that stage’s count too. The same reasoning works for any number of stages, as long as the number of choices at each stage does not depend on which earlier choices were made.
Worked example 2 Build a sundae in three stages
A sundae is built in three stages: choose of ice-cream flavors, then of sauces, then of toppings. How many different sundaes are possible?
At every stage the full set of options is still there, whatever was chosen before, so multiply the three stage counts together:
There are sundaes. The flavor and sauce alone give combinations, and then each of those splits into topping choices, .
Check your understanding
A smoothie shop lets you pick one of sizes, one of flavors, and one of add-ins. How many different smoothies (one size, one flavor, and one add-in) are possible?
A smoothie is a sequence of three choices, a size, then a flavor, then an add-in. Every stage offers the same options no matter what came before, so use the multiplication principle on all three stage counts.
Stopping at multiplies only the size and the flavor and forgets the add-in. Getting multiplies only the size and the add-in and forgets the flavor. Adding the counts to get would answer a different question, picking just one item from the three groups instead of one of each.
The addition principle
Sometimes you choose just one item from several separate groups. If the groups do not overlap, adding their sizes counts the available items.
Suppose a prize shelf holds books and board games, and you take exactly one item home. Your prize is either a book or a game, never both at once. Because no item belongs to both groups, you can slide the two groups together into one pile of items. Choosing one prize is then just choosing one item from that pile. So there are possible prizes. This is the addition principle. If you choose one item from groups that share no members, the number of choices is the sum of the group sizes.
The words “and” and “or” can help you remember the difference. One book and one game gives pairs, because each book can go with any game. One prize, a book or a game, gives choices. Check what a complete outcome contains rather than deciding from a word alone.
Addition also handles a tree with unequal branches. Suppose the diner allows drinks with ham but with veg. The ham lunches and veg lunches are separate cases, so there are lunches. Multiplying would incorrectly give ham all drink choices.
Worked example 3 Add or multiply? Reading the problem
A club must send one representative to a meeting. The representative may be any of the seniors or any of the juniors. How many choices does the club have?
The club picks one person, and that person comes from one of two separate groups (a senior or a junior, not both). No one is counted in both groups, so this is a single choice from separate groups: add.
There are choices. Now compare a different task: send one senior and one junior as a pair of representatives. That is a sequence of two choices, so it multiplies, . Do not decide from a single word alone. Ask what one complete answer contains. One representative contains a single name from one group, so it adds. A pair contains one name from each group, so it multiplies.
Check your understanding
A lunch special lets you choose your single main course from hot dishes or cold salads, and you choose exactly one dish. How many choices do you have for your one dish?
You choose exactly one dish, and it comes from one of two separate groups: a hot dish or a cold salad. So this is the addition principle.
Multiplying to get would count pairs of one hot dish and one cold salad. But you are choosing only one dish, not one of each.
Check your understanding
A cafe's combo is either a sandwich or a salad. A sandwich is one of breads with one of fillings, and a salad is one of dressings with one of toppings. How many different combos are possible?
A combo is one whole case or the other, so work out each case on its own first. A sandwich is a sequence of two choices, combos. A salad is also a sequence of two choices, combos. The two cases share no member, so add the case totals.
Getting multiplies all four numbers together, as if one combo needed a bread, a filling, a dressing, and a topping all at once. Getting adds all four numbers instead of multiplying within each case first. Getting forgets to multiply the salad's two stages, using instead of .
Counting arrangements stage by stage
A special kind of counting asks in how many orders a set of items can be placed. Take different books, A, B, and C, that you want to line up on a shelf. Treat each shelf position as a stage. For the first position you may use any of the books. Once that book is placed it is used up, so only books remain for the second position. After that, just book remains for the third. The choices shrink at each stage, and by the multiplication principle you multiply them:
Written out, those six orders are ABC, ACB, BAC, BCA, CAB, and CBA: every way to line up three different books.
The multiplication principle still applies: whichever book goes first, exactly remain for second place. The available books change, but their number does not. If you fill only the first few places from a larger set, multiply the counts for those places and stop.
Worked example 4 Hand out gold, silver, and bronze
Six runners finish a race, and the top three earn gold, silver, and bronze medals. In how many ways can the three medals be awarded?
Award the medals as a sequence of three stages, watching the choices shrink. Any of the runners can win gold. Once gold is decided, runners remain for silver, and then remain for bronze:
There are ways. The choices drop from to to because a runner who already has a medal cannot receive another. With no other restrictions, the choices drop by one at each stage whenever an item cannot be reused. Notice we stopped after three stages, since only three medals are given out.
Check your understanding
In how many different orders can different books be arranged in a row on a shelf?
Treat each of the four positions as a stage. The first has choices, then the choices shrink as each book is placed.
Using would wrongly let a book repeat; once a book is placed it is gone, so the counts must shrink. Getting stops after multiplying just two positions (), forgetting the last two spots. Getting does not come from multiplying the shrinking counts at all.
Repeated choices and exponents
When the same number of choices repeats at every stage, the product becomes a power, which connects counting straight back to exponents. Flip a coin and there are outcomes, heads or tails. Flip it again and each of those splits into , giving . Flip it a third time and you reach . For flips you multiply twos:
The exponent counts how many stages there are, and the base counts the choices at each stage. The same shape appears whenever choices repeat. A -digit code, where each digit can be any of the digits through and a digit may repeat, has
possible values, including codes that start with . Keep the base and the exponent the right way around: counts five coin flips, while counts two choices with five options each.
Worked example 5 Count two-digit numbers with a restricted first digit
A number’s first digit has a restriction that a code may not have. To count two-digit numbers using digits through , fill the tens place first: it has choices because is not allowed. If repetition is allowed, the ones place has all choices:
If the two digits must be different, the tens place still has choices. The ones place has remaining choices, including , giving
The two factors are both for different reasons: first we exclude , then we exclude the digit already used. Filling the restricted place first keeps the later count the same. If we filled the ones place first, the tens place would have choices after a , but only after any other digit. Those unequal branches would need separate counts.
Check your understanding
How many two-digit numbers can you make from if a digit cannot repeat?
Fill the tens place first. It can be , , or , so there are choices. After using one digit, the ones place has choices left, including .
Counting choices for the tens place would include codes beginning with , which are not two-digit numbers.
Worked example 6 How many 3-symbol flags?
A signal flag shows colored bands, stacked top to bottom. Each band can be colored with any of available colors, and a color may repeat, so two or three bands can match. How many different flags are possible?
Each band is a stage with choices, and the same colors are available at every band no matter what the earlier bands used. Multiply three fives, which is a power of five:
There are possible flags. A color may repeat, so every band keeps all choices; the counts do not shrink as they did for books.
Check your understanding
A padlock has dials, each set to one of symbols, and a symbol may repeat across dials. How many dial settings are possible?
Each dial is a stage with choices, and the same symbols are available at every dial, so multiply three sixes.
Getting adds the choices instead of multiplying. Getting swaps the base and the exponent, , which counts a lock with dials and only symbols. Getting wrongly shrinks the choices (), as if a symbol could not be reused.
Counting the equally likely possibilities
You can use these rules for more than menus and medals. Without listing every result, they tell you how many results an experiment, such as rolling dice or drawing cards, can have. When those results are all equally likely, the next lesson uses that total to find probabilities.