Counting Techniques

Fundamental Counting Principle
Suppose that an experiment has m stages.
- Let ni= # of outcomes in a given stage i
- Example: n3=6 means there are 6 possible outcomes in the 3rd stage.
- In the 1st stage there are n1 outcomes, in the 2nd stage there are n2 outcomes, in the third stage there are n3 outcomes, ... in the mth (final) stage there are nm outcomes.
To calculate the total number of different possible outcomes when only one outcome occurs from each stage:
Example #1
Yyvonne is taking her dog to the dog spa. The spa package includes:
- Choose one of: (A) bubble bath or (B) pure rain experience; and
- Choose one of: (1) pawdicure, (2) massage, (3) Reiki
Determine how many possible treatment combos she can select from.
n1=2n2=3
Example #2
For lunch, Jacob can pick:
- Pepsi, Coca-Cola, or Sprite as a drink;
- a chicken or beef burger;
- he has to have fries; and
- one of 4 possible desserts.
Determine how many possible meal combos he can select from.
n1=3n2=2n3=1n4=4
(3 drinks)(2 burgers)(1 fries)(4 dessserts)=24 options
It is simple to count when you only choose one item from each stage.

Permutations and Combinations
Permutations
When solving for permutations, the order matters.
The number of ways we can arrange in order r objects from a list of n distinct objects is:
Example #1
In how many ways can 10 employees fill 3 different shifts (i.e. morning, afternoon, evening)?
Order matters (permutation)
n=10 employees
r=3 shifts (in a specific order)
10P3=720 ways
Combinations
When solving for combinations, the order does not matter.
The total number of ways to choose robjects from a set containing n distinct objects is calculated using (rn) or nCr:
- Unlike permutations, combinations do not care about the order of the items.
- There are fewer combinations than permutations.
if
Example #1
From a group of 10 participants, how many ways can 3 people be selected to participate in a survey?
Order does not matter (combination)
n=20 participants to choose from
r=3 participants to be chosen
10C3=(310)=120
There are 13 courses available for you to take next semester. How many ways can you enrol in 4 courses?

More Combination Rules
You can apply the addition rule and multiplication rule to combinations:
Examples
We have a group of 12 men and 8 women. In how many ways can we...
(a) select two or three men from a group of men?
12C2+12C3=66+220=286
(b) select two men from a group of men and three women from a group of women?
(12C2)(8C3)=(66)(56)=3696
(c) select four men from a group of men or one woman from a group of women?
12C4+8C1=495+8=503

Example: More Combination Rules
(a) Yyvonne is taking her dog to the dog spa. The spa package includes:
- Choose one of: (A) bubble bath or (B) pure rain experience; and
- Choose two of: (1) pawdicure, (2) massage, (3) Reiki, (4) acupuncture (order is random)
Determine how many possible treatment combos she can select from.
Using a tree diagram could help!

(b) Suppose the spa package has been modified:
- Choose one of: (A) bubble bath or (B) pure rain experience; and
- Choose two of: (1) pawdicure, (2) massage, (3) Reiki, (4) acupuncture (must specify order)
Determine how many possible treatment combos she can select from.
There are 7 candidates from the West and 3 candidates from the East. Three of them will be elected.
Practice: Permutation or Combination?
For each question, determine if it is a permutation or a combination and select the correct numerical answer.
(a) You have homework to do for your history, chemistry, math, and geography classes. How many different ways can you do all four homework? (2 answers)
(b) There are 8 franchises in Chicago. How many different ways can we randomly select 3 franchises to audit? (2 answers)