Definitions
Nearby Words

# Construction of the real numbers

In mathematics, there are several ways of defining the real number system as an ordered field. The synthetic approach gives a list of axioms for the real numbers as a complete ordered field. Under the usual axioms of set theory, one can show that these axioms are categorical, in the sense that there is a model for the axioms, and any two such models are isomorphic. Any one of these models must be explicitly constructed, and most of these models are built using the basic properties of the rational number system as an ordered field.

## Synthetic approach

The synthetic approach axiomatically defines the real number system as a complete ordered field. Precisely, this means the following. A model for the real number system consists of a set R, two distinct elements 0 and 1 of R, two binary operations + and * on R (called addition and multiplication, resp.), a binary relation ≤ on R, satisfying the following properties.

1. (R, +, *) forms a field. In other words,

*For all x, y, and z in R, x + (y + z) = (x + y) + z and x * (y * z) = (x * y) * z. (associativity of addition and multiplication)
*For all x and y in R, x + y = y + x and x * y = y * x. (commutativity of addition and multiplication)
*For all x, y, and z in R, x * (y + z) = (x * y) + (x * z). (distributivity of multiplication over addition)
*For all x in R, x + 0 = x. (existence of additive identity)
*0 is not equal to 1, and for all x in R, x * 1 = x. (existence of multiplicative identity)
*For every x in R, there exists an element −x in R, such that x + (−x) = 0. (existence of additive inverses)
*For every x ≠ 0 in R, there exists an element x−1 in R, such that x * x−1 = 1. (existence of multiplicative inverses)
2. (R, ≤) forms a totally ordered set. In other words,
*For all x in R, xx. (reflexivity)
*For all x and y in R, if xy and yx, then x = y. (antisymmetry)
*For all x, y, and z in R, if xy and yz, then xz. (transitivity)
*For all x and y in R, xy or yx. (totalness)
3. The field operations + and * on R are compatible with the order ≤. In other words,
*For all x, y and z in R, if xy, then x + zy + z. (preservation of order under addition)
*For all x and y in R, if 0 ≤ x and 0 ≤ y, then 0 ≤ x * y (preservation of order under multiplication)
4. The order ≤ is complete in the following sense: every non-empty subset of R bounded above has a least upper bound. In other words,
*If A is a non-empty subset of R, and if A has an upper bound, then A has a least upper bound u, such that for every upper bound v of A, uv.

The final axiom, defining the order as Dedekind-complete, is most crucial. Without this axiom, we simply have the axioms which define a totally ordered field, and there are many non-isomorphic models which satisfy these axioms. This axiom implies that the Archimedean property applies for this field. Therefore, when the completeness axiom is added, it can be proved that any two models must be isomorphic, and so in this sense, there is only one complete ordered Archimedean field.

When we say that any two models of the above axioms are isomorphic, we mean that for any two models (R, 0R, 1R, +R, *R, ≤R) and (S, 0S, 1S, +S, *S, ≤S), there is a bijection f : RS preserving both the field operations and the order. Explicitly,

• f is both 1-1 and onto.
• f(0R) = 0S and f(1R) = 1S.
• For all x and y in R, f(x +R y) = f(x) +S f(y) and f(x *R y) = f(x) *S f(y).
• For all x and y in R, xR y if and only if f(x) ≤S f(y).

## Explicit constructions of models

We shall not prove that any models of the axioms are isomorphic. Such a proof can be found in any number of modern analysis or set theory textbooks. We will sketch the basic definitions and properties of a number of constructions, however, because each of these is important for both mathematical and historical reasons.

### Construction from Cauchy sequences

If we have a space where Cauchy sequences are meaningful (such as a metric space, i.e., a space where distance is defined, or more generally a uniform space), a standard procedure to force all Cauchy sequences to converge is adding new points to the space (a process called completion). By starting with rational numbers and the metric d(x,y) = |xy|, we can construct the real numbers, as will be detailed below. (A different metric on the rationals could result in the p-adic numbers instead.)

Let R be the set of Cauchy sequences of rational numbers. Cauchy sequences (x) and (y) can be added, multiplied and compared as follows:

(xn) + (yn) = (xn + yn)
(xn) × (yn) = (xn × yn)
(xn) ≥ (yn) if and only if for every rational ε > 0, there exists an integer N such that xnyn − ε for all n > N.

Two Cauchy sequences are called equivalent if the sequence (xn - yn) has limit 0. This does indeed define an equivalence relation, it is compatible with the operations defined above, and the set R of all equivalence classes can be shown to satisfy all the usual axioms of the real numbers. We can embed the rational numbers into the reals by identifying the rational number r with the equivalence class of the sequence (r,r,r, …).

The only real number axiom that does not follow easily from the definitions is the completeness of ≤. It can be proved as follows: Let S be a non-empty subset of R and U be an upper bound for S. Substituting a larger value if necessary, we may assume U is rational. Since S is non-empty, there is a rational number L such that L < s for some s in S. Now define sequences of rationals (un) and (ln) as follows:

Set u0 = U and l0 = L.

For each n consider the number:

mn = (un + ln)/2

If mn is an upper bound for S set:

un+1 = mn and ln+1 = ln

Otherwise set:

ln+1 = mn and un+1 = un

This obviously defines two Cauchy sequences of rationals, and so we have real numbers l = (ln) and u = (un). It is easy to prove, by induction on n that:

un is an upper bound for S for all n

and:

ln is never an upper bound for S for any n

Thus u is an upper bound for S. To see that it is a least upper bound, notice that the limit of (un − ln) is 0, and so l = u. Now suppose b < u = l. Since (ln) is monotonic increasing it is easy to see that b < ln for some n. But ln is not an upper bound for S and so neither is b. Hence u is a least upper bound for S and ≤ is complete.

A practical and concrete representative for an equivalence class representing a real number is provided by the representation to base b -- in practice, b is usually 2 (binary), 8 (octal), 10 (decimal) or 16 (hexadecimal). For example, the number π = 3.14159... corresponds to the Cauchy sequence (3,3.1,3.14,3.141,3.1415,...). Notice that the sequence (0,0.9,0.99,0.999,0.9999,...) is equivalent to the sequence (1,1.0,1.00,1.000,1.0000,...); this shows that 0.999... = 1.

### Construction by Dedekind cuts

A Dedekind cut in an ordered field is a partition of it, (A, B), such that A is nonempty and closed downwards, B is nonempty and closed upwards, and A contains no greatest element. Real numbers can be constructed as Dedekind cuts of rational numbers.

For convenience we may take the lower set $A$ as the representative of any given Dedekind cut $\left(A, B\right)$, since $A$ completely determines $B$. By doing this we may think intuitively of a real number as being represented by the set of all smaller rational numbers. In more detail, a real number $r$ is any subset of the set $textbf\left\{Q\right\}$ of rational numbers that fulfils the following conditions:

1. $r$ is not empty
2. $r neq textbf\left\{Q\right\}$
3. r is closed downwards. In other words, for all $x, y in textbf\left\{Q\right\}$ such that $x < y$, if $y in r$ then $x in r$
4. r contains no greatest element. In other words, there is no $x in r$ such that for all $y in r$, $y leq x$
5. We define a total ordering on the set $textbf\left\{R\right\}$ of real numbers as follows: $x < y$

Leftrightarrow x subset y

• We embed the rational numbers into the reals by identifying the rational number $q$ with the set of all smaller rational numbers $\left\{ x in textbf\left\{Q\right\} : x < q \right\}$. Since the rational numbers are dense, such a set can have no greatest element and thus fulfils the conditions for being a real number laid out above.
• Addition. $A + B := \left\{a + b: a in A and b in B\right\}$
• Subtraction. $A - B := \left\{a - b: a in A and b in \left(textbf\left\{Q\right\} setminus B \right) \right\}$
• Negation is a special case of subtraction: $-B := \left\{a - b: a < 0 and b in \left(textbf\left\{Q\right\} setminus B \right) \right\}$
• Defining multiplication is less straightforward.
• if $A, B geq 0$ then $A times B := \left\{ a times b : a geq 0 and a in A and b geq 0 and b in B \right\} cup \left\{ x in mathrm\left\{Q\right\} : x < 0 \right\}$
• if either $A$ or $B$ is negative, we use the identities $A times B = -\left(A times -B\right) = -\left(-A times B\right) = \left(-A times -B\right)$ to convert $A$ and/or $B$ to positive numbers and then apply the definition above.
• We define division in a similar manner:
• if $B > 0$ then $A / B := \left\{ a / b : a in A and b in \left(textbf\left\{Q\right\} setminus B \right) \right\}$
• If $B$ is negative, we use the identity $A / B = -\left(A / -B\right)$ to convert $B$ to a positive value and then apply the definition above.
• Supremum. If a nonempty set $S$ of real numbers has any upper bound in $textbf\left\{R\right\}$, then it has a least upper bound in $textbf\left\{R\right\}$ that is equal to $bigcup S$.

As an example of a Dedekind cut representing an irrational number, we may take the positive square root of 2. This can be defined by the set $A = \left\{ x in textbf\left\{Q\right\} : x < 0 or x times x < 2 \right\}$. It can be seen from the definitions above that $A$ is a real number, and that $A times A = 2$.

### Construction by decimal expansions

We can take the infinite decimal expansion to be the definition of a real number, considering expansions like 0.9999... and 1.0000... to be equivalent, and define the arithmetical operations formally. Similarly another radix can be used. This is a special case of the construction by Cauchy sequences.

### Construction using hyperreal numbers

As in the hyperreal numbers, one constructs the hyperrationals *Q from the rational numbers by means of an ultrafilter. Here a hyperrational is by definition a ratio of two hyperintegers. Consider the ring B of all bounded (i.e. finite) elements in *Q. Then B has a unique maximal ideal I, the infinitesimal numbers. The quotient ring B/I gives the field R of real numbers. Note that B is not an internal set in *Q.

It turns out that the maximal ideal respects the order on *Q. Hence the resulting field is an ordered field. Completeness can be proved in a similar way to the construction from the Cauchy sequences.

### Construction from surreal numbers

Every ordered field can be embedded in the surreal numbers. The real numbers form the largest subfield that is Archimedean (meaning that no real number is infinitely large).

### Construction from the group of integers

A relatively less known construction allows to define real numbers using only the additive group of integers. Different versions of this construction are described in , and The construction has been formally verified by the IsarMathLib project

Let an almost homomorphism be a map $f:mathbb\left\{Z\right\}tomathbb\left\{Z\right\}$ such that the set $\left\{f\left(n+m\right)-f\left(m\right)-f\left(n\right): n,minmathbb\left\{Z\right\}\right\}$ is finite. We say that two almost homomorphisms $f,g$ are almost equal if the set $\left\{f\left(n\right)-g\left(n\right): nin mathbb\left\{Z\right\}\right\}$ is finite. This defines an equivalence relation on the set of almost homomorphisms. Real numbers are defined as the equivalence classes of this relation. To add real numbers defined this way we add the almost homomorphisms that represent them. Multiplication of real numbers corresponds to composition of almost homomorphisms. If $\left[f\right]$ denotes the real number represented by an almost homomorphism $f$ we say that $0leq \left[f\right]$ if $f$ is bounded or $f$ takes an infinite number of positive values on $mathbb\left\{Z\right\}^+$. This defines the linear order relation on the set of real numbers constructed this way.