The Counting Principle
The Counting Principle
http://www.youtube.com/watch?v=8WdSJh
EIrQk&safe=active
Counting Outcomes
Example 1: Tree Diagrams.
A new polo shirt is released in 4 different
colors and 5 different sizes. How many
different color and size combinations are
available to the public?
4 x 5 = 20
So when should I use a tree diagram or
the fundamental counting principle?
- A tree diagram is used to:
(1) show sample space;
(2) count the number of preferred outcomes.
3 ●2●4 = 24 ways.
Ex. 2 Using the Fundamental Counting
Principle
The access code for a car’s security system
consists of four digits. Each digit can be 0
through 9. How many access codes are possible
if each digit can be repeated?
A close friend invited Anna to her birthday party.
Anna has 4 new blouses (stripes, with ruffles, long-
sleeved, and sleeveless) and 3 skirts (red, pink, and
black) in her closet reserved for such occasions.
1. Assuming that any skirt can be paired with any
blouse, in how many ways can Anna select her
outfit? List the possibilities.
2. How many blouse-and-skirt pairs are possible?
3. Show another way of finding the answer in item
B. Suppose you secured your bike using a
combination lock. Later, you realized that you
forgot the 4-digit code. You only remembered that
the code contains the digits 1, 3, 4, and 7.
1. List all the possible codes out of the given
digits. 2. How many possible codes are there?
3. What can you say about the list you made? 15. c
1. In how many ways can 3 books A,B,C be
arranged in a shelf?
2. How many 3 -digit numbers can be formed if
there is no repetition of the digits?
3. How many 3 -digit numbers can be formed if
repetition of the digits is allowed?
Permutations
ways to count the possibilities
Permutations
The notation P(n,r) represents the number of permutations
(arrangements) of n objects taken r at a time when r is less
than or equal to n. In a permutation, the order is important.
In our example, we have P(3,2) which represents the number of
permutations of 3 objects taken 2 at a time.
In our case, P(3,2) = 6 = (3)(2)
Find P(5,3)
Here, n = 5 and r = 3 so we have P(5,3) = (5)(5-1)5-3+1) =
5(4)3 = 60. This means there are 60 arrangements of 5 items taken 3
at a time.
Application: How many ways can 5 people sit on a park bench if the
bench can only seat 3 people?
Solution: Think of the bench as three slots ___ ___ ___ .
There are five people that can sit in the first slot, leaving four remaining
people to sit in the second position and finally 3 people eligible for the
third slot. Thus, there are 5(4)(3)=60 ways the people can sit. The
answer could have been found using the permutations formula: P(5,3)
= 60, since we are finding the number of ways of arranging 5 objects
taken 3 at a time.
P(n,n)= n(n-1)(n-2)…1
Find P(5,5) , the number of
arrangements of 5 objects taken 5
at a time.