Pigeonhole Principle

Let and be finite sets. If there is an injection , then Contrapositive: Let with . If pigeons are put into pigeonholes, then there must be (at least) one pigeonhole with (at least) two pigeons.

Dual Pigeonhole Principle

Let and be finite sets. If there is an surjection , then Contrapositive: Let with . If pigeons are put into pigeonholes, then there must be (at least) one pigeonhole with no pigeons.

Finite vs Infinite set

A set is said to be finite if it is empty, or there exists a bijection from to the set of positive integers from 1 to
A set is said to be infinite if it is not finite

Cardinality

Finite Set

The cardinality of a finite set , denoted , is

  1. 0 if or
  2. if is a bijection
    Equality of cardinality of finite sets theorem For finite sets and : iff there is a bijection
    Any subset of a finite set is finite (contrapositive: any subset of a infinite set is infinite)

Infinite Sets

Given two sets and , is said to have the same cardinality as , written as , iff there is a bijection
note: we define what is without defining what or is
Another definition: Set is infinite iff there exists a set such that (A proper subset of has the same cardinality as )

Properties of cardinality

The same-cardinality relation is an equivalence relation. For all sets , and

  • Reflexive:
  • Symmetric:
  • Transitive:

Countability

A set is countable iff it is finite our countable infinite. Otherwise, it is uncountable.

Countably Infinite

Theorem 7.4.3: Any subset of any countable set is countable. (Contrapositive: Any set with an uncountable subset is uncountable.)
Lemma 9.4: Let and be countable infinite sets. Then is countable

Definition through bijection with

“aleph zero”
A set having the same cardinality as is called a countably infinite set i.e.
If sets are countably infinite, so is the cartesian product

Definition through sequence

An infinite set is countable iff there is a sequence in which every element f appears (exactly once — whether this is included doesn’t matter) (this is equivalent to the above definition)

Example

is countable
Arrange the elements in a grid as shown:

(1,1)(1,2)(1,3)
(2,1)(2,2)(2,3)
(3,1)(3,2)(3,3)
We can count the ordered pairs following the diagonals: (1,1) → (1,2) → (2,1) → (1,3) → (2,2) → (3,1) etc. (sequence argument)
The function that represents this is (bijective function argument)
Therefore, is countable.

Uncountable Infinite

A set is uncountable if it is impossible to find a bijection from that set to Theorem 7.4.2: The set of real numbers between 0 and 1, is uncountable
Proposition 9.3: Every infinite set has a countable infinite subset

Cantor’s diagonalization argument

(Prove the above by contradiction)

  1. Suppose is countable
  2. Since it is not finite, it is countable infinite
  3. We list the elementns x_1 = 0.a_{11}a_{12}a_{13}…a_{1n}…x_2 = 0.a_{21}a_{22}a_{23}…a_{2n}…x_3 = 0.a_{31}a_{32}a_{33}…a_{3n}…x_n = 0.a_{n1}a_{n2}a_{n3}…a_{nn}…a_{ij} \in {0,1,…,9}$ is a digit. (For numbers that have two representations 0.499… = 0.500…, we use only the latter representation)
  4. Now, construct a number (from a diagonal of the above sequence) such that
\begin{array}{ll} 1 & \text{if} a_{nn} \neq 1 \\ 2 & \text{if} a_{nn} = 1 \\ \end{array} \right.$$ 5. Note that $\forall n \in \mathbb Z^+, d_n \neq a_{nn}$ . Thus, $d \neq x_n, \forall n \in \mathbb Z^+$ 6. But clearly, $d \in (0, 1)$ . Hence, a contradiction. Therefore $(0,1)$ is uncountable # Well-ordering principle Every nonempty subset of $\mathbb{Z} _{\geq 0}$ has a smallest element