Countable Union of Countable Sets is Countable/Proof 2

Theorem
The union of a countable number of countable sets is countable.

Proof
Consider the countable sets $S_0, S_1, S_2, \ldots$ where $\displaystyle S = \bigcup_{i \in \N} {S_i}$.

Assume that none of these sets have any elements in common.

Otherwise, we can consider the sets $S_0^\prime = S_0, S_1^\prime = S_1 \setminus S_0, S_2^\prime = S_2 \setminus \left({S_0 \cup S_1}\right), \ldots$

All of these are countable by the fact that they are subsets of countable sets, and they have the same union $\displaystyle S = \bigcup_{i \in \N} {S_i^\prime}$.

Now we write the elements of $S_0', S_1', S_2', \ldots$ in the form of a (possibly infinite) table:


 * $\begin{array} {*{4}c}

{a_{00}} & {a_{01}} & {a_{02}} & \cdots \\ {a_{10}} & {a_{11}} & {a_{12}} & \cdots \\ {a_{20}} & {a_{21}} & {a_{22}} & \cdots \\ \vdots & \vdots  & \vdots & \ddots \\ \end{array}$

where $a_{ij}$ is the $j$th element of set $S_i$.

This table clearly contains all the elements of $\displaystyle S = \bigcup_{i \in \N} {S_i}$.

Furthermore, we have that $\phi: S \to \N \times \N, a_{ij} \mapsto \left({i, j}\right)$ is an injection.

By Cartesian Product of Countable Sets, there exists an injection $\psi: \N \times \N \to \N$.

Then $\psi \circ \phi: S \to \N$ is also an injection by Composite of Injections is an Injection.

That is to say, $S$ is countable.