You are on page 1of 18

Counting Rules

Basic Counting Rule


If r actions are to be performed in a specific order and if there are m1 possibilities for the first action, m2 possibilities for the second action, m3 possibilities for the third action and so on to mr possibilities for the last action then the total number of possible outcomes is m1m2m3 . . . mr The product of m1 through mr. This is known as the Basic Counting Rule

An Example of the Basic Counting Rule


James and Carol are having a house built for them. They can choose from a brick front, a stone front or siding for the front of their house. They can choose windows with shutters or windows without shutters for the windows. Finally, they can choose an oak door with a full window, a mahogany door with a half window or a fiberglass door with no window for the front door. How many different configuration can there be for the front of the house? 323 = 18

Problems Using the Basic Counting Rule


Students at Enormous State University are each assigned a student ID consisting of two letters and 3 digits. The first letter can be any one of the 5 vowels A, E, I, O or U and the second letter can be any one of the 21 consonants (assume Y is a consonant). The three digits can each be any of the digits 0 9 (repetitions are allowed). How many possible student IDs are there? (click mouse to see
answer)

5 2110 10 10 ! 105, 000


If we do not allow digits to be repeated how many possible student IDs are there? (click mouse to se answer)

5 2110 9 8 ! 75, 600

Factorials
Frequently when counting the number of possible outcomes we need to use factorials. A factorial is a product of consecutive integers. k! = k(k-1)(k-2)(k-3) . . .321 5! = 54321 = 120 It is also the case that k! = k(k-1)! = k(k-1)(k-2)!

Finding Factorials with the Calculator


The TI-83, TI-83 Plus and TI-84 Plus calculators have a built in function for calculating factorials . To find it press the MATH key, move the cursor to highlight PRB and select option 4: ! To use the calculator to find 12! start by entering 12 on the home screen of the calculator. Then press MATH, highlight PRB and select 4: ! Doing this will return you to the home screen. The line on the calculator should look like this: 12! Press ENTER and the calculator will return the answer 479001600.

Practice Finding Factorials


Use your calculator to find the following factorials.
(click mouse to see the answer)

8! ! 40320
20! ! 2.432902008E18

Permutations
A permutation of r objects from a collection of m objects is an ordered arrangement of the r objects. It is essential to remember that with permutations order is important. The notation that we use to represent combinations is mPr As an example of some permutations choose any three letters from the alphabet to form a word. If we dont allow letters to be repeated in any word then there are 26 choices for the first letter, 25 choices for the second letter and 24 choices for the 3rd letter. By the Basic Counting Rule the total number of words we can form is 262524 = 15,600. Words with the same letters in different arrangements are considered to be different words. This means that act is different from cat is different from tac, etc.

Finding the Number of Permutations


The formula for finding the number of permutations of m objects taken r at a time is given by the following formula: m!
m

Pr !

(m  r )!

Going back to the example on the previous slide the number of 3 letter words with no letters repeating is the number of permutations of 26 objects (letters) taken 3 at a time 26! 26! ! ! 15600 26 P ! 3 (26  3)! 23!

Using the Calculator to Find Permutations


The TI-83, TI-83 Plus and TI-84 Plus calculators have a built in function for calculating the number of permutations . To find it press the MATH key, move the cursor to highlight PRB and select option 2: nPr. To use the calculator to find the number of permutations of 12 objects taken 5 at a time start by entering 12 on the home screen of the calculator. Then press MATH, highlight PRB and select 2: nPr. Doing this will return you to the home screen. Next enter 5. The line on the calculator should look like this: 12 nPr 5 Press ENTER and the calculator will return the answer 95040

Practice Finding the Number of Permutations


Use your calculator to find the following numbers of permutations. (click mouse to see the answers)
20

P6

20! 20! ! ! 27907200 20 P ! 6 (20  6)! 14!

8 1

8! 8! ! !8 8P ! 1 (8  1)! 7!
10! 10! ! ! 3628800 10 P ! 10 (10  10)! 0!

10 10

Problems with Permutations


How many different four-digit ID numbers can be formed if we dont allow a digit to be repeated within an ID number?
(click mouse to see answer)
10 P ! 4

10! ! 5040 (10  4)!

How many different ways can 6 books be arranged on a shelf?

6! 6! ! ! 720 6P ! 6 (6  6)! 0!

Combinations
A combination of r objects from a collection of m objects is an unordered arrangement of the r objects. Remember that with combinations order is not important. The notation that we use to represent combinations is mCr As an example of combinations choose any three books from the 20 books listed in a book clubs catalog. The total number of threebook combinations is 1140.

Finding the Number of Combinations


The formula for finding the number of permutations of n objects taken r at a time is given by the following formula: m!
m

Cr !

r !(m  r )!

Going back to the example on the previous slide the number of 3 book combinations out of 20 books is the number of combinations of 20 objects (books) taken 3 at a time 20! 20! ! ! 1140 20 C3 ! 3!(20  3)! 3!17!

Using the Calculator to Find Combinations


The TI-83, TI-83 Plus and TI-84 Plus calculators have a built in function for calculating the number of combinations . To find it press the MATH key, move the cursor to highlight PRB and select option 3: nCr. To use the calculator to find the number of combinations of 12 objects taken 5 at a time start by entering 12 on the home screen of the calculator. Then press MATH, highlight PRB and select 3: nCr. Doing this will return you to the home screen. Next enter 5. The line on the calculator should look like this: 12 nCr 5 Press ENTER and the calculator will return the answer 220.

Practice Finding the Number of Combinations


Use your calculator to find the following numbers of combinations. (click mouse to see the answers)

20! 20! ! ! 38760 20 C6 ! 6!(20  6)! 6!14!


8

C1

8! 8! ! ! !8 1!(8  1)! 1!7!

10! 10! ! !1 10 C10 ! 10!(10  10)! 10!0!

Problems with Combinations


How many different five-card poker hands can be dealt using an ordinary 52 card deck?
(click mouse to see answer)
52 C5 !

52! ! 2598960 5!(52  5)!

How many different committees of 8 people can be formed from a group of 25?

25! 25! ! ! 1081575 25 C8 ! 8!(25  8)! 8!17!

Applying the Rules to Probability


A committee of 5 people is to be chosen from a group of 25. Madge loves being on committees and she really wants to be chosen for this one. If the committee members are selected at random what is the probability that Madge will be on the committee? (click mouse for answer) The total number of ways of choosing 5 people from a group of 25 is 25C5 = 53130. This is the total number of different committees that could be formed. The number of committees in which Madge is a member would correspond to the number of ways of choosing the remaining 4 committee members from a group of 24 or 24C4 = 10626 The probability that Madge is on a randomly selected committee is P(Madge) = 10626/53130 = .2

You might also like