Discrete mathematicsLesson 1 of 1 in the course Combinatorics

Pigeonhole Principle: Counting, Collisions, and Applications

5 flashcards · 5 quiz questions · 5 match pairs · 3 fill-in sentences · English

Lesson progress
0 / 5

Your progress is kept in this browser only.Sign up to save it

Summary

The pigeonhole principle is a simple counting idea with surprisingly powerful consequences. It says that when there are more objects than categories, at least one category must receive multiple objects.

Suppose nn objects are placed into mm containers. If n>mn>m, then at least one container has at least two objects. Otherwise, every container would hold at most one object, allowing at most mm objects in total—which contradicts n>mn>m.

All flashcards

Basic pigeonhole principle
If more objects than containers are assigned to those containers, at least one container receives two or more objects.
Quantified pigeonhole principle
Among nn objects distributed among mm containers, some container holds at least ⌈n/m⌉\left\lceil n/m \right\rceil objects.
Injective function
A function in which distinct domain elements have distinct images.
Surjective function
A function whose image includes every element of its codomain.
Strong pigeonhole principle
For positive thresholds q1,…,qmq_1,\ldots,q_m, ∑i=1mqi−m+1\sum_{i=1}^m q_i-m+1 objects force some box ii to contain at least qiq_i objects.

Quiz questions

  1. Seventeen objects are distributed among five containers. What minimum occupancy does the quantified pigeonhole principle guarantee for at least one container?Answer: At least four objects.
  2. For positive integer thresholds q1,…,qmq_1,\ldots,q_m, how many objects are sufficient to force some box ii to contain at least qiq_i objects?Answer: ∑i=1mqi−m+1\sum_{i=1}^m q_i-m+1 objects.
  3. If finite sets AA and BB satisfy ∣A∣>∣B∣|A|>|B|, what must be true of every function from AA to BB?Answer: It is not injective.
  4. In a group of more than one person, each person's handshake count records how many other group members they shook hands with. What does the pigeonhole principle imply?Answer: At least two people have the same handshake count.
  5. Each of nn objects is assigned independently and uniformly to one of mm categories, where n≤mn\le m. What is the probability of at least one collision?Answer: 1−(m)nmn1-\frac{(m)_n}{m^n}

Based on the Wikipedia article Pigeonhole principle, licensed CC BY-SA 4.0. Adapted into a summary, flashcards and quizzes.

All Discrete mathematics lessons