LearnViz Math
Advanced ⛓ Discrete Math & Number Theory Topic 30 of 103

Pigeonhole Principle

If n+1 objects go into n boxes, some box has two.

Key idea

If n+1 objects go into n boxes, some box has two.

In depth

If more than n items go into n boxes, some box has at least two. The generalised form: some box has at least ⌈m/n⌉ items. It gives existence results without finding the item.

Worked example

Among 13 people, two share a birth month.

Real-world uses

Common mistake

Failing to define the pigeons and holes clearly.

How to learn this

  1. Read the key idea and say it in your own words.
  2. Work through the worked example, then try a similar problem.
  3. Use the interactive lesson’s visual and mini-quiz to check the pattern.

Frequently asked questions

What is Pigeonhole Principle?

If n+1 objects go into n boxes, some box has two. It is a topic at the advanced level in Discrete Math & Number Theory.

Where is Pigeonhole Principle used in real life?

Real-world examples: Showing that among 13 people two share a birth month; Hash table collision reasoning.

What should I learn before Pigeonhole Principle?

Make sure you are comfortable with Cantor’s Diagonal Argument, the previous topic in Discrete Math & Number Theory.

What is a common mistake with Pigeonhole Principle?

Failing to define the pigeons and holes clearly.

How can I practise Pigeonhole Principle?

Open the interactive lesson, play with the visual, then answer the three-question mini-quiz. Getting two right marks the topic complete.

What comes after Pigeonhole Principle?

Move on to Rule of Sum and Product next.

Related advanced topics in Discrete Math & Number Theory