A set is called:
- countably infinite if ;
- countable if it is finite or countably infinite;
- uncountable if is finite nor countably infinite.
Examples of uncountable sets are , intervals in , and .
Let be a countably infinite set. Then there is a bijective function from to . Such a function is called an enumeration. Let us denote as for each . Then can be written as or as .
Every subset of a countable set is countable.
Let be a countable set and . If or is finite, we are actually done quickly. Therefore, we only consider the case where is countably infinite and the subset is not finite. Suppose . Then there is a smallest , say , for which and we denote as . Furthermore, there is a smallest , say , for which and we denote as . If have already been defined, we take to be the element , where is the smallest index for which . Note that every element of appears in the sequence and that this sequence does not end, as is not assumed to be finite. Thus, is countably infinite. Therefore, is a countable set in all cases.
Let and be countable sets. Then and are also countable.
We prove the countability of only for two sets that are countably infinite, so if and . Because and , we can create a bijective function from to by mapping bijectively to and bijectively to . In other words, is countable.
We prove the countability of only for two sets that are countably infinite, so if and . Then, there is a bijection from to . Thus, . Because , we have . In other words, is countable.
We first show that the set of all positive rational numbers is countably infinite. These positive rational numbers can be considered as with and positive natural numbers and an irreducible fraction, i.e., . We can now define the function by . Then is an injective function. Because is countably infinite and is a infinite subset of this, it follows that is countably infinite. But then is also countably infinite.
The set of all negative rational numbers is evidently equipotent to and thus also countably infinite. Therefore, , as union of countable sets, is also countable. Because the set of rational numbers is not finite, we know that this set is countably infinite.