SlideShare ist ein Scribd-Unternehmen logo
1 von 14
Downloaden Sie, um offline zu lesen
Counting II

                               A.Benedict Balbuena
               Institute of Mathematics, University of the Philippines in Diliman



                                          15.1.2008




A.B.C.Balbuena (UP-Math)                   Counting II                              15.1.2008   1/9
Permutation


Definition
A permutation of a set of distinct elements is an ordered
arrangement (or sequence) of these elements. An ordered
arrangement of r elements of a set is called an r-permutation.

3-permutations of the set {a, b, c}:

              (a, b, c)(a, c, b)(b, a, c)(b, c, a)(c, a, b)(c, b, a)

How many permutations of an n-element set are there?



  A.B.C.Balbuena (UP-Math)           Counting II                       15.1.2008   2/9
Permutation


Definition
A permutation of a set of distinct elements is an ordered
arrangement (or sequence) of these elements. An ordered
arrangement of r elements of a set is called an r-permutation.

3-permutations of the set {a, b, c}:

              (a, b, c)(a, c, b)(b, a, c)(b, c, a)(c, a, b)(c, b, a)

How many permutations of an n-element set are there?



  A.B.C.Balbuena (UP-Math)           Counting II                       15.1.2008   2/9
Permutation


Definition
A permutation of a set of distinct elements is an ordered
arrangement (or sequence) of these elements. An ordered
arrangement of r elements of a set is called an r-permutation.

3-permutations of the set {a, b, c}:

              (a, b, c)(a, c, b)(b, a, c)(b, c, a)(c, a, b)(c, b, a)

How many permutations of an n-element set are there?



  A.B.C.Balbuena (UP-Math)           Counting II                       15.1.2008   2/9
Permutation Rule

Theorem
Given a set of n distinct elements, you wish to select r elements
from n and arrange them in r positions. The number of
                                                              n!
permutations of n elements taken r at a time is equal to
                                                           (n − r )!

In a race with eight runners, how many ways can the gold, silver and
bronze medals be awarded?
A salesperson has to travel eight cities but must begin the trip at a
specified city. He can visit the other seven cities in any order. How
many possible orders for the trip can the salesperson have?



  A.B.C.Balbuena (UP-Math)      Counting II                  15.1.2008   3/9
Permutation Rule

Theorem
Given a set of n distinct elements, you wish to select r elements
from n and arrange them in r positions. The number of
                                                              n!
permutations of n elements taken r at a time is equal to
                                                           (n − r )!

In a race with eight runners, how many ways can the gold, silver and
bronze medals be awarded?
A salesperson has to travel eight cities but must begin the trip at a
specified city. He can visit the other seven cities in any order. How
many possible orders for the trip can the salesperson have?



  A.B.C.Balbuena (UP-Math)      Counting II                  15.1.2008   3/9
Partition Rule

Theorem
The number of permutations of n elements, where there are n1
objects of type 1, n2 objects of type 2, ..., and nk objects of type
           n!
k, is
      n1 !n2 !...nk !
note: n1 + n2 + ... + nk = n
  1   How many ways are there to rearrange the letters in the word
      BOOKKEEPER?
  2   How many n-bit sequences contain exactly k ones?



  A.B.C.Balbuena (UP-Math)      Counting II                 15.1.2008   4/9
Combinations

Definition
A combination of a set is an unordered selection the set’s
elements. An unordered selection of r elements of a set is
called an r-combination.
An r-combination can be interpreted as a subset of the set with r
elements.
 1   In how many ways can I select 5 books from my collection of 100
     to bring on vacation?
 2   What is the number of k -element subsets of an n-element set?



  A.B.C.Balbuena (UP-Math)     Counting II                 15.1.2008   5/9
Combinations

Definition
A combination of a set is an unordered selection the set’s
elements. An unordered selection of r elements of a set is
called an r-combination.
An r-combination can be interpreted as a subset of the set with r
elements.
 1   In how many ways can I select 5 books from my collection of 100
     to bring on vacation?
 2   What is the number of k -element subsets of an n-element set?



  A.B.C.Balbuena (UP-Math)     Counting II                 15.1.2008   5/9
Theorem
Given a set of n distinct elements, you wish to select r elements
from n, then the number of combinations of r elements that can
                                                  n!
be selected from the n elements is equal to
                                             r !(n − r )!

total number of possible arrangements divided by number of
                                             n!
                                           (n−r )!
ways any one set can be rearranged =
                                             r!




  A.B.C.Balbuena (UP-Math)   Counting II                15.1.2008   6/9
Pigeonhole Principle


Theorem
Let k be an integer. If k + 1 or more objects are places into k
boxes, then there is at least one box containing two or more of
the objects.

Proof.
Suppose none of the k boxes contain more than one object.
Then the number of objects would be at most k . Contradiction,
since there are k + 1 objects.




  A.B.C.Balbuena (UP-Math)   Counting II                15.1.2008   7/9
Examples


Given two nonempty sets X , Y with |X | > |Y | , then for every
function f : X → Y there exist two different elements of X that
are mapped to the same element of Y .

 1   Among any group of 367 people, there must be at least two
     with the same birthday.
 2   How many students must be in a class to guarantee that at
     least two students have the same score, if the exam is
     graded from 0 to 100 and no half points allowed?




  A.B.C.Balbuena (UP-Math)    Counting II               15.1.2008   8/9
Examples


Given two nonempty sets X , Y with |X | > |Y | , then for every
function f : X → Y there exist two different elements of X that
are mapped to the same element of Y .

 1   Among any group of 367 people, there must be at least two
     with the same birthday.
 2   How many students must be in a class to guarantee that at
     least two students have the same score, if the exam is
     graded from 0 to 100 and no half points allowed?




  A.B.C.Balbuena (UP-Math)    Counting II               15.1.2008   8/9
Generalized Pigeonhole Principle



Theorem
If N objects are placed into k boxes, then there is at least one
box containing at least N objects.
                          k


How many non-bald people in Metro Manila have the same
number of hairs on their head?




  A.B.C.Balbuena (UP-Math)    Counting II                15.1.2008   9/9

Weitere ähnliche Inhalte

Ähnlich wie counting

Chapter-3-Sample-Space-of-Experiment.pdf
Chapter-3-Sample-Space-of-Experiment.pdfChapter-3-Sample-Space-of-Experiment.pdf
Chapter-3-Sample-Space-of-Experiment.pdfJuliusBoitizon
 
Relation function
Relation functionRelation function
Relation functionmentorsnet
 
Relation function
Relation functionRelation function
Relation functionBiswa Nayak
 
Permutations and Combinations IIT JEE+Olympiad Lecture 4
Permutations and Combinations IIT JEE+Olympiad Lecture 4Permutations and Combinations IIT JEE+Olympiad Lecture 4
Permutations and Combinations IIT JEE+Olympiad Lecture 4Parth Nandedkar
 
Quantitative techniques basics of mathematics permutations and combinations_p...
Quantitative techniques basics of mathematics permutations and combinations_p...Quantitative techniques basics of mathematics permutations and combinations_p...
Quantitative techniques basics of mathematics permutations and combinations_p...taniyakhurana
 
Christmas Coding
Christmas CodingChristmas Coding
Christmas CodingGDSC PJATK
 
Pigeonhole Principle,Cardinality,Countability
Pigeonhole Principle,Cardinality,CountabilityPigeonhole Principle,Cardinality,Countability
Pigeonhole Principle,Cardinality,CountabilityKiran Munir
 
Permutations and combinations
Permutations and combinationsPermutations and combinations
Permutations and combinationsGhufran Hasan
 
Skiena algorithm 2007 lecture07 heapsort priority queues
Skiena algorithm 2007 lecture07 heapsort priority queuesSkiena algorithm 2007 lecture07 heapsort priority queues
Skiena algorithm 2007 lecture07 heapsort priority queueszukun
 
Permutations and Combinations (All Formulas)
Permutations and Combinations (All Formulas)Permutations and Combinations (All Formulas)
Permutations and Combinations (All Formulas)Anubhav Kumar
 
Permutations and Combinations(For Class 11)
Permutations and Combinations(For Class 11)Permutations and Combinations(For Class 11)
Permutations and Combinations(For Class 11)Anubhav Kumar
 

Ähnlich wie counting (20)

Linear sorting
Linear sortingLinear sorting
Linear sorting
 
Chapter-3-Sample-Space-of-Experiment.pdf
Chapter-3-Sample-Space-of-Experiment.pdfChapter-3-Sample-Space-of-Experiment.pdf
Chapter-3-Sample-Space-of-Experiment.pdf
 
Permutation and combination
Permutation and combinationPermutation and combination
Permutation and combination
 
Relation function
Relation functionRelation function
Relation function
 
Relation function
Relation functionRelation function
Relation function
 
Permutations and Combinations IIT JEE+Olympiad Lecture 4
Permutations and Combinations IIT JEE+Olympiad Lecture 4Permutations and Combinations IIT JEE+Olympiad Lecture 4
Permutations and Combinations IIT JEE+Olympiad Lecture 4
 
Quantitative techniques basics of mathematics permutations and combinations_p...
Quantitative techniques basics of mathematics permutations and combinations_p...Quantitative techniques basics of mathematics permutations and combinations_p...
Quantitative techniques basics of mathematics permutations and combinations_p...
 
Christmas Coding
Christmas CodingChristmas Coding
Christmas Coding
 
Mit6 006 f11_quiz1
Mit6 006 f11_quiz1Mit6 006 f11_quiz1
Mit6 006 f11_quiz1
 
Section3 1
Section3 1Section3 1
Section3 1
 
Pigeonhole Principle,Cardinality,Countability
Pigeonhole Principle,Cardinality,CountabilityPigeonhole Principle,Cardinality,Countability
Pigeonhole Principle,Cardinality,Countability
 
Blackbox task 2
Blackbox task 2Blackbox task 2
Blackbox task 2
 
CO1 Ppt - Copy.pptx
CO1 Ppt - Copy.pptxCO1 Ppt - Copy.pptx
CO1 Ppt - Copy.pptx
 
Permutations and combinations
Permutations and combinationsPermutations and combinations
Permutations and combinations
 
Skiena algorithm 2007 lecture07 heapsort priority queues
Skiena algorithm 2007 lecture07 heapsort priority queuesSkiena algorithm 2007 lecture07 heapsort priority queues
Skiena algorithm 2007 lecture07 heapsort priority queues
 
Imo2013 sl
Imo2013 slImo2013 sl
Imo2013 sl
 
LET-Review-3-5.pptx
LET-Review-3-5.pptxLET-Review-3-5.pptx
LET-Review-3-5.pptx
 
Bba ii-u1-p&c
Bba ii-u1-p&cBba ii-u1-p&c
Bba ii-u1-p&c
 
Permutations and Combinations (All Formulas)
Permutations and Combinations (All Formulas)Permutations and Combinations (All Formulas)
Permutations and Combinations (All Formulas)
 
Permutations and Combinations(For Class 11)
Permutations and Combinations(For Class 11)Permutations and Combinations(For Class 11)
Permutations and Combinations(For Class 11)
 

Kürzlich hochgeladen

Call Girls in Dwarka Mor Delhi Contact Us 9654467111
Call Girls in Dwarka Mor Delhi Contact Us 9654467111Call Girls in Dwarka Mor Delhi Contact Us 9654467111
Call Girls in Dwarka Mor Delhi Contact Us 9654467111Sapana Sha
 
Nutritional Needs Presentation - HLTH 104
Nutritional Needs Presentation - HLTH 104Nutritional Needs Presentation - HLTH 104
Nutritional Needs Presentation - HLTH 104misteraugie
 
APM Welcome, APM North West Network Conference, Synergies Across Sectors
APM Welcome, APM North West Network Conference, Synergies Across SectorsAPM Welcome, APM North West Network Conference, Synergies Across Sectors
APM Welcome, APM North West Network Conference, Synergies Across SectorsAssociation for Project Management
 
Accessible design: Minimum effort, maximum impact
Accessible design: Minimum effort, maximum impactAccessible design: Minimum effort, maximum impact
Accessible design: Minimum effort, maximum impactdawncurless
 
fourth grading exam for kindergarten in writing
fourth grading exam for kindergarten in writingfourth grading exam for kindergarten in writing
fourth grading exam for kindergarten in writingTeacherCyreneCayanan
 
Unit-IV- Pharma. Marketing Channels.pptx
Unit-IV- Pharma. Marketing Channels.pptxUnit-IV- Pharma. Marketing Channels.pptx
Unit-IV- Pharma. Marketing Channels.pptxVishalSingh1417
 
1029-Danh muc Sach Giao Khoa khoi 6.pdf
1029-Danh muc Sach Giao Khoa khoi  6.pdf1029-Danh muc Sach Giao Khoa khoi  6.pdf
1029-Danh muc Sach Giao Khoa khoi 6.pdfQucHHunhnh
 
Interactive Powerpoint_How to Master effective communication
Interactive Powerpoint_How to Master effective communicationInteractive Powerpoint_How to Master effective communication
Interactive Powerpoint_How to Master effective communicationnomboosow
 
BASLIQ CURRENT LOOKBOOK LOOKBOOK(1) (1).pdf
BASLIQ CURRENT LOOKBOOK  LOOKBOOK(1) (1).pdfBASLIQ CURRENT LOOKBOOK  LOOKBOOK(1) (1).pdf
BASLIQ CURRENT LOOKBOOK LOOKBOOK(1) (1).pdfSoniaTolstoy
 
Arihant handbook biology for class 11 .pdf
Arihant handbook biology for class 11 .pdfArihant handbook biology for class 11 .pdf
Arihant handbook biology for class 11 .pdfchloefrazer622
 
The basics of sentences session 2pptx copy.pptx
The basics of sentences session 2pptx copy.pptxThe basics of sentences session 2pptx copy.pptx
The basics of sentences session 2pptx copy.pptxheathfieldcps1
 
Disha NEET Physics Guide for classes 11 and 12.pdf
Disha NEET Physics Guide for classes 11 and 12.pdfDisha NEET Physics Guide for classes 11 and 12.pdf
Disha NEET Physics Guide for classes 11 and 12.pdfchloefrazer622
 
Ecosystem Interactions Class Discussion Presentation in Blue Green Lined Styl...
Ecosystem Interactions Class Discussion Presentation in Blue Green Lined Styl...Ecosystem Interactions Class Discussion Presentation in Blue Green Lined Styl...
Ecosystem Interactions Class Discussion Presentation in Blue Green Lined Styl...fonyou31
 
Advanced Views - Calendar View in Odoo 17
Advanced Views - Calendar View in Odoo 17Advanced Views - Calendar View in Odoo 17
Advanced Views - Calendar View in Odoo 17Celine George
 
Key note speaker Neum_Admir Softic_ENG.pdf
Key note speaker Neum_Admir Softic_ENG.pdfKey note speaker Neum_Admir Softic_ENG.pdf
Key note speaker Neum_Admir Softic_ENG.pdfAdmir Softic
 
Grant Readiness 101 TechSoup and Remy Consulting
Grant Readiness 101 TechSoup and Remy ConsultingGrant Readiness 101 TechSoup and Remy Consulting
Grant Readiness 101 TechSoup and Remy ConsultingTechSoup
 
BAG TECHNIQUE Bag technique-a tool making use of public health bag through wh...
BAG TECHNIQUE Bag technique-a tool making use of public health bag through wh...BAG TECHNIQUE Bag technique-a tool making use of public health bag through wh...
BAG TECHNIQUE Bag technique-a tool making use of public health bag through wh...Sapna Thakur
 
9548086042 for call girls in Indira Nagar with room service
9548086042  for call girls in Indira Nagar  with room service9548086042  for call girls in Indira Nagar  with room service
9548086042 for call girls in Indira Nagar with room servicediscovermytutordmt
 

Kürzlich hochgeladen (20)

Call Girls in Dwarka Mor Delhi Contact Us 9654467111
Call Girls in Dwarka Mor Delhi Contact Us 9654467111Call Girls in Dwarka Mor Delhi Contact Us 9654467111
Call Girls in Dwarka Mor Delhi Contact Us 9654467111
 
Nutritional Needs Presentation - HLTH 104
Nutritional Needs Presentation - HLTH 104Nutritional Needs Presentation - HLTH 104
Nutritional Needs Presentation - HLTH 104
 
Mattingly "AI & Prompt Design: The Basics of Prompt Design"
Mattingly "AI & Prompt Design: The Basics of Prompt Design"Mattingly "AI & Prompt Design: The Basics of Prompt Design"
Mattingly "AI & Prompt Design: The Basics of Prompt Design"
 
APM Welcome, APM North West Network Conference, Synergies Across Sectors
APM Welcome, APM North West Network Conference, Synergies Across SectorsAPM Welcome, APM North West Network Conference, Synergies Across Sectors
APM Welcome, APM North West Network Conference, Synergies Across Sectors
 
Accessible design: Minimum effort, maximum impact
Accessible design: Minimum effort, maximum impactAccessible design: Minimum effort, maximum impact
Accessible design: Minimum effort, maximum impact
 
fourth grading exam for kindergarten in writing
fourth grading exam for kindergarten in writingfourth grading exam for kindergarten in writing
fourth grading exam for kindergarten in writing
 
Unit-IV- Pharma. Marketing Channels.pptx
Unit-IV- Pharma. Marketing Channels.pptxUnit-IV- Pharma. Marketing Channels.pptx
Unit-IV- Pharma. Marketing Channels.pptx
 
1029-Danh muc Sach Giao Khoa khoi 6.pdf
1029-Danh muc Sach Giao Khoa khoi  6.pdf1029-Danh muc Sach Giao Khoa khoi  6.pdf
1029-Danh muc Sach Giao Khoa khoi 6.pdf
 
Interactive Powerpoint_How to Master effective communication
Interactive Powerpoint_How to Master effective communicationInteractive Powerpoint_How to Master effective communication
Interactive Powerpoint_How to Master effective communication
 
BASLIQ CURRENT LOOKBOOK LOOKBOOK(1) (1).pdf
BASLIQ CURRENT LOOKBOOK  LOOKBOOK(1) (1).pdfBASLIQ CURRENT LOOKBOOK  LOOKBOOK(1) (1).pdf
BASLIQ CURRENT LOOKBOOK LOOKBOOK(1) (1).pdf
 
Arihant handbook biology for class 11 .pdf
Arihant handbook biology for class 11 .pdfArihant handbook biology for class 11 .pdf
Arihant handbook biology for class 11 .pdf
 
The basics of sentences session 2pptx copy.pptx
The basics of sentences session 2pptx copy.pptxThe basics of sentences session 2pptx copy.pptx
The basics of sentences session 2pptx copy.pptx
 
Disha NEET Physics Guide for classes 11 and 12.pdf
Disha NEET Physics Guide for classes 11 and 12.pdfDisha NEET Physics Guide for classes 11 and 12.pdf
Disha NEET Physics Guide for classes 11 and 12.pdf
 
Ecosystem Interactions Class Discussion Presentation in Blue Green Lined Styl...
Ecosystem Interactions Class Discussion Presentation in Blue Green Lined Styl...Ecosystem Interactions Class Discussion Presentation in Blue Green Lined Styl...
Ecosystem Interactions Class Discussion Presentation in Blue Green Lined Styl...
 
Advanced Views - Calendar View in Odoo 17
Advanced Views - Calendar View in Odoo 17Advanced Views - Calendar View in Odoo 17
Advanced Views - Calendar View in Odoo 17
 
Key note speaker Neum_Admir Softic_ENG.pdf
Key note speaker Neum_Admir Softic_ENG.pdfKey note speaker Neum_Admir Softic_ENG.pdf
Key note speaker Neum_Admir Softic_ENG.pdf
 
Mattingly "AI & Prompt Design: Structured Data, Assistants, & RAG"
Mattingly "AI & Prompt Design: Structured Data, Assistants, & RAG"Mattingly "AI & Prompt Design: Structured Data, Assistants, & RAG"
Mattingly "AI & Prompt Design: Structured Data, Assistants, & RAG"
 
Grant Readiness 101 TechSoup and Remy Consulting
Grant Readiness 101 TechSoup and Remy ConsultingGrant Readiness 101 TechSoup and Remy Consulting
Grant Readiness 101 TechSoup and Remy Consulting
 
BAG TECHNIQUE Bag technique-a tool making use of public health bag through wh...
BAG TECHNIQUE Bag technique-a tool making use of public health bag through wh...BAG TECHNIQUE Bag technique-a tool making use of public health bag through wh...
BAG TECHNIQUE Bag technique-a tool making use of public health bag through wh...
 
9548086042 for call girls in Indira Nagar with room service
9548086042  for call girls in Indira Nagar  with room service9548086042  for call girls in Indira Nagar  with room service
9548086042 for call girls in Indira Nagar with room service
 

counting

  • 1. Counting II A.Benedict Balbuena Institute of Mathematics, University of the Philippines in Diliman 15.1.2008 A.B.C.Balbuena (UP-Math) Counting II 15.1.2008 1/9
  • 2. Permutation Definition A permutation of a set of distinct elements is an ordered arrangement (or sequence) of these elements. An ordered arrangement of r elements of a set is called an r-permutation. 3-permutations of the set {a, b, c}: (a, b, c)(a, c, b)(b, a, c)(b, c, a)(c, a, b)(c, b, a) How many permutations of an n-element set are there? A.B.C.Balbuena (UP-Math) Counting II 15.1.2008 2/9
  • 3. Permutation Definition A permutation of a set of distinct elements is an ordered arrangement (or sequence) of these elements. An ordered arrangement of r elements of a set is called an r-permutation. 3-permutations of the set {a, b, c}: (a, b, c)(a, c, b)(b, a, c)(b, c, a)(c, a, b)(c, b, a) How many permutations of an n-element set are there? A.B.C.Balbuena (UP-Math) Counting II 15.1.2008 2/9
  • 4. Permutation Definition A permutation of a set of distinct elements is an ordered arrangement (or sequence) of these elements. An ordered arrangement of r elements of a set is called an r-permutation. 3-permutations of the set {a, b, c}: (a, b, c)(a, c, b)(b, a, c)(b, c, a)(c, a, b)(c, b, a) How many permutations of an n-element set are there? A.B.C.Balbuena (UP-Math) Counting II 15.1.2008 2/9
  • 5. Permutation Rule Theorem Given a set of n distinct elements, you wish to select r elements from n and arrange them in r positions. The number of n! permutations of n elements taken r at a time is equal to (n − r )! In a race with eight runners, how many ways can the gold, silver and bronze medals be awarded? A salesperson has to travel eight cities but must begin the trip at a specified city. He can visit the other seven cities in any order. How many possible orders for the trip can the salesperson have? A.B.C.Balbuena (UP-Math) Counting II 15.1.2008 3/9
  • 6. Permutation Rule Theorem Given a set of n distinct elements, you wish to select r elements from n and arrange them in r positions. The number of n! permutations of n elements taken r at a time is equal to (n − r )! In a race with eight runners, how many ways can the gold, silver and bronze medals be awarded? A salesperson has to travel eight cities but must begin the trip at a specified city. He can visit the other seven cities in any order. How many possible orders for the trip can the salesperson have? A.B.C.Balbuena (UP-Math) Counting II 15.1.2008 3/9
  • 7. Partition Rule Theorem The number of permutations of n elements, where there are n1 objects of type 1, n2 objects of type 2, ..., and nk objects of type n! k, is n1 !n2 !...nk ! note: n1 + n2 + ... + nk = n 1 How many ways are there to rearrange the letters in the word BOOKKEEPER? 2 How many n-bit sequences contain exactly k ones? A.B.C.Balbuena (UP-Math) Counting II 15.1.2008 4/9
  • 8. Combinations Definition A combination of a set is an unordered selection the set’s elements. An unordered selection of r elements of a set is called an r-combination. An r-combination can be interpreted as a subset of the set with r elements. 1 In how many ways can I select 5 books from my collection of 100 to bring on vacation? 2 What is the number of k -element subsets of an n-element set? A.B.C.Balbuena (UP-Math) Counting II 15.1.2008 5/9
  • 9. Combinations Definition A combination of a set is an unordered selection the set’s elements. An unordered selection of r elements of a set is called an r-combination. An r-combination can be interpreted as a subset of the set with r elements. 1 In how many ways can I select 5 books from my collection of 100 to bring on vacation? 2 What is the number of k -element subsets of an n-element set? A.B.C.Balbuena (UP-Math) Counting II 15.1.2008 5/9
  • 10. Theorem Given a set of n distinct elements, you wish to select r elements from n, then the number of combinations of r elements that can n! be selected from the n elements is equal to r !(n − r )! total number of possible arrangements divided by number of n! (n−r )! ways any one set can be rearranged = r! A.B.C.Balbuena (UP-Math) Counting II 15.1.2008 6/9
  • 11. Pigeonhole Principle Theorem Let k be an integer. If k + 1 or more objects are places into k boxes, then there is at least one box containing two or more of the objects. Proof. Suppose none of the k boxes contain more than one object. Then the number of objects would be at most k . Contradiction, since there are k + 1 objects. A.B.C.Balbuena (UP-Math) Counting II 15.1.2008 7/9
  • 12. Examples Given two nonempty sets X , Y with |X | > |Y | , then for every function f : X → Y there exist two different elements of X that are mapped to the same element of Y . 1 Among any group of 367 people, there must be at least two with the same birthday. 2 How many students must be in a class to guarantee that at least two students have the same score, if the exam is graded from 0 to 100 and no half points allowed? A.B.C.Balbuena (UP-Math) Counting II 15.1.2008 8/9
  • 13. Examples Given two nonempty sets X , Y with |X | > |Y | , then for every function f : X → Y there exist two different elements of X that are mapped to the same element of Y . 1 Among any group of 367 people, there must be at least two with the same birthday. 2 How many students must be in a class to guarantee that at least two students have the same score, if the exam is graded from 0 to 100 and no half points allowed? A.B.C.Balbuena (UP-Math) Counting II 15.1.2008 8/9
  • 14. Generalized Pigeonhole Principle Theorem If N objects are placed into k boxes, then there is at least one box containing at least N objects. k How many non-bald people in Metro Manila have the same number of hairs on their head? A.B.C.Balbuena (UP-Math) Counting II 15.1.2008 9/9