Finite vs. Countable vs. Uncountable
Sets can be sorted by how many elements they have. A finite set can be counted completely. A countable set can be listed one element at a time, even if the list never ends. An uncountable set is too large to list at all, even using a list that never ends. Every set is either countable or uncountable.
Definitions
A set of items is finite if you could count its elements completely, finishing at some number.
Consider a set $S$. The set $S$ is finite if $S$ is empty or in bijection with $\setdef{1, 2, \dots, n}$ for some $n \in \nats$.
Examples
-
The empty set is finite, because it has $0$ elements, and $0$ is a finite number.
-
$\setdef{1, 2, 3}$ is finite because it has $3$ elements.
Non-examplesThings that may be mistaken for examples of this term.
-
✗ $[0, 1]$$[0, 1]$ is not finite, because it has infinitely many elements.
-
$\integers$ is not finite, because the list does not end.
-
✗ $\nats$$\nats$ is not finite, because the list does not end.
-
✗ $(0, 1)$$(0, 1)$ is not finite, because it contains $1/n$ for every $n \geq 2$.
-
$\rationals \cap [0, 1]$ is not finite, because it contains $1/n$ for every $n \geq 1$.
-
The set of all subsets of $\nats$ is not finite, because it is uncountable.
-
The Cantor set is not finite, because it is uncountable.
Consider a set, and try to list its elements one after another, as $a_1, a_2, a_3, \dots$ (possibly stopping after finitely many or continuing forever). The set is countable if this can be done so that every element appears in the list.
Consider a set $S$. The set $S$ is countable if $S$ is finite or countably infinite: equivalently, if there is an injective map from $S$ to $\nats$.
Examples
-
The empty set is countable, because it is finite.
-
$\integers$ is countable because the list $0, 1, -1, 2, -2, \dots$ reaches every integer.
-
✓ $\nats$$\nats$ is countable because the list $0, 1, 2, \dots$ reaches every natural number.
-
$\rationals \cap [0, 1]$ is countable because the fractions $p/q$ in $[0, 1]$ can be listed in order of their denominators $q$.
-
$\setdef{1, 2, 3}$ is countable, because it is finite.
Non-examplesThings that may be mistaken for examples of this term.
-
✗ $[0, 1]$$[0, 1]$ is not countable, because it is uncountable.
-
The set of all subsets of $\nats$ is not countable, because it is uncountable.
-
$\reals$ with the discrete topology is not countable, because the real numbers are uncountable.
-
$\reals$ with the standard topology is not countable, by Cantor’s diagonal argument.
-
The Cantor set is not countable, because it is uncountable.
-
$\reals$ with the cofinite topology is not countable, because its points are the real numbers.
Consider an infinite set $S$. The set is uncountable if it is impossible to list the elements of $S$ in an (infinite) list $a_1, a_2, a_3, \dots$. The set is so large that every such list must leave out some elements of $S$.
Consider an infinite set $S$. The set $S$ is uncountable if there does not exist a surjection from $\nats$ onto $S$.
Examples
-
✓ $[0, 1]$$[0, 1]$ is uncountable because Cantor’s diagonal argument shows that no list of numbers in $[0, 1]$ contains them all.
-
By Cantor’s theorem, no set is in bijection with the set of all of its subsets.
-
Even though its total length is $0$, its points correspond to the infinite sequences of $0$s and $2$s in base $3$, which are uncountable.
Non-examplesThings that may be mistaken for examples of this term.
-
The empty set is not uncountable, because it is finite.
-
✗ $\nats$
-
$\rationals \cap [0, 1]$ is not uncountable, because it is countable.
-
$\setdef{1, 2, 3}$ is not uncountable, because it is finite.
Properties
- $\reals$ is uncountable (Cantor’s diagonal argument), and so is every interval with more than one point.
Examples
| Example | finite | countable | uncountable | Why |
|---|---|---|---|---|
| The empty set $\emptyset$ (definition) | ✓ | ✓ | ✗ | finite: The empty set is finite, because it has $0$ elements, and $0$ is a finite number.
countable: The empty set is countable, because it is finite.
uncountable: The empty set is not uncountable, because it is finite.
|
| $\setdef{1, 2, 3}$ | ✓ | ✓ | ✗ | finite: $\setdef{1, 2, 3}$ is finite because it has $3$ elements.
countable: $\setdef{1, 2, 3}$ is countable, because it is finite.
uncountable: $\setdef{1, 2, 3}$ is not uncountable, because it is finite.
|
| $\nats$ | ✗ | ✓ | ✗ | finite: $\nats$ is not finite, because the list does not end.
countable: $\nats$ is countable because the list $0, 1, 2, \dots$ reaches every natural number.
|
| The integers $\integers$ | ✗ | ✓ | ✗ | finite: $\integers$ is not finite, because the list does not end.
countable: $\integers$ is countable because the list $0, 1, -1, 2, -2, \dots$ reaches every integer.
|
| $\rationals \cap [0, 1]$ | ✗ | ✓ | ✗ | finite: $\rationals \cap [0, 1]$ is not finite, because it contains $1/n$ for every $n \geq 1$.
countable: $\rationals \cap [0, 1]$ is countable because the fractions $p/q$ in $[0, 1]$ can be listed in order of their denominators $q$.
uncountable: $\rationals \cap [0, 1]$ is not uncountable, because it is countable.
|
| $[0, 1]$ | ✗ | ✗ | ✓ | finite: $[0, 1]$ is not finite, because it has infinitely many elements.
countable: $[0, 1]$ is not countable, because it is uncountable.
uncountable: $[0, 1]$ is uncountable because Cantor’s diagonal argument shows that no list of numbers in $[0, 1]$ contains them all.
|
| The Cantor set | ✗ | ✗ | ✓ | finite: The Cantor set is not finite, because it is uncountable.
countable: The Cantor set is not countable, because it is uncountable.
uncountable: Even though its total length is $0$, its points correspond to the infinite sequences of $0$s and $2$s in base $3$, which are uncountable.
|
| The set of all subsets of $\nats$ | ✗ | ✗ | ✓ | finite: The set of all subsets of $\nats$ is not finite, because it is uncountable.
countable: The set of all subsets of $\nats$ is not countable, because it is uncountable.
uncountable: By Cantor’s theorem, no set is in bijection with the set of all of its subsets.
|
Notes
- “Countable” is used in two ways. In this dictionary it means finite or countably infinite, but some authors use it only for countably infinite sets. This makes a statement like, “at most countable” unambiguous.
- Size and countability are different: the Cantor set has length $0$ but is uncountable, while $\rationals$ is dense in $\reals$ but countable.