Professional Documents
Culture Documents
COUNTING
TECHNIQUES
Marnielle Salig
Lecturer
FUNDAMENTAL PRINCIPLE OF
COUNTING
FUNDAMENTAL PRINCIPLES OF COUNTING
A boy has 4 T-shirts and 3 pants. Find the total number of possible
outfits the boy has.
EXAMPLE:
Suppose a business owner has a choice of 5 locations in which to establish his
business. He decides to rank only top 3 of the 5 locations. How many different
possibilities can he rank.
Solution: The first choice is 5, the second choice is 4, and the third
choice is 3. Therefore we have the possibilities equal to:
5 x 4 x 3 = 60
Some Properties of Permutation
Property
1:
The number of permutations of distinct objects is
Example 1:
In how many ways can Vic, Joey, Luz and Ann be seated in a row of 4
chairs?
Solution:
𝒏! = 4
Example 1.3:
a.) How many distinct permutations can be made from
the letters of the word ‘FRIEND’?
b.) How many of these permutations start with the letter
‘F’?
Some Properties of Permutation
Property 2:
The number of permutations of distinct objects taken at a time is:
n Pr
Example 2.1:
If three prizes, the first, second and the third prize will be
awarded from among 10 equally qualified students, in how many
ways can this be done if only one set of prizes will be won?
Example 3:
How many different ways can 3 red, 4 yellow, and 2 blue bulbs be
arranged in a string of Christmas tree lights with 9 sockets.
Some Properties of Permutation
Property
4:
The number of permutations of distinct objects arranged in a circle is:
Example 4:
In how many ways can 6 different varieties of gumamela be
planted in a circle?
Solution:
There are different species of gumamela. The number of permutation is:
COMBINATION
Definition:
If
an experiment can result in any one of n(S) different
equally likely outcomes, and if exactly n(A) of this ways
correspond to event A, then the probability of event A is:
1.
2.
3.
Where:
• P(A|B) – the conditional probability; the probability of event A occurring
given that event B has already occurred
• P(A ∩ B) – the joint probability of events A and B; the probability that
both events A and B occur
• P(B) – the probability of event B
EXAMPLE:
1. A family has 2 children. Given that one of the children is a boy, what is the
probability that the other child is also a boy?
2. (ASSIGNMENT) Two dies are thrown simultaneously and the sum of the numbers
obtained is found to be 7. What is the probability that the number 3 has appeared
at least once?
3. In the experiment of rolling a pair of dice, the elements of the sample space can be
listed (1,1)
as: (1,2) (1,3) (1,4) (1,5) (1,6)
(2,1) (2,2) (2,3) (2,4) (2,5) (2,6)
(3,1) (3,2) (3,3) (3,4) (3,5) (3,6)
(4,1) (4,2) (4,3) (4,4) (4,5) (4,6)
(5,1) (5,2) (5,3) (5,4) (5,5) (5,6)
(6,1) (6,2) (6,3) (6,4) (6,5) (6,6)
Thus, .
𝑃( 𝐴 ∪ 𝐵)
YES
𝑃 ( 𝐴∪𝐵 )= 𝑃 ( 𝐴 )+ 𝑃(𝐵)
EXAMPLE:
𝑃 ( 𝐴∪𝐵 )= 𝑃 ( 𝐴 ) ∗P(B/A)
Are A and
B
independe
nt?
YES
𝑃 ( 𝐴∩𝐵 )= 𝑃 ( 𝐴 ) ∗ 𝑃(𝐵)
EXAMPLE:
1. A box contain 5 balls wherein 3 are white and 2 are black. 2 balls are
drawn from a box successively, what is the probability that both balls
drawn are black?
a.) If the 2nd ball is drawn after replacing the 1st ball.
b.) If the 2nd ball is drawn without replacing the 1st ball.
2. (ASSIGNMENT) A class has 8 boys and 15 girls. If three students are
selected at random from the class, what is the probability that they are
all boys?
3. Suppose that we want to find out the probability of first drawing a green
marble and then a blue marble out of a bag of marbles.
Let’s say that there are 12 marbles total. 3 are green, 4 are blue, and 5 are red.
ASSIGNMENT:
ASSIGNMENT!
Exposure of a certain fruit fly population to an insecticide has produced 2
kinds of mutations. 20% have wing mutation, 15% have eye mutation and 5%
have both. A fly is selected at random.
a.) If it has the wing mutation, what is the probability that it also has the
eye mutation?
b.) If it has the eye mutation, what is the probability that it has also the
wing mutation?
c.) What is the probability that it has at least one of the mutations?
BAYE’S RULE
Baye’s rule is an extension of the conditional probability and the general
rule of multiplication. To apply this rule, it is assumed that the sample space
can be partitioned into a sequence of events which are mutually exclusive
and exhaustive. If we denote these events as
P(/A) =
Replacingthe denominator by the right side of the Equation
of the Theorem of Total Probability yields
P(/A) =
Where i= 1, 2,….,n. This equation is called the Baye’s rule
of Baye’s Formula.
EXAMPLE:
1. There are two boxes. The first box contains 1 black marble and 3
white marbles and the second box contains 2 black marbles and 4
white marbles. A box is selected at random and a marble is drawn
from the selected box.
a.) What is the probability that the marble is black?
b.) Given that the marble is black, what is the probability that it
came from the second box?
c.) Given that the marble is white, what is the probability that it
came from the 1st box?
EXAMPLE:
Imagine you are a financial analyst at an investment bank.
According to your research of publicly-traded companies, 60%
of the companies that increased their share price by more than
5% in the last three years replaced their CEOs during the
period.
At the same time, only 35% of the companies that did not
increase their share price by more than 5% in the same period
replaced their CEOs. Knowing that the probability that the
stock prices grow by more than 5% is 4%, find the probability
that the shares of a company that fires its CEO will increase by
more than 5%.
EXAMPLE:
Counting Techniques
FPC
Permutation (ordered arrangement)
Combination (order does not matter)
Probability (chance)
Addition rule
P(A or B)=P(A)+P(B)-P(A and B)
Multiplication