Counting

Definition:

We define .

Definition: Size of set

Let be a set. If there exists a bijection between and , we say that has size or cardinality , and write .

Theorem

Let . If there exists an injection from to , then .

Proof:
We use Induction on . If the result is clear. Now suppose is an injection. Firstly, we know , so for some . We can then define an injection :

  • If for every , then let for every .
  • If for some , let (we know because is injective), and let for every .
    Then, from our induction hypothesis, we get that , so .
Remark

The contrapositive of the theorem above is called the pidgeonhole principle and says that if then there does not exist a injection from to .

Theorem: Size is unique

Let be a set with size and . Then .

Proof:
There exists bijections and . This means and are injections from to and to , respectively, meaning and , so .

Theorem

Let be finite, nonempty, disjoint sets. Then Proof:
We have , and since we have meaning .

Corollary

Let be finite, nonempty, disjoint sets. Then