Probability

Pigeonhole Principle

A student sorts envelopes into a wooden mail organizer.

Pigeonhole Principle definition

If more objects than boxes are distributed among the boxes, at least one box contains two or more objects.

In Spanish
principio del palomar
Topic
Counting and combinatorics

Pigeonhole Principle in a picture

Pigeonhole Principle diagramSeven letters in six cubbies force one cubby to contain at least two.7 lettersObjects to place6 cubbiesAvailable groupsAt least 2 togetherOne cubby must hold a pair
Seven letters in six cubbies force one cubby to contain at least two.

How it works

If every box held at most one object, the total would be at most the number of boxes. That contradicts having more objects. More generally, placing N objects in k groups, where k is positive guarantees at least one group of size at least the ceiling of N/k.

Worked examples

Thirteen people have birthdays in twelve months. What is guaranteed?

At least two people share a birth month.

Twenty students are sorted into three groups. How large must the largest group be?

At least 7, since three groups of at most 6 would hold only 18.

What is guaranteed for four hats in four cubbies?

At least one cubby contains a hat. A shared cubby is possible, but it is not guaranteed.

Common mistake

The argument guarantees a group with enough objects. It usually leaves the identity of that group open.

Quick check

What is guaranteed for 11 objects and 10 boxes?

Show answer

At least one box holds two or more.

Can every box be empty if there are objects?

Show answer

No.

For 21 objects and 5 boxes, what minimum is guaranteed in one box?

Show answer

5.

Sources

Flashcard

Pigeonhole Principle

Reveal the definition

If more objects than boxes are distributed among the boxes, at least one box contains two or more objects.

Effortless Math. “Pigeonhole Principle.” Math Dictionary.