[summary: The real numbers can be defined using [dedekind_cut Dedekind cuts], which are [set_partition partitions] of the rational numbers into two sets where every element in one set is less than every element in the other set. Each real number is uniquely defined by a one-sided Dedekind cut.]
%%comment: Mnemonics for defined macros: \Ql = Q left, \Qr = Q right, \Qls = Q left strict, \Qrs = Q right strict.%%
The rational numbers have a problem that makes them unsuitable for use in calculus — they have "gaps" in them. This may not be obvious or even make sense at first, because between any two rational numbers you can always find infinitely many other rational numbers. How could there be gaps in a set like that?
But using the construction of [dedekind_cut Dedekind cuts], we can suss out these gaps into plain view. A Dedekind cut of a Totally ordered set is a pair of sets such that:
- Every element of is in exactly one of or . (That is, is a [set_partition partition] of .)
- Every element of is less than every element of .
- Neither nor is empty. (We'll see why this restriction matters in a moment.)
One example of such a cut might be the set where is the negative rational numbers and is the nonnegative rational numbers (positive or zero). We see that it satisfies the three properties of a Dedekind cut:
- Every rational number is either negative or nonnegative, but not both.
- Every rational number which is negative is less than a rational number that is nonnegative.
- There exists at least one negative rational number (e.g. ) and one nonnegative rational number (e.g. ).
In fact, Dedekind cuts are intended to represent sets of rational numbers that are less than or greater than a specific real number (once we've defined them). To represent this, let's call them and .
Knowing this, why does it matter that neither set in a Dedekind cut is empty?
%%hidden(Show solution): If were empty, then we'd have a real number less than all the rational numbers, which is , which we don't want to define as a real number. Similarly, if were empty, then we'd get . %%
Completion of a space
If a space is [ complete] (doesn't have any gaps in it), then in any Dedekind cut , either will have a greatest element or will have a least element. (We can't have both at the same time — why?)
%%hidden(Show solution): Suppose had a greatest element and had a least element . We can't have , because the same number would be in both sets. So then because the rational numbers are a dense space, there must exist a rational number so that . Then is not in either or , contradicting property 1 of a Dedekind cut. %%
But in the rational numbers, we can find a Dedekind cut where neither nor have a greatest or least element respectively.
Consider the pair of sets where and .
- Every rational number has a cube either greater than 2 or less than 2,
- Because is a [ monotonically increasing] function, we have that , which means that every element in is less than every element in .
So is a Dedekind cut. However, there is no rational number whose cube is equal to , so has no greatest element and has no least element.
This represents a gap in the numbers, because we can invent a new number to place in that gap (in this case ), which is "between" any two numbers in and .
Definition of real numbers
Before we move on, we will define one more structure that makes the construction more elegant. Define a one-sided Dedekind cut as any Dedekind cut with the additional property that the set has no greatest element (in which case we now call it ). The case where has a greatest element can be trivially transformed into the equivalent case on the other side by moving to where it is automatically the least element due to being less than any other element in .
Then we define the real numbers as the set of one-sided Dedekind cuts of the rational numbers.
- A rational number is mapped to itself by the Dedekind cut where itself is the least element of . (If the cuts weren't one-sided, would also be mapped to the set where was the greatest element of , which would make the mapping non-unique.)
- An irrational number is newly defined by the Dedekind cut where all the elements of are less than and all the elements of are (strictly) greater than .
Now we can define the total order for two real numbers and as follows: when .
Using this, we can show that unlike in the Cauchy sequence definition, we don't need to define any equivalence classes — every real number is uniquely defined by a one-sided Dedekind cut.
%%hidden(Proof): If , then and . By the definition of the order, we have that and , which means that , which means that the Dedekind cuts corresponding to and are also equal. %%
[todo: Proof of the field structure of Dedekind cuts.]
Comments
Kevin Clancy
I think that every metric space is dense in itself. If X is a metric space, then a set E is dense in X whenever every element of X is either a limit point of E or an element of E (or both).