Basic Counting Principles
Learning goals
- Multiply the choices at each stage of a sequence, and see why with 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
- Tell apart arrangements whose choices shrink as items are used from repeated choices that give a power
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 tree makes the count easy to see. There are sandwich branches, and each one sprouts the same drink branches, so the tips come in equal groups of . That is tips, and counting equal groups is exactly what multiplication does, so lunches. This is the multiplication principle, also called the fundamental counting principle. Whenever a stage offers the same number of choices next, no matter which earlier choices were made, multiply the stage counts.
Why choices then choices give outcomes#
Suppose the first stage has possible choices, and that whichever one you pick, the second stage always offers the same choices. Draw the tree. From one starting point, draw a branch for each first-stage choice, which gives branches and finishes the first stage.
Now grow the second stage. At the tip of every one of those branches the second stage offers choices, so draw new branches there. Each first-stage branch sprouts exactly branches of its own. The tip of each of those second-stage branches is one complete outcome: a first choice paired with a second choice.
Count the tips. There are first-stage branches, and each ends in tips, so the tips fall into equal groups of . Adding a total of times is the definition of multiplication, so the number of tips is
Every outcome is one tip and every tip is one outcome, with none repeated and none left out. So the number of combined outcomes is exactly the number of tips, .
Trees, lists, and grids
A tree is one way to organize a count. Two others are worth keeping in your toolkit, because they let you verify a count by hand. Reading the tree’s tips from top to bottom, in a fixed order, gives an organized list of every outcome. That order holds the sandwich and runs through the drinks before moving to the next sandwich. Listing in a fixed order is what keeps you from skipping an outcome or counting one 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?
This is a sequence of two stages: first choose a sandwich, then choose a drink. Every sandwich can pair with every drink, so whichever sandwich comes first, the same drinks are still available. Apply the multiplication principle with and :
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 principle does not stop at two stages. Suppose you make a third choice that still offers the same number of options no matter what came before. Every existing outcome then splits again, once for each new option, so you multiply by the third stage’s count too.
In general, this holds whenever every stage offers the same number of choices no matter what came before. Then the number of ways to complete the sequence is the product of the choices at each stage:
The reasoning is the same each time. Adding one more stage with choices replaces every outcome so far with versions of it, which multiplies the running total by .
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. You can see the multiplying happen step by step. 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
Not every problem is a sequence of choices. Sometimes you make a single choice, picking one item from one of several separate groups. When the groups do not overlap, you add their sizes instead of multiplying.
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 contrast with the multiplication principle is the entire point, so hold the two side by side. A sequence of choices, “this and then that,” multiplies, because each first choice opens up a fresh set of second choices. A single choice from separate groups, “this or that,” adds, because the groups sit beside each other and you land in only one of them. The numbers can be identical while the answers differ: and give for one book and one game. But is the count for one prize that is a book or a game.
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.
This is not a new rule. It is the multiplication principle applied to stages whose choice counts shrink by one each time. The counts shrink because each item you place is no longer available for the next position. You do not always fill every position from the whole set, either. If you only want the first few places in order, just multiply the shrinking counts for as many stages as you fill, 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. That is exactly what happens 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, which is why a -digit PIN has exactly ten thousand settings. Watch the order of the base and the exponent: (two choices, times) and ( choices, twice) are different counts. So keep straight which number is the choices and which is the number of stages.
Worked example 5 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. The choices do not shrink here, because a color may repeat, so every band keeps all colors available. That repetition is what turns the product into the clean power .
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
These rules matter beyond menus and medals: they answer how many results an experiment like rolling dice or drawing cards has, without listing every one. When those results are all equally likely, that total is exactly what the next lesson, on probability, needs.