Lesson 10.4 · Sequences, Series and Counting
Counting principles
How many different license plates can a state issue? How many ways can a club pick officers, or a coach pick a starting lineup? Listing every possibility quickly becomes hopeless, but a few counting principles answer these questions with a single calculation. They are also the foundation of probability.
The multiplication and addition principles
Fundamental counting principles
Multiplication principle. If a task is done in a sequence of steps, with ways to do the first step, ways to do the second step (no matter how the first was done), and so on, then the whole task can be done in ways.
Addition principle. If a task can be done in one of several non-overlapping cases, count each case separately and add.
Use "and then" as a signal to multiply, and "either … or" (with cases that can't both happen) as a signal to add.
Worked example: License plates
A plate has 3 letters followed by 4 digits. Letters and digits may repeat. How many plates are possible? How many if no letter and no digit repeats?
With repetition allowed, each letter slot has choices and each digit slot has :
Without repetition, each slot has one fewer choice than the slot before it of the same kind:
Permutations: order matters
Arranging different objects in a row uses the multiplication principle: choices for the first spot, for the second, and so on down to . That's arrangements. Six books can be shelved in orders.
Often you only fill of the spots. Filling ordered positions from different objects gives ways, a product of factors.
Definition
Permutation
A permutation of objects chosen from is an ordered arrangement of them. The number of such arrangements is
Combinations: order doesn't matter
If you pick a committee of 3 from 12 people, the selection is the same committee no matter what order you name them in. Each group of 3 people can be ordered in ways, so counting ordered lists overcounts every committee exactly times.
Definition
Combination
A combination of objects chosen from is an unordered selection. The number of combinations is
These are the same binomial coefficients as in the last lesson. That's no coincidence: the coefficient of in counts the ways to choose which of the factors contribute a .
Worked example: Officers versus a committee
A club has 12 members.
(a) In how many ways can it choose a president, a vice president and a treasurer?
The roles are different, so order matters: .
(b) In how many ways can it choose a 3-person planning committee?
The members of a committee have no roles, so order doesn't matter:
Tip
To decide between a permutation and a combination, swap two of the chosen objects. If that produces a different outcome (different officers, a different finishing order, a different PIN), order matters. If it's the same outcome (the same committee, the same hand of cards, the same pizza toppings), use a combination.
Arrangements with repeated objects
How many different "words" can you make from the letters of LEVEL? If all 5 letters were different, there would be arrangements. But swapping the two L's, or the two E's, doesn't change the word, so counts each word times. The answer is .
Distinguishable arrangements
The number of distinguishable arrangements of objects, where are alike of one kind, are alike of another kind, and so on, is
Worked example: Letters of a word
How many distinguishable arrangements are there of the letters in MISSISSIPPI?
There are letters: one M, four I's, four S's and two P's.
Counting the complement, and counting paths
Problems with "at least one" are usually easiest to do backwards: count everything, then subtract the outcomes you don't want.
Worked example: At least one
A committee of 5 is chosen from 7 women and 6 men. How many committees include at least one man?
All committees: . Committees with no men (all women): . So
committees have at least one man.
Common mistake
Don't count "at least one man" as "pick one man, then pick any 4 others": . That counts a committee with two men twice (once for each man you could have "picked first"), and committees with more men even more often. Use the complement, or split into non-overlapping cases (exactly 1 man, exactly 2 men, and so on) and add.
Combinations also count lattice paths. To walk from to on a grid using only unit steps right (R) or up (U), you take steps, exactly of which are U. A path is decided by choosing which 3 of the 8 steps go up, so there are paths.
Practice
You have 4 shirts, 3 pairs of pants and 2 pairs of shoes. How many different outfits (one of each) can you make?
Enter a number. Fractions like 3/4 and sqrt(2) are OK.
In which situation does order not matter?
Nine students enter a contest. In how many ways can gold, silver and bronze medals be awarded (no ties)?
Enter a number. Fractions like 3/4 and sqrt(2) are OK.
A pizzeria offers 10 toppings. How many different pizzas have exactly 4 different toppings?
Enter a number. Fractions like 3/4 and sqrt(2) are OK.
How many distinguishable arrangements are there of the letters in BANANA?
Enter a number. Fractions like 3/4 and sqrt(2) are OK.
A 4-digit PIN uses the digits 0–9, and digits may repeat. How many PINs have at least one repeated digit?
Enter a number. Fractions like 3/4 and sqrt(2) are OK.
A team of 4 is chosen from 8 juniors and 5 seniors. How many teams have exactly 2 seniors?
Enter a number. Fractions like 3/4 and sqrt(2) are OK.
On a grid, you walk from to using only steps one unit right or one unit up, and you must pass through the point . How many paths are there?
Enter a number. Fractions like 3/4 and sqrt(2) are OK.