- A set containing three elements
$S = {1, 2, 3}$ has$8 = 2^3$ subsets:${}, {1}, {2}, {3}, {1, 2}, {1, 3}, {2, 3}, {1, 2, 3}$ .
Observe that adjoining one element
Therefore, in general, a set of
Note that the empty set has only one subset, itself (
A set is called denumerable or denumerably infinite if it can be put into a 1-1 correspondence with the set of positive integers, or the set of natural numbers (which are the same thing because they can be put into a 1-1 correspondence with one another).
A 1-1 correspondance between a set A and the set of positive integers is called an enumeration of A.
Cantor's question was whether every infinite set is also denumerable, or if there are different sizes of infinite sets.
(N.B. There is a sense in which the set of natural numbers is greater than the set of positive integers, and that is because the positive integers form a proper subset of the natural numbers, but numerically, they are the same size).
(p. 19)
-
You can alternate between guessing positive and negative numbers (
$1, -1, 2, -2,..., n, -n$ ). -
You should guess 1, 1, then 2, 1, then 1, 2, then 2, 2, then 3, 1; 1, 3; 3, 2; 2, 3; 3, 3.
So for a number n you can guess all of the possible pairs of elements of the set
- Similar to above, a fraction can be considered an ordered pair.
So for any positive integer
- We have seen that any finite set of
$n$ integers has a finite number,$2^n$ , of subsets (problem 1).
So we simply go through the positive integers and list all subsets whose highest number is 1, then 2, etc.
The above solution shows that the set of all finite sets of integers is denumerable.
But what about the set of all sets of integers, finite or infinite?
Imagine a book with denumerably many pages, each of which contains a description of a set of natural numbers.
(p. 21)
- A number
$n$ is extraordinary if the set described on page$n$ contains$n$ .
It is ordinary if the set described on page
Can the set of all ordinary numbers be described in the book? Of extraordinary numbers?
Let us assume that page
Because this is the set of ordinary numbers,
But if
But in order for
This contradiction shows that it is not possible for the set of all ordinary numbers to be described in the book.
Therefore there is at least one set that cannot be placed into a 1-1 correspondence with the natural numbers, so the set of all sets of integers is not denumerable.
For any set
- Why is it true that
$\mathbb{N}$ can be put into a 1-1 correspondence with$\mathcal{P}(\mathbb{N})$ ?
We have already shown that set
For any set
- Prove Cantor's Theorem:
In plain English, replace the notion of pages with a generalized mapping from some member of
Call element
Let us consider the set
If
But then
Therefore, there is at least one set,
In mathematical terms, assume every member of
We call this mapping
Cantor's theorem holds that the function
Surjective means that, given a mapping from
Symbolically, if
In order for
Let
Let us define
This can be read as, "For all
This is a formal definition of our set of "ordinary" elements above;
Therefore,
More specifically, consider any
$x \in A$ , then either$x \in f(x)$ or$x \notin f(x)$ . In the former case,$f(x)$ cannot equal$B$ because$x \in f(x)$ by assumption, and$x \notin B$ by the construction of$B$ . In the latter case,$f(x)$ cannot equal$B$ because$x \notin f(x)$ by assumption, and$x \in B$ by the construction of$B$ ....More formally, we just proved that the existence of
$\xi \in A$ such that$f(\xi) = B$ implies the following contradiction: $$ \begin{align*} \xi \in f(\xi) \iff \xi \in B \quad\quad& \text{(by assumption that } f(\xi) = B \text{);}\ \xi \in B \iff \xi \notin f(\xi) \quad\quad& \text{(by definition of } B \text{).} \end{align*} $$Therefore, by reductio ad absurdum, the assumption must be false
Note: the above represents the bulk of the proof, but omits the definition of cardinality:
"By definition of cardinality, we have card(X) < card(Y) for any two sets X and Y if and only if there is an injective function but no bijective function from X to Y. It suffices to show that there is no surjection from X to Y." (idem)
Smullyan does not cover this aspect of the proof in detail.
-
The union of two denumerable sets is necessarily denumerable, because we could simply alternate between the enumerations of each set in order to put the union into a 1-1 correspondence with the positive integers.
-
The set of all infinite sets of natural numbers cannot be denumerable.
We know from problem 5 that the set of all finite sets of natural numbers is denumerable, and from problem 9 that the union of two denumerable sets is also denumerable.
Now, in problem 6 we showed that the set of all finite and infinite sets of natural numbers is not denumerable.
But if the set of all infinite sets of natural numbers were denumerable, the union of it and the set of all finite sets of natural numbers (the power set) would have to also be denumerable, which has been shown not to be the case.
Therefore, the set of all infinite sets of natural numbers is not denumerable.
- Q: Consider a denumerable sequence
$D_1,D_2,..,D_n$ , of denumerable sets and let$S$ be their union; that is the set of all elements$x$ which belong to at least one of$D_1,D_2,..,D_n$ . Is$S$ denumerable?
A: Yes, because the union of any two denumerable sets is denumerable.
- Q: Given a denumerable set
$D$ , is the set of all finite sequences of elements of$D$ a denumerable set?
A: How could we put all finite sequences of elements of
Conversely, how could we enumerate the set of all finite sequences of elements of
Given a finite subset
On the other hand, it seems impossible to create a unique, finite sequence of elements of
From Smullyan: Let
Let
Let
Now,
We have now shown that we can enumerate
Since each of the sets
- Q: Consider the set of all infinite sequences of 1's and 0's. Prove that it is the same size as
$\mathcal{P}(\mathbb{N})$ .
A: It has already been shown that the set of all infinite sets of
Take any infinite subset of
Edit: Obviously, there is a problem with this method of deriving unique sequences from sets, since
So the subsets of
Therefore, the set of all infinite sequences of 1's and 0's is the same size as the set of all subsets of
-
Q: Prove that every infinite set must have a denumerable subset.
A: We can remove an element
$x$ from an infinite set$S$ , and$S - {x}$ will obviously still be infinite.So if we remove
$x_1$ from$S$ , we can then remove$x_2$ , and so forth, generating a denumerable sequence$x_1,...,x_n$ of elements of$S$ . -
Q: Prove that every infinite set, even a non-denumerable one, can be put into a 1-1 correspondence with a proper subset of itself.
A: We can put
$S$ into a 1-1 correspondence with its infinite (problem 15) subset$S - {x}$ by pairing$x_1$ with$x_2$ ,$x_2$ with$x_3$ , and so forth.[This needs further elaboration]
-
We can marry every unloved man to his lover, and every unloved woman to her lover.
Therefore every unloved man and every unloved woman is now married.
All other members are therefore loved, so we can simply marry them to their lovers.
[Why is this insufficient?]
###Bernstein-Schroeder Theorem
For any pair of infinite sets
$A$ and$B$ , if$A$ can be put into a 1-1 correspondence with a subset of$B$ , and$B$ can be put into a 1-1 correspondence with a subset of$A$ , then the whole of$A$ can be put into a 1-1 correspondence with the whole of$B$ (p. 24). -
Q: Suppose
$A$ is an infinite set of the same size as a subset of$B$ , where$B$ is a subset of$A$ . Are$A$ and$B$ necessarily of the same size?A: We are given that
$C \subseteq B \subseteq A$ and$card(A) = card(C)$ .Thus,
$A$ can be put into a 1-1 correspondence with a subset of$B$ (namely$C$ )Also, we know that
$B$ can be put into a 1-1 correspondence with a subset of$A$ (problem 15).Therefore, by the Bernstein-Schroeder Theorem,
$card(A) = card(B)$ .
##Exercises
-
Prove that if
$D$ is a denumerable set, then any infinite subset of$D$ must also be a denumerable set.By problem 15, we know that any infinite set can be put into a 1-1 correspondence with a proper subset of itself.
We are given that
$D$ is denumerable, and therefore any set with which it can be put into a 1-1 correspondence is also denumerable.