Professional Documents
Culture Documents
Example 3.1. The sets (0, ∞) and R are equinumerous. Indeed, the func-
tion f : R → (0, ∞) defined by f (x) = ex is a bijection.
B = {a ∈ A| a &∈ f (a)}.
11
for all n ∈ N. Then setting B = {k ∈ N| h(n + k) > h(n)} we see that
1 ∈ B and if h(n + (k − 1)) > h(n), then h(n + k) > h(n + (k − 1)) > h(n).
Consequently, B = N. Since n was arbitrary, h(n + k) > h(n) for all
n, k ∈ N. Now taking distinct n, m ∈ N we may assume that m > n so that
m = n + k. By the above h(m) = h(n + k) > h(n) proving that h is an
injection. Next we show that h is a surjection. To do this we first show that
h(n) ≥ n. Let C = {n ∈ N| h(n) ≥ n}. Clearly, 1 ∈ C. If k ∈ C, then
h(k + 1) > h(k) ≥ n so that h(k + 1) ≥ k + 1. Hence k + 1 ∈ C and by the
principle of mathematical induction C = N. Now take n0 ∈ A. We have to
show that h(m0 ) = n0 for some m0 ∈ N. If n0 = 1, then m0 = 1. So assume
that n0 ≥ 2. Consider the set D = {n ∈ A| h(n) ≥ n0 }. Since h(n0 ) ≥ n0 ,
the set D is nonempty and by the well-ordering principle D has a minimum.
Let m0 = min D. If m0 = 1, then h(m0 ) = min A ≤ n0 ≤ h(m0 ) and
hence h(m0 ) = n0 . So we may also assume that n> min A. Then h(m0 ) ≥
n0 > h(m0 − 1) > . . . > h(1) in view of definitions of m0 and h. Since
h(m0 ) = min(A \ {h(1), . . . , h(m0 − 1)}) and n0 ∈ A \ {h(1), . . . , h(m0 − 1)}
and h(m0 ) ≥ n0 , it follows that h(m0 ) = n0 . This proves that h is also a
surjection. !
Proposition 3.6. Let A be a non-empty set. Then the following are equiv-
alent.
(a) A is countable.
is a surjection.
(b) =⇒ (c). Assume that f : N → A is a surjection. We claim that there is
an injection g; A → N. To define g note that if a ∈ A, then f −1 ({a}) &= ∅.
Hence we set g(a) = min f −1 ((a)}). Now note that if a &= a" , then the sets
f −1 ({a}) ∩ f −1 ({a" }) = ∅ which implies min−1 ({a}) &= min−1 ({a" }). Hence
g(a) &= g(a" )and g : A → N is an injective.
(c) ⇒ (a). Assume that g : A → N is an injection. We want to show that A
12
is countable. Since g : A → g(A) is a bijection and g(A) ⊂ N, Proposition
3.5 implies that A is countable. !
Proof. Since [an+1 , bn+1 ] ⊂ [an , bn ] for all n, it follows that an ≤ bk for all
n, k ∈ N. So, the set A = {an | n ∈ N} is bounded above by every bk and
consequently a := sup A ≤ bk for all k ∈ N. But this implies that the set
# = {bk | k ∈ N} is bounded below by a so that a ≤ b := inf B. Hence
B
n∈N In = [a, b]. !
13
Proof of Proposition 3.11. Arguing by contradiction assume that R is count-
able. Let x1 , x2 , x3 , . . . be enumeration of R. Choose a closed bounded inter-
val I1 such that x1 &∈ I1 . Having chosen the closed intervals I1 , I2 , . . . , In−1 ,
we choose the closed interval In to be a subset of In−1 such that xn &∈ In .
Consequently, we have a countable collection of closed bounded intervals
#n ) such that In+1 ⊂ In and xn &∈ In . Then by the above proposition,
(I
n∈N In &= ∅. Observe that if x belongs to this intersection, then x is not
on the list x1 , x2 , . . ., contradiction.
!
14
46 I Foundations
6 Countability
In the previous section we saw that ‘infinite sets’ are necessary for the construction
of the natural numbers. However, the bijection N → 2N, n "→ 2n, which suggests
that there are exactly as many even numbers as natural numbers, encourages
caution in dealing with infinity. How can there be room for the odd numbers
1, 3, 5, . . . in N? In this section we consider the concept of infinity again, and, in
particular, we show that there is more than one kind of infinity.
A set X is called finite, if X is empty or if there are n ∈ N× and a bijection
from {1, . . . , n} to X. If a set is not finite, it is called infinite.
(b) It is not difficult to see that any infinite system as in Remark 5.2(a) is an
infinite set (see Exercise 2). !
The above discussion suggests that the ‘size’ of a finite set X can be deter-
mined by counting, that is, with a bijection from {1, . . . , n} to X. For infinite sets,
of course, this idea will not work. Nonetheless it is very useful to define Num(X)
for both infinite and finite sets by
0,
X=∅,
Num(X) := n, n ∈ N× and a bijection from {1, . . . , n} to X exists ,
∞, X is infinite .1
Permutations
6.3 Proposition If X is an n element set, then Num(SX ) = n! . That is, there are
n! permutations of an n element set.
Proof We consider first the case when X = ∅. Then there is a unique function
∅ : ∅ → ∅. This is function is bijective2 so the claim is true this case.
We prove the case n ∈ N× by induction. Since SX = {idX } for any one ele-
ment set X, we can start the induction with n0 = 1. The induction hypothesis is
that for each n element set X, we have Num(SX ) = n! .
Now let Y = {a1 , . . . , an+1 } be an (n + 1) element set. In view of the in-
duction hypothesis, there are, for each j ∈ {1, . . . , n + 1}, exactly n! permutations
of Y which send aj to a1 . So in total (see Exercise 5) there are (n + 1)n! = (n + 1)!
permutations of Y . !
Equinumerous Sets
6.4 Remark If X ∼ N then it follows from Example 6.1(a) that X is not finite.
Thus a set cannot be both finite and countably infinite. !
The real intention here is not to make n = 0 a special case, thus avoiding cumbersome case
distinctions in upcoming proofs.
48 I Foundations
Countable Sets
We now return to countable sets and prove some seemingly obvious propositions:
Proof (a) Let X be a countable set and A ⊆ X. We are done if A is finite (see
Exercise 9), so we can assume that A is infinite, in which case X must be countably
infinite. That is, there are a bijection ϕ from X to N and a bijection ψ := ϕ |A
from A to ϕ(A). Therefore we can assume, without loss of generality, that X = N
and A is an infinite subset of N.
(b) We define recursively a function α : N → A by
% &
α(0) := min(A) , α(n + 1) := min m ∈ A ; m > α(n) .
(c) We have α(n + k) > α(n) for n ∈ N and k ∈ N× . This follows easily from
the first inequality of (6.1) by induction on k. In particular, α is injective.
(d) We verify the surjectivity of α. First we prove by induction that
For m = 0, this is certainly true. The induction step m → m + 1 follows from the
second inequality of (6.1) and the induction hypothesis,
α(m + 1) ≥ α(m) + 1 ≥ m + 1 .
I.6 Countability 49
and hence n0 = α(0). So we can suppose that n0 > min(A) and so m0 ∈ N× . But
then α(m0 − 1) < n0 ≤ α(m0 ) and, by the definition of α, we have α(m0 ) = n0 . !
Infinite Products
'
ϕ : A → α∈A Xα such that ϕ(α) ∈ Xα for each α ∈ A. In place of ϕ one often
writes { xα ; α ∈ A }, where, of course, xα := ϕ(α).
× (
In the special case that
(n A = {1, . . . , n} for some n ∈ N , α∈A Xα is clearly
identical to the product k=1 Xk which ( was introduced in Section 2. If Xα = X
for each α ∈ A, then we write X A := α∈A Xα .
(
6.10 Remark It is clear that α∈A Xα = ∅ if one (or more) of the Xα is empty. ( On the
other hand, even if Xα #= ∅ for each α ∈ A, it is not possible to prove that α∈A Xα is
nonempty using the axioms of'set theory we have seen so far. To do that one needs to
know that a function ϕ : A → α∈A Xα exists such that ϕ(α) ∈ Xα for each α ∈ A, that
is, a rule which chooses a single element from each set Xα . To ensure that such a function
exists one needs the axiom of choice, which we formulate as follows: For any family of
sets { Xα ; α ∈ A }, +
Xα #= ∅ ⇐⇒ (Xα #= ∅ ∀ α ∈ A) .
α∈A
In the following we will use this naturally appearing axiom without comment. Readers
who are interested in the foundations of mathematics are directed to the literature, for
example, [Ebb77] and [FP85]. !
Proof Let A ∈ P(N). Then the characteristic function χA is an element of {0, 1}N .
It is clear that the function
is injective. For ϕ ∈ {0, 1}N , let A(ϕ) := ϕ−1 (1) ∈ P(N). Then χA(ϕ) = ϕ. This
shows that the function (6.4) is surjective. (See also Exercise 3.6.) Thus {0, 1}N
and P(N) are equinumerous and the claim follows from Corollary 6.6. !
6.12 Corollary The sets {0, 1}N and P(N) are equinumerous.
Exercises
1 Let n ∈ N× . Prove that any injective function from {1, . . . , n} to itself is bijective.
(Hint: Use induction on n. Let f : {1, . . . , n + 1} → {1, . . . , n + 1} be an injective function
and k := f (n + 1). Consider the functions
n+1 , j=k ,
g(j) := k, j =n+1 ,
j otherwise ,
m
,
Num(X) ≤ Num(Xj ) .
j=0
7 Show that a nonempty set X is countable if and only if there is a surjection from N
to X.
8 Let X be a countable set. Show that the set of all finite subsets of X is countable.
(Hint: Consider the functions X n → En (X), (x1 , . . . , xn ) ,→ {x1 , . . . , xn } where En (X)
is the set of all subsets with at most n elements.)
9 Show that any subset of a finite set is finite.