Section 13.1 Basics and examples
If is a set that has the same size as then we can think of a bijection as โcountingโ the elements of (even though there are an infinite number of elements to count), in exactly the same way that we use our counting sets to count finite sets.
- countable
- a set that is finite or has the same size as
- countably infinite
- a countable set which has the same size as
- uncountable
- a set that is not countable
Fact 13.1.2. Characterization of countable sets using sequences.
A nonempty set is countable if and only if there exists a sequence of elements from in which each element of appears exactly once.
Proof idea.
In case is finite, the statement is precisely that of Fact 12.2.1. So assume is infinite, in which case a sequence of the type described in the statement must also be infinite. Technically, an infinite sequence from is a function The โeach element of โ property is the same as saying the function is surjective, and the โexactly onceโ property is the same as saying the function is injective. So a sequence of the described kind is exactly the same as bijection which is what is required for to be the same size as (i.e. countably infinite).
Remark 13.1.3.
Compare this fact with Fact 12.2.1.
Theorem 13.1.4. Countability of integers and rationals.
Proof idea.
To show that is countable, we will use Fact 13.1.2 and construct an infinite sequence which contains each element of exactly once. First, construct an infinite grid which contains all positive rational numbers. By zig-zagging through the grid, we obtain an infinite sequence which contains each positive element of at least once, though there are duplicates because an element of can have many different representations as a fraction.
The path through the grid creates the following sequence of positive rational numbers. By crossing out duplicates, we obtain an infinite sequence which contains each positive rational number exactly once.
Finally, interleave the negative rational numbers into the above sequence, and insert at the beginning.
Here is an example of an uncountable set. The argument to prove the set is uncountable is a famous one, so we encapsulate it as the proof of a Lemma, rather than just a plain Example.
Lemma 13.1.7. An uncountable set of real numbers.
Let represent the set of all real numbers between and (including ) whose decimal expansions involve only the digits and
Set is uncountable.
Proof.
We will show that no sequence of numbers from can contain every element of
Suppose is an infinite sequence of elements of We can create an element which is not in the sequence as follows. Set
where is the digit in the decimal place of according to the following rules.
- If the
decimal place of is set - If the
decimal place of is set
Clearly every digit of will be either a or and so (The reason we use instead of in the rules to create is to make sure we consider sequence element somewhere in there.)
Now we have for every since and differ in the decimal place. Furthermore, because it is between and and its decimal expansion involves only digits and Therefore, sequence does not contain every element of because it does not contain
Remark 13.1.8.
- The โdiagonalโ part of the name Cantorโs diagonal argument refers to the following. If the decimal expansions of the real numbers in the sequence
are written out in a grid so that each row is one of the numbers and each column represents a specific decimal place in the sequence numbers, then the rules to create can be thought of as โflippingโ the digits that occur in the diagonal positions of this grid. (Draw the grid for yourself to see the pattern!) - Later in this chapter we will use Lemma 13.1.7 to prove that
itself is uncountable. (See Theorem 13.2.5.)