SlideShare a Scribd company logo
1 of 16
Counting Theory
(Permutation and Combination)
Starter 6.0.1
• Suppose you have 6 different textbooks in
your backpack that you want to put on a
bookshelf. How many ways can the 6
books be arranged on the shelf?
Objectives
• Use organized lists and tree (branching)
diagrams to list all possible outcomes of a
trial.
• Identify whether permutation or
combination is appropriate to count the
number of outcomes of a trial.
• Use formulas or calculator commands to
evaluate permutation and combination
problems.
Counting Outcomes
• There are three principle ways to count all
the outcomes of a trial.
1. Draw a tree diagram
• Often a simple multiplication is enough
2. Systematically write all possibilities
3. Use permutation and combination techniques
Example: Tossing Coins
• Three coins are tossed (or one coin is
tossed three times) and the outcome of
heads or tails is observed.
• Draw a tree diagram (also called a
branching diagram) that shows all possible
outcomes.
• State a conclusion: How many equally
likely outcomes are there in this problem?
Tree Diagram for 3 Coins
• So there are 8 different equally likely outcomes.
H
T
First Toss Second Toss Third Toss
H
T
H
T
H
T
H
T
H
T
H
T
Write an Organized List
• For the coin-toss problem we just did,
write an organized list that shows all
possible outcomes (like HHH etc)
• Here is one possible organization
– HHH, HHT, HTH, HTT
– TTT, THT, TTH, THH
• There are other ways to organize
– Any method that is systematic (so that no
outcomes are missed) can work
Permutations of n objects
• Return to the bookshelf question.
• Suppose we change the problem to
arranging 10 books on the shelf. Now how
many arrangements are there?
• 10 x 9 x 8 x … = 3,628,800
– The shorthand notation for this is 10! (factorial)
• In general, there are n! ways to arrange n
objects
– This is called the permutation of n objects
– The key idea is that order matters
Arranging fewer than all the objects
• What if there are only 4 slots available on the bookshelf for the 10
books?
• Then there are 10 x 9 x 8 x 7 = 5040 ways to arrange 4 books out of
a group of 10
• Notice that this could be viewed as
• If we let n = the total number of objects and r = the number chosen
and arranged, then we could conclude that the number of ways to
arrange n objects taken r at a time is
• This can be quickly evaluated by (nPr)
– Try it now on your calculator with n = 10 and r = 4
10 9 8 7 6 5 4 3 2 1
6 5 4 3 2 1
        
    
!
( )!
n
n r

Example
• How many three-letter “words” can be
made from the letters A, B, C, and D?
– You can use your calculator to answer this.
– What are n and r in this problem?
• Don’t worry that many of them are not real words;
we don’t care in this context.
• Write an organized list of all the possible
“words”
– Be systematic; be sure you write them all.
Three-letter “words”
• Notice that being organized helps find all 24
permutations
• Notice also that ABC is different from ACB because in
permutation order matters
• Suppose we don’t care about order. Then we are
looking at combination, not permutation.
• How many combinations of three letters can be made
from an alphabet with four letters?
ABC ABD ACD BCD
ACB ADB ADC BDC
BCA BDA DCA CDB
BAC BAD DAC CBD
CAB DAB CAD DBC
CBA DBA CDA DCB
Three-letter “words”
• When order does not matter, ABC is the same as ACB (etc.), so
there are only 4 combinations in the 24 permutations.
– They can be seen in the 4 columns
• Notice that there are 3! (which is r!) permutations of each
combination.
– They can be seen in the 6 rows
• So to get the number of combinations of n objects taken r at a time,
divide permutations by r!
• The formula is
• The calculator command is (nCr) Try it now.
ABC ABD ACD BCD
ACB ADB ADC BDC
BCA BDA DCA CDB
BAC BAD DAC CBD
CAB DAB CAD DBC
CBA DBA CDA DCB
!
( )! !
n
n r r

Examples
• How many ways are there to form a 3
member subcommittee from a group of 12
people?
• How many ways are there to choose a
president, vice-president, and secretary
from a group of 12 people?
More Examples
• There are 5 cabins in the woods at a certain
vacation spot. Each cabin has a path that leads
to each of the other cabins. How many paths
are there in all?
– This is the combination of 5 things taken 2 at a time
(order does not matter), so 5C2=10
• There are 100 communications satellites orbiting
earth. Each satellite needs a transmit and
receive channel to talk to each of the other
satellites. How many channels are needed?
– This time AB is different from BA, so use permutation:
100P2=9900
• How many pentagons can be drawn from the
vertices of a regular 13-gon?
– Combination: 13C5=1287
Objectives
• Use organized lists and tree (branching)
diagrams to list all possible outcomes of a
trial.
• Identify whether permutation or
combination is appropriate to count the
number of outcomes of a trial.
• Use formulas or calculator commands to
evaluate permutation and combination
problems.
Homework
• Create and solve two story problems
which illustrate the differences between
combinations and permutations.
– Create and solve a problem involving the
permutation of n things taken r at a time.
– Create and solve a problem involving the
combination of n things taken r at a time.

More Related Content

Similar to Permutations and Combinations for Counting Outcomes

12.5 permutations 1
12.5 permutations   112.5 permutations   1
12.5 permutations 1bweldon
 
Day 2 - Permutations and Combinations (1).ppt
Day 2 - Permutations and Combinations (1).pptDay 2 - Permutations and Combinations (1).ppt
Day 2 - Permutations and Combinations (1).pptrich_26
 
Permutations and Combinations.pptx
Permutations and Combinations.pptxPermutations and Combinations.pptx
Permutations and Combinations.pptxIvyChuaAganon
 
SRWColAlg6_09_01.ppt
SRWColAlg6_09_01.pptSRWColAlg6_09_01.ppt
SRWColAlg6_09_01.pptRizaCatli2
 
Pre calculus warm up 4.21.14
Pre calculus warm up 4.21.14Pre calculus warm up 4.21.14
Pre calculus warm up 4.21.14Ron Eick
 
NC-NETS Employability Skills: Problem Solving
NC-NETS Employability Skills: Problem SolvingNC-NETS Employability Skills: Problem Solving
NC-NETS Employability Skills: Problem SolvingWakeTechCC
 
permutations-and-combinations.pptx
permutations-and-combinations.pptxpermutations-and-combinations.pptx
permutations-and-combinations.pptxAryanArora64
 
Day 2 - Permutations and Combinations.ppt
Day 2 - Permutations and Combinations.pptDay 2 - Permutations and Combinations.ppt
Day 2 - Permutations and Combinations.pptSherleenMamuri1
 
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).pptxTonmoyKabiraj
 
Module 4 Lesson 6
Module 4 Lesson 6Module 4 Lesson 6
Module 4 Lesson 6NRWEG3
 
PERMUTATION & COMBINATION
PERMUTATION & COMBINATIONPERMUTATION & COMBINATION
PERMUTATION & COMBINATIONPawan Mishra
 
12.5 permutations 1
12.5 permutations   112.5 permutations   1
12.5 permutations 1bweldon
 
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 andmanishhmishra001
 
Patterns and-algebra-grade-2 powerpoint
Patterns and-algebra-grade-2 powerpointPatterns and-algebra-grade-2 powerpoint
Patterns and-algebra-grade-2 powerpointRHOSECRUZ1
 

Similar to Permutations and Combinations for Counting Outcomes (20)

12.5 permutations 1
12.5 permutations   112.5 permutations   1
12.5 permutations 1
 
Day 2 - Permutations and Combinations (1).ppt
Day 2 - Permutations and Combinations (1).pptDay 2 - Permutations and Combinations (1).ppt
Day 2 - Permutations and Combinations (1).ppt
 
Permutations and Combinations.pptx
Permutations and Combinations.pptxPermutations and Combinations.pptx
Permutations and Combinations.pptx
 
SRWColAlg6_09_01.ppt
SRWColAlg6_09_01.pptSRWColAlg6_09_01.ppt
SRWColAlg6_09_01.ppt
 
Combinatorics
CombinatoricsCombinatorics
Combinatorics
 
Pre calculus warm up 4.21.14
Pre calculus warm up 4.21.14Pre calculus warm up 4.21.14
Pre calculus warm up 4.21.14
 
NC-NETS Employability Skills: Problem Solving
NC-NETS Employability Skills: Problem SolvingNC-NETS Employability Skills: Problem Solving
NC-NETS Employability Skills: Problem Solving
 
permutations-and-combinations.pptx
permutations-and-combinations.pptxpermutations-and-combinations.pptx
permutations-and-combinations.pptx
 
PermutATIONS
PermutATIONSPermutATIONS
PermutATIONS
 
Day 2 - Permutations and Combinations.ppt
Day 2 - Permutations and Combinations.pptDay 2 - Permutations and Combinations.ppt
Day 2 - Permutations and Combinations.ppt
 
CO1 Ppt - Copy.pptx
CO1 Ppt - Copy.pptxCO1 Ppt - Copy.pptx
CO1 Ppt - Copy.pptx
 
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
 
Module 4 Lesson 6
Module 4 Lesson 6Module 4 Lesson 6
Module 4 Lesson 6
 
PERMUTATION & COMBINATION
PERMUTATION & COMBINATIONPERMUTATION & COMBINATION
PERMUTATION & COMBINATION
 
12.5 permutations 1
12.5 permutations   112.5 permutations   1
12.5 permutations 1
 
Number theory Grade 7, 8 and 9
Number theory Grade 7, 8 and 9Number theory Grade 7, 8 and 9
Number theory Grade 7, 8 and 9
 
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
 
Bba ii-u1-p&c
Bba ii-u1-p&cBba ii-u1-p&c
Bba ii-u1-p&c
 
Patterns and-algebra-grade-2 powerpoint
Patterns and-algebra-grade-2 powerpointPatterns and-algebra-grade-2 powerpoint
Patterns and-algebra-grade-2 powerpoint
 
Permutation and combination
Permutation and combinationPermutation and combination
Permutation and combination
 

More from SauravDash10

Transportation.pptx
Transportation.pptxTransportation.pptx
Transportation.pptxSauravDash10
 
Data Migration.pptx
Data Migration.pptxData Migration.pptx
Data Migration.pptxSauravDash10
 
01_Module_1-ProbabilityTheory.pptx
01_Module_1-ProbabilityTheory.pptx01_Module_1-ProbabilityTheory.pptx
01_Module_1-ProbabilityTheory.pptxSauravDash10
 
Bivariate Distribution.pptx
Bivariate Distribution.pptxBivariate Distribution.pptx
Bivariate Distribution.pptxSauravDash10
 
Determinants and matrices.ppt
Determinants and matrices.pptDeterminants and matrices.ppt
Determinants and matrices.pptSauravDash10
 
PermutationsAndCombinations.ppt
PermutationsAndCombinations.pptPermutationsAndCombinations.ppt
PermutationsAndCombinations.pptSauravDash10
 

More from SauravDash10 (14)

Time series.ppt
Time series.pptTime series.ppt
Time series.ppt
 
Game Theory.pptx
Game Theory.pptxGame Theory.pptx
Game Theory.pptx
 
ANOVA.pptx
ANOVA.pptxANOVA.pptx
ANOVA.pptx
 
Transportation.pptx
Transportation.pptxTransportation.pptx
Transportation.pptx
 
Data Migration.pptx
Data Migration.pptxData Migration.pptx
Data Migration.pptx
 
Hypothesis.ppt
Hypothesis.pptHypothesis.ppt
Hypothesis.ppt
 
01_Module_1-ProbabilityTheory.pptx
01_Module_1-ProbabilityTheory.pptx01_Module_1-ProbabilityTheory.pptx
01_Module_1-ProbabilityTheory.pptx
 
Bivariate Distribution.pptx
Bivariate Distribution.pptxBivariate Distribution.pptx
Bivariate Distribution.pptx
 
Determinants and matrices.ppt
Determinants and matrices.pptDeterminants and matrices.ppt
Determinants and matrices.ppt
 
graphs.ppt
graphs.pptgraphs.ppt
graphs.ppt
 
Set Theory.pdf
Set Theory.pdfSet Theory.pdf
Set Theory.pdf
 
PermutationsAndCombinations.ppt
PermutationsAndCombinations.pptPermutationsAndCombinations.ppt
PermutationsAndCombinations.ppt
 
Group Ring.ppt
Group Ring.pptGroup Ring.ppt
Group Ring.ppt
 
PPTs.pptx
PPTs.pptxPPTs.pptx
PPTs.pptx
 

Recently uploaded

Neurodevelopmental disorders according to the dsm 5 tr
Neurodevelopmental disorders according to the dsm 5 trNeurodevelopmental disorders according to the dsm 5 tr
Neurodevelopmental disorders according to the dsm 5 trssuser06f238
 
Spermiogenesis or Spermateleosis or metamorphosis of spermatid
Spermiogenesis or Spermateleosis or metamorphosis of spermatidSpermiogenesis or Spermateleosis or metamorphosis of spermatid
Spermiogenesis or Spermateleosis or metamorphosis of spermatidSarthak Sekhar Mondal
 
THE ROLE OF PHARMACOGNOSY IN TRADITIONAL AND MODERN SYSTEM OF MEDICINE.pptx
THE ROLE OF PHARMACOGNOSY IN TRADITIONAL AND MODERN SYSTEM OF MEDICINE.pptxTHE ROLE OF PHARMACOGNOSY IN TRADITIONAL AND MODERN SYSTEM OF MEDICINE.pptx
THE ROLE OF PHARMACOGNOSY IN TRADITIONAL AND MODERN SYSTEM OF MEDICINE.pptxNandakishor Bhaurao Deshmukh
 
Twin's paradox experiment is a meassurement of the extra dimensions.pptx
Twin's paradox experiment is a meassurement of the extra dimensions.pptxTwin's paradox experiment is a meassurement of the extra dimensions.pptx
Twin's paradox experiment is a meassurement of the extra dimensions.pptxEran Akiva Sinbar
 
Heredity: Inheritance and Variation of Traits
Heredity: Inheritance and Variation of TraitsHeredity: Inheritance and Variation of Traits
Heredity: Inheritance and Variation of TraitsCharlene Llagas
 
Analytical Profile of Coleus Forskohlii | Forskolin .pptx
Analytical Profile of Coleus Forskohlii | Forskolin .pptxAnalytical Profile of Coleus Forskohlii | Forskolin .pptx
Analytical Profile of Coleus Forskohlii | Forskolin .pptxSwapnil Therkar
 
Solution chemistry, Moral and Normal solutions
Solution chemistry, Moral and Normal solutionsSolution chemistry, Moral and Normal solutions
Solution chemistry, Moral and Normal solutionsHajira Mahmood
 
Bentham & Hooker's Classification. along with the merits and demerits of the ...
Bentham & Hooker's Classification. along with the merits and demerits of the ...Bentham & Hooker's Classification. along with the merits and demerits of the ...
Bentham & Hooker's Classification. along with the merits and demerits of the ...Nistarini College, Purulia (W.B) India
 
Call Girls in Munirka Delhi 💯Call Us 🔝8264348440🔝
Call Girls in Munirka Delhi 💯Call Us 🔝8264348440🔝Call Girls in Munirka Delhi 💯Call Us 🔝8264348440🔝
Call Girls in Munirka Delhi 💯Call Us 🔝8264348440🔝soniya singh
 
Call Girls in Aiims Metro Delhi 💯Call Us 🔝9953322196🔝 💯Escort.
Call Girls in Aiims Metro Delhi 💯Call Us 🔝9953322196🔝 💯Escort.Call Girls in Aiims Metro Delhi 💯Call Us 🔝9953322196🔝 💯Escort.
Call Girls in Aiims Metro Delhi 💯Call Us 🔝9953322196🔝 💯Escort.aasikanpl
 
Cytokinin, mechanism and its application.pptx
Cytokinin, mechanism and its application.pptxCytokinin, mechanism and its application.pptx
Cytokinin, mechanism and its application.pptxVarshiniMK
 
zoogeography of pakistan.pptx fauna of Pakistan
zoogeography of pakistan.pptx fauna of Pakistanzoogeography of pakistan.pptx fauna of Pakistan
zoogeography of pakistan.pptx fauna of Pakistanzohaibmir069
 
Call Girls in Munirka Delhi 💯Call Us 🔝9953322196🔝 💯Escort.
Call Girls in Munirka Delhi 💯Call Us 🔝9953322196🔝 💯Escort.Call Girls in Munirka Delhi 💯Call Us 🔝9953322196🔝 💯Escort.
Call Girls in Munirka Delhi 💯Call Us 🔝9953322196🔝 💯Escort.aasikanpl
 
TOTAL CHOLESTEROL (lipid profile test).pptx
TOTAL CHOLESTEROL (lipid profile test).pptxTOTAL CHOLESTEROL (lipid profile test).pptx
TOTAL CHOLESTEROL (lipid profile test).pptxdharshini369nike
 
Call Girls In Nihal Vihar Delhi ❤️8860477959 Looking Escorts In 24/7 Delhi NCR
Call Girls In Nihal Vihar Delhi ❤️8860477959 Looking Escorts In 24/7 Delhi NCRCall Girls In Nihal Vihar Delhi ❤️8860477959 Looking Escorts In 24/7 Delhi NCR
Call Girls In Nihal Vihar Delhi ❤️8860477959 Looking Escorts In 24/7 Delhi NCRlizamodels9
 
Call Us ≽ 9953322196 ≼ Call Girls In Lajpat Nagar (Delhi) |
Call Us ≽ 9953322196 ≼ Call Girls In Lajpat Nagar (Delhi) |Call Us ≽ 9953322196 ≼ Call Girls In Lajpat Nagar (Delhi) |
Call Us ≽ 9953322196 ≼ Call Girls In Lajpat Nagar (Delhi) |aasikanpl
 
Speech, hearing, noise, intelligibility.pptx
Speech, hearing, noise, intelligibility.pptxSpeech, hearing, noise, intelligibility.pptx
Speech, hearing, noise, intelligibility.pptxpriyankatabhane
 
Transposable elements in prokaryotes.ppt
Transposable elements in prokaryotes.pptTransposable elements in prokaryotes.ppt
Transposable elements in prokaryotes.pptArshadWarsi13
 
Vision and reflection on Mining Software Repositories research in 2024
Vision and reflection on Mining Software Repositories research in 2024Vision and reflection on Mining Software Repositories research in 2024
Vision and reflection on Mining Software Repositories research in 2024AyushiRastogi48
 
Microphone- characteristics,carbon microphone, dynamic microphone.pptx
Microphone- characteristics,carbon microphone, dynamic microphone.pptxMicrophone- characteristics,carbon microphone, dynamic microphone.pptx
Microphone- characteristics,carbon microphone, dynamic microphone.pptxpriyankatabhane
 

Recently uploaded (20)

Neurodevelopmental disorders according to the dsm 5 tr
Neurodevelopmental disorders according to the dsm 5 trNeurodevelopmental disorders according to the dsm 5 tr
Neurodevelopmental disorders according to the dsm 5 tr
 
Spermiogenesis or Spermateleosis or metamorphosis of spermatid
Spermiogenesis or Spermateleosis or metamorphosis of spermatidSpermiogenesis or Spermateleosis or metamorphosis of spermatid
Spermiogenesis or Spermateleosis or metamorphosis of spermatid
 
THE ROLE OF PHARMACOGNOSY IN TRADITIONAL AND MODERN SYSTEM OF MEDICINE.pptx
THE ROLE OF PHARMACOGNOSY IN TRADITIONAL AND MODERN SYSTEM OF MEDICINE.pptxTHE ROLE OF PHARMACOGNOSY IN TRADITIONAL AND MODERN SYSTEM OF MEDICINE.pptx
THE ROLE OF PHARMACOGNOSY IN TRADITIONAL AND MODERN SYSTEM OF MEDICINE.pptx
 
Twin's paradox experiment is a meassurement of the extra dimensions.pptx
Twin's paradox experiment is a meassurement of the extra dimensions.pptxTwin's paradox experiment is a meassurement of the extra dimensions.pptx
Twin's paradox experiment is a meassurement of the extra dimensions.pptx
 
Heredity: Inheritance and Variation of Traits
Heredity: Inheritance and Variation of TraitsHeredity: Inheritance and Variation of Traits
Heredity: Inheritance and Variation of Traits
 
Analytical Profile of Coleus Forskohlii | Forskolin .pptx
Analytical Profile of Coleus Forskohlii | Forskolin .pptxAnalytical Profile of Coleus Forskohlii | Forskolin .pptx
Analytical Profile of Coleus Forskohlii | Forskolin .pptx
 
Solution chemistry, Moral and Normal solutions
Solution chemistry, Moral and Normal solutionsSolution chemistry, Moral and Normal solutions
Solution chemistry, Moral and Normal solutions
 
Bentham & Hooker's Classification. along with the merits and demerits of the ...
Bentham & Hooker's Classification. along with the merits and demerits of the ...Bentham & Hooker's Classification. along with the merits and demerits of the ...
Bentham & Hooker's Classification. along with the merits and demerits of the ...
 
Call Girls in Munirka Delhi 💯Call Us 🔝8264348440🔝
Call Girls in Munirka Delhi 💯Call Us 🔝8264348440🔝Call Girls in Munirka Delhi 💯Call Us 🔝8264348440🔝
Call Girls in Munirka Delhi 💯Call Us 🔝8264348440🔝
 
Call Girls in Aiims Metro Delhi 💯Call Us 🔝9953322196🔝 💯Escort.
Call Girls in Aiims Metro Delhi 💯Call Us 🔝9953322196🔝 💯Escort.Call Girls in Aiims Metro Delhi 💯Call Us 🔝9953322196🔝 💯Escort.
Call Girls in Aiims Metro Delhi 💯Call Us 🔝9953322196🔝 💯Escort.
 
Cytokinin, mechanism and its application.pptx
Cytokinin, mechanism and its application.pptxCytokinin, mechanism and its application.pptx
Cytokinin, mechanism and its application.pptx
 
zoogeography of pakistan.pptx fauna of Pakistan
zoogeography of pakistan.pptx fauna of Pakistanzoogeography of pakistan.pptx fauna of Pakistan
zoogeography of pakistan.pptx fauna of Pakistan
 
Call Girls in Munirka Delhi 💯Call Us 🔝9953322196🔝 💯Escort.
Call Girls in Munirka Delhi 💯Call Us 🔝9953322196🔝 💯Escort.Call Girls in Munirka Delhi 💯Call Us 🔝9953322196🔝 💯Escort.
Call Girls in Munirka Delhi 💯Call Us 🔝9953322196🔝 💯Escort.
 
TOTAL CHOLESTEROL (lipid profile test).pptx
TOTAL CHOLESTEROL (lipid profile test).pptxTOTAL CHOLESTEROL (lipid profile test).pptx
TOTAL CHOLESTEROL (lipid profile test).pptx
 
Call Girls In Nihal Vihar Delhi ❤️8860477959 Looking Escorts In 24/7 Delhi NCR
Call Girls In Nihal Vihar Delhi ❤️8860477959 Looking Escorts In 24/7 Delhi NCRCall Girls In Nihal Vihar Delhi ❤️8860477959 Looking Escorts In 24/7 Delhi NCR
Call Girls In Nihal Vihar Delhi ❤️8860477959 Looking Escorts In 24/7 Delhi NCR
 
Call Us ≽ 9953322196 ≼ Call Girls In Lajpat Nagar (Delhi) |
Call Us ≽ 9953322196 ≼ Call Girls In Lajpat Nagar (Delhi) |Call Us ≽ 9953322196 ≼ Call Girls In Lajpat Nagar (Delhi) |
Call Us ≽ 9953322196 ≼ Call Girls In Lajpat Nagar (Delhi) |
 
Speech, hearing, noise, intelligibility.pptx
Speech, hearing, noise, intelligibility.pptxSpeech, hearing, noise, intelligibility.pptx
Speech, hearing, noise, intelligibility.pptx
 
Transposable elements in prokaryotes.ppt
Transposable elements in prokaryotes.pptTransposable elements in prokaryotes.ppt
Transposable elements in prokaryotes.ppt
 
Vision and reflection on Mining Software Repositories research in 2024
Vision and reflection on Mining Software Repositories research in 2024Vision and reflection on Mining Software Repositories research in 2024
Vision and reflection on Mining Software Repositories research in 2024
 
Microphone- characteristics,carbon microphone, dynamic microphone.pptx
Microphone- characteristics,carbon microphone, dynamic microphone.pptxMicrophone- characteristics,carbon microphone, dynamic microphone.pptx
Microphone- characteristics,carbon microphone, dynamic microphone.pptx
 

Permutations and Combinations for Counting Outcomes

  • 2. Starter 6.0.1 • Suppose you have 6 different textbooks in your backpack that you want to put on a bookshelf. How many ways can the 6 books be arranged on the shelf?
  • 3. Objectives • Use organized lists and tree (branching) diagrams to list all possible outcomes of a trial. • Identify whether permutation or combination is appropriate to count the number of outcomes of a trial. • Use formulas or calculator commands to evaluate permutation and combination problems.
  • 4. Counting Outcomes • There are three principle ways to count all the outcomes of a trial. 1. Draw a tree diagram • Often a simple multiplication is enough 2. Systematically write all possibilities 3. Use permutation and combination techniques
  • 5. Example: Tossing Coins • Three coins are tossed (or one coin is tossed three times) and the outcome of heads or tails is observed. • Draw a tree diagram (also called a branching diagram) that shows all possible outcomes. • State a conclusion: How many equally likely outcomes are there in this problem?
  • 6. Tree Diagram for 3 Coins • So there are 8 different equally likely outcomes. H T First Toss Second Toss Third Toss H T H T H T H T H T H T
  • 7. Write an Organized List • For the coin-toss problem we just did, write an organized list that shows all possible outcomes (like HHH etc) • Here is one possible organization – HHH, HHT, HTH, HTT – TTT, THT, TTH, THH • There are other ways to organize – Any method that is systematic (so that no outcomes are missed) can work
  • 8. Permutations of n objects • Return to the bookshelf question. • Suppose we change the problem to arranging 10 books on the shelf. Now how many arrangements are there? • 10 x 9 x 8 x … = 3,628,800 – The shorthand notation for this is 10! (factorial) • In general, there are n! ways to arrange n objects – This is called the permutation of n objects – The key idea is that order matters
  • 9. Arranging fewer than all the objects • What if there are only 4 slots available on the bookshelf for the 10 books? • Then there are 10 x 9 x 8 x 7 = 5040 ways to arrange 4 books out of a group of 10 • Notice that this could be viewed as • If we let n = the total number of objects and r = the number chosen and arranged, then we could conclude that the number of ways to arrange n objects taken r at a time is • This can be quickly evaluated by (nPr) – Try it now on your calculator with n = 10 and r = 4 10 9 8 7 6 5 4 3 2 1 6 5 4 3 2 1               ! ( )! n n r 
  • 10. Example • How many three-letter “words” can be made from the letters A, B, C, and D? – You can use your calculator to answer this. – What are n and r in this problem? • Don’t worry that many of them are not real words; we don’t care in this context. • Write an organized list of all the possible “words” – Be systematic; be sure you write them all.
  • 11. Three-letter “words” • Notice that being organized helps find all 24 permutations • Notice also that ABC is different from ACB because in permutation order matters • Suppose we don’t care about order. Then we are looking at combination, not permutation. • How many combinations of three letters can be made from an alphabet with four letters? ABC ABD ACD BCD ACB ADB ADC BDC BCA BDA DCA CDB BAC BAD DAC CBD CAB DAB CAD DBC CBA DBA CDA DCB
  • 12. Three-letter “words” • When order does not matter, ABC is the same as ACB (etc.), so there are only 4 combinations in the 24 permutations. – They can be seen in the 4 columns • Notice that there are 3! (which is r!) permutations of each combination. – They can be seen in the 6 rows • So to get the number of combinations of n objects taken r at a time, divide permutations by r! • The formula is • The calculator command is (nCr) Try it now. ABC ABD ACD BCD ACB ADB ADC BDC BCA BDA DCA CDB BAC BAD DAC CBD CAB DAB CAD DBC CBA DBA CDA DCB ! ( )! ! n n r r 
  • 13. Examples • How many ways are there to form a 3 member subcommittee from a group of 12 people? • How many ways are there to choose a president, vice-president, and secretary from a group of 12 people?
  • 14. More Examples • There are 5 cabins in the woods at a certain vacation spot. Each cabin has a path that leads to each of the other cabins. How many paths are there in all? – This is the combination of 5 things taken 2 at a time (order does not matter), so 5C2=10 • There are 100 communications satellites orbiting earth. Each satellite needs a transmit and receive channel to talk to each of the other satellites. How many channels are needed? – This time AB is different from BA, so use permutation: 100P2=9900 • How many pentagons can be drawn from the vertices of a regular 13-gon? – Combination: 13C5=1287
  • 15. Objectives • Use organized lists and tree (branching) diagrams to list all possible outcomes of a trial. • Identify whether permutation or combination is appropriate to count the number of outcomes of a trial. • Use formulas or calculator commands to evaluate permutation and combination problems.
  • 16. Homework • Create and solve two story problems which illustrate the differences between combinations and permutations. – Create and solve a problem involving the permutation of n things taken r at a time. – Create and solve a problem involving the combination of n things taken r at a time.

Editor's Notes

  1. 1