PermutationCombination and Probability
PermutationCombination and Probability
AND
COMBINATION
Counting Techniques
and
Probability
Fundamental Principle of Counting
Fundamental Principle of Counting
If a choice consists of two steps, the first of
which can be done in p ways,
and for each of these, the second
can be done in q ways,
then the whole choice can be done in pq ways.
1 3 6 7 9
2 8 10
5 4 11 12
Example 1: A prospective buyer of a new car
can choose between manual or automatic
transmission and can also choose from 4
colors: red, blue, pink or green. How many
different choices does the buyer have?
SOLUTION: Two choices for transmission:
manual or automatic, p = 2
Four choices for color:
Red, Blue, Pink, Green, q = 4
Therefore, pq = 2(4) = 8 choices
TRANSMISSION COLOR OUTCOMES
Solution:
p=3 q=2 pq = 3(2) = 6
Tree Diagram – systematic way of
listing all the possible choices.
Z J M- 9 0 5
MATATAG NA REPUBLIKA 2012
26 x 26 x 26 x 10 x 10 x 10
= 17,576,000 license plates
Suppose there are no repetitions
of letters and digits
26 x 25 x 24 x 10 x 9 x 8 = 11,232,000
Looking for Hit-and-Run Plate Number
Letters A to Z 0 1 2 3 5
except X and L 6 7 8 9
X L __ 4 __ __
1x1 x 24 x 1 x 9 x 8
= 1,728 registrations
Ex. 3 How many 11-digit
cellphone numbers can be
formed if each begins with
0917?
0 9 1 7 __ __ __ __ __ __ __
Each digit has 10 choices
(10)(10)(10)(10)(10)(10)(10) = 10,000,000
PERMUTATIONS
A permutation is an arrangement
of n objects and the order is
important.
In how many ways can
a clown distribute 10
balloons with different
colors to 5 children if
each child gets only
one balloon?
10 x 9 x 8 x 7 x 6
= 30,240 ways
If there are 7 doors providing access to
St. La Salle Hall, in how many ways can
a person enter the hall by one door and
leave by a different door?
Ans. (7)(6) = 42
A pizza can be ordered with 3 choices of size
(small, medium, or large), 4 choices of crust
(thin, thick, crispy, or regular), and 5 choices
of toppings (beef, bacon, pepperoni, cheese
or mushroom). How many one-topping pizzas
can be ordered?
Ans.
(3)(4)(5) = 60 pizzas
Exercises
1. Cars are offered for sale with 3 body styles, 6 colors, 3
types of engines, with or w/o air bag, with or w/o aircon,
ordinary rim or magwheels. How many different choices
does a buyer have? Ans. 432
2. An ice cream sundae can be made from the flavors:
chocolate, strawberry, mango, ube, cheese or vanilla
and 3 toppings. It can also be ordered with or without
whipped cream. How many ice cream sundaes can a
customer order? Ans. 36
3. A food chain serves 3 appetizers, 5 main dishes, 2
salads and 4 desserts. How many different meals can
be ordered? Ans. 120
4. How many car license plates can be made if each has 3
different digits followed by 2 different letters?
(10)(9)(8)(26)(25) = 468,000
Circular Permutations
an arrangement of objects in a
circular manner.
A B C A B C
(same as) (same as)
C B A
A C B A C B
(same as) (same as)
C A
B
Fix A and permute B and C . So, we have only two arrangements.
In a circular permutation, consider one
object first in a fixed position and
arrange the remaining (n-1) objects in
the remaining (n-1) positions.
The number of permutations of
n distinct objects arranged in a
circle is (n – 1)!
Examples:
4 P3
4 C3 n Pr
3! n Cr
n=4,r=3 r!
n!
n Pr n!
n Cr
(n r)!
r! r! r!(n r)!
NO
ORDER!
EXAMPLES
In how many ways can a teacher choose
3 of their 30 students to attend a
seminar abroad?
30!
30 C3
3!(30 3)!
30(29)(28)(27!)
6(27!)
= 4,060 ways
Six officers of the RMCHS Mathematics
Club are in a conference room. If each
one shakes hands with each of the
others once, how many handshakes
are possible?
6!
6 C2
2!(6 2)!
= 15 handshakes
PHILIPPINE 6/42 LOTTO GAME
A player chooses 6 numbers from
1 to 42 in no particular order.
1 2 3 4 5 6
7 8 9 10 11 12
13 14 15 16 17 18
How many 19 20 21 22 23 24
possible bets 25 26 27 28 29 30
are there? 31 32 33 34 35 36
37 38 39 40 41 42
42C6 = 5,245,786
Each ticket costs P10
It costs P52,457,860
for sure win!
More Examples
1. How many committees of 4 persons can be chosen
from a group of 10 persons? 10C4 = 210
2. In how many ways can a committee of 5 persons
be chosen from 7 single ladies and 9 men?
a. if there is no restriction on the gender.
16C5 = 4,368
b. if there must be 3 single ladies and 2 men.
Choose 3 from the 7 single ladies: 7C3 = 35
Choose 2 from the 9 men: 9C2 = 36
By FPC, there are 35(36) = 1,260 ways
c. if all are single ladies.
7C5 = 21
A carton of 20 compact disks contains 5 pirated
and 15 original disks. In how many ways can an
inspector choose 3 of the compact disks and
a) get the one that is pirated?
pirated original
5C1 ● 15C2 = 5 (105) = 525
b) get two of the pirated disks?
pirated original
5C2 15C1
● = 10 (15) = 150
c) none of the pirated disks?
15C3 = 455
Exercises
1. In how many ways can 3 students be chosen from a class
of 20 for a field trip? 20C3 = 1,140
What if Michael is not allowed to go on the field trip?
19C3 = 969
2. If Derick must answer any 5 questions on a Math test
containing 10 questions, in how many ways can he
choose the 5 questions? 10C5 = 252
3. How many different lines can be drawn using 6 points if
no three of which are collinear? 6C2 = 15
11C3= 165
b) not get the one that is defective?
PROBABILITY
The theory of probability was
founded in the 17th century by
two French mathematicians
Blaise Pascal and Pierre Fermat.
It began with problems related
to the games of chance.
DEFINITIONS OF SOME TERMS
Experiment is a process that has
definite results called the outcomes.
Sample space S is the set of all possible
outcomes of an experiment.
Event E is a subset of the sample space.
Toss a coin S = { H, T }
E={T}
Toss two coins S = { HH, HT, TH, TT }
E = { HT, TH }
Roll a die S = { 1, 2, 3, 4, 5, 6 }
E = { 2, 4, 6 }
Roll a pair of dice S has 6(6) = 36 outcomes
Sample Space of rolling a pair of dice
nd
2
1
st 1 2 3 4 5 6
1 (1,1) (1,2) (1,3) (1,4) (1,5) (1,6)
2 (2,1) (2,2) (2,3) (2,4) (2,5) (2,6)
3 (3,1) (3,2) (3,3) (3,4) (3,5) (3,6)
4 (4,1) (4,2) (4,3) (4,4) (4,5) (4,6)
5 (5,1) (5,2) (5,3) (5,4) (5,5) (5,6)
6 (6,1) (6,2) (6,3) (6,4) (6,5) (6,6)
ieis
N = 36
If two dice are rolled, what is the probability of getting
a) a sum of 9?
E = {(3,6), (6,3), (4,5), (5,4)} n=4
4 1
P(E) =
36 9
nd
b) two odd
1
st
2 numbers?
1 2 3 4 5 6
E = {(1,1), (1,3),
1 (1,1) (1,2)(3,1),
(1,3) (1,5), (5,1),(3,3),
(1,4) (1,5) (1,6) (3,5),
2 (2,1) (2,2) (2,3) (2,4) (2,5) (2,6)
(5,3), (5,5)} n(3,4)
= 9(3,5)
3 (3,1) (3,2) (3,3) (3,6)
4 (4,1)P(E) 9 (4,4)
(4,2) =(4,3) 1 (4,5) (4,6)
5 (5,1) (5,2) (5,3)36 (5,4)
4 (5,5) (5,6)
6 (6,1) (6,2) (6,3) (6,4) (6,5) (6,6)
S = { H, T } N = 2
If a coin is tossed, what is the probability of getting a head?
1
E={H} n=1 P(E) =
2
ieis
N = 52
b) an ace 4 1
n=4 P(E) =
52 13
c) an ace or a n = 16 P(E) =
16
4
diamond 52 13
d) a face card 12 3
n = 12 P(E) =
52 13
52 cards
Draw two cards
N = 52C2 = 1326
What is the probability of getting
a) two black cards?
325 25
n = 26C2 = 325 P(E) =
1326 102
b) one red card and one is spade?
338 13
n = 26C1 • 13C1 = 26(13) = 338 P(E) =
1326 51