Recap

Pigeonhole Principle

Simple applications

Let $A$ and $B$ be finite sets (cardinalities are natural numbers) and assume $|A| > |B|$. Think about the following statements: If $f:A \to B$, then…

Proof of Pigeonhole Principle

Theorem: If $m$ objects are distributed into $n$ bins and $m > n,$ then there must be some bin that contains at least two objects.

Proof: Suppose for the sake of contradiction that, for some $m$ and $n$ where $m > n,$ there is a way to distribute $m$ objects into $n$ bins such that each bin contains at most one object.

Number the bins $1,2,\dots,n$ and let $x_i$ denote that number of objects in bin $i.$ There are $m$ objects in total, so we know that

$$ m = x_1 + x_2 + \cdots + x_n. $$