2.8 Appendix: Cardinality 61
inside B in a one-to-one manner, then A is smaller than B. One of the subtleties
that we address later is whether |A| ≤ |B| and |B| ≤ |A| mean that |A| = |B|. The
answer is yes, but this is not obvious for infinite sets.
2.8.2. EXAMPLES.
(1) The cardinality of any finite set is the number of elements, and this number
belongs to N
0
= {0, 1, 2, 3, 4, . . . }. Set theorists go to some trouble to define the
natural numbers too. But we will take for granted that the reader is familiar with
the notion of a finite set.
(2) Most sets encountered in analysis are infinite, meaning that they are not finite.
The sets of natural numbers N, integers Z, rational numbers Q, and real numbers
R are all infinite. Moreover, we have the natural containments N ⊂ Z ⊂ Q ⊂ R.
So |N| ≤ |Z| ≤ |Q| ≤ |R|. Notice that the integers can be written as a list
0, 1, −1, 2, −2, 3, −3, . . . . This amounts to defining a bijection f : N → Z by
f(n) =
(
(1 − n)/2 if n is odd
n/2 if n is even.
Therefore, |N| = |Z|.
2.8.3. DEFINITION. A set A is a countable set is it is finite or if |A| = |N|. The
cardinal |N| is also denoted by ℵ
0
. This is the first letter of the Hebrew alphabet,
aleph, with subscript zero. It is pronounced aleph nought.
An infinite set that is not countable is called an uncountable set.
Notice that two uncountable sets could have different cardinalities. We refer
the reader interested in the possible cardinalities of uncountable sets to [1].
Equivalently, A is countable if the elements of A may be listedas a
1
, a
2
, a
3
, . . . .
Indeed, the list itself determines a bijection from N to A by f(k) = a
k
. It is a basic
fact that countable sets are the smallest infinite sets.
2.8.4. LEMMA. Every infinite subset of N is countable. Moreover, if A is an
infinite set such that |A| ≤ |N|, then |A| = |N|.
PROOF. Any nonempty subset X of N has a smallest element. Indeed, as X
is nonempty, it contains an integer n. Consider the elements of the finite set
{1, 2, . . . , n}in order and pick the first one that belongs to X—that is, the smallest.
Let B be an infinite subset of N. List the elements of B in increasing order as
b
1
< b
2
< b
3
< . . . . This is done by choosing the smallest element b
1
, then the
smallest of the remaining set B \ {b
1
}, then the smallest of B \ {b
1
, b
2
} and so on.
The result is an infinite list of elements of B in increasing order. It must include
every element b ∈ B because {n ∈ B : n ≤ b} is finite, containing say k elements.
Then b
k
= b. As noted before the proof, this implies that |B| = |N|.