In typical real analysis classes, the presentation of real numbers that is generally given in schools (starting from rationals) is considered insufficiently rigorous, and replaced by a construction involving Dedekind cuts. However, in this post, we investigate a formalization that derives directly from the presentation given in schools — specifically, using decimals — and study its equivalence to the Dedekind cut formulation.
For my learning, I start from as fundamental a place as possible and build up from there.
Decimal Representations of Rationals
We start with some properties of decimal representations for integers, which are building blocks for the decimals of rationals and reals. We then use this to motivate decimal representations for rationals. This will be a steppingstone to the construction of the reals.
Actually, we work with positive and nonnegative integers and construct the nonnegative reals; the full real line follows afterward from constructing additive inverses.
Properties of Decimal Representations of Integers. We associate to each its decimal representation (decimal for short)
, where
,
, and
. Such a representation always exists and is unique. Furthermore, if
, we have the following results:
1. Addition of decimals: The decimal of is given by the additive carry-over procedure, which is taught in school.
2. Multiplication of decimals: The decimal of is given by the multiplicative carry-over procedure, which is taught in school.
These properties follow from distributivity of multiplication over addition.
Now, rationals are equivalence classes of ; for
we denote its equivalence class by
.
In analogy with adding more zeros at the end and “sliding the decimal point to the right” when multiplying by 10, when dividing by 10 we “slide the decimal point to the left.” This leads to our first attempt at a definition:
Provisional Definition (Decimal Representation, Rational). A decimal is a representation of a number consisting of a sequence
with
for
. We denote this as
; the dot in between is called a decimal point.
It turns out we can’t always do this for every rational; indeed, relatively “few” rationals admit such decimals. However, when it can be done, the decimal is unique.
The decimal representations for integers are clearly contained within this definition by letting the sequence after the decimal point be empty.
When the decimal exists, there is an algorithm to find the decimal, mirroring repeated Euclidean division to get the decimal representation of an integer. Under the provisional definition, a decimal exists if and only if the algorithm terminates.
For some numbers, for example , the algorithm doesn’t terminate. In that case, we simply define the decimal to be the (possibly infinite) sequence of numbers produced by the algorithm.
From this definition, every rational number has a unique decimal, and we can prove that the decimal always repeats with a sequence other than 9. Furthermore, every decimal that is finite or repeats infinitely corresponds to a unique rational number.
We have operations on addition and multiplication for rational numbers (as equivalence classes.) When decimals are finite, the properties of decimals for integers above (carry-over procedures) generalize to rationals, using the “standard” known school procedure of aligning with the decimal points.
Construction of Reals
The definition above can be used to construct a mapping from rationals to their decimals. This function is not surjective; only certain decimals map to rational numbers.
We naturally define an order on the decimals based on the order of the digits and lexicographic order, and we can prove that the order on rationals corresponds to the order on their decimals.
We can imagine “listing out” these rationals on a “number line” where larger numbers are to the right of smaller ones. There are lots of “holes” in this line, and we can imagine decimals in between whose ordering is well-defined under the order.
We define all these decimals to be real numbers:
Definition (Real Number). A real number is a sequence with
and
, such that there does not exist
where
for
. We say it terminates if there exists
such that
for
; otherwise, we say that it has an infinite decimal.
This “completes” the number line and produces what is called the “real number line”, where we define a total order on all real numbers (based on order of digits and lexicographic order.) Some real numbers correspond to rationals. Others don’t, and we call these irrational.
As a consequence, all irrational numbers must have infinite decimals.
Equivalence to Dedekind Cuts
We now show that real numbers as defined above are equivalent to Dedekind cuts: there is a bijection between the two sets, which we take to be canonical.
Let , with
. The motivation is to bound
above and below using the decimal; for example, if
, then
. This will help us produce our Dedekind cut. We associate to
the Dedekind cut
Or, with the standard order (already defined), this is equivalent to
This cut is in fact a partition and is uniquely associated to .
Field Structure
Using the Dedekind cut formulation, we can extend the definitions of addition and multiplication to all real numbers. Then, we can show that is a field. We can now show that
has a real solution
corresponding to the (positive) square root of 2, and in a similar way we can define all square roots, cube roots, etc.
Supremum and Infimum
We prove the supremum and infimum properties for real numbers (which we can see as not being true for rational numbers by taking the Dedekind cut of an irrational number); this is traditionally done using Dedekind cuts. Something like real analysis – Proof of least upper bound property of by Dedekind cut. – Mathematics Stack Exchange is sufficient.
Calculus Ability
Is there a precise sense in which we can say calculus can only be done on and not say
? Can we say that the delta-epsilon definition of limit is not well-defined on
but well-defined on
?
This is a separate question from the construction above, but it can serve as motivation for understanding the importance of in future subjects.
Basically, for the limit of a function to be defined
,
must be defined on an open ball around
(but possibly excluding
.) It is clear that
is a metric space, and so limits can be defined on
in a similar way. Thus, limits are well-defined on
. However, we won’t get certain “nice” properties that are fundamental to calculus, related to completeness. Nevertheless, we may still use calculus notions on
, using the standard metric; it doesn’t look like those completeness properties immediately imply inability to do calculus. Thus, to my current knowledge, it is only in an informal sense that calculus is “better” on
.
Let us ask a precise question, and let’s make it general. If a metric space is not complete, can we show that the limit definition won’t always be unambiguous? More precisely, if
is not complete, then does there exist
and
such that
, both satisfy the
–
definition?
Well, if is not complete, then there exists
that is Cauchy but doesn’t converge in
; in other words, there doesn’t exist
such that, for any
, there exists
with
We recall the general proof of unambiguity of limit. Assume for any we had
We use the triangle inequality (valid for any metric space) to get
Since is arbitrary,
. So this proof works in any metric space regardless of completeness, resolving our question negatively. It really looks like calculus isn’t less doable on
than on
. (EDIT, 02/18/2023: I now know that completeness is not what guarantees uniqueness of limits, but rather that the point is a limit point. It is true that every point in
is a limit point, guaranteeing uniqueness of limits on
. There are other desirable properties that completeness leads to and is necessary for, but not uniqueness of limits.)
Limits for Decimals
For general rational decimals, we can still define addition and multiplication such that the correspondence to rational numbers is maintained (the number for the sum of two decimals is the sum of the numbers of both, etc.) This is motivated by saying that we can “approximate” the resultant decimal to arbitrary degree with taking finite “truncations” of the operands, and that the “limit” of this procedure is the resultant decimal. We don’t really have a notion of limit yet, but we can define one for this situation. (In fact, this definition is equivalent to the “–
” definition of limit of a sequence.) We do so as follows: if we have a sequence of decimals where each digit is “fixed” after a point, then we say that the sequence has a limit, which is the decimal consisting of those “eventually fixed” digits:
Definition (Limit of Decimal Sequence). Let be an infinite sequence of decimals. If for any
, the
th digits of the
stabilize at a digit
— meaning that there exists
such that for all
the
th digit of
is
— then we say that the decimal
is the limit of the
.
We see that this definition is equivalent to the “–
” definition for the corresponding rational numbers.
Definition (Truncation of Rational Decimals). Let . The
-th order truncation of
is the finite decimal resulting from taking only
sequence elements after the decimal point (along with of course the part of the sequence before the decimal point.)
Definition (Addition and Multiplication of Rational Decimals). Let be rational decimals. The sum
is the limit of the sums of the
-th order truncations of
and
, and similarly the product
is the limit of the products of the
-th order truncations of
and
.
As mentioned, we see that with this definition, the correspondence between rational decimals and numbers is maintained with respect to addition and multiplication (they are field-isomorphic.)
Now, we can generalize each of these definitions without modification to real numbers, and we can then show that real decimals with these addition and multiplication operations are field-isomorphic to real numbers. Thus, this gives an alternate way of defining addition and multiplication for real numbers, directly for their decimals without immediately having to define Dedekind cuts or show another construction.
(At some point, I might come back to this and write out some of the painstaking details for my own learning.)
Teaching
This is how I would teach this material, assuming no background knowledge. (As I mentioned in another post, I think it’s possible to provide rigorous presentations to students while also giving enough clarity that it won’t be too overwhelming or seem pedantic.)
- Start with counting numbers, and assume their basic properties and operations.
- Define integers.
- Define rational numbers with physical meaning and study their properties, operations, and decimals.
- Define real numbers with decimals to “fill the holes in the line.” Study the real number line. Prove completeness (supremum and infimum properties.)
- Define operations on real numbers (addition, etc.) both with limits as above and with Dedekind cuts. Show the equivalence of the approaches, and prove the standard field properties (without yet mentioning the word “field.”)
—
First written September 26, 2020, then modified in April 2021. Clarified the “Limits for Decimals” section and modified the “Teaching” section on February 18, 2023.
