5.4  The Rationals Inside the Reals

Section 5.3 made R an ordered field. We built it to enlarge Q, but so far Q is not inside it: a rational number is a class of pairs of integers, and a real number is a class of Cauchy sequences. This section places a copy of Q in R and shows how the copy sits there. It is preserved by all the operations and the order; it is spread through R without gaps, so that between any two real numbers there is a rational one; and every real number is the limit of rationals. Along the way we prove that R is Archimedean and that rational tolerances suffice for limits in R. At the end we meet the number that Chapter 4 promised: a positive real whose square is 2.

Notation is as in Section 5.3: C is the set of Cauchy sequences of rationals, [a] is the class of a∈C, (q)n is the constant sequence with value q, P=R>0 is the set of positive reals, and x<y means y−x∈P (Definition 5.3.2). By Theorem 5.3.3, the results of Chapters 2 and 4 for an arbitrary ordered field apply with F=R; we say “in R” where the context does not make the field clear.

5.4.1. A copy of the rationals

Section 5.2 already represented each rational q by the class of its constant sequence, as Chapter 4 said it would. We make that a map.

Definition 5.4.1 (The Rationals in the Reals)

For q∈Q, let κ(q):=[(q)n]∈R, the class of the constant sequence with value q. This defines a function κ:Q→R.

The right side is in R because constant sequences are Cauchy (Theorem 4.5.3 (a)), and κ is a function because each q determines one constant sequence and that sequence one class. In this notation 0R=κ(0) and 1R=κ(1) (Definition 5.2.2). The letter κ is new on purpose: Chapter 2 used ι and j for N→Z→Q, and Chapter 4 wrote ιF for the copy of Q in an ordered field F. Part (d) of the next theorem shows that κ is ιR.

The theorem says that κ carries everything we know how to do with rationals into R without change: sums, products, negatives, reciprocals, the order and the absolute value.

Theorem 5.4.1 (The Rationals Embed in the Reals)

For all q,s∈Q:

  • (a) κ(q+s)=κ(q)+κ(s), κ(qs)=κ(q)κ(s), κ(0)=0R and κ(1)=1R;
  • (b) q<s if and only if κ(q)<κ(s); hence κ is injective;
  • (c) κ(−q)=−κ(q), κ(|q|)=|κ(q)|, and, if q≠0, κ(q)≠0R and κ(1/q)=κ(q)−1;
  • (d) κ is the map ιR of Theorem 4.2.2 for the ordered field F=R; in particular κ(n)=n⋅1R for every n∈N (Definition 4.2.1).

Idea. Constant sequences add, multiply and negate termwise into constant sequences, so (a) and the first identity of (c) are the definitions of the operations. For (b), the difference of two constant sequences is constant, and a constant s−q>0 is its own margin. The rest is algebra in a field: the absolute value by cases, reciprocals by uniqueness of inverses, and (d) by the uniqueness clause of Chapter 4’s embedding theorem.

Proof.

  • (a) By Definition 5.2.2, κ(q)+κ(s)=[(q)n+(s)n]=[(q+s)n]=κ(q+s), since the termwise sum of two constant sequences is the constant sequence of the sum. The product is the same with ⋅ in place of +. The last two identities are the definitions of 0R and 1R.

    (c), first identity. By Definition 5.2.2, −κ(q)=[−(q)n]=[(−q)n]=κ(−q).

  • (b) (⇒) Let q<s. By (a) and the first identity of (c), κ(s)−κ(q)=κ(s)+κ(−q)=κ(s−q)=[(s−q)n]. The constant s−q lies in Q>0 (Proposition 2.3.5 (a)), so the constant sequence (s−q)n is positive, with margin δ=s−q and threshold N=0 (Definition 5.3.1). Hence κ(s)−κ(q)∈P, that is, κ(q)<κ(s).

(⇐) Let κ(q)<κ(s). By trichotomy in Q, q<s, q=s or s<q. If q=s, then κ(q)=κ(s); if s<q, then κ(s)<κ(q) by (⇒). Either contradicts κ(q)<κ(s) by (O1) in R (Theorem 5.3.3). So q<s.

Injectivity: if q≠s, then q<s or s<q, so κ(q)<κ(s) or κ(s)<κ(q), and in either case κ(q)≠κ(s) by (O1).

(c), the rest. If q>0, then κ(q)>κ(0)=0R by (b), so |κ(q)|=κ(q)=κ(|q|) (Definition 4.1.1, in R and in Q). If q=0, both sides are 0R. If q<0, then κ(q)<0R by (b), so |κ(q)|=−κ(q)=κ(−q)=κ(|q|). Now let q≠0. Then κ(q)≠κ(0)=0R by injectivity, and by (a), κ(q)κ(1/q)=κ(q⋅(1/q))=κ(1)=1R. In the field R (Theorem 5.2.3), the inverse of κ(q) is the only element with this property (Lemma 4.1.1 (a)), so κ(1/q)=κ(q)−1.

  • (d) By Theorem 5.3.3, R is an ordered field, so Theorem 4.2.2 gives exactly one map ιR:Q→R with ιR(1)=1R that preserves sums and products. By (a), κ is such a map, so κ=ιR. The same theorem states that ιR(n)=n⋅1R for every n∈N.

By (d), part (b) and the injectivity of κ are also part of Theorem 4.2.2 with F=R, and (d) needs only (a). The direct proof of (b) is kept because it shows how a constant sequence is positive, with its own value as margin.

Two more identities follow from (a) and (c): κ(q−s)=κ(q)+κ(−s)=κ(q)−κ(s),κ(q/s)=κ(q)κ(1/s)=κ(q)/κ(s)for s≠0. So any computation with rationals, done in Q and then moved into R by κ, gives the same answer as the computation done in R on the images. Part (b) adds that comparisons agree too.

5.4.2. Archimedes in the reals

Chapter 4 showed that an ordered field need not be Archimedean: in Q(t) the element t is larger than every n⋅1 (Example (A Non-Archimedean Ordered Field)). So the Archimedean property of R has to be proved. It comes from Q, through the fact that a Cauchy sequence is bounded.

Theorem 5.4.2 (The Reals Are Archimedean)

R is an Archimedean ordered field (Definition 4.2.2): for every x∈R there is n∈N with x<n⋅1R.

Idea. A representative of x is a Cauchy sequence of rationals, so all its terms lie below one rational bound M. Archimedes in Q puts a natural number above M; one more unit gives a fixed margin above every term, and a fixed margin is what positivity asks for.

Proof. Let x∈R, and write x=[a] with a∈C. By Proposition 4.5.2 with F=Q, there is M∈Q>0 with |ak|≤M for every k∈N. By Theorem 2.5.3, there is n∈N with M<n. For every k, (n+1)−ak≥(n+1)−M=(n−M)+1>1, since ak≤|ak|≤M (Proposition 4.1.3 (c)), so −M≤−ak and then (n+1)−ak≥(n+1)−M (Proposition 2.3.5 (a), (b)), and n−M>0. So the sequence ((n+1)−ak)k is positive, with margin 1 and threshold 0. It represents κ(n+1)−x, by Definition 5.2.2. Hence x<κ(n+1), and κ(n+1)=(n+1)⋅1R by Theorem 5.4.1 (d). Since n+1∈N, this proves the theorem.

Every result of Chapter 4 about Archimedean ordered fields now applies with F=R. Two of them are used at once.

The integer part in R. By Proposition 4.2.4 with F=R, and ιR=κ (Theorem 5.4.1 (d)), for every x∈R there is exactly one m∈Z with κ(m)≤x<κ(m+1). We call m the integer part of x. For a rational q, the integer part of κ(q) is the integer part ⌊q⌋ of Proposition 2.5.5, because κ preserves and reflects ≤ (Theorem 5.4.1 (b)). The word “exactly” matters: Section 5.5 builds a sequence by taking integer parts, and uniqueness is what makes that a rule rather than a choice.

The second consequence, Proposition 4.2.3 in R, turns into the statement that rational tolerances suffice; it comes after the density theorem.

5.4.3. Between two reals there is a rational

Theorem 5.4.3 (The Rationals Are Dense in the Reals)

Let x,y∈R with x<y. Then there is q∈Q with x<κ(q)<y.

Try it first (ten minutes): write x=[a] and y=[b]. Which rational would you put between them? Build it from the terms of a and b, and say how far out you must go.

Idea. The obvious attempt takes a rational between an and bn, say their midpoint, and has to say which n. An early index is no good: a0 may be larger than b0, since early terms are irrelevant to the classes. Even where an<bn, a later term am may climb past the midpoint, and the midpoint must sit above every late am by a fixed margin.

So go far out, in two ways. Since y−x is positive, from some index on bn−an≥δ, a fixed rational gap. Since a and b are Cauchy, from some index N on all their terms stay within δ/4 of aN and of bN, respectively. The midpoint q of aN and bN is at least δ/2 above aN; every later an is less than δ/4 above aN; so q beats every later an by more than δ/4. The same holds below bn.

Proof. Write x=[a] and y=[b] with a,b∈C. By Definition 5.3.2, y−x=[b−a]∈P, so b−a is positive (Proposition 5.3.1). Fix δ∈Q>0 and N1∈N with bn−an≥δfor every n≥N1 [∃E] (Logic and Proof, Definition 5.6.1). Then δ/4=(δ/2)/2∈Q>0 (Proposition 4.1.2 (b), twice). Since a and b are Cauchy in Q, fix N2 with |am−an|<δ/4 for all m,n≥N2, and N3 with |bm−bn|<δ/4 for all m,n≥N3 [∃E]. Let N:=max{N1,N2,N3},q:=aN+bN2∈Q. Let n≥N. Expanding the right sides shows q−an=(aN−an)+bN−aN2,bn−q=(bn−bN)+bN−aN2. Since n,N≥N2, aN−an>−δ/4 (Proposition 4.1.3 (d)); since N≥N1, bN−aN≥δ, and multiplying by 1/2>0 (Proposition 4.1.2 (b) with ε=1) gives (bN−aN)/2≥δ/2 (Proposition 2.3.5 (c), with equality allowed). Adding (Proposition 2.3.5 (b)), q−an>−δ4+δ2=δ4. In the same way, since n,N≥N3, bn−bN>−δ/4, and bn−q>δ/4. So the sequences (q−an)n and (bn−q)n are positive, each with margin δ/4 and threshold N. By Definition 5.2.2 they represent κ(q)−x and y−κ(q). Hence x<κ(q) and κ(q)<y.

The rational q depends on the representatives a,b and on the constants fixed in the proof; nothing makes it the “best” rational, and a different run of the proof may give a different q. The theorem only claims that one exists.

The proof cites neither Theorem 2.5.3 nor Theorem 5.4.2: density came from the Cauchy property of the representatives, not from Archimedes. Chapter 4 proved density in every Archimedean ordered field (Theorem 4.2.5), so, with Theorem 5.4.2, it gives the same conclusion for R by another route (Exercise B1). We keep the direct proof for what it shows: in this construction, the rationals are dense because each real number is made of rationals.

5.4.4. Rational tolerances suffice

A tolerance for a limit in R is an element of R>0, a class of sequences. That is awkward to work with. The next result lets us test convergence in R with the tolerances κ(1/n) only.

Corollary 5.4.4 (Rational Tolerances Suffice)
  • (a) For every ε∈R>0 there is N∈Z>0 with κ(1/n)<ε for every n∈N with n≥N.
  • (b) Let (xk)k∈N be a sequence in R and x∈R. Then xk→x in R (Definition 4.3.2 with F=R) if and only if, for every n∈Z>0, there is K∈N with |xk−x|<κ(1/n) for every k≥K. Likewise, (xk) is Cauchy in R (Definition 4.5.1 with F=R) if and only if, for every n∈Z>0, there is K∈N with |xj−xk|<κ(1/n) for all j,k≥K.

Proof.

(⇐) Let ε∈R>0. By (a), there is N∈Z>0 with κ(1/N)<ε. The hypothesis with n:=N gives K with |xk−x|<κ(1/N) for every k≥K, and then |xk−x|<ε by (O2). So K serves for ε. The Cauchy version is the same argument with |xj−xk| for j,k≥K in place of |xk−x|.

In practice: to prove a limit in R, fix n∈Z>0 and find a threshold for the rational tolerance 1/n. The threshold may depend on n, and on nothing chosen later.

5.4.5. Each real number is the limit of its terms

A real number [a] was introduced as a name for “what the rationals ak are approaching”. Inside Q there may be nothing to approach. Inside R there is, and it is [a] itself.

Theorem 5.4.5 (A Cauchy Sequence Converges to Its Class)

Let a∈C. Then the sequence (κ(ak))k∈N converges in R to [a].

Idea. For a fixed k, the difference [a]−κ(ak) is represented by (am−ak)m: the sequence a with the single rational ak subtracted from every term. For m and k past a Cauchy threshold, these terms are small, and Lemma 5.3.4 turns a termwise bound into a bound between classes. That lemma yields only ≤, so we aim the termwise bound at 1/(2n), strictly below the target 1/n.

Proof. Let n∈Z>0. By Corollary 5.4.4 (b), it suffices to find K∈N with |κ(ak)−[a]|<κ(1/n) for every k≥K. Since κ(ak)−[a]=−([a]−κ(ak)), Proposition 4.1.3 (b) in R gives |κ(ak)−[a]|=|[a]−κ(ak)|, so we bound the latter.

Since a∈C and 1/(2n)∈Q>0, fix N∈N with |am−ak|<1/(2n) for all m,k≥N. Let k≥N.

By Definition 5.2.2, [a]−κ(ak)=[a]+[(−ak)m]=[(am−ak)m], and (am−ak)m∈C as the difference of a and a constant sequence (Theorem 4.5.3 (a), (b)). By Proposition 5.3.5, |[a]−κ(ak)|=[(|am−ak|)m]. For every m≥N, |am−ak|≤1/(2n). So Lemma 5.3.4, with the constant sequence (1/(2n))m and N0=N, gives |[a]−κ(ak)|≤κ(1/(2n)). Finally 0<n<2n in Q, so 1/(2n)<1/n (Proposition 2.5.2 (b)), and κ(1/(2n))<κ(1/n) by Theorem 5.4.1 (b). Combining ≤ with < (Proposition 2.3.5 (i)), |[a]−κ(ak)|<κ(1/n) for every k≥N. So K:=N works.

Why 1/(2n) and not 1/n directly? The Cauchy property gives |am−ak|<1/n, but Lemma 5.3.4 passes only the non-strict inequality to classes, so we would reach |[a]−κ(ak)|≤κ(1/n), one symbol short of the definition. Halving the tolerance first leaves room for the strict inequality.

The sequence does converge to the number it names, once that number exists. The theorem has a consequence worth stating in words: every real number is a limit of rationals, namely of the terms of any of its representatives. It also explains the slogan of the chapter. Equivalent sequences have the same class, so their terms converge in R to the same number; by uniqueness of limits (Theorem 4.3.4 in R), that number is the only limit they have. A real number is what all its representatives converge to.

Identification. From here on we write q for κ(q) when q∈Q, and Q⊆R. This is a convention about notation, of the kind Chapter 2 adopted twice, writing n for ι(n) and m for j(m) (Proposition 2.2.3, Proposition 2.4.4). It is safe because of Theorem 5.4.1: κ is injective and preserves sums, products, negatives, reciprocals, the order and the absolute value, so a statement about rationals means the same whether it is read in Q or, through κ, in R. It is not a set inclusion: the rational q is a class of pairs of integers, and κ(q) is a class of sequences of rationals, a different set. In the new notation the theorem says ak→[a] in R, and Corollary 5.4.4 says that the tolerances 1/n, n∈Z>0, suffice in R.

5.4.6. The square root of two

Chapter 4 ended with the Newton sequence (xn) of Example (A Rational Sequence Aimed at the Gap), Cauchy in Q and with no limit in Q (Theorem 4.6.1). Its class is the number it was aiming at.

Example (The Class of the Newton Sequence)

Let (xn) be the Newton sequence of Example (A Rational Sequence Aimed at the Gap), and let r:=[(xn)]∈R. Show that r>0, that r2=2, that r≠q for every q∈Q, and that r=[(dk)], where (dk) is the sequence of decimal truncations of Example (The Truncations and the Newton Sequence Are Equivalent).

Solution. The sequence (xn) is in C by Theorem 4.6.1, so r∈R. We use the facts xn>1 for every n∈N and en≤1/(4n) for every n≥1, where en:=xn2−2, stated in Theorem 4.6.1, and en>0 for every n∈N, proved in Example (A Rational Sequence Aimed at the Gap). The first values are e0=2,e1=14,e2=1144,e3=1166464,e4=1221682772224.

r>0. Since xn>1 for every n, the sequence (xn) is positive, with margin 1 and threshold 0. So r∈P, that is, r>0. By Lemma 5.3.4, also r≥1.

r2=2. By Definition 5.2.2, r2=r⋅r=[(xn2)], and 2=[(2)n]. Termwise, (xn2)−(2)n=(en). For n≥1, 0<en≤14n≤1n+1, where the last step is Proposition 4.1.2 (c), since 4n−(n+1)=3n−1>0. The sequence (1/(n+1)) is defined for every n∈N and null in Q (Example (First Limits) (b)); so is (0)n. The squeeze Proposition 4.4.4 (c) in Q, with N0=1, shows that (en) is null. (At n=0 the bound 1/(4n) is undefined and e0=2; the threshold N0=1 skips it.) Hence (xn2)∼(2)n and r2=2.

r is not rational. Suppose r=κ(q) for some q∈Q. Then κ(q2)=κ(q)2=r2=κ(2) by Theorem 5.4.1 (a), so q2=2 by injectivity. This contradicts Theorem 2.6.1. So r∉κ(Q).

r=[(dk)]. By Example (The Truncations and the Newton Sequence Are Equivalent), (dk)∼(xk), so the classes are equal.

So R contains a positive element whose square is 2, and Q contains none. It is the number Chapter 4 promised, and the decimal truncations name the same number as the Newton sequence.

Second readingThe lower Newton sequence names the same number

Section 4.6 noted that the rationals 2/xn approach the gap from below while the xn approach it from above. They name the same real number. The sequence (1/xn) is in C by Proposition 4.5.6 with c=1 and N=0, since |xn|=xn≥1; so (2/xn)∈C (Theorem 4.5.3 (b)). Termwise, xn−2xn=xn2−2xn=enxn,0<enxn≤en, using 0<1/xn (Proposition 2.5.2 (a)) and 1/xn≤1 (Proposition 4.1.2 (c) with a=1, b=xn): then en/xn>0 as a product of positives (O4), and en/xn≤1⋅en=en (Proposition 4.1.2 (d)). Since (en) is null, the squeeze makes (en/xn) null, so (2/xn)∼(xn) and [(2/xn)]=r.

Warning. r is not “the limit of (xn) in Q”: there is no such limit (Theorem 4.6.1), and nothing in this section changes that. The statement xn→r holds in R, by Theorem 5.4.5; it is a statement about a different field, with different tolerances and a different set of candidate limits.

Quick check. Find a rational number strictly between [(dk)] and [(dk+1/(k+1))].

Solution. There is none, and Theorem 5.4.3 does not apply. The two sequences differ by (1/(k+1)), which is null, so they are equivalent and the classes are equal. The hypothesis x<y fails, and no number lies strictly between a number and itself.

5.4.7. Exercises

A. Check your understanding

Exercise (A1)

Solution.

B. Practice

Exercise (B1)

Deduce Theorem 5.4.3 from Theorem 4.2.5 and Theorem 5.4.2. Then say which hypothesis each of the two proofs uses that the other does not.

Solution. By Theorem 5.4.2, R is an Archimedean ordered field. So Theorem 4.2.5 applies with F=R: for x<y in R there is q∈Q with x<ιR(q)<y. By Theorem 5.4.1 (d), ιR(q)=κ(q), which is the conclusion of Theorem 5.4.3.

The general theorem of Chapter 4 uses that F is Archimedean; it knows nothing about representatives, since an element of an arbitrary ordered field is not a class of sequences. The direct proof of Theorem 5.4.3 uses the Cauchy property of the representatives a and b, and positivity of b−a; it uses no Archimedean property, neither Theorem 2.5.3 nor Theorem 5.4.2.

Exercise (B2)

Let x∈R. For k∈N, let mk be the integer part of (k+1)x, and qk:=mk/(k+1)∈Q. Prove that qk≤x<qk+1/(k+1) for every k, and that qk→x in R.

Solution. Fix k∈N. By the definition of the integer part (after Theorem 5.4.2), mk≤(k+1)x<mk+1. Since k+1>0, also 1/(k+1)>0 (Proposition 2.5.2 (a)), and multiplying by it in R preserves both inequalities (Proposition 2.3.5 (c), with equality allowed on the left): qk=mkk+1≤x<mk+1k+1=qk+1k+1. So 0≤x−qk<1/(k+1) for every k. In R, the sequence (1/(k+1)), that is (1/((k+1)⋅1R)) by Theorem 5.4.1 (c), (d), is null, by Proposition 4.3.1 and Theorem 5.4.2. The squeeze Proposition 4.4.4 (c) in R, with lower sequence (0), gives that (x−qk) is null. Then (qk−x) is null (Theorem 4.4.3 (b)), so qk→x (Proposition 4.3.3).

Each qk is given by a rule: the integer part of (k+1)x is the only integer with the defining property, so nothing is chosen. Section 5.5 uses the same approximants, with a different real number xk for each k.

Exercise (B3: Put the proof in order)

The lines below, after the identification paragraph (so q stands for κ(q)), contain the proof of Theorem 5.4.5 for a∈C, shuffled, together with two lines that do not belong. Put the correct lines in order, and say what is wrong with each of the other two.

  • (i) so |[a]−ak|=[(|am−ak|)m], by Proposition 5.3.5;
  • (ii) since a∈C, fix N with |am−ak|<1/(2n) for all m,k≥N;
  • (iii) its terms are <1/(2n) for m≥N, so |[a]−ak|<1/(2n);
  • (iv) 1/(2n)<1/n; take K=N;
  • (v) let k≥N;
  • (vi) let n∈Z>0; by Corollary 5.4.4 (b), it suffices to find K with |[a]−ak|<1/n for every k≥K, since |ak−[a]|=|[a]−ak| (Proposition 4.1.3 (b));
  • (vii) [a]−ak is represented by (am−ak)m;
  • (viii) for each k, fix Nk with |am−ak|<1/(2n) for every m≥Nk;
  • (ix) its terms are ≤1/(2n) for m≥N, so |[a]−ak|≤1/(2n), by Lemma 5.3.4.

Solution. Order: (vi), (ii), (v), (vii), (i), (ix), (iv). No other order is admissible: line (ii) introduces N, which line (v) needs; line (v) fixes the k that lines (vii), (i) and (ix) are about; line (i) rewrites the class that line (vii) names; line (ix) bounds that class; and line (iv) concludes from line (ix), so it comes last.

Line (iii) uses the strict version of Lemma 5.3.4, which is false: termwise < passes to classes only as ≤ (Example (Termwise Order Is Not an Order on Classes)). That is why the proof aims at 1/(2n) and then uses 1/(2n)<1/n.

Line (viii) claims a threshold Nk for every k, and the Cauchy property does not supply one for an early k: ak can be far from all later terms. For a=(5,0,0,…)∈C, n=1 and k=0, |am−a0|=5 for every m≥1, so no N0 exists. The Cauchy property gives |am−ak|<1/(2n) only when both m and k are at least one N, which is why line (v) takes k≥N. (If line (viii) did hold for every k, the remaining lines would give the bound for every k, so it is the claim that is unjustified, not the dependence on k.)

C. Going deeper

Exercise (C1)
  • (a) Let x∈R with |x|≤1/n for every n∈Z>0. Prove that x=0.
  • (b) Which result used in your proof needs R to be Archimedean? Show that the statement of (a) fails in the ordered field Q(t) of Example (A Non-Archimedean Ordered Field).

Solution.

Exercise (C2)

Let r be as in Example (The Class of the Newton Sequence). Prove that the set {x∈R:x∉κ(Q)} of irrational real numbers is dense in R: for all x,y∈R with x<y there is an irrational z with x<z<y.

Solution (Hint 1). Use Theorem 5.4.3, and the irrational number r.

Solution (Hint 2). Let q∈Q with x<q<y (Theorem 5.4.3). How small must r/k be for q+r/k to stay below y?

Solution. Let x<y. By Theorem 5.4.3, fix q∈Q with x<q<y. Then y−q>0, and r>0 (Example (The Class of the Newton Sequence)), so ε:=(y−q)/r∈R>0 (Proposition 2.5.2 (a), (O4)). By Corollary 5.4.4 (a), there is k∈Z>0 with 1/k<ε. Multiplying by r>0 (Proposition 2.3.5 (c)), r/k<y−q. Let z:=q+r/k. Since r/k>0, x<q<z<q+(y−q)=y. If z were rational, z=p with p∈Q, then r=k(p−q) would be rational, since κ preserves differences and products (the identities after Theorem 5.4.1, and its part (a)); this contradicts Example (The Class of the Newton Sequence). So z is irrational, and lies strictly between x and y.

The same argument works with r replaced by any positive irrational number. Between any two reals there are therefore both rationals and irrationals.