SlideShare a Scribd company logo
College Algebra
Sixth Edition
James Stewart  Lothar Redlin  Saleem Watson
Probability and
Statistics
9
Counting
9.1
The Fundamental Counting
Principle
Overview
Suppose there are three towns:
• Ashbury, Brampton, and Carmichael
• They are located in such a way that
–Two roads connect Ashbury to
Brampton
–Three roads connect Brampton to
Carmichael
Overview
How many different routes can
one take to travel from Ashbury
to Carmichael via Brampton?
Overview
The key to answering this question
is to consider the problem in stages.
• At the first stage (from Ashbury to Brampton)
there are two choices.
• For each of these choices, there are three
choices at the second stage (from Brampton to
Carmichael).
Overview
Thus, the number of different routes
is 2 × 3 = 6.
• These routes are
conveniently
enumerated by
a tree diagram
as in the figure.
The Fundamental Counting Principle
The method that we used to solve this
problem leads to the following principle.
The Fundamental Counting Principle:
• Suppose that two events occur in order.
• If the first can occur in m ways and second in n
ways
(after the first has occurred).
• Then the two events can occur in order in m × n
ways.
Overview
There is an immediate consequence of
this principle for any number of events:
• If E1, E2, …, Ek are events that
occur in order
• And if E1 can occur in n1 ways,
E2 in n2 ways, and so on
• Then the events can occur in order in
n1 × n2 × … × nk ways
E.g. 1—Using the Fundamental Counting Principle
An ice-cream store offers three types of
cones and 31 flavors.
• How many different single-scoop ice-cream
cones is it possible to buy at this store?
E.g. 1—Using the Fundamental Counting Principle
There are two choices:
– Type of cone
– Flavor of ice cream
• At the first stage, we choose a type of cone.
• And at the second stage, we choose a flavor.
E.g. 1—Using the Fundamental Counting Principle
We can think of the different stages as boxes:
E.g. 1—Using the Fundamental Counting Principle
The first box can be filled in three ways, and
the second can be filled in 31 ways:
• Thus, by the Fundamental Counting Principle
there are 3 × 31 = 93 ways of choosing a
single-scoop ice-cream cone at this store.
3 31
In a certain state, automobile license plates
display three letters followed by three digits.
How many such plates are possible if
repetition of the letters
a) Is allowed?
b) Is not allowed?
E.g. 2—Using the Fundamental Counting Principle
E.g. 2—Using the Fundamental Counting Principle
There are six selection stages, one for each
letter or digit on the license plate.
• As in the preceding example, we sketch
a box for each stage:
Example (a)
26 26 26 10 10 10
• At the first stage, we choose a letter
(from 26 possible choices)
• At the second stage, we choose another
letter
(again from 26 choices)
• At the third stage, we choose another letter
(26 choices)
Example (a)
E.g. 2—Using the Fundamental Counting Principle
• At the fourth stage, we choose a digit
(from 10 possible choices)
• At the fifth stage, we choose a digit
(again from 10 choices)
• At the sixth stage, we choose another digit
(10 choices)
Example (a)
E.g. 2—Using the Fundamental Counting Principle
By the Fundamental Counting Principle,
the number of possible license plates is
26 × 26 × 26 × 10 × 10 × 10 = 17,576,000
Example (a)
E.g. 2—Using the Fundamental Counting Principle
If repetition of letters is not allowed, then we
can arrange the choices as follows:
Example (b)
26 25 24 10 10 10
E.g. 2—Using the Fundamental Counting Principle
At the first stage, we have 26 letters to
choose from.
• But once the first letter has been chosen,
there are only 25 letters to choose from
at the second stage.
• Once the first two letters have been
chosen, 24 letters are left to choose from
for the third stage.
• The digits are chosen as before.
Example (b)
E.g. 2—Using the Fundamental Counting Principle
By the Fundamental Counting Principle,
the number of possible license plates is
26 × 25 × 24 × 10 × 10 × 10 = 15,600,000
Example (b)
E.g. 2—Using the Fundamental Counting Principle
The Number of Subsets of a Set
Let S be a set with n elements. A subset of S
can be chosen by making one of two choices
for each element:
• We can choose the element to be in or out of A.
• By the Fundamental Counting Principle the total
number of different subsets is 2  2  . . .  2,
where there are n factors.
The Number of Subsets of a Set
A set with n elements has 2n different
subsets.
A pizza parlor offers the basic cheese pizza
and a choice of 16 toppings.
• How many different kinds of pizzas can be
ordered at this pizza parlor?
E.g. 3—Finding the Number of Subsets of a Set
E.g. 3—Finding the Number of Subsets of a Set
We need the number of possible subsets of
the 16 toppings.
• Including the empty set, which corresponds
to a plain cheese pizza.
• Thus, 216 = 65,536 different pizzas can be
ordered.
Counting Permutations
Permutations
A permutation of a set of distinct objects is
an ordering of these objects.
• For example, some permutations of the letters
ABCD are
ABDC BACD
DCBA DABC
• How many such permutations are possible?
Permutations
Since there are:
• Four choices for the first position,
• Three for the second
(after the first has been chosen),
• Two for the third
(after the first two have been chosen),
• Only one choice for the fourth letter
• By the Fundamental Counting Principle the
number of possible permutations is
4 × 3 × 2 × 1 = 4! = 24
Permutations
This same reasoning with 4 replaced by n
leads to the following observation.
• The number of permutations of n objects is n!.
Permutations
How many permutations consisting of two
letters can be made from these same four
letters?
• Some of these permutations are
AB AC
BD DB
Permutations
Again, there are four choices for the first
position, three for the second, two for the
third, and only one choice for the fourth.
• By the Fundamental Counting Principle, the
number of such permutations is
4 × 3 = 12
In general, if a set has n elements, then the
number of ways of ordering r elements from
the set is denoted P(n, r).
• This is called the number of permutations of n
objects taken r at a time.
Permutations
Permutations of n Objects Taken r at a Time
The number of permutations of n objects
taken r at a time is
!
( , )
( )!
n
p n r
n r


Permutations of n Objects Taken r at a Time
There are n objects and r positions to place
them in.
• Thus, there are n choices for the first position,
n – 1 choices for the second position, and so on.
• The last position can be filled in n – r + 1 ways.
Permutations of n Objects Taken r at a Time
By the Fundamental Counting Principle,
P(n, r) = n(n – 1)(n – 2)…(n – r + 1)
• This formula can be written more compactly
using factorial notation:
( , ) ( 1)( 2)...( 1)
( 1)( 2)...( 1)( )...3 2 1
( )...3 2 1
!
( )!
P n r n n n n r
n n n n r n r
n r
n
n r
    
    




E.g. 4—Finding the Number of Permutations
There are six runners in a race that is
completed with no tie.
• In how many different ways can the race be
completed?
• In how many different ways can first, second, and
third place be decided?
E.g. 4—Finding the Number of Permutations
The number of ways to complete the race is
the number of permutations of the six
runners:
6! = 720.
Example (a)
E.g. 4—Finding the Number of Permutations
The number of ways in which the first three
positions can be decided is
Example (b)
6!
(6,3)
(6 3)!
6 5 4 3 2 1
3 2 1
120
P 

    

 

E.g. 5—Finding the Number of Permutations
A club has nine members.
• In how many ways can a president,
vice president, and secretary be
chosen from the members of this club?
• We need the number of ways of selecting
three members, in order, for these positions
from the nine club members.
E.g. 5—Finding the Number of Permutations
This number is
9!
(9,3)
(9 3)!
9 8 7 6 5 4 3 2 1
6 5 4 3 2 1
504
P 

       

    

From 20 raffle tickets in a hat, four tickets are
to be selected in order.
• The holder of the first ticket wins a car,
• The second a motorcycle,
• The third a bicycle,
• And, the fourth a skateboard.
E.g. 6—Finding the Number of Permutations
E.g. 6—Finding the Number of Permutations
In how many different ways can these prizes
be awarded?
• The order in which the tickets are chosen
determines who wins each prize.
• So, we need to find the number of ways of
selecting four objects, in order, from 20 objects
(the tickets).
E.g. 6—Finding the Number of Permutations
This number is
20!
(20,4)
(20 4)!
20 19 18 16 15 14 ... 3 2 1
16 15 14 ... 3 2 1
116,280
P 

        

     

Distinguishable Permutations
Distinguishable Permutations
If we have a collection of ten balls, each a
different color, then the number of
permutations of these balls is P(10, 10) = 10!.
• If all ten balls are red, then we have just
one distinguishable permutation because
all the ways of ordering these balls look
exactly the same.
Distinguishable Permutations
In general, in considering a set of objects,
some of which are the same kind:
• Then, two permutations are distinguishable
if one cannot be obtained from the other by
interchanging the positions of elements of
the same kind.
Distinguishable Permutations
For example, if we have ten balls, of which
• Six are red
• The other four are each a different color
Then, how many distinguishable permutations
are possible?
Distinguishable Permutations
The key point here is that balls of the same
color are not distinguishable.
• So each arrangement of the red balls, keeping all
the other balls fixed, gives essentially the same
permutation.
• There are 6! rearrangements of the red ball for
each fixed position of the other balls.
Distinguishable Permutations
The key point here is that balls of the same
color are not distinguishable.
• Thus, the total number of distinguishable
permutations is 10!/6!.
• The same type of reasoning gives the following
general rule.
Distinguishable Permutations
If a set of n objects consists of k different
kinds of objects with
• n1 objects of the first kind,
n2 objects of the first kind,
n3 objects of the first kind, and so on,
• where n1 + n2 + …+ nk = n.
• Then, the number of distinguishable permutations
of these objects is
1 2 3
!
! ! ! ... !
k
n
n n n n
E.g. 7—The Number of Distinguishable Permutations
Find the number of different ways of placing
15 balls in a row given that 4 are red, 3 are
yellow, 6 are black, and 2 are blue.
• We want to find the number of distinguishable
permutations of these balls.
• By the formula, this number is

15!
6,306,300
4!3!6!2!
Partitions
Suppose we have 15 wooden balls in a row
and four colors of paint: red, yellow, black,
and blue.
• In how many different ways can the 15 balls
be painted in such a way that we have 4 red,
3 yellow, 6 black, and 2 blue balls?
• A little thought will show that this number is
exactly the same as that calculated in
Example 3.
Partitions
This way of looking at the problem is
somewhat different, however.
• Here we think of the number of ways to
partition the balls into four groups.
• Each containing 4, 3, 6, and 2 balls to be
painted red, yellow, black, and blue,
respectively.
• The next example shows how this reasoning
is used.
E.g. 8—Finding the Number of Partitions
Fourteen construction workers are to be
assigned to three different tasks.
• Seven workers are needed for mixing cement,
five for laying brick, and
two for carrying the bricks to the brick layers.
• In how many different ways can the workers
be assigned to these tasks?
E.g. 8—Finding the Number of Partitions
We need to partition the workers into three
groups containing 7, 5, and 2 workers,
respectively.
• This number is

14!
72,072
7!5!2!
Counting Combinations
Permutations and Ordering
When finding permutations, we are interested
in the number of ways of ordering elements of
a set.
• In many counting problems, however, order is
not important.
• For example, a poker hand is the same hand,
regardless of how it is ordered.
Permutations and Ordering
A poker player who is interested in the
number of possible hands wants to know
the number of ways of drawing five cards
from 52 cards.
• Without regard to the order in which the cards
of a given hand are dealt.
• We know develop a formula for counting in
situations such as this, in which order doesn’t
matter.
Combination
A combination of r elements of a set is any
subset of r elements from the sets.
• Without regard to order.
• If the set has n elements, then the number
of combinations of r elements is denoted
by C(n, r).
• This number is called the number of
combinations of n elements taken r at a time.
Combinations
For example, consider a set with four
elements, A, B, C, and D.
• The combinations for these four elements
taken three at a time are
ABC ABD ACD BCD
Permutation vs. Combination
The permutations of these elements taken
three at a time are
ABC ABD ACD BCD
ACB ADB ADC BDC
BAC BAD CAD CBD
BCA BDA CDA CDB
CAB DAB DAC DBC
CBA DBA DCA DCB
Permutation vs. Combination
We notice that the number of combinations is
a lot fewer than the number of permutations.
• In fact, each combination of the three elements
generates 3! permutations.
• So
(4,3)
(4,3) 4
3!
P
C  
Permutation vs. Combination
In general, each combination of r objects
gives rise to r! permutations of these objects.
so we get the following formula.
Thus,
 

( , ) !
( , )
! !( )!
P n r n
C n r
r r n r
Combinations of n Objects Taken r at a Time
The number of combinations of n objects
taken r at a time is


!
( , )
!( )!
n
C n r
r n r
Permutation vs. Combination
The key difference between permutations and
combinations is order.
• If we are interested in ordered arrangements,
then we are counting permutations.
• But, if we are concerned with subsets without
regard to order, then we are counting
combinations.
• Compare Examples 5 and 6 (where order
doesn’t matter) with Examples 1 and 2
(where order does matter).
E.g. 9—Finding the Number of Combinations
A club has nine members.
• In how many ways can a committee of three
be chosen from the members of this club?
E.g. 9—Finding the Number of Combinations
We need the number of ways of choosing
three of nine members.
• Order is not important here.
• The committee is the same no matter how
its members are ordered.
• So we want the number of combinations of
nine objects (the club members) taken three
at a time.
E.g. 9—Finding the Number of Combinations
This number is
9!
(9,3)
3!(9 3)!
9 8 7 6 5 4 3 2 1
(3 2 1) (6 5 4 3 2 1)
84
C 

       

       

From 20 raffle tickets in a hat, four tickets are
to be chosen at random.
• The holder of the tickets are to be awarded
free trips to the Bahamas.
• In how many ways can the four winners be
chosen?
E.g. 10—Finding the Number of Combinations
E.g. 10—Finding the Number of Combinations
We need to find the number of ways of
choosing four winners from 20 entries.
• The order in which the tickets are chosen
doesn’t matter.
• The same prize is awarded to each of the
four winners.
• So, we want the number of combinations of
20 objects (the tickets) taken four at a time.
E.g. 10—Finding the Number of Combinations
This number is
20!
(20,4)
4!(20 4)!
20 19 18 17 16 15 14 ... 3 2 1
(4 3 2 1) (16 15 14 ... 3 2 1)
4,845
C 

         

         

Problem Solving with
Permutations and
Combinations
Problem Solving with Permutations and Combinations
The crucial step in solving counting problems
is deciding whether to use
• Permutations
• Combinations
• Or, the Fundamental Counting Principle.
In some cases, the solution of a problem may
require using more than one of these
principles.
Guidelines for Solving Counting Problems
Here are some general guidelines to help us
decide how to apply these principles.
1. Fundamental Counting Principle
2. Does the Order Matter?
Guidelines for Counting Problems—Step 1
Fundamental Counting Principle
• When consecutive choices are being made,
use the Fundamental Counting Principle.
Guidelines for Counting Problems—Step 2
Does the Order Matter?
• We want to find the number of ways of picking
r objects from n objects.
• Then, we need to ask ourselves,
“Does the order in which we pick the objects
matter?”
• If the order matters, we use permutations.
• If the order doesn’t matter, we use combinations.
E.g. 11—Using Combinations
A group of 25 campers contains 15 women
and 10 men.
• In how many ways can a scouting party of 5
be chosen if it must consist of 3 women and
2 men?
E.g. 11—Using Combinations
We see that
• Three women can be chosen from the 15 women
in the group in C(15, 3) ways.
• Two men can be chosen from the 10 men in the
group in C(10, 2) ways.
• Thus, by the Fundamental Counting Principle,
the number of ways of choosing the scouting
party is
C(15, 3) × C(10, 2) = 455 × 45 = 20,475
E.g. 12—Using Permutations and Combinations
A committee of seven is to be chosen from
a class of 20 students.
• The committee consists of a chairman,
a vice chairman, a secretary, and
four other members.
• In how many ways can this committee be
chosen?
E.g. 12—Using Permutations and Combinations
In choosing the three officers, order is
important.
• So the number of ways of choosing them is
P(20, 3) = 6,840
Next, we need to choose four other students
from the 17 remaining.
• Since order doesn’t matter, the number of ways of
doing this is
C(17, 4) = 2,380
E.g. 12—Using Permutations and Combinations
Thus, by the Fundamental Counting Principle,
the number of ways of choosing this
committee is
P(20, 3) × C(17, 4) = 6,840 × 2,380
= 16,279,200
Twelve employees at a company picnic are to
stand in a row for a group photograph.
In how many ways can this be done if
a) Jane and John insist on standing next to each
other?
a) Jane and John refuse to stand next to each
other?
E.g. 13—Using Permutations and Combinations
E.g. 13—Using Permutations and Combinations
Since the order in which the people stand is
important, we use permutations.
• But, we can’t use the formula of permutations
directly.
• Since Jane and John insist on standing together,
let think of them as one object.
Example (a)
Thus, we have 11 objects to arrange in a row.
• There are P(11, 11) ways of doing this.
• For each of these arrangements, there are
two ways of having Jane and John stand
together:
– Jane-John or John-Jane
Example (a)
E.g. 13—Using Permutations and Combinations
Thus, by the Fundamental Counting Principle,
the total number of arrangements is
2 × P(11, 11) = 2 × 11! = 79,833,600
Example (a)
E.g. 13—Using Permutations and Combinations
There are P(12, 12) ways of arranging the
12 people.
• Of these, 2 × P(11, 11) have Jane and John
standing together (by part (a)).
• All the rest have Jane and John standing apart.
• So, the number of arrangements with Jane and
John apart is
P(12, 12) – 2 × P(11, 11) = 12! – 2 × 11!
= 399,168,000
Example (b)
E.g. 13—Using Permutations and Combinations

More Related Content

Similar to SRWColAlg6_09_01.ppt

Lecture Week 17 which hleps in study for logic and
Lecture Week 17 which hleps in study for logic andLecture Week 17 which hleps in study for logic and
Lecture Week 17 which hleps in study for logic and
manishhmishra001
 
permutations power point
permutations power pointpermutations power point
permutations power point
Aldrin Balenton
 
Notes on permutations and combinations
Notes on permutations and combinationsNotes on permutations and combinations
Notes on permutations and combinations
adeelashiq
 
12 1 The Fundamental Counting Principal & Permutations
12 1 The Fundamental Counting Principal & Permutations12 1 The Fundamental Counting Principal & Permutations
12 1 The Fundamental Counting Principal & Permutationssilvia
 
12 1 The Fundamental Counting Principal & Permutations
12 1 The Fundamental Counting Principal & Permutations12 1 The Fundamental Counting Principal & Permutations
12 1 The Fundamental Counting Principal & Permutationssilvia
 
PermutATIONS
PermutATIONSPermutATIONS
PermutATIONS
Kevin odhiambo
 
6. Permutations and Combinations-Revised (1).pptx
6. Permutations and Combinations-Revised (1).pptx6. Permutations and Combinations-Revised (1).pptx
6. Permutations and Combinations-Revised (1).pptx
TonmoyKabiraj
 
Permutations & combinations
Permutations & combinationsPermutations & combinations
Permutations & combinationsNCVPS
 
Discrete Math Ch5 counting + proofs
Discrete Math Ch5 counting + proofsDiscrete Math Ch5 counting + proofs
Discrete Math Ch5 counting + proofs
Amr Rashed
 
Permutations
PermutationsPermutations
Permutations
DINAVILLANUEVA3
 
permutations-and-combinations.pptx
permutations-and-combinations.pptxpermutations-and-combinations.pptx
permutations-and-combinations.pptx
AryanArora64
 
Combinatorics.ppt
Combinatorics.pptCombinatorics.ppt
Combinatorics.ppt
ssuserdc5a3d
 
Bba ii-u1-p&c
Bba ii-u1-p&cBba ii-u1-p&c
Bba ii-u1-p&c
Rai University
 
3. permutation and combination
3. permutation and combination3. permutation and combination
3. permutation and combinationsmaplabu
 
Permutation and combination
Permutation and combinationPermutation and combination
Permutation and combination
Shwetha Pejathaya
 
12.5 permutations 1
12.5 permutations   112.5 permutations   1
12.5 permutations 1bweldon
 
K Means Clustering Algorithm | K Means Example in Python | Machine Learning A...
K Means Clustering Algorithm | K Means Example in Python | Machine Learning A...K Means Clustering Algorithm | K Means Example in Python | Machine Learning A...
K Means Clustering Algorithm | K Means Example in Python | Machine Learning A...
Edureka!
 
Probability 3.4
Probability 3.4Probability 3.4
Probability 3.4herbison
 

Similar to SRWColAlg6_09_01.ppt (20)

Lecture Week 17 which hleps in study for logic and
Lecture Week 17 which hleps in study for logic andLecture Week 17 which hleps in study for logic and
Lecture Week 17 which hleps in study for logic and
 
permutations power point
permutations power pointpermutations power point
permutations power point
 
Counting DM
Counting DMCounting DM
Counting DM
 
Notes on permutations and combinations
Notes on permutations and combinationsNotes on permutations and combinations
Notes on permutations and combinations
 
12 1 The Fundamental Counting Principal & Permutations
12 1 The Fundamental Counting Principal & Permutations12 1 The Fundamental Counting Principal & Permutations
12 1 The Fundamental Counting Principal & Permutations
 
12 1 The Fundamental Counting Principal & Permutations
12 1 The Fundamental Counting Principal & Permutations12 1 The Fundamental Counting Principal & Permutations
12 1 The Fundamental Counting Principal & Permutations
 
PermutATIONS
PermutATIONSPermutATIONS
PermutATIONS
 
6. Permutations and Combinations-Revised (1).pptx
6. Permutations and Combinations-Revised (1).pptx6. Permutations and Combinations-Revised (1).pptx
6. Permutations and Combinations-Revised (1).pptx
 
Permutations & combinations
Permutations & combinationsPermutations & combinations
Permutations & combinations
 
Discrete Math Ch5 counting + proofs
Discrete Math Ch5 counting + proofsDiscrete Math Ch5 counting + proofs
Discrete Math Ch5 counting + proofs
 
Em08 ect
Em08 ectEm08 ect
Em08 ect
 
Permutations
PermutationsPermutations
Permutations
 
permutations-and-combinations.pptx
permutations-and-combinations.pptxpermutations-and-combinations.pptx
permutations-and-combinations.pptx
 
Combinatorics.ppt
Combinatorics.pptCombinatorics.ppt
Combinatorics.ppt
 
Bba ii-u1-p&c
Bba ii-u1-p&cBba ii-u1-p&c
Bba ii-u1-p&c
 
3. permutation and combination
3. permutation and combination3. permutation and combination
3. permutation and combination
 
Permutation and combination
Permutation and combinationPermutation and combination
Permutation and combination
 
12.5 permutations 1
12.5 permutations   112.5 permutations   1
12.5 permutations 1
 
K Means Clustering Algorithm | K Means Example in Python | Machine Learning A...
K Means Clustering Algorithm | K Means Example in Python | Machine Learning A...K Means Clustering Algorithm | K Means Example in Python | Machine Learning A...
K Means Clustering Algorithm | K Means Example in Python | Machine Learning A...
 
Probability 3.4
Probability 3.4Probability 3.4
Probability 3.4
 

More from RizaCatli2

highschoolcareerguidepresentation-120406110443-phpapp01.pptx
highschoolcareerguidepresentation-120406110443-phpapp01.pptxhighschoolcareerguidepresentation-120406110443-phpapp01.pptx
highschoolcareerguidepresentation-120406110443-phpapp01.pptx
RizaCatli2
 
frequency distribution table.pptx
frequency distribution table.pptxfrequency distribution table.pptx
frequency distribution table.pptx
RizaCatli2
 
COMBINATION WITH REPETITION.pptx
COMBINATION WITH REPETITION.pptxCOMBINATION WITH REPETITION.pptx
COMBINATION WITH REPETITION.pptx
RizaCatli2
 
PRACTICE PPT.pptx
PRACTICE PPT.pptxPRACTICE PPT.pptx
PRACTICE PPT.pptx
RizaCatli2
 
NLC LESSON 7.pptx
NLC LESSON 7.pptxNLC LESSON 7.pptx
NLC LESSON 7.pptx
RizaCatli2
 
NLC-G8Lesson 3.pptx
NLC-G8Lesson 3.pptxNLC-G8Lesson 3.pptx
NLC-G8Lesson 3.pptx
RizaCatli2
 
NLC-G8L1&2_CONSOLIDATION CAMP.pptx
NLC-G8L1&2_CONSOLIDATION CAMP.pptxNLC-G8L1&2_CONSOLIDATION CAMP.pptx
NLC-G8L1&2_CONSOLIDATION CAMP.pptx
RizaCatli2
 
charles.pptx
charles.pptxcharles.pptx
charles.pptx
RizaCatli2
 
BOYLES LAW.pptx
BOYLES LAW.pptxBOYLES LAW.pptx
BOYLES LAW.pptx
RizaCatli2
 
A School Role­­_ Mechanism in Shaping the Heart and Mind of the Learners_RBC....
A School Role­­_ Mechanism in Shaping the Heart and Mind of the Learners_RBC....A School Role­­_ Mechanism in Shaping the Heart and Mind of the Learners_RBC....
A School Role­­_ Mechanism in Shaping the Heart and Mind of the Learners_RBC....
RizaCatli2
 
specialrighttriangles-110105173604-phpapp02 (1).pptx
specialrighttriangles-110105173604-phpapp02 (1).pptxspecialrighttriangles-110105173604-phpapp02 (1).pptx
specialrighttriangles-110105173604-phpapp02 (1).pptx
RizaCatli2
 
mutually and nonmutually event.pptx
mutually and nonmutually event.pptxmutually and nonmutually event.pptx
mutually and nonmutually event.pptx
RizaCatli2
 
Practice exercises.pptx
Practice exercises.pptxPractice exercises.pptx
Practice exercises.pptx
RizaCatli2
 
PRACTICE PPT TRIGO.pptx
PRACTICE PPT TRIGO.pptxPRACTICE PPT TRIGO.pptx
PRACTICE PPT TRIGO.pptx
RizaCatli2
 
UNION AND INTERSECTION USING VENN DIAGRAM.pptx
UNION AND INTERSECTION USING VENN DIAGRAM.pptxUNION AND INTERSECTION USING VENN DIAGRAM.pptx
UNION AND INTERSECTION USING VENN DIAGRAM.pptx
RizaCatli2
 
kinds of permutation.pptx
kinds of permutation.pptxkinds of permutation.pptx
kinds of permutation.pptx
RizaCatli2
 
CELL REPLICATION.pptx
CELL REPLICATION.pptxCELL REPLICATION.pptx
CELL REPLICATION.pptx
RizaCatli2
 
joint variation.pptx
joint variation.pptxjoint variation.pptx
joint variation.pptx
RizaCatli2
 
8_5 trapezoids-and-kites.ppt
8_5 trapezoids-and-kites.ppt8_5 trapezoids-and-kites.ppt
8_5 trapezoids-and-kites.ppt
RizaCatli2
 
Quadrilateral that are parallelogram.pptx
Quadrilateral that are parallelogram.pptxQuadrilateral that are parallelogram.pptx
Quadrilateral that are parallelogram.pptx
RizaCatli2
 

More from RizaCatli2 (20)

highschoolcareerguidepresentation-120406110443-phpapp01.pptx
highschoolcareerguidepresentation-120406110443-phpapp01.pptxhighschoolcareerguidepresentation-120406110443-phpapp01.pptx
highschoolcareerguidepresentation-120406110443-phpapp01.pptx
 
frequency distribution table.pptx
frequency distribution table.pptxfrequency distribution table.pptx
frequency distribution table.pptx
 
COMBINATION WITH REPETITION.pptx
COMBINATION WITH REPETITION.pptxCOMBINATION WITH REPETITION.pptx
COMBINATION WITH REPETITION.pptx
 
PRACTICE PPT.pptx
PRACTICE PPT.pptxPRACTICE PPT.pptx
PRACTICE PPT.pptx
 
NLC LESSON 7.pptx
NLC LESSON 7.pptxNLC LESSON 7.pptx
NLC LESSON 7.pptx
 
NLC-G8Lesson 3.pptx
NLC-G8Lesson 3.pptxNLC-G8Lesson 3.pptx
NLC-G8Lesson 3.pptx
 
NLC-G8L1&2_CONSOLIDATION CAMP.pptx
NLC-G8L1&2_CONSOLIDATION CAMP.pptxNLC-G8L1&2_CONSOLIDATION CAMP.pptx
NLC-G8L1&2_CONSOLIDATION CAMP.pptx
 
charles.pptx
charles.pptxcharles.pptx
charles.pptx
 
BOYLES LAW.pptx
BOYLES LAW.pptxBOYLES LAW.pptx
BOYLES LAW.pptx
 
A School Role­­_ Mechanism in Shaping the Heart and Mind of the Learners_RBC....
A School Role­­_ Mechanism in Shaping the Heart and Mind of the Learners_RBC....A School Role­­_ Mechanism in Shaping the Heart and Mind of the Learners_RBC....
A School Role­­_ Mechanism in Shaping the Heart and Mind of the Learners_RBC....
 
specialrighttriangles-110105173604-phpapp02 (1).pptx
specialrighttriangles-110105173604-phpapp02 (1).pptxspecialrighttriangles-110105173604-phpapp02 (1).pptx
specialrighttriangles-110105173604-phpapp02 (1).pptx
 
mutually and nonmutually event.pptx
mutually and nonmutually event.pptxmutually and nonmutually event.pptx
mutually and nonmutually event.pptx
 
Practice exercises.pptx
Practice exercises.pptxPractice exercises.pptx
Practice exercises.pptx
 
PRACTICE PPT TRIGO.pptx
PRACTICE PPT TRIGO.pptxPRACTICE PPT TRIGO.pptx
PRACTICE PPT TRIGO.pptx
 
UNION AND INTERSECTION USING VENN DIAGRAM.pptx
UNION AND INTERSECTION USING VENN DIAGRAM.pptxUNION AND INTERSECTION USING VENN DIAGRAM.pptx
UNION AND INTERSECTION USING VENN DIAGRAM.pptx
 
kinds of permutation.pptx
kinds of permutation.pptxkinds of permutation.pptx
kinds of permutation.pptx
 
CELL REPLICATION.pptx
CELL REPLICATION.pptxCELL REPLICATION.pptx
CELL REPLICATION.pptx
 
joint variation.pptx
joint variation.pptxjoint variation.pptx
joint variation.pptx
 
8_5 trapezoids-and-kites.ppt
8_5 trapezoids-and-kites.ppt8_5 trapezoids-and-kites.ppt
8_5 trapezoids-and-kites.ppt
 
Quadrilateral that are parallelogram.pptx
Quadrilateral that are parallelogram.pptxQuadrilateral that are parallelogram.pptx
Quadrilateral that are parallelogram.pptx
 

Recently uploaded

Phrasal Verbs.XXXXXXXXXXXXXXXXXXXXXXXXXX
Phrasal Verbs.XXXXXXXXXXXXXXXXXXXXXXXXXXPhrasal Verbs.XXXXXXXXXXXXXXXXXXXXXXXXXX
Phrasal Verbs.XXXXXXXXXXXXXXXXXXXXXXXXXX
MIRIAMSALINAS13
 
678020731-Sumas-y-Restas-Para-Colorear.pdf
678020731-Sumas-y-Restas-Para-Colorear.pdf678020731-Sumas-y-Restas-Para-Colorear.pdf
678020731-Sumas-y-Restas-Para-Colorear.pdf
CarlosHernanMontoyab2
 
Supporting (UKRI) OA monographs at Salford.pptx
Supporting (UKRI) OA monographs at Salford.pptxSupporting (UKRI) OA monographs at Salford.pptx
Supporting (UKRI) OA monographs at Salford.pptx
Jisc
 
Operation Blue Star - Saka Neela Tara
Operation Blue Star   -  Saka Neela TaraOperation Blue Star   -  Saka Neela Tara
Operation Blue Star - Saka Neela Tara
Balvir Singh
 
The basics of sentences session 5pptx.pptx
The basics of sentences session 5pptx.pptxThe basics of sentences session 5pptx.pptx
The basics of sentences session 5pptx.pptx
heathfieldcps1
 
Embracing GenAI - A Strategic Imperative
Embracing GenAI - A Strategic ImperativeEmbracing GenAI - A Strategic Imperative
Embracing GenAI - A Strategic Imperative
Peter Windle
 
The Accursed House by Émile Gaboriau.pptx
The Accursed House by Émile Gaboriau.pptxThe Accursed House by Émile Gaboriau.pptx
The Accursed House by Émile Gaboriau.pptx
DhatriParmar
 
special B.ed 2nd year old paper_20240531.pdf
special B.ed 2nd year old paper_20240531.pdfspecial B.ed 2nd year old paper_20240531.pdf
special B.ed 2nd year old paper_20240531.pdf
Special education needs
 
June 3, 2024 Anti-Semitism Letter Sent to MIT President Kornbluth and MIT Cor...
June 3, 2024 Anti-Semitism Letter Sent to MIT President Kornbluth and MIT Cor...June 3, 2024 Anti-Semitism Letter Sent to MIT President Kornbluth and MIT Cor...
June 3, 2024 Anti-Semitism Letter Sent to MIT President Kornbluth and MIT Cor...
Levi Shapiro
 
Palestine last event orientationfvgnh .pptx
Palestine last event orientationfvgnh .pptxPalestine last event orientationfvgnh .pptx
Palestine last event orientationfvgnh .pptx
RaedMohamed3
 
The approach at University of Liverpool.pptx
The approach at University of Liverpool.pptxThe approach at University of Liverpool.pptx
The approach at University of Liverpool.pptx
Jisc
 
How libraries can support authors with open access requirements for UKRI fund...
How libraries can support authors with open access requirements for UKRI fund...How libraries can support authors with open access requirements for UKRI fund...
How libraries can support authors with open access requirements for UKRI fund...
Jisc
 
The geography of Taylor Swift - some ideas
The geography of Taylor Swift - some ideasThe geography of Taylor Swift - some ideas
The geography of Taylor Swift - some ideas
GeoBlogs
 
Welcome to TechSoup New Member Orientation and Q&A (May 2024).pdf
Welcome to TechSoup   New Member Orientation and Q&A (May 2024).pdfWelcome to TechSoup   New Member Orientation and Q&A (May 2024).pdf
Welcome to TechSoup New Member Orientation and Q&A (May 2024).pdf
TechSoup
 
Acetabularia Information For Class 9 .docx
Acetabularia Information For Class 9  .docxAcetabularia Information For Class 9  .docx
Acetabularia Information For Class 9 .docx
vaibhavrinwa19
 
2024.06.01 Introducing a competency framework for languag learning materials ...
2024.06.01 Introducing a competency framework for languag learning materials ...2024.06.01 Introducing a competency framework for languag learning materials ...
2024.06.01 Introducing a competency framework for languag learning materials ...
Sandy Millin
 
The French Revolution Class 9 Study Material pdf free download
The French Revolution Class 9 Study Material pdf free downloadThe French Revolution Class 9 Study Material pdf free download
The French Revolution Class 9 Study Material pdf free download
Vivekanand Anglo Vedic Academy
 
Digital Tools and AI for Teaching Learning and Research
Digital Tools and AI for Teaching Learning and ResearchDigital Tools and AI for Teaching Learning and Research
Digital Tools and AI for Teaching Learning and Research
Vikramjit Singh
 
A Strategic Approach: GenAI in Education
A Strategic Approach: GenAI in EducationA Strategic Approach: GenAI in Education
A Strategic Approach: GenAI in Education
Peter Windle
 
Polish students' mobility in the Czech Republic
Polish students' mobility in the Czech RepublicPolish students' mobility in the Czech Republic
Polish students' mobility in the Czech Republic
Anna Sz.
 

Recently uploaded (20)

Phrasal Verbs.XXXXXXXXXXXXXXXXXXXXXXXXXX
Phrasal Verbs.XXXXXXXXXXXXXXXXXXXXXXXXXXPhrasal Verbs.XXXXXXXXXXXXXXXXXXXXXXXXXX
Phrasal Verbs.XXXXXXXXXXXXXXXXXXXXXXXXXX
 
678020731-Sumas-y-Restas-Para-Colorear.pdf
678020731-Sumas-y-Restas-Para-Colorear.pdf678020731-Sumas-y-Restas-Para-Colorear.pdf
678020731-Sumas-y-Restas-Para-Colorear.pdf
 
Supporting (UKRI) OA monographs at Salford.pptx
Supporting (UKRI) OA monographs at Salford.pptxSupporting (UKRI) OA monographs at Salford.pptx
Supporting (UKRI) OA monographs at Salford.pptx
 
Operation Blue Star - Saka Neela Tara
Operation Blue Star   -  Saka Neela TaraOperation Blue Star   -  Saka Neela Tara
Operation Blue Star - Saka Neela Tara
 
The basics of sentences session 5pptx.pptx
The basics of sentences session 5pptx.pptxThe basics of sentences session 5pptx.pptx
The basics of sentences session 5pptx.pptx
 
Embracing GenAI - A Strategic Imperative
Embracing GenAI - A Strategic ImperativeEmbracing GenAI - A Strategic Imperative
Embracing GenAI - A Strategic Imperative
 
The Accursed House by Émile Gaboriau.pptx
The Accursed House by Émile Gaboriau.pptxThe Accursed House by Émile Gaboriau.pptx
The Accursed House by Émile Gaboriau.pptx
 
special B.ed 2nd year old paper_20240531.pdf
special B.ed 2nd year old paper_20240531.pdfspecial B.ed 2nd year old paper_20240531.pdf
special B.ed 2nd year old paper_20240531.pdf
 
June 3, 2024 Anti-Semitism Letter Sent to MIT President Kornbluth and MIT Cor...
June 3, 2024 Anti-Semitism Letter Sent to MIT President Kornbluth and MIT Cor...June 3, 2024 Anti-Semitism Letter Sent to MIT President Kornbluth and MIT Cor...
June 3, 2024 Anti-Semitism Letter Sent to MIT President Kornbluth and MIT Cor...
 
Palestine last event orientationfvgnh .pptx
Palestine last event orientationfvgnh .pptxPalestine last event orientationfvgnh .pptx
Palestine last event orientationfvgnh .pptx
 
The approach at University of Liverpool.pptx
The approach at University of Liverpool.pptxThe approach at University of Liverpool.pptx
The approach at University of Liverpool.pptx
 
How libraries can support authors with open access requirements for UKRI fund...
How libraries can support authors with open access requirements for UKRI fund...How libraries can support authors with open access requirements for UKRI fund...
How libraries can support authors with open access requirements for UKRI fund...
 
The geography of Taylor Swift - some ideas
The geography of Taylor Swift - some ideasThe geography of Taylor Swift - some ideas
The geography of Taylor Swift - some ideas
 
Welcome to TechSoup New Member Orientation and Q&A (May 2024).pdf
Welcome to TechSoup   New Member Orientation and Q&A (May 2024).pdfWelcome to TechSoup   New Member Orientation and Q&A (May 2024).pdf
Welcome to TechSoup New Member Orientation and Q&A (May 2024).pdf
 
Acetabularia Information For Class 9 .docx
Acetabularia Information For Class 9  .docxAcetabularia Information For Class 9  .docx
Acetabularia Information For Class 9 .docx
 
2024.06.01 Introducing a competency framework for languag learning materials ...
2024.06.01 Introducing a competency framework for languag learning materials ...2024.06.01 Introducing a competency framework for languag learning materials ...
2024.06.01 Introducing a competency framework for languag learning materials ...
 
The French Revolution Class 9 Study Material pdf free download
The French Revolution Class 9 Study Material pdf free downloadThe French Revolution Class 9 Study Material pdf free download
The French Revolution Class 9 Study Material pdf free download
 
Digital Tools and AI for Teaching Learning and Research
Digital Tools and AI for Teaching Learning and ResearchDigital Tools and AI for Teaching Learning and Research
Digital Tools and AI for Teaching Learning and Research
 
A Strategic Approach: GenAI in Education
A Strategic Approach: GenAI in EducationA Strategic Approach: GenAI in Education
A Strategic Approach: GenAI in Education
 
Polish students' mobility in the Czech Republic
Polish students' mobility in the Czech RepublicPolish students' mobility in the Czech Republic
Polish students' mobility in the Czech Republic
 

SRWColAlg6_09_01.ppt

  • 1. College Algebra Sixth Edition James Stewart  Lothar Redlin  Saleem Watson
  • 5. Overview Suppose there are three towns: • Ashbury, Brampton, and Carmichael • They are located in such a way that –Two roads connect Ashbury to Brampton –Three roads connect Brampton to Carmichael
  • 6. Overview How many different routes can one take to travel from Ashbury to Carmichael via Brampton?
  • 7. Overview The key to answering this question is to consider the problem in stages. • At the first stage (from Ashbury to Brampton) there are two choices. • For each of these choices, there are three choices at the second stage (from Brampton to Carmichael).
  • 8. Overview Thus, the number of different routes is 2 × 3 = 6. • These routes are conveniently enumerated by a tree diagram as in the figure.
  • 9. The Fundamental Counting Principle The method that we used to solve this problem leads to the following principle. The Fundamental Counting Principle: • Suppose that two events occur in order. • If the first can occur in m ways and second in n ways (after the first has occurred). • Then the two events can occur in order in m × n ways.
  • 10. Overview There is an immediate consequence of this principle for any number of events: • If E1, E2, …, Ek are events that occur in order • And if E1 can occur in n1 ways, E2 in n2 ways, and so on • Then the events can occur in order in n1 × n2 × … × nk ways
  • 11. E.g. 1—Using the Fundamental Counting Principle An ice-cream store offers three types of cones and 31 flavors. • How many different single-scoop ice-cream cones is it possible to buy at this store?
  • 12. E.g. 1—Using the Fundamental Counting Principle There are two choices: – Type of cone – Flavor of ice cream • At the first stage, we choose a type of cone. • And at the second stage, we choose a flavor.
  • 13. E.g. 1—Using the Fundamental Counting Principle We can think of the different stages as boxes:
  • 14. E.g. 1—Using the Fundamental Counting Principle The first box can be filled in three ways, and the second can be filled in 31 ways: • Thus, by the Fundamental Counting Principle there are 3 × 31 = 93 ways of choosing a single-scoop ice-cream cone at this store. 3 31
  • 15. In a certain state, automobile license plates display three letters followed by three digits. How many such plates are possible if repetition of the letters a) Is allowed? b) Is not allowed? E.g. 2—Using the Fundamental Counting Principle
  • 16. E.g. 2—Using the Fundamental Counting Principle There are six selection stages, one for each letter or digit on the license plate. • As in the preceding example, we sketch a box for each stage: Example (a) 26 26 26 10 10 10
  • 17. • At the first stage, we choose a letter (from 26 possible choices) • At the second stage, we choose another letter (again from 26 choices) • At the third stage, we choose another letter (26 choices) Example (a) E.g. 2—Using the Fundamental Counting Principle
  • 18. • At the fourth stage, we choose a digit (from 10 possible choices) • At the fifth stage, we choose a digit (again from 10 choices) • At the sixth stage, we choose another digit (10 choices) Example (a) E.g. 2—Using the Fundamental Counting Principle
  • 19. By the Fundamental Counting Principle, the number of possible license plates is 26 × 26 × 26 × 10 × 10 × 10 = 17,576,000 Example (a) E.g. 2—Using the Fundamental Counting Principle
  • 20. If repetition of letters is not allowed, then we can arrange the choices as follows: Example (b) 26 25 24 10 10 10 E.g. 2—Using the Fundamental Counting Principle
  • 21. At the first stage, we have 26 letters to choose from. • But once the first letter has been chosen, there are only 25 letters to choose from at the second stage. • Once the first two letters have been chosen, 24 letters are left to choose from for the third stage. • The digits are chosen as before. Example (b) E.g. 2—Using the Fundamental Counting Principle
  • 22. By the Fundamental Counting Principle, the number of possible license plates is 26 × 25 × 24 × 10 × 10 × 10 = 15,600,000 Example (b) E.g. 2—Using the Fundamental Counting Principle
  • 23. The Number of Subsets of a Set Let S be a set with n elements. A subset of S can be chosen by making one of two choices for each element: • We can choose the element to be in or out of A. • By the Fundamental Counting Principle the total number of different subsets is 2  2  . . .  2, where there are n factors.
  • 24. The Number of Subsets of a Set A set with n elements has 2n different subsets.
  • 25. A pizza parlor offers the basic cheese pizza and a choice of 16 toppings. • How many different kinds of pizzas can be ordered at this pizza parlor? E.g. 3—Finding the Number of Subsets of a Set
  • 26. E.g. 3—Finding the Number of Subsets of a Set We need the number of possible subsets of the 16 toppings. • Including the empty set, which corresponds to a plain cheese pizza. • Thus, 216 = 65,536 different pizzas can be ordered.
  • 28. Permutations A permutation of a set of distinct objects is an ordering of these objects. • For example, some permutations of the letters ABCD are ABDC BACD DCBA DABC • How many such permutations are possible?
  • 29. Permutations Since there are: • Four choices for the first position, • Three for the second (after the first has been chosen), • Two for the third (after the first two have been chosen), • Only one choice for the fourth letter • By the Fundamental Counting Principle the number of possible permutations is 4 × 3 × 2 × 1 = 4! = 24
  • 30. Permutations This same reasoning with 4 replaced by n leads to the following observation. • The number of permutations of n objects is n!.
  • 31. Permutations How many permutations consisting of two letters can be made from these same four letters? • Some of these permutations are AB AC BD DB
  • 32. Permutations Again, there are four choices for the first position, three for the second, two for the third, and only one choice for the fourth. • By the Fundamental Counting Principle, the number of such permutations is 4 × 3 = 12
  • 33. In general, if a set has n elements, then the number of ways of ordering r elements from the set is denoted P(n, r). • This is called the number of permutations of n objects taken r at a time. Permutations
  • 34. Permutations of n Objects Taken r at a Time The number of permutations of n objects taken r at a time is ! ( , ) ( )! n p n r n r  
  • 35. Permutations of n Objects Taken r at a Time There are n objects and r positions to place them in. • Thus, there are n choices for the first position, n – 1 choices for the second position, and so on. • The last position can be filled in n – r + 1 ways.
  • 36. Permutations of n Objects Taken r at a Time By the Fundamental Counting Principle, P(n, r) = n(n – 1)(n – 2)…(n – r + 1) • This formula can be written more compactly using factorial notation: ( , ) ( 1)( 2)...( 1) ( 1)( 2)...( 1)( )...3 2 1 ( )...3 2 1 ! ( )! P n r n n n n r n n n n r n r n r n n r              
  • 37. E.g. 4—Finding the Number of Permutations There are six runners in a race that is completed with no tie. • In how many different ways can the race be completed? • In how many different ways can first, second, and third place be decided?
  • 38. E.g. 4—Finding the Number of Permutations The number of ways to complete the race is the number of permutations of the six runners: 6! = 720. Example (a)
  • 39. E.g. 4—Finding the Number of Permutations The number of ways in which the first three positions can be decided is Example (b) 6! (6,3) (6 3)! 6 5 4 3 2 1 3 2 1 120 P           
  • 40. E.g. 5—Finding the Number of Permutations A club has nine members. • In how many ways can a president, vice president, and secretary be chosen from the members of this club? • We need the number of ways of selecting three members, in order, for these positions from the nine club members.
  • 41. E.g. 5—Finding the Number of Permutations This number is 9! (9,3) (9 3)! 9 8 7 6 5 4 3 2 1 6 5 4 3 2 1 504 P                 
  • 42. From 20 raffle tickets in a hat, four tickets are to be selected in order. • The holder of the first ticket wins a car, • The second a motorcycle, • The third a bicycle, • And, the fourth a skateboard. E.g. 6—Finding the Number of Permutations
  • 43. E.g. 6—Finding the Number of Permutations In how many different ways can these prizes be awarded? • The order in which the tickets are chosen determines who wins each prize. • So, we need to find the number of ways of selecting four objects, in order, from 20 objects (the tickets).
  • 44. E.g. 6—Finding the Number of Permutations This number is 20! (20,4) (20 4)! 20 19 18 16 15 14 ... 3 2 1 16 15 14 ... 3 2 1 116,280 P                   
  • 46. Distinguishable Permutations If we have a collection of ten balls, each a different color, then the number of permutations of these balls is P(10, 10) = 10!. • If all ten balls are red, then we have just one distinguishable permutation because all the ways of ordering these balls look exactly the same.
  • 47. Distinguishable Permutations In general, in considering a set of objects, some of which are the same kind: • Then, two permutations are distinguishable if one cannot be obtained from the other by interchanging the positions of elements of the same kind.
  • 48. Distinguishable Permutations For example, if we have ten balls, of which • Six are red • The other four are each a different color Then, how many distinguishable permutations are possible?
  • 49. Distinguishable Permutations The key point here is that balls of the same color are not distinguishable. • So each arrangement of the red balls, keeping all the other balls fixed, gives essentially the same permutation. • There are 6! rearrangements of the red ball for each fixed position of the other balls.
  • 50. Distinguishable Permutations The key point here is that balls of the same color are not distinguishable. • Thus, the total number of distinguishable permutations is 10!/6!. • The same type of reasoning gives the following general rule.
  • 51. Distinguishable Permutations If a set of n objects consists of k different kinds of objects with • n1 objects of the first kind, n2 objects of the first kind, n3 objects of the first kind, and so on, • where n1 + n2 + …+ nk = n. • Then, the number of distinguishable permutations of these objects is 1 2 3 ! ! ! ! ... ! k n n n n n
  • 52. E.g. 7—The Number of Distinguishable Permutations Find the number of different ways of placing 15 balls in a row given that 4 are red, 3 are yellow, 6 are black, and 2 are blue. • We want to find the number of distinguishable permutations of these balls. • By the formula, this number is  15! 6,306,300 4!3!6!2!
  • 53. Partitions Suppose we have 15 wooden balls in a row and four colors of paint: red, yellow, black, and blue. • In how many different ways can the 15 balls be painted in such a way that we have 4 red, 3 yellow, 6 black, and 2 blue balls? • A little thought will show that this number is exactly the same as that calculated in Example 3.
  • 54. Partitions This way of looking at the problem is somewhat different, however. • Here we think of the number of ways to partition the balls into four groups. • Each containing 4, 3, 6, and 2 balls to be painted red, yellow, black, and blue, respectively. • The next example shows how this reasoning is used.
  • 55. E.g. 8—Finding the Number of Partitions Fourteen construction workers are to be assigned to three different tasks. • Seven workers are needed for mixing cement, five for laying brick, and two for carrying the bricks to the brick layers. • In how many different ways can the workers be assigned to these tasks?
  • 56. E.g. 8—Finding the Number of Partitions We need to partition the workers into three groups containing 7, 5, and 2 workers, respectively. • This number is  14! 72,072 7!5!2!
  • 58. Permutations and Ordering When finding permutations, we are interested in the number of ways of ordering elements of a set. • In many counting problems, however, order is not important. • For example, a poker hand is the same hand, regardless of how it is ordered.
  • 59. Permutations and Ordering A poker player who is interested in the number of possible hands wants to know the number of ways of drawing five cards from 52 cards. • Without regard to the order in which the cards of a given hand are dealt. • We know develop a formula for counting in situations such as this, in which order doesn’t matter.
  • 60. Combination A combination of r elements of a set is any subset of r elements from the sets. • Without regard to order. • If the set has n elements, then the number of combinations of r elements is denoted by C(n, r). • This number is called the number of combinations of n elements taken r at a time.
  • 61. Combinations For example, consider a set with four elements, A, B, C, and D. • The combinations for these four elements taken three at a time are ABC ABD ACD BCD
  • 62. Permutation vs. Combination The permutations of these elements taken three at a time are ABC ABD ACD BCD ACB ADB ADC BDC BAC BAD CAD CBD BCA BDA CDA CDB CAB DAB DAC DBC CBA DBA DCA DCB
  • 63. Permutation vs. Combination We notice that the number of combinations is a lot fewer than the number of permutations. • In fact, each combination of the three elements generates 3! permutations. • So (4,3) (4,3) 4 3! P C  
  • 64. Permutation vs. Combination In general, each combination of r objects gives rise to r! permutations of these objects. so we get the following formula. Thus,    ( , ) ! ( , ) ! !( )! P n r n C n r r r n r
  • 65. Combinations of n Objects Taken r at a Time The number of combinations of n objects taken r at a time is   ! ( , ) !( )! n C n r r n r
  • 66. Permutation vs. Combination The key difference between permutations and combinations is order. • If we are interested in ordered arrangements, then we are counting permutations. • But, if we are concerned with subsets without regard to order, then we are counting combinations. • Compare Examples 5 and 6 (where order doesn’t matter) with Examples 1 and 2 (where order does matter).
  • 67. E.g. 9—Finding the Number of Combinations A club has nine members. • In how many ways can a committee of three be chosen from the members of this club?
  • 68. E.g. 9—Finding the Number of Combinations We need the number of ways of choosing three of nine members. • Order is not important here. • The committee is the same no matter how its members are ordered. • So we want the number of combinations of nine objects (the club members) taken three at a time.
  • 69. E.g. 9—Finding the Number of Combinations This number is 9! (9,3) 3!(9 3)! 9 8 7 6 5 4 3 2 1 (3 2 1) (6 5 4 3 2 1) 84 C                    
  • 70. From 20 raffle tickets in a hat, four tickets are to be chosen at random. • The holder of the tickets are to be awarded free trips to the Bahamas. • In how many ways can the four winners be chosen? E.g. 10—Finding the Number of Combinations
  • 71. E.g. 10—Finding the Number of Combinations We need to find the number of ways of choosing four winners from 20 entries. • The order in which the tickets are chosen doesn’t matter. • The same prize is awarded to each of the four winners. • So, we want the number of combinations of 20 objects (the tickets) taken four at a time.
  • 72. E.g. 10—Finding the Number of Combinations This number is 20! (20,4) 4!(20 4)! 20 19 18 17 16 15 14 ... 3 2 1 (4 3 2 1) (16 15 14 ... 3 2 1) 4,845 C                        
  • 74. Problem Solving with Permutations and Combinations The crucial step in solving counting problems is deciding whether to use • Permutations • Combinations • Or, the Fundamental Counting Principle. In some cases, the solution of a problem may require using more than one of these principles.
  • 75. Guidelines for Solving Counting Problems Here are some general guidelines to help us decide how to apply these principles. 1. Fundamental Counting Principle 2. Does the Order Matter?
  • 76. Guidelines for Counting Problems—Step 1 Fundamental Counting Principle • When consecutive choices are being made, use the Fundamental Counting Principle.
  • 77. Guidelines for Counting Problems—Step 2 Does the Order Matter? • We want to find the number of ways of picking r objects from n objects. • Then, we need to ask ourselves, “Does the order in which we pick the objects matter?” • If the order matters, we use permutations. • If the order doesn’t matter, we use combinations.
  • 78. E.g. 11—Using Combinations A group of 25 campers contains 15 women and 10 men. • In how many ways can a scouting party of 5 be chosen if it must consist of 3 women and 2 men?
  • 79. E.g. 11—Using Combinations We see that • Three women can be chosen from the 15 women in the group in C(15, 3) ways. • Two men can be chosen from the 10 men in the group in C(10, 2) ways. • Thus, by the Fundamental Counting Principle, the number of ways of choosing the scouting party is C(15, 3) × C(10, 2) = 455 × 45 = 20,475
  • 80. E.g. 12—Using Permutations and Combinations A committee of seven is to be chosen from a class of 20 students. • The committee consists of a chairman, a vice chairman, a secretary, and four other members. • In how many ways can this committee be chosen?
  • 81. E.g. 12—Using Permutations and Combinations In choosing the three officers, order is important. • So the number of ways of choosing them is P(20, 3) = 6,840 Next, we need to choose four other students from the 17 remaining. • Since order doesn’t matter, the number of ways of doing this is C(17, 4) = 2,380
  • 82. E.g. 12—Using Permutations and Combinations Thus, by the Fundamental Counting Principle, the number of ways of choosing this committee is P(20, 3) × C(17, 4) = 6,840 × 2,380 = 16,279,200
  • 83. Twelve employees at a company picnic are to stand in a row for a group photograph. In how many ways can this be done if a) Jane and John insist on standing next to each other? a) Jane and John refuse to stand next to each other? E.g. 13—Using Permutations and Combinations
  • 84. E.g. 13—Using Permutations and Combinations Since the order in which the people stand is important, we use permutations. • But, we can’t use the formula of permutations directly. • Since Jane and John insist on standing together, let think of them as one object. Example (a)
  • 85. Thus, we have 11 objects to arrange in a row. • There are P(11, 11) ways of doing this. • For each of these arrangements, there are two ways of having Jane and John stand together: – Jane-John or John-Jane Example (a) E.g. 13—Using Permutations and Combinations
  • 86. Thus, by the Fundamental Counting Principle, the total number of arrangements is 2 × P(11, 11) = 2 × 11! = 79,833,600 Example (a) E.g. 13—Using Permutations and Combinations
  • 87. There are P(12, 12) ways of arranging the 12 people. • Of these, 2 × P(11, 11) have Jane and John standing together (by part (a)). • All the rest have Jane and John standing apart. • So, the number of arrangements with Jane and John apart is P(12, 12) – 2 × P(11, 11) = 12! – 2 × 11! = 399,168,000 Example (b) E.g. 13—Using Permutations and Combinations