Counting Rules
Counting Rules
Example 1:
Snack Drinks
Choosing a snack and a drink from the
Drinks
canteen menu Snack
Egg sandwich
Ham burger C2 4 variants (a, b, c, d)
Chicken sandwich soft drinks 4 variants (a, b, c, d)
Ham and Cheese
Example 2:
At a certain canteen, Mario can choose his merienda from 3 drinks and 4 sandwiches. In
how many ways can he take his merienda?
Solution: 3 x 4 = 12ways
Example 3:
Solution: 5 x 5 x 3 = 75 ways
Example 4:
Using the set of numbers {0,1,2,3,4,5,6}, how many 3-digit numbers can be formed if
repetition is allowed?
• Hundreds digit choices: 6 (except 0)
• Tens digit choices: 7 (any of the given is possible.)
• Ones digit choices: 7 (any of the given is possible.)
Example 5:
Using the same set of numbers in number 4, how many 3-digit numbers can be formed
without repetition?
Permutations
• arrangement of all or part of a set of objects in a definite order.
Example 6:
a) Supposing there are three posters labeled ABC. How many ways you can hang them
in a row?
Using a tree-diagram, we could illustrate the possible ways to hang the posters.
b) How many distinct ways you could arrange 3 balls in a row if the balls are colored red,
green and blue?
The figure on the left tells us that there will be 6 distinct ways to arrange
the ball in a row.
How about if we have 25 different colored balls? Or 100? Of course, we could not just list
down or illustrate every possible outcome and total it. That would take so much time. So,
we have the formulas.
Example 7
Definition
i) 1! = 1
ii) 0! = 1
Solution:
𝑛=5 𝑟=3
5! 5∙4∙3∙2∙1
nPr = =
(5 − 3)! 2∙1
= 5 ∙ 4 ∙ 3 = 60 𝑤𝑎𝑦𝑠
Example 9:
You have 10 pairs of shoes. But the shoe rack that you have in your room can only
accommodate 6 pairs. In how many ways can the 6 spots be filled?
Solution:
𝑛 = 10 𝑟=6
10! 10!
nPr = =
(10 − 6)! 4!
= 10 ∙ 9 ∙ 8 ∙ 7 ∙ 6 ∙ 5 = 151,200 𝑤𝑎𝑦𝑠
2. n Objects
• The number of arrangements of 𝑛 objects taken all at a time in which 𝑞 are alike 𝑟
are alike and so on
n!
q! r!
Example 10:
In how many ways can the letters of the word PHILIPPINES be arranged?
𝑛=11 "𝑃"=3 "𝐼"=3
n! 11!
= = 1,108,800
q! r! 3! 3!
Example 11:
In how many ways can the letters of the word MISSISSIPPIAN be arranged?
𝑛=13 𝑆=4 𝐼=4 𝑃=2
n! 13!
= = 5,405,400
q! r! 4! 4! 2!
3. Circular Permutation
• The number of permutation of 𝑛 objects arranged in a circle is Pn = (n − 1)!
Example 12
Example 13
Example 14
Example 15
Sarah has 8 colored pencils that are all unique. She wants to pick three colored pencils
from her collection and give them to her younger sister. How many different combinations
of colored pencils can Sarah make from 8 pencils?
𝑛=8 𝑟=3
8! 8x7x6x5! 8x7x6
8C3 = = = = 56 ways
3! (8 − 3)! 3! (5)! 3x2x1
Remember