Published Jun 19, 2021
[
 
]
The term cardinality is used in mathematics to refer to the size of a set.
Definition 1.5.1 A function \(f : A \to B\) is one-to-one \((1-1\)) if \(a_1 \neq a_2\) in \(A\) implies that \(f(a_1) \neq f(a_2)\) in \(B\). The function is onto if, given any \(b in B\), it is possible to find an element \(a \in A\) for which \(f(a) = b\)
A function \(f : A \to B\) that is both \((1-1)\) and onto provides us with exactly what we mean by a \((1-1)\) correspondence between two sets. The property of being \((1-1)\) means that no two elements of \(A\) correspond to the same element of \(B\), and the property of being onto ensures that every element of \(B\) corresponds to something in \(A\)
Definition 1.5.2 The set \(A\) has the same cardinality as \(B\) if there exists \(f : A \to B\) that is \(1-1\) and onto. In this case, we write \(A \sim B\)
Definition 1.5.5 A set \(A\) is countable if \(N \sim A\). An infinite set that is not countable is called an uncountable set.
Theorem 1.5.6
Proof.
The crucial observation is that each \(A_n\) is finite and every rational number appears in exactly on of these sets. Our \(1-1\) correspondence with \(N\) is then achieved by consecutively listing the elements in each \(A_n\)
The fact that this line of reasoning applies to any rational number \(p/q\) is our proof that the set \(A_n\) were constructed to be disjoint so that no rational number appears twice.
Let \(I_1\) be a closed interval that does not contain \(x_1\). Next let \(I_2\) be a closed interval, contained in \(I_1\), which does not contain \(x_2\). The existence of such an \(I_2\) is easy to verify. Certainly \(I_1\) contains two smaller disjoint closed intervals, and \(x_2\) can only be in one of these. In general, given an interval \(I_n\), construct \(I_{n+1}\) to satisfy
We now consider the intersection \(\bigcap_{n=1}^\infty I_n\). If \(x_{n_0}\) is some real number from the list \(\eqref{1}\), then we have \(x_0 \notin I_{n_0}\), and it follows that $$ x_{n_0} \notin \bigcap_{n=1}^\infty I_n $$
Now, we are assuming that the list in \(\eqref{1}\) contains every real number, and this leads to the conclusion that $$ \bigcap_{n=1}^\infty I_n = \emptyset $$
However, the Nested Interval Property (NIP) asserts that \(\bigcap_{n=1}^\infty I_n \neq \emptyset \). By NIP, there is at least one \(x \in \bigcap_{n=1}^\infty I_n\) that, consequently cannot be on the list in \eqref{1}. This contradiction means that such an enumeration of \(R\) is impossible, and we conclude that \(R\) is an uncountable set.
What exactly should be make of this discovery? It is an important exercise to show that any subset of a countable set must be either countable or finite. If a set can be arranged into a single list, then deleting some elements from this list results in another (shorter, and potentially terminating) list. This means that countable sets are smaller type of infinite set. Anything smaller is either still countable or finite.
The cardinality of \(R\) is, informally speaking, a larger type of infinity. The real numbers so outnumber the natural numbers that there is no way to map \(N\) onto \(R\). The set \(Q\), on the other hand, is countable. By imitating the demonstration that \(N ~ Z\), we can prove that the union of two countable sets must be countable. Because \(R = Q \cup \I\), it follows that \(I\) cannot be countable otherwise \(R\) would be. The inescapable conclusion is that, despite the fact that we have encountered so few of them, the irrational numbers form a far greater subset of \(R\) than \(Q\).
Theorem 1.5.7 If \(A \subseteq B\) and \(B\) is countable, then \(A\) is either countable or finite.
Theorem 1.5.8