Reading preferences

Optional display controls need JavaScript. All reading content and navigation work without it.

How to use Read

This page follows the accepted chapter slice in source order. Equations use native, unflattened MathML. Formal objects, diagrams, unresolved exercise prompts, references, and exact source-coordinate links remain explicit.

From Nsource 11 to Zsource 11

Here are two basic realisations:

  1. Every integer can be written in the form nmsource 15, with n,mNsource 15.

  2. The information encoded in an expression nmsource 16 can equally be encoded by an ordered pair n,msource 16.

We already know that the ordered pairs of natural numbers are the elements of N2source 18. And we are assuming that we understand Nsource 18. So here is a naïve suggestion, based on the two realisations we have had: let's treat integers as ordered pairs of natural numbers.

In fact, this suggestion is too naïve. Obviously we want it to be the case that 02=46source 20. But evidently 0,24,6source 20. So we cannot simply say that N2source 20 is the set of integers.

Generalising from the preceding problem, what we want is the following: ab=cd iff a+d=c+bsource 23 (It should be obvious that this is how integers are meant to behave: just add bsource 24 and dsource 24 to both sides.) And the easy way to guarantee this behaviour is just to define an equivalence relation between ordered pairs, source 24, as follows: a,bc,d iff a+d=c+bsource 25 We now have to show that this is an equivalence relation.

Integer equivalence is an equivalence relation

source 27 is an equivalence relation.

source 27

Proof

We must show that source 30 is reflexive, symmetric, and transitive.

Reflexivity: Evidently a,ba,bsource 32, since a+b=b+asource 32.

Symmetry: Suppose a,bc,dsource 34, so a+d=c+bsource 34. Then c+b=a+dsource 34, so that c,da,bsource 34.

Transitivity: Suppose a,bc,dm,nsource 36. So a+d=c+bsource 36 and c+n=m+dsource 36. So a+d+c+n=c+b+m+dsource 36, and so a+n=m+bsource 36. Hence a,bm,nsource 36.

End of proof.

Now we can use this equivalence relation to take equivalence classes:

Definition of the integers as equivalence classes

The integers are the equivalence classes, under source 42, of ordered pairs of natural numbers; that is, Z=N2/source 42.

source 41

Now, one might have plenty of different philosophical reactions to this stipulative definition. Before we consider those reactions, though, it is worth continuing with some of the technicalities.

Having said what the integers are, we shall need to define basic functions and relations on them. Let's write [m,n]source 47 for the equivalence class under source 47 with m,nsource 47 as an element.Note: using the notation introduced in the definition of an equivalence class, we would have written [m,n]source 47 for the same thing. But that's just a bit harder to read. That is: [m,n]={a,bN2:a,bm,n}source 48 So now we offer some definitions: [a,b]+[c,d]=[a+c,b+d][a,b]×[c,d]=[ac+bd,ad+bc][a,b][c,d] iff a+db+csource 50 (As is common, I'm using `absource 55' to stand for `(a×b)source 55', just to make the axioms easier to read.) Now, we need to make sure that these definitions behave as they ought to. Spelling out what this means, and checking it through, is rather laborious; we relegate the details to the Ordered Rings and Fields section. But the short point is: everything works!

One final thing remains. We have constructed the integers using natural numbers. But this will mean that the natural numbers are not themselves integers. We will return to the philosophical significance of this in the Some Philosophical Reflections section. On a purely technical front, though, we will need some way to be able to treat natural numbers as integers. The idea is quite easy: for each nNsource 62, we just stipulate that nZ=[n,0]source 63. We need to confirm that this definition is well-behaved, i.e., that for any m,nNsource 64 (m+n)Z=mZ+nZ(m×n)Z=mZ×nZmnmZnZsource 66 But this is all pretty straightforward. For example, to show that the second of these obtains, we can simply help ourselves to the behaviour of the natural numbers and reason as follows:

(m×n)Z=[m×n,0]=[m×n+0×0,m×0+0×n]=[m,0]×[n,0]=mZ×nZsource 76

We leave it as an exercise to confirm that the other two conditions hold.

Exercise on the natural-number embedding into the integers

Unsolved exercise. The source supplies the prompt only; no solution is added.

Show that (m+n)Z=mZ+nZsource 86 and mnmZnZsource 86, for any m,nNsource 86.

source 85

From Zsource 10 to Qsource 10

We just saw how to construct the integers from the natural numbers, using some naïve set theory. We shall now see how to construct the rationals from the integers in a very similar way. Our initial realisations are:

  1. Every rational can be written in the form ijsource 17, where both isource 18 and jsource 18 are integers but jsource 18 is non-zero.

  2. The information encoded in an expression ijsource 19 can equally be encoded in an ordered pair i,jsource 20.

The obvious approach would be to think of the rationals as ordered pairs drawn from Z×(Z{0Z})source 23. As before, though, that would be a bit too naïve, since we want 32=64source 25, but 3,26,4source 25. More generally, we will want the following: ab=cd iff a×d=b×csource 27 To get this, we define an equivalence relation on Z×(Z{0Z})source 30 thus: a,bc,d iff a×d=b×csource 32 We must check that this is an equivalence relation. This is very much like the case of source 36, and we will leave it as an exercise.

Exercise proving rational equivalence

Unsolved exercise. The source supplies the prompt only; no solution is added.

Show that source 38 is an equivalence relation.

source 37

But it allows us to say:

Definition of the rationals as equivalence classes

The rationals are the equivalence classes, under source 42, of pairs of integers (whose second element is non-zero). That is, Q=(Z×(Z{0Z}))/source 43.

source 41

As with the integers, we also want to define some basic operations. Where [i,j]source 48 is the equivalence class under source 49 with i,jsource 49 as an element, we say: [a,b]+[c,d]=[ad+bc,bd][a,b]×[c,d]=[ac,bd].To define rs on these rationals, we use the fact that rs iff sr is not negative, i.e., rs can be written as ij with i non-negative and j positive:[a,b][c,d] iff [c,d][a,b]=[iZ,jZ]source 50 for some iNsource 60 and 0jNsource 60.

We then need to check that these definitions behave as they ought to; and we relegate this to the Ordered Rings and Fields section. But they indeed do! Finally, we want some way to treat integers as rationals; so for each iZsource 65, we stipulate that iQ=[i,1Z]source 65. Again, we check that all of this behaves correctly in the Ordered Rings and Fields section.

Exercise on the integer embedding into the rationals

Unsolved exercise. The source supplies the prompt only; no solution is added.

Show that (i+j)Q=iQ+jQsource 70 and (i×j)Q=iQ×jQsource 70 and ijiQjQsource 71, for any i,jZsource 72.

source 69

The Real Line

The next step is to show how to construct the reals from the rationals. Before that, we need to understand what is distinctive about the reals.

The reals behave very much like the rationals. (Technically, both are examples of ordered fields; for the definition of this, see the definition of an ordered field.) Now, if you worked through the exercises to the Size of Sets chapter, you will know that there are strictly more reals than rationals, i.e., that QRsource 20. This was first proved by Cantor. But it's been known for about two and a half millennia that there are irrational numbers, i.e., reals which are not rational. Indeed:

The square root of two is irrational

2source 26 is not rational, i.e., 2Qsource 26

source 25

Proof

Suppose, for reductio, that 2source 30 is rational. So 2=mnsource 30 for some natural numbers msource 31 and nsource 31. Indeed, we can choose msource 32 and nsource 32 so that the fraction cannot be reduced any further. Re-organising, m2=2n2source 33. From here, we can complete the proof in two ways:

First, geometrically (following Tennenbaum).This proof is reported by John Conway (2006). Consider these squares:

Overlapping-squares proof diagram

Two equal squares of side n overlap inside a larger square of side m. The central orange overlap and two uncovered corner squares encode a smaller solution to the same square-area equation.

Overlapping-squares proof diagramTwo equal squares of side n overlap inside a larger square of side m. The central orange overlap and two uncovered corner squares encode a smaller solution to the same square-area equation.mn
  1. nsource 45
  2. msource 47

source 39

Since m2=2n2source 50, the region where the two squares of side nsource 50 overlap has the same area as the region which neither of the two squares cover; i.e., the area of the orange square equals the sum of the area of the two unshaded squares. So where the orange square has side psource 54, and each unshaded square has side qsource 54, p2=2q2source 54. But now 2=pqsource 55, with p<msource 55 and q<nsource 55 and p,qNsource 55. This contradicts the fact that msource 56 and nsource 56 were chosen to be as small as possible.

Second, formally. Since m2=2n2source 59, it follows that msource 59 is even. (It is easy to show that, if xsource 60 is odd, then x2source 60 is odd.) So m=2rsource 61, for some rNsource 61. Rearranging, 2r2=n2source 61,

so nsource 67 is also even. So both msource 67 and nsource 67 are even, and hence the fraction mnsource 68 can be reduced further. Contradiction!

End of proof.

In passing, this diagrammatic proof allows us to revisit the material from the More Myth than History section. Tennenbaum (1927–2006) was a thoroughly modern mathematician; but the proof is undeniably lovely, completely rigorous, and appeals to geometric intuition!

In any case: the reals are “more expansive” than the rationals. In some sense, there are “gaps” in the rationals, and these are filled by the reals. Weierstrass realised that this describes a single property of the real numbers, which distinguishes them from the rationals, namely the Completeness Property: Every non-empty set of real numbers with an upper bound has a least upper bound.

It is easy to see that the rationals do not have the Completeness Property. For example, consider the set of rationals less than 2source 76, i.e.: {pQ:p2<2 or p<0}source 77 This has an upper bound in the rationals; its elements are all smaller than 3source 80, for example. But what is its least upper bound? We want to say `2source 80'; but we have just seen that 2source 80 is not rational. And there is no least rational number greater than 2source 80. So the set has an upper bound but no least upper bound. Hence the rationals lack the Completeness Property.

By contrast, the continuum “morally ought” to have the Completeness Property. We do not just want 2source 82 to be a real number; we want to fill all the “gaps” in the rational line. Indeed, we want the continuum itself to have no “gaps” in it. That is just what we will get via Completeness.

From Qsource 10 to Rsource 10

In essence, the Completeness Property shows that any point αsource 12 of the real line divides that line into two halves perfectly: those for which αsource 14 is the least upper bound, and those for which αsource 14 is the greatest lower bound. To construct the real numbers from the rational numbers, Dedekind suggested that we simply think of the reals as the cuts that partition the rationals. That is, we identify 2source 18 with the cut which separates the rationals <2source 19 from the rationals >2source 19.

Let's tidy this up. If we cut the rational numbers into two halves, we can uniquely identify the partition we made just by considering its bottom half. So, getting precise, we offer the following definition:

Definition of a Dedekind cut

A cut αsource 27 is any non-empty proper initial segment of the rationals with no greatest element. That is, αsource 29 is a cut iff:

  1. non-empty, proper: αQsource 31

  2. initial: for all p,qQsource 32: if p<qαsource 32 then pαsource 32

  3. no maximum: for all pαsource 33 there is a qαsource 33 such that p<qsource 33

Then Rsource 35 is the set of cuts.

source 26

So now we can say that 2={pQ:p2<2 or p<0}source 38. Of course, we need to check that this is a cut, but we relegate that to the Ordered Rings and Fields section.

As before, having defined some entities, we next need to define basic functions and relations upon them. We begin with an easy one: αβ iff αβsource 44 This definition of an order allows to state the central result, that the set of cuts has the Completeness Property. Spelled out fully, the statement has this shape. If Ssource 49 is a non-empty set of cuts with an upper bound, then Ssource 50 has a least upper bound. In more detail: there is a cut, λsource 50, which is an upper bound for Ssource 50, i.e. (αS)αλsource 50, and λsource 51 is the least such cut, i.e. (βR)((αS)αβλβ)source 51. Now here is the proof of the result:

Completeness of the set of cuts

The set of cuts has the Completeness Property.

source 54

Proof

Let Ssource 59 be any non-empty set of cuts with an upper bound. Let λ=Ssource 59.

We first claim that λsource 62 is a cut:

  1. Since Ssource 64 is nonempty, at least one cut is in Ssource 64, so λsource 65. Since Ssource 65 is a set of cuts, λQsource 65. Since Ssource 66 has an upper bound, some pQsource 66 is absent from every cut αSsource 67. So pλsource 67, and hence λQsource 68.

  2. Suppose p<qλsource 69. So there is some αSsource 69 such that qαsource 70. Since αsource 70 is a cut, pαsource 70. So pλsource 71.

  3. Suppose pλsource 72. So there is some αSsource 72 such that pαsource 73. Since αsource 73 is a cut, there is some qαsource 73 such that p<qsource 74. So qλsource 74.

This proves the claim. Moreover, clearly (αS)αS=λsource 76, i.e. λsource 77 is an upper bound on Ssource 77. So now suppose βRsource 77 is also an upper bound, i.e. (αS)αβsource 77. For any pQsource 77, if pλsource 77, then there is αSsource 77 such that pαsource 77, so that pβsource 77. Generalizing, λβsource 77. So λsource 77 is the least upper bound on Ssource 77.

End of proof.

So we have a bunch of entities which satisfy the Completeness Property. And one way to put this is: there are no “gaps” in our cuts. (So: taking further “cuts” of reals, rather than rationals, would yield no interesting new objects.)

Next, we must define some operations on the reals. We start by embedding the rationals into the reals by stipulating that pR={qQ:q<p}source 86 for each pQsource 87. We then define: α+β={p+q:pαqβ}α×β={p×q:0pα0qβ}0Rif α,β0Rsource 88 To handle the other multiplication cases, first let: α={pq:p<0qα}source 97 and then stipulate: α×β={α×βif α<0R and β<0R(α×β)if α<0R and β>0R(α×β)if α>0R and β<0Rsource 101 We then need to check that each of these definitions always yields a cut. And finally, we need to go through an easy (but long-winded) demonstration that the cuts, so defined, behave exactly as they should. But we relegate all of this to the Ordered Rings and Fields section.

Some Philosophical Reflections

So much for the technicalities. But what did they achieve?

Well, pretty uncontestably, they gave us some lovely pure mathematics. Moreover, there were some deep conceptual achievements. It was a profound insight, to see that the Completeness Property expresses the crucial difference between the reals and the rationals. Moreover, the explicit construction of reals, as Dedekind cuts, puts the subject matter of analysis on a firm footing. We know that the notion of a complete ordered field is coherent, for the cuts form just such a field.

For all that, we should air a few reservations about these achievements.

First, it is not clear that thinking of reals in terms of cuts is any more rigorous than thinking of reals in terms of their familiar (possibly infinite) decimal expansions. This latter “construction” of the reals has some resemblance to the construction of the reals via Cauchy sequence; but in fact, it was essentially known to mathematicians from the early 17th century onwards (see the appendix on the reals as Cauchy sequences). The real increase in rigour came from the realisation that the reals have the Completeness Property; the ability to construct real numbers as particular sets is perhaps not, by itself, so very interesting.

It is even less clear that the (much easier) arithmetization of the integers, or of the rationals, increases rigour in those areas. Here, it is worth making a simple observation. Having constructed the integers as equivalence classes of ordered pairs of naturals, and then constructed the rationals as equivalence classes of ordered pairs of integers, and then constructed the reals as sets of rationals, we immediately forget about the constructions. In particular: no one would ever want to invoke these constructions during a mathematical proof (excepting, of course, a proof that the constructions behaved as they were supposed to). It's much easier to speak about a real, directly, than to speak about some set of sets of sets of sets of sets of sets of sets of naturals.

It is most doubtful of all that these definitions tell us what the integers, rationals, or reals are, metaphysically speaking. That is, it is doubtful that the reals (say) are certain sets (of sets of sets … ). The main barrier to such a view is that the construction could have been done in many different ways. In the case of the reals, there are some genuinely interestingly different constructions (see the appendix on the reals as Cauchy sequences). But here is a really trivial way to obtain some different constructions: as in the Philosophical Reflections section on relations, we could have defined ordered pairs slightly differently; if we had used this alternative notion of an ordered pair, then our constructions would have worked precisely as well as they did, but we would have ended up with different objects. As such, there are many rival set-theoretic constructions of the integers, the rationals, and the reals. And now it would just be arbitrary (and embarrassing) to claim that the integers (say) are these sets, rather than those. (As in the Philosophical Reflections section on relations, this is an instance of an argument made famous by Paul Benacerraf 1965.)

A further point is worth raising: there is something quite odd about our constructions. We started with the natural numbers. We then construct the integers, and construct “the 0source 83 of the integers”, i.e., [0,0]source 84. But 0[0,0]source 84. Indeed, given our constructions, no natural number is an integer. But that seems extremely counter-intuitive. Indeed, in the Some Important Sets section, we claimed without much argument that NQsource 88. If the constructions tell us exactly what the numbers are, this claim was trivially false.

Standing back, then, where do we get to? Working in a naïve set theory, and helping ourselves to the naturals, we are able to treat integers, rationals, and reals as certain sets. In that sense, we can embed the theories of these entities within a set theory. But the philosophical import of this embedding is just not that straightforward.

Of course, none of this is the last word! The point is only this. Showing that the arithmetization of the reals is of deep philosophical significance would require some additional philosophical argument.

Ordered Rings and Fields

Throughout this chapter, we claimed that certain definitions behave “as they ought”. In this technical appendix, we will spell out what we mean, and (sketch how to) show that the definitions do behave “correctly”.

In the From the Natural Numbers to the Integers section, we defined addition and multiplication on Zsource 18. We want to show that, as defined, they endow Zsource 19 with the structure we “would want” it to have. In particular, the structure in question is that of a commutative ring.

Definition of a commutative ring

A commutative ring is a set Ssource 24, equipped with specific elements 0source 24 and 1source 24 and operations +source 24 and ×source 24, satisfying these eight formulas: Associativitya+(b+c)=(a+b)+c(a×b)×c=a×(b×c)Commutativitya+b=b+aa×b=b×aIdentitiesa+0=aa×1=aAdditive Inverse(bS)0=a+bDistributivitya×(b+c)=(a×b)+(a×c)source 25 Implicitly, these are all bound with universal quantifiers restricted to Ssource 35. And note that the elements 0source 35 and 1source 35 here need not be the natural numbers with the same name.

source 23

So, to check that the integers form a commutative ring, we just need to check that we meet these eight conditions. None of the conditions is difficult to establish, but this is a bit laborious. For example, here is how to prove Associativity, in the case of addition:

Proof

Fix i,j,kZsource 44. So there are a1,b1,a2,b2,a3,b3Nsource 44 such that i=[a1,b1]source 45 and j=[a2,b2]source 45 and k=[a3,b3]source 46. (For legibility, we write “[x,y]source 47” rather than “[x,y]source 48”; we'll do this throughout this section.) Now: i+(j+k)=[a1,b1]+([a2,b2]+[a3,b3])=[a1,b1]+[a2+a3,b2+b3]=[a1+(a2+a3),b1+(b2+b3)]=[(a1+a2)+a3,(b1+b2)+b3]=[a1+a2,b1+b2]+[a3,b3]=([a1,b1]+[a2,b2])+[a3,b3]=(i+j)+ksource 50 helping ourselves freely to the behavior of addition on Nsource 59.

End of proof.

Equally, here is how to prove Additive Inverse:

Proof

Fix iZsource 65, so that i=[a,b]source 65 for some a,bNsource 65. Let j=[b,a]Zsource 66. Helping ourselves to the behaviour of the naturals, (a+b)+0=0+(a+b)source 67, so that a+b,b+aZ0,0source 68 by definition, and hence [a+b,b+a]=[0,0]=0Zsource 69. So now i+j=[a,b]+[b,a]=[a+b,b+a]=[0,0]=0Zsource 69.

End of proof.

And here is a proof of Distributivity:

Proof

As above, fix i=[a1,b1]source 77 and j=[a2,b2]source 77 and k=[a3,b3]source 78. Now: i×(j+k)=[a1,b1]×([a2,b2]+[a3,b3])=[a1,b1]×[a2+a3,b2+b3]=[a1(a2+a3)+b1(b2+b3),a1(b2+b3)+b1(a2+a3)]=[a1a2+a1a3+b1b2+b1b3,a1b2+a1b3+a2b1+a3b1]=[a1a2+b1b2,a1b2+a2b1]+[a1a3+b1b3,a1b3+a3b1]=([a1,b1]×[a2,b2])+([a1,b1]×[a3,b3])=(i×j)+(i×k)source 79

End of proof.

We leave it as an exercise to prove the remaining five conditions. Having done that, we have shown that Zsource 93 constitutes a commutative ring, i.e., that addition and multiplication (as defined) behave as they should.

Exercise proving the integers form a commutative ring

Unsolved exercise. The source supplies the prompt only; no solution is added.

Prove that Zsource 98 is a commutative ring.

source 97

But our task is not over. As well as defining addition and multiplication over Zsource 102, we defined an ordering relation, source 102, and we must check that this behaves as it should. In more detail, we must show that Zsource 104 constitutes an ordered ring.Recall from the definition of a linear order that a total order is a relation which is reflexive, transitive, anti-symmetric, and connected. In the context of order relations, connectedness is sometimes called trichotomy, since for any asource 108 and bsource 108 we have aba=babsource 108.

Definition of an ordered ring

An ordered ring is a commutative ring which is also equipped with a total order relation, source 113, such that: aba+cb+c(ab0c)a×cb×csource 114

source 111

Exercise proving the integers form an ordered ring

Unsolved exercise. The source supplies the prompt only; no solution is added.

Prove that Zsource 121 is an ordered ring.

source 120

As before, it is laborious but routine to show that Zsource 124, as constructed, is an ordered ring. We will leave that to you.

This takes care of the integers. But now we need to show very similar things of the rationals. In particular, we now need to show that the rationals form an ordered field, under our given definitions of +source 130, ×source 130, and source 130:

Definition of an ordered field

An ordered field is an ordered ring which also satisfies: Multiplicative Inverse(aS{0})(bS)a×b=1source 133

source 131

Once you have shown that Zsource 138 constitutes an ordered ring, it is easy but laborious to show that Qsource 139 constitutes an ordered field.

Exercise proving the rationals form an ordered field

Unsolved exercise. The source supplies the prompt only; no solution is added.

Prove that Qsource 142 is an ordered field.

source 141

Having dealt with the integers and the rationals, it only remains to deal with the reals. In particular, we need to show that Rsource 146 constitutes a complete ordered field, i.e., an ordered field with the Completeness Property. Now, the theorem that the set of cuts has the Completeness Property established that Rsource 149 has the Completeness Property. However, it remains to run through the (tedious) details of checking that Rsource 150 is an ordered field.

Before tearing off into that laborious exercise, we need to check some more “immediate” things. For example, we need a guarantee that α+βsource 155, as defined, is indeed a cut, for any cuts αsource 156 and βsource 156. Here is a proof of that fact:

Proof

Since αsource 159 and βsource 159 are both cuts, α+β={p+q:pαqβ}source 159 is a non-empty proper subset of Qsource 161. Now suppose x<p+qsource 161 for some pαsource 161 and qβsource 161. Then xp<qsource 162, so xpβsource 162, and x=p+(xp)α+βsource 162. So α+βsource 163 is an initial segment of Qsource 163. Finally, for any p+qα+βsource 164, since αsource 164 and βsource 165 are both cuts, there are p1αsource 165 and q1βsource 165 such that p<p1source 166 and q<q1source 166; so p+q<p1+q1α+βsource 166; so α+βsource 167 has no maximum.

End of proof.

Similar efforts will allow you to check that αβsource 170 and α×βsource 171 and α÷βsource 171 are cuts (in the last case, ignoring the case where βsource 172 is the zero-cut). Again, though, we will simply leave this to you.

Exercise proving the Dedekind-cut reals form an ordered field

Unsolved exercise. The source supplies the prompt only; no solution is added.

Prove that Rsource 176 is an ordered field.

source 175

But here is a small loose end to tidy up. In the From the Rationals to the Reals section, we suggest that we can take 2={pQ:p<0 or p2<2}source 180. But we do need to show that this set is a cut. Here is a proof of that fact:

Proof

Clearly this is a nonempty proper initial segment of the rationals; so it suffices to show that it has no maximum. In particular, it suffices to show that, where psource 187 is a positive rational with p2<2source 187 and q=2p+2p+2source 187, both p<qsource 188 and q2<2source 188. To see that p<qsource 188, just note: p2<2p2+2p<2+2pp(p+2)<2+2pp<2+2pp+2=qsource 190 To see that q2<2source 196, just note: p2<22p2+4p+2<p2+4p+44p2+8p+4<2(p2+4p+4)(2p+2)2<2(p+2)2(2p+2)2(p+2)2<2q2<2source 197

End of proof.

Appendix: the Reals as Cauchy Sequences

In the From the Rationals to the Reals section, we constructed the reals as Dedekind cuts. In this section, we explain an alternative construction. It builds on Cauchy's definition of (what we now call) a Cauchy sequence; but the use of this definition to construct the reals is due to other nineteenth-century authors, notably Weierstrass, Heine, Méray and Cantor. (For a nice history, see John J. O'Connor and Edmund F. Robertson 2005.)

Before we get to the nineteenth century, it's worth considering Simon Stevin (1548–1620). In brief, Stevin realised that we can think of each real in terms of its decimal expansion. Thus even an irrational number, like 2source 24, has a nice decimal expansion, beginning: 1.41421356237source 25 It is very easy to model decimal expansions in set theory: simply consider them as functions d:NNsource 29, where d(n)source 29 is the nsource 30-th decimal place that we are interested in. We will then need a bit of tweak, to handle the bit of the real number that comes before the decimal point (here, just 1source 32). We will also need a further tweak (an equivalence relation) to guarantee that, for example, 0.999=1source 33. But it is not difficult to offer a perfectly rigorous construction of the real numbers, in the manner of Stevin, within set theory.

Stevin is not our focus. (For more on Stevin, see Karin Usadi Katz and Mikhail G. Katz 2012.) But here is a closely related thought. Instead of treating 2source 40's decimal expansion directly, we can instead consider a sequence of increasingly accurate rational approximations to 2source 42, by considering the increasingly precise expansions: 1,1.4,1.414,1.4142,1.41421,source 44 The idea that reals can be considered via “increasingly good approximations” provides us with the basis for another sequence of insights (akin to the realisations that we used when constructing Qsource 50 from Zsource 50, or Zsource 50 from Nsource 50). The basic insights are these:

  1. Every real can be written as a (perhaps infinite) decimal expansion.

  2. The information encoded by a (perhaps infinite) decimal expansion can be equally be encoded by a sequence of rational numbers.

  3. A sequence of rational numbers can be thought of as a function from Nsource 59 to Qsource 59; just let f(n)source 59 be the nsource 59-th rational in the sequence.

Of course, not just any function from Nsource 62 to Qsource 62 will give us a real number. For instance, consider this function: f(n)={1if n is odd0if n is evensource 64 Essentially the worry here is that the sequence 0,1,0,1,0,1,0,source 70 doesn't seem to “hone in” on any real. So: to ensure that we consider sequences which do hone in on some real, we need to restrict our attention to sequences which have some limit.

We have already encountered the idea of a limit, in the Rigorous Definition of Limits section. But we cannot use quite the same definition as we used there. The expression “(ε>0)source 77” there tacitly involved quantification over the real numbers; and we were considering the limits of functions on the real numbers; so invoking that definition would be to help ourselves to the real numbers; and they are exactly what we were aiming to construct. Fortunately, we can work with a closely related idea of a limit.

Definition of a Cauchy sequence

A function f:NQsource 84 is a Cauchy sequence iff for any positive εQsource 85 we have that (N)(m,n>)|f(m)f(n)|<εsource 85.

source 83

The general idea of a limit is the same as before: if you want a certain level of precision (measured by εsource 90), there is a “region” to look in (any input greater than source 91). And it is easy to see that our sequence 1source 92, 1.4source 92, 1.414source 92, 1.4142source 92, 1.41421source 93 … has a limit: if you want to approximate 2source 93 to within an error of 110nsource 94, then just look to any entry after the nsource 95-th.

The obvious thought, then, would be to say that a real number just is any Cauchy sequence. But, as in the constructions of Zsource 98 and Qsource 99, this would be too naïve: for any given real number, multiple different Cauchy sequences indicate that real number. A simple way to see this is as follows. Given a Cauchy sequence fsource 101, define gsource 102 to be exactly the same function as fsource 102, except that g(0)f(0)source 102. Since the two sequences agree everywhere after the first number, we will (ultimately) want to say that they have the same limit, in the sense employed in the definition of a Cauchy sequence, and so should be thought of “defining” the same real. So, we should really think of these Cauchy sequences as the same real number.

Consequently, we again need to define an equivalence relation on the Cauchy sequences, and identify real numbers with equivalence classes. First we need the idea of a function which tends to 0source 111 in the limit. For any function h:NQsource 112, say that hsource 112 tends to 0source 113 iff for any positive εQsource 113 we have that (N)(n>)|h(n)|<εsource 114.Compare this with the definition of limxf(x)=0source 115 in the Rigorous Definition of Limits section. Further, where fsource 117 and gsource 117 are functions NQsource 118, let (fg)(n)=f(n)g(n)source 118. Now define: fg iff (fg) tends to 0.source 119 We need to check that source 122 is an equivalence relation; and it is. We can then, if we like, define the reals as the equivalence classes, under source 124, of all Cauchy sequences from NQsource 124.

Exercise comparing two Cauchy sequences

Unsolved exercise. The source supplies the prompt only; no solution is added.

Let f(n)=0source 128 for every nsource 128. Let g(n)=1(n+1)2source 128. Show that both are Cauchy sequences, and indeed that the limit of both functions is 0source 130, so that also fRgsource 130.

source 127

Having done this, we shall as usual write [f]source 133 for the equivalence class with fsource 134 as an element. However, to keep things readable, in what follows we will drop the subscript and write just [f]source 136. We also stipulate that, for each qQsource 136, we have qR=[cq]source 137, where cqsource 137 is the constant function cq(n)=qsource 138 for all nNsource 138. We then define basic relations and operations on the reals, e.g.: [f]+[g]=[(f+g)][f]×[g]=[(f×g)]source 140 where (f+g)(n)=f(n)+g(n)source 144 and (f×g)(n)=f(n)×g(n)source 144. Of course, we also need to check that each of (f+g)source 145, (fg)source 146 and (f×g)source 146 are Cauchy sequences when fsource 146 and gsource 146 are; but they are, and we leave this to you.

Finally, we define a notion of order. Say [f]source 149 is positive iff both [f]0Rsource 150 and (N)(n>)0<f(n)source 150. Then say [f]<[g]source 151 iff [(gf)]source 152 is positive. We have to check that this is well-defined (i.e., that it does not depend upon choice of “representative” function from the equivalence class).

But having done this, it is quite easy to show that these yield the right algebraic properties; that is:

Cauchy-sequence reals form an ordered field

The Cauchy sequences constitute an ordered field.

source 161

Proof

Exercise.

End of proof.

Exercise proving the Cauchy-sequence ordered-field theorem

Unsolved exercise. The source supplies the prompt only; no solution is added.

Prove that the Cauchy sequences constitute an ordered field.

source 169

It is harder to prove that the reals, so constructed, have the Completeness Property, so we will give the proof.

Completeness of the Cauchy-sequence reals

Every non-empty set of Cauchy sequences with an upper bound has a least upper bound.

source 176

Proof sketch

Let Ssource 181 be any non-empty set of Cauchy sequences with an upper bound. So there is some pQsource 182 such that pRsource 183 is an upper bound for Ssource 183. Let rSsource 183; then there is some qQsource 184 such that qR<rsource 184. So if a least upper bound on Ssource 185 exists, it is between qRsource 185 and pRsource 185 (inclusive).

We will hone in on the l.u.b., by approaching it simultaneously from below and above. In particular, we define two functions, f,g:NQsource 188, with the aim that fsource 189 will hone in on the l.u.b. from above, and gsource 190 will home in on it from below. We start by defining: f(0)=pg(0)=qsource 191 Then, where an=f(n)+g(n)2source 195, let:This is a recursive definition. But we have not yet given any reason to think that recursive definitions are ok. f(n+1)={anif (hS)[h](an)Rf(n)otherwiseg(n+1)={anif (hS)[h](an)Rg(n)otherwisesource 198 Both fsource 210 and gsource 210 are Cauchy sequences. (This can be checked fairly easily, but we leave it as an exercise.) Note that the function (fg)source 211 tends to 0source 212, since the difference between fsource 212 and gsource 212 halves at each step. Hence [f]=[g]source 213.

We first show that [f]source 215 is an upper bound on Ssource 215, i.e. that (hS)[h][f]source 215. (We will invoke the theorem that the Cauchy-sequence reals form an ordered field as we go.) Let hSsource 216 and suppose, for reductio, that [f]<[h]source 217, so that 0R<[(hf)]source 218. Since fsource 218 is a monotonically decreasing Cauchy sequence, there is some nNsource 219 such that [(cf(n)f)]<[(hf)]source 220. So: (f(n))R=[cf(n)]<[f]+[(hf)]=[h],source 221 contradicting the fact that, by construction, [h](f(n))Rsource 224.

We next show that [f]=[g]source 226; equivalently, the common real-equivalence class represented by f and g is the least upper bound on Ssource 226. So let jsource 226 be any Cauchy sequence and suppose [j]<[g]source 226. Reasoning as above (using the fact that gsource 226 is increasing), there is nNsource 226 such that [j]<(g(n))Rsource 226. But by construction there is hSsource 226 such that (g(n))R[h]source 226, so [j]<[h]source 226 and therefore [j]source 226 is not an upper bound on Ssource 226.

End of proof.