The Pigeonhole Principle... The Pigeonhole Principle• In words: – If n pigeons are in fewer than n pigeonholes, some pigeonhole must contain at least two pigeons n What is n?. Appl
Trang 1The Pigeonhole Principle
Trang 2The Pigeonhole Principle
• In words:
– If n pigeons are
in fewer than n
pigeonholes,
some
pigeonhole must
contain at least
two pigeons
n
What is n?
http://www.blog.republicofmath.com/archives/3115
Trang 3The Pigeonhole Principle
• In math:
Let f : A → Β , ωηερε Α ανδ Β
αρε φινιτε σετσ ανδ Α > Β
Τηεν τηερε εξιστ διστινχτ ελεµ εντσ
α1, α2 ∈ Α συχη τηατ φ ( α1) = φ ( α2).
Trang 4The Pigeonhole Principle
• What is a set?
• a finite set?
• What is |A|?
• What is a function?
• the domain of a function?
• the codomain of a function?
• Why say “distinct”?
Let f : A → Β , ωηερε Α ανδ Β αρε φινιτε σετσ ανδ Α > Β Τηεν τηερε εξιστ διστινχτ ελεµ εντσ
α1, α2 ∈ Α συχη τηατ φ (α1) = φ (α2).
Trang 5Applications of The Pigeonhole
Principle
• In any group of 8 people, two were born on the same day of the week
• What are the “pigeons” and what
are the “pigeonholes”?
• A = the set of people, B = {Sun, … Sat}, f(a) = the day of the week on which a was born
Trang 6Applications of The Pigeonhole
Principle
• Suppose each
pigeonhole contains
one bird, and every bird
moves to an adjacent
square (up, down, left
or right) Show that no
matter how this is done,
some pigeonhole winds
up with at least 2 birds
Trang 7Applications of The Pigeonhole
Principle
• Suppose each
pigeonhole contains
one bird, and every bird
moves to an adjacent
square (up, down, left
or right) Show that no
matter how this is done,
some pigeonhole winds
up with at least 2 birds
Trang 8Applications of The Pigeonhole
Principle
• Suppose each
pigeonhole contains
one bird, and every bird
moves to an adjacent
square (up, down, left
or right) Show that no
matter how this is done,
some pigeonhole winds
up with at least 2 birds