The Cardinality of the Real Numbers
1. Introduction
, The natural numbers are perhaps the most fundamental and intuitive set in mathematics. But they have a strange property: they never end (as some of you may have found out by attempting a “name the biggest number” game in childhood). Of course, these numbers may be extended by various logical arguments: what happens if we subtract a larger number from a smaller one, or divide a number into another number that is not its multiple, or take the square root of a non-perfect square (or even a negative number)? Clearly, all these sets are infinite in size as well. But can we still say that one of these sets is “greater” than another, or that they are the same in size? As some of you are aware, this is indeed possible: if we can establish a 1-1 correspondence from the elements of the set (that is, pair them up in groups of 2 so that no element is repeated), then we can say that the sets have the same size, regardless of how large each set is. A function that takes in any element in the first set and outputs its corresponding pair in the second set is called a .
For example, suppose we define a function from to as follows: if is even, it maps to , and if is odd, it maps to . Clearly, every integer is achieved by this mapping exactly once, so we conclude that has the same size as (if you are new to this notion, take some time digesting it: it is quite counterintuitive that a and have the same size despite the fact that is contained inside )! Similarly, it is known that has the same size as these two sets (by a clever zigzagging bijection on a -D array). After these two surprising results, it may come as an even more surprising fact that the set of real numbers , has been shown to be than , and . The most famous proof of this fact is via Cantor’s diagonalization argument, which I encourage you to look up if you haven’t already. In this post, I will present another proof that I thought of regarding this interesting fact.
Note: The following proof was inspired by Problem 4.47 in the book Art of Problem Solving: Intermediate Counting & Probability by David Patrick (disclaimer: I have not read the book’s solution, so the following solution was obtained independently by me). The statement of the problem allows the usage of the following fact: if is any set, define (called the power set of ) as the set containing all subsets of . For example, if . Then, cannot be put into a correspondence with . Clearly , so this fact implies that . This statement is very obvious for finite sets such as the previous example, but is not nearly so for infinite sets.
2. The Proof
We will prove that the set of real numbers has the same size as the power set of the positive integers, and then use the previous fact to conclude that it must be strictly larger in size than . To do this, we will establish the following one-to-one correspondence between the two sets. Suppose we are given an element of the power set of , a subset of . We start with a decimal point, and then count a string of digits after that point in the following manner. For each positive integer , we write as the -th digit after the decimal point, and we write for any digit whose position does not correspond to any element of . We will now interpret this decimal expansion as the binary expansion of a particular real number. Denote this number as . Here are a few examples of our process:
Similarly, any real number in has a corresponding subset of . For example, is in binary, meaning it corresponds to the subset It may appear that we are finished after establishing this correspondence, but there is a small caveat. Notice that the real number 1/2 can be written as in binary, corresponding to . However, it may also be written as , which corresponds to ! It turns out that not all real numbers have a unique binary expansion: specifically, if is a number whose expansion terminates, it can alternatively be written with an infinite string of s at the end. We fix this problem by altering our function in the following way: if a particular subset corresponds to a number via the finite expansion, as usual. However, if corresponds to via the infinite expansion, we define (we allow the exception of and because they only have one possible representation through our construction, and respectively). For example:
Observe that this new definition of ensures a precise bijection, but at the cost of altering the range of : what was once the interval now becomes the union of with a select few values in the interval corresponding to the instances where we added to the value of . Denote the entire range of as . We have proven that , but what can we say about ? Observe that clearly contains the interval , and moreover is clearly contained within a larger interval, such as . Thus, we can say . Here is the final step: observe that . This can be done by explicitly defining a bijection from to as and another bijection from to as . Finally, we may conclude that , and given that no set can be the same size as its power set, we finally conclude that .
One thought on “The Cardinality of the Real Numbers”
Thanks for the interesting article.