Mathematics · Book 3 · Bachelor Year 1

University Mathematics — Year 1

University Mathematics — Year 1 · Bachelor Year 1

10Real Numbers

All of analysis rests on one property that distinguishes R\R from Q\Q: every nonempty set bounded from above has a least upper bound. This chapter states it precisely, derives its first consequences — the Archimedean property, the floor function, the density of the rationals and of the irrationals — and sets up the vocabulary (sup, inf, max, min) used constantly from Chapter 11 onward.

10.1 The upper bound property

Definition 10.1 (Bounds, sup and inf)

Let A⊆RA \subseteq \R be nonempty. A real MM is an upper bound of AA when a≤Ma \leq M for all a∈Aa \in A; AA is bounded above when it has an upper bound (similarly below, with lower bounds; bounded means both). A maximum of AA is an upper bound belonging to AA.

The supremum sup⁡A\sup A is the least upper bound of AA, when it exists; the infimum inf⁡A\inf A is the greatest lower bound.

Theorem 10.2 (Completeness axiom of R\R)

R\R is an ordered field containing Q\Q in which every nonempty subset bounded above has a supremum.

Proof. Admitted at this level. ∎

Remark 10.3

We take this as the defining axiom of R\R; constructing a model (by Dedekind cuts or by Cauchy sequences of rationals) and proving its uniqueness is honest but long, and is left for further study. Note that Q\Q fails the property: {x∈Q:x2<2}\{x \in \Q : x^2 < 2\} is bounded above but has no least upper bound in Q\Q — its candidate, 2\sqrt 2, is missing (Example 1.11). By passing to opposites (sup⁡(−A)=−inf⁡A\sup(-A) = -\inf A), every nonempty set bounded below has an infimum.

Proposition 10.4 (The ε\varepsilon-characterization)

Let A≠∅A \neq \emptyset be bounded above and s∈Rs \in \R. Then s=sup⁡As = \sup A if and only if

  1. ss is an upper bound: ∀a∈A\forall a \in A, a≤sa \leq s; and
  2. nothing smaller is: ∀ε>0\forall \varepsilon > 0, ∃a∈A\exists a \in A, a>s−εa > s - \varepsilon.

Proof. If s=sup⁡As = \sup A: (1) holds by definition, and for (2), s−ε<ss - \varepsilon < s is not an upper bound, which is exactly the existence of a>s−εa > s - \varepsilon. Conversely, (1) says ss is an upper bound; (2) says no t<st < s is an upper bound (take ε=s−t\varepsilon = s - t): ss is the least one. ∎

Example 10.5

sup⁡(0, 1)=1\sup \intoo{0}{1} = 1, not attained (no maximum); sup⁡[0, 1]=1=max⁡\sup \intcc{0}{1} = 1 = \max. For A={1−1n:n∈N∗}A = \{1 - \frac 1n : n \in \N^*\}: sup⁡A=1\sup A = 1, not attained; inf⁡A=min⁡A=0\inf A = \min A = 0. A maximum, when it exists, is the supremum; the whole point of sup⁡\sup is to have a substitute when the maximum does not exist.

The set A = \1 - 1n : n ∈ ℕ*\ on the number line: its points pile up toward 1 without reaching it. Every number ≥ 1 is an upper bound (the ray), and nothing smaller is, because an element of A enters each interval (1 - , 1): the two clauses of  in one picture. The supremum is the left endpoint of the ray of upper bounds — and the completeness axiom is precisely the guarantee that this ray always has a left endpoint.
The set A={1−1n:n∈N∗}A = \{1 - \frac1n : n \in \N^*\} on the number line: its points pile up toward 11 without reaching it. Every number ≥1\geq 1 is an upper bound (the ray), and nothing smaller is, because an element of AA enters each interval (1−ε, 1)\intoo{1 - \varepsilon}{1}: the two clauses of Proposition 10.4 in one picture. The supremum is the left endpoint of the ray of upper bounds — and the completeness axiom is precisely the guarantee that this ray always has a left endpoint.

Example 10.6 (Computing suprema in practice)

Two full workouts of Proposition 10.4.

The set A={x+1x:x>0}A = \{x + \frac1x : x > 0\}. For every x>0x > 0, x+1x−2=( x−1/x )21≥0x + \frac1x - 2 = \frac{(\,\sqrt x - 1/\sqrt x\,)^2}{1} \geq 0, so 22 is a lower bound; and 2=1+11∈A2 = 1 + \frac11 \in A: therefore inf⁡A=min⁡A=2\inf A = \min A = 2, attained at x=1x = 1. Above, AA is unbounded (x+1x>xx + \frac1x > x can exceed any MM by Theorem 10.10): sup⁡A\sup A does not exist in R\R (it is +∞+\infty in R‾\overline\R).

The set B={mm+n:m,n∈N∗}B = \bigl\{\frac{m}{m + n} : m, n \in \N^*\bigr\}. Every element lies in (0, 1)\intoo{0}{1}, so 00 and 11 are bounds. Neither is attained: mm+n=1\frac{m}{m+n} = 1 would force n=0n = 0. For the supremum, freeze n=1n = 1 and let mm grow: mm+1=1−1m+1>1−ε\frac{m}{m+1} = 1 - \frac{1}{m+1} > 1 - \varepsilon as soon as m+1>1εm + 1 > \frac1\varepsilon (Archimedes): sup⁡B=1\sup B = 1. Symmetrically (m=1m = 1, nn large), inf⁡B=0\inf B = 0. The closing insight: to pin a supremum, one well-chosen one-parameter path inside the set suffices — here the path n=1n = 1 — and the ε\varepsilon-characterization asks for nothing more.

Example 10.7 (The infimum mirror)

The infimum has its own ε\varepsilon-characterization, obtained from Proposition 10.4 through inf⁡A=−sup⁡(−A)\inf A = -\sup(-A): i=inf⁡Ai = \inf A iff ii bounds AA below and, for every ε>0\varepsilon > 0, some a∈Aa \in A has a<i+εa < i + \varepsilon. A workout with both bounds at once: let

A={(−1)n+1n:n∈N∗}={0, 32, −23, 54, −45, … }.A = \Bigl\{(-1)^n + \frac1n : n \in \N^*\Bigr\} = \Bigl\{0,\ \tfrac32,\ -\tfrac23,\ \tfrac54,\ -\tfrac45,\ \dots\Bigr\} .

Even indices give 1+1n≤321 + \frac1n \leq \frac32, with equality at n=2n = 2: since also the odd-index values are ≤0<32\leq 0 < \frac32, we get sup⁡A=max⁡A=32\sup A = \max A = \frac32. Odd indices give −1+1n>−1-1 + \frac1n > -1, decreasing toward −1-1: every element of AA is >−1> -1, and −1+ε-1 + \varepsilon is beaten by −1+1n-1 + \frac1n for odd n>1εn > \frac1\varepsilon: inf⁡A=−1\inf A = -1, not attained. One set, all four behaviors on display: a supremum that is a maximum, an infimum that is not a minimum.

Remark 10.8 (Common pitfalls with sup and inf)

Four errors account for most lost points. (i) Confusing sup⁡\sup and max⁡\max: sup⁡A\sup A need not belong to AA; write max⁡\max only after exhibiting an element of AA that is an upper bound. (ii) Passing strict inequalities to the supremum: if a<ba < b for all a∈Aa \in A, one may only conclude sup⁡A≤b\sup A \leq b — witness A=(0, 1)A = \intoo{0}{1}, b=1b = 1. (iii) Writing sup⁡A\sup A before checking legality: the symbol requires AA nonempty and bounded above (Method 10.18); sup⁡∅\sup \emptyset and sup⁡N\sup \N are undefined in R\R (the conventions of R‾\overline\R are a separate, explicit act). (iv) Set operations: sup⁡(A∪B)=max⁡(sup⁡A,sup⁡B)\sup(A \cup B) = \max(\sup A, \sup B) always, but nothing general holds for A∩BA \cap B — it may be empty, and even when it is not, sup⁡(A∩B)\sup(A \cap B) can be far below min⁡(sup⁡A,sup⁡B)\min(\sup A, \sup B): take A={0,2}A = \{0, 2\} and B={0,3}B = \{0, 3\}, where sup⁡(A∩B)=0\sup(A \cap B) = 0.

Example 10.9 (Finite sets have maxima — a lemma used silently)

Every finite nonempty F⊆RF \subseteq \R has a maximum (and a minimum). Induction on the number of elements: a singleton {a}\{a\} has max⁡=a\max = a; if the claim holds for nn-element sets and FF has n+1n + 1 elements, pick any a∈Fa \in F: the set F∖{a}F \setminus \{a\} has a maximum mm, and max⁡F\max F is mm if a≤ma \leq m, else aa. No completeness is involved — this is pure order plus induction, valid already in Q\Q — yet the lemma deserves one honest statement because the coming proofs invoke it silently: the floor construction below (“a set of integers trapped in a finite range has a greatest element”), every max⁡(∣u0∣,…,∣uN−1∣,… )\max(\abs{u_0}, \dots, \abs{u_{N-1}}, \dots) bound in Chapter 11, every “take the largest of the finitely many δ\deltas” in Chapter 13. Infinite sets are where maxima die and suprema take over: this chapter exists for the infinite case.

Theorem 10.10 (Archimedean property)

For every x∈Rx \in \R there is n∈Nn \in \N with n>xn > x. Equivalently: for all ε>0\varepsilon > 0 and y>0y > 0, some multiple nεn\varepsilon exceeds yy.

Proof. Suppose not: some xx is an upper bound of N\N. Then s=sup⁡Ns = \sup \N exists (Theorem 10.2). By Proposition 10.4 (2) with ε=1\varepsilon = 1, there is n∈Nn \in \N with n>s−1n > s - 1; but then n+1∈Nn + 1 \in \N and n+1>sn + 1 > s, contradicting that ss is an upper bound. For the second form, let ε>0\varepsilon > 0 and y>0y > 0: the first form applied to x=yεx = \frac{y}{\varepsilon} produces n∈Nn \in \N with n>yεn > \frac{y}{\varepsilon}, and multiplying by ε>0\varepsilon > 0 (which preserves strict inequalities) gives nε>yn\varepsilon > y. Conversely, the second form with ε=1\varepsilon = 1 and y=xy = x recovers the first for x>0x > 0, and n=1n = 1 handles x≤0x \leq 0: the two statements are strictly equivalent. ∎

Example 10.11 (Archimedes at work)

Three immediate uses, constantly needed later. (i) No positive real is below every 1n\frac1n: if 0<ε0 < \varepsilon, pick n>1εn > \frac1\varepsilon; then 1n<ε\frac1n < \varepsilon. In other words, R\R contains no infinitesimals — the informal “1n\frac1n becomes arbitrarily small” is exactly this theorem. (ii) Explicit thresholds: how large must nn be for 1n2≤10−6\frac{1}{n^2} \leq 10^{-6}? It suffices that n≥103n \geq 10^3 — Archimedes guarantees such nn exist, and the algebra locates them. (iii) Powers beat any bound: 2n≥n+12^n \geq n + 1 (induction), so for every MM some power of 22 exceeds MM: the geometric growth used for the dyadics in Exercise 10.8. The closing insight: the Archimedean property is the licence behind every phrase of the form “take nn large enough” — from now on we use that phrase freely, and this example is its one-time justification.

Theorem 10.12 (Floor function)

For every x∈Rx \in \R there is exactly one integer, the floor ⌊x⌋\lfloor x \rfloor, with

⌊x⌋≤x<⌊x⌋+1.\lfloor x \rfloor \leq x < \lfloor x \rfloor + 1 .

Proof. Existence. The set E={k∈Z:k≤x}E = \{k \in \Z : k \leq x\} is nonempty: by Theorem 10.10 there is m∈Nm \in \N with m>−xm > -x, and then −m<x-m < x, so −m∈E-m \in E. It is bounded above (by any integer n>xn > x, which exists for the same reason), so, being a set of integers trapped in the finite range [ ⁣[−m, n] ⁣]\intint{-m}{n}, it has a greatest element k=max⁡Ek = \max E. Then k≤xk \leq x, and k+1∉Ek + 1 \notin E means x<k+1x < k + 1.

Uniqueness. If kk and k′k' both satisfy the inequalities, then k≤x<k′+1k \leq x < k' + 1 gives k≤k′k \leq k', and symmetrically k′≤kk' \leq k. ∎

Example 10.13 (Floors in practice)

⌊3.7⌋=3\lfloor 3.7 \rfloor = 3, ⌊5⌋=5\lfloor 5 \rfloor = 5, and ⌊−3.7⌋=−4\lfloor -3.7 \rfloor = -4: the floor goes down, not toward 00. Two consequences of uniqueness in Theorem 10.12 that we will use silently. First, for n∈Zn \in \Z,

⌊x+n⌋=⌊x⌋+n,\lfloor x + n \rfloor = \lfloor x \rfloor + n ,

because ⌊x⌋+n\lfloor x \rfloor + n is an integer satisfying the two defining inequalities for x+nx + n — and only one integer does. Second, ⌊ ⋅ ⌋\lfloor \, \cdot \, \rfloor is nondecreasing: if x≤yx \leq y then ⌊x⌋≤x≤y<⌊y⌋+1\lfloor x \rfloor \leq x \leq y < \lfloor y \rfloor + 1, and an integer <⌊y⌋+1< \lfloor y \rfloor + 1 is ≤⌊y⌋\leq \lfloor y \rfloor. Beware, however, that ⌊2x⌋≠2⌊x⌋\lfloor 2x \rfloor \neq 2\lfloor x \rfloor in general: x=0.6x = 0.6 gives ⌊1.2⌋=1≠0=2⌊0.6⌋\lfloor 1.2 \rfloor = 1 \neq 0 = 2\lfloor 0.6 \rfloor.

What is true is a worked identity worth keeping (Hermite’s, in its simplest case): for every real xx,

⌊x⌋+⌊x+12⌋=⌊2x⌋.\lfloor x \rfloor + \Bigl\lfloor x + \frac12 \Bigr\rfloor = \lfloor 2x \rfloor .

Write x=⌊x⌋+ux = \lfloor x\rfloor + u with u∈[0, 1)u \in \intco{0}{1} and separate two cases. If u<12u < \frac12: the left side is ⌊x⌋+⌊x⌋=2⌊x⌋\lfloor x\rfloor + \lfloor x\rfloor = 2\lfloor x\rfloor, and 2x=2⌊x⌋+2u2x = 2\lfloor x\rfloor + 2u with 2u∈[0, 1)2u \in \intco{0}{1}, so the right side is 2⌊x⌋2\lfloor x\rfloor too. If u≥12u \geq \frac12: the left side is ⌊x⌋+(⌊x⌋+1)\lfloor x\rfloor + (\lfloor x\rfloor + 1), and 2u∈[1, 2)2u \in \intco{1}{2} makes the right side 2⌊x⌋+12\lfloor x\rfloor + 1. The closing insight: ⌊x+12⌋\lfloor x + \frac12\rfloor is the rounding of xx to the nearest integer, so the identity says that floor plus rounding equals floor of the double — and the case split on the fractional part uu is the standard technique behind every floor identity (Exercises 10.2 and 10.3 run on it too).

Theorem 10.14 (Density of Q\Q and of R∖Q\R \setminus \Q)

Between any two reals x<yx < y there lie a rational and an irrational.

Proof. A rational. By Theorem 10.10, pick n∈N∗n \in \N^* with n>1y−xn > \frac{1}{y - x}, so ny−nx>1ny - nx > 1. Let m=⌊nx⌋+1m = \lfloor nx \rfloor + 1. On one side, nx<⌊nx⌋+1=mnx < \lfloor nx \rfloor + 1 = m (Theorem 10.12); on the other, m=⌊nx⌋+1≤nx+1<nym = \lfloor nx \rfloor + 1 \leq nx + 1 < ny. Dividing by nn: x<mn<yx < \frac mn < y.

An irrational. Apply the previous point to the pair x−2<y−2x - \sqrt 2 < y - \sqrt 2: some rational qq lies between them, and then q+2∈(x, y)q + \sqrt 2 \in \intoo{x}{y} is irrational (if q+2q + \sqrt 2 were rational, so would be 2\sqrt 2). ∎

Example 10.15 (Running the proof of density)

The proof is an algorithm; let us execute it on x=1.414x = 1.414 and y=2y = \sqrt 2. Since 1.41422=1.99996164<21.4142^2 = 1.99996164 < 2, we have 2>1.4142\sqrt 2 > 1.4142, so y−x>0.0002y - x > 0.0002 and 1y−x<5000\frac{1}{y - x} < 5000: the choice n=5000n = 5000 is legitimate. Then nx=7070nx = 7070, so m=⌊7070⌋+1=7071m = \lfloor 7070 \rfloor + 1 = 7071, and the rational produced is

mn=70715000=1.4142,1.414<1.4142<2.\frac{m}{n} = \frac{7071}{5000} = 1.4142, \qquad 1.414 < 1.4142 < \sqrt 2 .

The closing insight: the proof needs nn only slightly larger than 1y−x\frac{1}{y-x}, and returns the first multiple of 1n\frac 1n beyond xx. Density is not an abstract miracle — it is long division in disguise, a theme developed at length in the weekend problem (Problem 10.1).

Remark 10.16 (Where completeness is used next)

Theorem 10.2 is the single non-algebraic axiom of this book, and every existence theorem of analysis is that axiom wearing different clothes: the monotone convergence theorem (Chapter 11), the Bolzano–Weierstrass theorem (Chapter 12), the intermediate value and extreme value theorems (Chapter 13), and the very definition of the integral as a supremum of lower sums (Chapter 15). The Year 3 volume builds measure theory and Hilbert spaces on the same single axiom. When a proof in the coming chapters produces a real number out of thin air, look for the hidden supremum.

Remark 10.17 (Between discreteness and density)

Z\Z and Q\Q sit at opposite extremes inside R\R: around each integer there is a gap of length 11 containing no other (discreteness — this is what makes the floor well defined), while between any two reals there are infinitely many rationals (density). Remarkably, for additive subgroups of R\R there is nothing in between: Exercise 10.9 proves that such a subgroup is either of the form αZ\alpha\Z (discrete) or dense — a dichotomy that powers the density of {sin⁡n}\{\sin n\} in Chapter 11 and the constructive monster of Problem 13.1. General sets, of course, mix the behaviors freely: Z∪Q∩[0, 1]\Z \cup \Q\cap\intcc{0}{1} is discrete far away and dense in the middle.

Method 10.18 (Proving equalities with sup and inf)

To prove sup⁡A=s\sup A = s: check that ss bounds AA above, then produce, for each ε>0\varepsilon > 0 (or for a sequence ε=1n\varepsilon = \frac 1n), an element of AA above s−εs - \varepsilon. To compare suprema, use: A⊆B  ⟹  sup⁡A≤sup⁡BA \subseteq B \implies \sup A \leq \sup B; and for all a,ba, b: sup⁡(A+B)=sup⁡A+sup⁡B\sup(A + B) = \sup A + \sup B, where A+B={a+b}A + B = \{a + b\} (Exercise 10.5). Never write sup⁡A\sup A before knowing AA is nonempty and bounded above.

10.2 Intervals

Proposition 10.19 (Characterization of intervals)

A subset I⊆RI \subseteq \R is an interval (one of the familiar types (a, b)\intoo{a}{b}, [a, b]\intcc{a}{b}, [a, b)\intco{a}{b}, (a, b]\intoc{a}{b}, half-lines, R\R, ∅\emptyset, singletons) if and only if it is convex:

∀x,y∈I, ∀z∈R,x≤z≤y  ⟹  z∈I.\forall x, y \in I,\ \forall z \in \R, \quad x \leq z \leq y \implies z \in I .

Proof. Every listed type is clearly convex. Conversely, let II be convex and nonempty. Set a=inf⁡Ia = \inf I if II is bounded below, else a=−∞a = -\infty; likewise b=sup⁡Ib = \sup I or +∞+\infty. We claim (a, b)⊆I⊆[a, b]\intoo{a}{b} \subseteq I \subseteq \intcc{a}{b} (with obvious conventions at ±∞\pm\infty). The second inclusion is the definition of bounds. For the first, let z∈(a, b)z \in \intoo{a}{b}: since z>az > a, zz is not a lower bound (or a=−∞a = -\infty), so some x∈Ix \in I has x<zx < z; similarly some y∈Iy \in I has y>zy > z; convexity puts z∈Iz \in I.

It remains to read off the type from the double inclusion (a, b)⊆I⊆[a, b]\intoo{a}{b} \subseteq I \subseteq \intcc{a}{b}: the sets squeezed between an open interval and its closure differ from (a, b)\intoo{a}{b} only by the presence or absence of the (finite) endpoints. Explicitly: if a,b∈Ra, b \in \R, the four possibilities for (a∈I, b∈I)(a \in I,\ b \in I) give (a, b)\intoo{a}{b}, [a, b)\intco{a}{b}, (a, b]\intoc{a}{b}, [a, b]\intcc{a}{b} (including the degenerate cases a=ba = b: singleton if a∈Ia \in I); if a=−∞a = -\infty and b∈Rb \in \R, one gets (−∞, b)\intoo{-\infty}{b} or (−∞, b]\intoc{-\infty}{b}; symmetrically for a∈Ra \in \R, b=+∞b = +\infty; and a=−∞a = -\infty, b=+∞b = +\infty gives I=RI = \R. Every case is on the list: done. ∎

Remark 10.20 (Why convexity is the right test)

The proposition converts a geometric definition (a list of ten shapes) into a one-line logical test, and the test is what one actually uses: to prove that a set is an interval, never chase which of the ten shapes it is — verify convexity and let the proposition sort out the type. The intermediate value theorem of Chapter 13 will be stated exactly this way (“the continuous image of an interval is an interval”), and its proof produces the convexity, not the shape.

Remark 10.21 (Extended real line)

It is convenient to adjoin two symbols and work in R‾=R∪{−∞,+∞}\overline\R = \R \cup \{-\infty, +\infty\}, with the conventions sup⁡A=+∞\sup A = +\infty when AA is not bounded above and sup⁡∅=−∞\sup \emptyset = -\infty. Then every subset of R\R has a supremum in R‾\overline\R — a notational comfort used freely for limits in Chapter 11.

Example 10.22 (Computing in R‾\overline\R)

With the conventions in force: sup⁡Z=+∞\sup \Z = +\infty, inf⁡Z=−∞\inf \Z = -\infty; for A={n+(−1)nn:n∈N}={0,4,0,8,… }∪{0}A = \{n + (-1)^n n : n \in \N\} = \{0, 4, 0, 8, \dots\} \cup \{0\}, sup⁡A=+∞\sup A = +\infty (the even terms 2n2n are unbounded) and inf⁡A=min⁡A=0\inf A = \min A = 0; and sup⁡∅=−∞≤inf⁡∅=+∞\sup\emptyset = -\infty \leq \inf\emptyset = +\infty — the one set whose supremum is smaller than its infimum, a reminder that the conventions are chosen to make sup⁡\sup increasing and inf⁡\inf decreasing with respect to inclusion:

A⊆B  ⟹  sup⁡A≤sup⁡Bandinf⁡A≥inf⁡B,A \subseteq B \implies \sup A \leq \sup B \quad\text{and}\quad \inf A \geq \inf B ,

now valid with no nonemptiness caveat. What the conventions do not provide is arithmetic: +∞+(−∞)+\infty + (-\infty) and 0×(+∞)0 \times (+\infty) stay undefined, and every algebraic manipulation of suprema must first check it never forms these. The extended line is bookkeeping, not a number system.

Example 10.23 (The supremum that escaped Q\Q)

Return to the set of the opening remark, A={x∈Q:x2<2}A = \{x \in \Q : x^2 < 2\}, and compute its supremum in R\R. It is nonempty (1∈A1 \in A) and bounded above by 1.51.5 (if x>1.5x > 1.5 then x2>2.25>2x^2 > 2.25 > 2), so s=sup⁡As = \sup A exists. We claim s=2s = \sqrt 2 (the real number built in Exercise 10.12). Upper bound: every a∈Aa \in A satisfies a<2a < \sqrt2 — for a≤0a \leq 0 this is clear, and for a>0a > 0, a≥2a \geq \sqrt2 would give a2≥2a^2 \geq 2. Nothing smaller works: given t<2t < \sqrt2, density (Theorem 10.14) provides a rational qq with max⁡(1,t)<q<2\max(1, t) < q < \sqrt 2, and then q2<2q^2 < 2, so q∈Aq \in A exceeds tt. By Proposition 10.4, s=2∉Qs = \sqrt2 \notin \Q. The closing insight: the supremum of a set of rationals need not be rational — completeness is precisely the promise that R\R, unlike Q\Q, never lets a supremum escape; this example is the opening remark of the chapter, now proved rather than pointed at.

Remark 10.24 (Perspectives inside this volume)

The chapter’s three tools have distinct careers ahead. The supremum runs the analysis half: monotone limits (Chapter 11), the integral’s very definition (Chapter 15), and, in the geometry of Chapter 23, the distance from a point to a subspace — an infimum that orthogonal projection turns into a minimum. The floor function returns wherever the discrete meets the continuous: digit expansions (this chapter’s weekend problem), Dirichlet’s pigeonhole approximation (Problem 14.1), integral comparisons of sums (Chapter 17). Density arguments upgrade into a method in Chapter 13: an identity of continuous functions needs checking only on Q\Q — half of Cauchy’s functional equation (Problem 13.1) is exactly that move. When in doubt about where a proof in this volume gets its existence statements, the answer is nearly always: this chapter.

10.3 Exercises

Exercise 10.1 ★

Determine (with proofs) sup, inf, max, min — when they exist — of:

A={1n:n∈N∗},B={(−1)nnn+1:n∈N},C={x∈R:x2<3}.A = \Bigl\{\frac{1}{n} : n \in \N^*\Bigr\}, \qquad B = \Bigl\{\frac{(-1)^n n}{n+1} : n \in \N\Bigr\}, \qquad C = \{x \in \R : x^2 < 3\}.
Solution

Solution of Exercise 10.1.

AA: every element is ≤1\leq 1 and 1∈A1 \in A: sup⁡A=max⁡A=1\sup A = \max A = 1. Lower bounds: 00 bounds below; for ε>0\varepsilon > 0, Archimedes provides nn with 1n<ε\frac 1n < \varepsilon, so no positive number bounds AA below: inf⁡A=0\inf A = 0, not attained (no min).

BB: terms 0,−12,23,−34,45,…0, -\frac12, \frac23, -\frac34, \frac45, \dots The even terms nn+1\frac{n}{n+1} (nn even) increase to 11 without reaching it; the odd terms −nn+1-\frac{n}{n+1} decrease to −1-1. So sup⁡B=1\sup B = 1 and inf⁡B=−1\inf B = -1, neither attained: no max, no min. (Bounds: ∣b∣<1\abs{b} < 1 for all b∈Bb \in B; and nn+1=1−1n+1>1−ε\frac{n}{n+1} = 1 - \frac{1}{n+1} > 1 - \varepsilon for nn large, similarly below.)

C=(−3, 3)C = \intoo{-\sqrt 3}{\sqrt 3}: sup⁡C=3\sup C = \sqrt 3, inf⁡C=−3\inf C = -\sqrt 3, neither attained.

Exercise 10.2 ★

Prove that for all x,y∈Rx, y \in \R: ⌊x⌋+⌊y⌋≤⌊x+y⌋≤⌊x⌋+⌊y⌋+1\lfloor x \rfloor + \lfloor y \rfloor \leq \lfloor x + y \rfloor \leq \lfloor x \rfloor + \lfloor y \rfloor + 1, and that both bounds are attained.

Solution

Solution of Exercise 10.2.

Write x=⌊x⌋+ux = \lfloor x \rfloor + u, y=⌊y⌋+vy = \lfloor y \rfloor + v with u,v∈[0, 1)u, v \in \intco{0}{1}. Then x+y=⌊x⌋+⌊y⌋+(u+v)x + y = \lfloor x \rfloor + \lfloor y \rfloor + (u + v) with u+v∈[0, 2)u + v \in \intco{0}{2}. If u+v<1u + v < 1, ⌊x+y⌋=⌊x⌋+⌊y⌋\lfloor x + y\rfloor = \lfloor x\rfloor + \lfloor y \rfloor; if 1≤u+v<21 \leq u + v < 2, ⌊x+y⌋=⌊x⌋+⌊y⌋+1\lfloor x+y \rfloor = \lfloor x \rfloor + \lfloor y \rfloor + 1. Both cases occur: (x,y)=(0.2, 0.3)(x, y) = (0.2,\, 0.3) gives the left equality, (0.7, 0.8)(0.7,\, 0.8) the right one.

Exercise 10.3 ★

Prove that for every x∈Rx \in \R and n∈N∗n \in \N^*: ⌊⌊nx⌋n⌋=⌊x⌋\Bigl\lfloor \frac{\lfloor nx \rfloor}{n} \Bigr\rfloor = \lfloor x \rfloor.

Solution

Solution of Exercise 10.3.

Let k=⌊x⌋k = \lfloor x \rfloor, so k≤x<k+1k \leq x < k + 1. Multiplying by nn: nk≤nx<nk+nnk \leq nx < nk + n, and taking floors (an increasing operation on integers’ side): nk≤⌊nx⌋≤nk+n−1nk \leq \lfloor nx \rfloor \leq nk + n - 1. Dividing by nn: k≤⌊nx⌋n<k+1k \leq \frac{\lfloor nx \rfloor}{n} < k + 1, so the outer floor is kk.

Exercise 10.4 ★

Let A⊆BA \subseteq B be nonempty subsets of R\R, BB bounded. Prove inf⁡B≤inf⁡A≤sup⁡A≤sup⁡B\inf B \leq \inf A \leq \sup A \leq \sup B.

Solution

Solution of Exercise 10.4.

Every element of AA is in BB, so sup⁡B\sup B bounds AA above: therefore sup⁡A≤sup⁡B\sup A \leq \sup B (sup⁡A\sup A is the least upper bound). Symmetrically inf⁡B≤inf⁡A\inf B \leq \inf A. Finally inf⁡A≤sup⁡A\inf A \leq \sup A because AA is nonempty: any a∈Aa \in A sits between them.

Exercise 10.5 ★★

For nonempty bounded A,B⊆RA, B \subseteq \R, define A+B={a+b:a∈A, b∈B}A + B = \{a + b : a \in A,\ b \in B\} and −A={−a:a∈A}-A = \{-a : a \in A\}. Prove:

sup⁡(A+B)=sup⁡A+sup⁡B,sup⁡(−A)=−inf⁡A.\sup(A + B) = \sup A + \sup B, \qquad \sup(-A) = -\inf A .
Solution

Solution of Exercise 10.5.

Let s=sup⁡As = \sup A, t=sup⁡Bt = \sup B. Every a+b≤s+ta + b \leq s + t: upper bound. For ε>0\varepsilon > 0, choose a>s−ε2a > s - \frac\varepsilon2 and b>t−ε2b > t - \frac\varepsilon2 (Proposition 10.4): then a+b>s+t−εa + b > s + t - \varepsilon. By the ε\varepsilon-characterization, sup⁡(A+B)=s+t\sup(A+B) = s + t.

For −A-A: mm bounds −A-A above   ⟺  \iff −m-m bounds AA below; the least upper bound of −A-A therefore corresponds to the greatest lower bound of AA: sup⁡(−A)=−inf⁡A\sup(-A) = -\inf A.

Exercise 10.6 ★★

Let f,g ⁣:E→Rf, g \colon E \to \R be bounded functions. Prove

sup⁡x∈E (f(x)+g(x))≤sup⁡x∈Ef(x)+sup⁡x∈Eg(x),\sup_{x \in E}\, \bigl(f(x) + g(x)\bigr) \leq \sup_{x \in E} f(x) + \sup_{x \in E} g(x),

and give an example where the inequality is strict. Why does this not contradict Exercise 10.5?

Solution

Solution of Exercise 10.6.

For every xx: f(x)+g(x)≤sup⁡f+sup⁡gf(x) + g(x) \leq \sup f + \sup g; taking the sup of the left side gives the inequality. Strict example: E={0,1}E = \{0, 1\}, f=1{0}f = \mathbf{1}_{\{0\}} (value 11 at 00, else 00), g=1{1}g = \mathbf{1}_{\{1\}}: sup⁡(f+g)=1<2=sup⁡f+sup⁡g\sup(f + g) = 1 < 2 = \sup f + \sup g.

No contradiction with Exercise 10.5: there, a∈Aa \in A and b∈Bb \in B vary independently; here the same xx feeds both ff and gg — the set {f(x)+g(x):x∈E}\{f(x) + g(x) : x \in E\} is smaller than the set {f(x)+g(y):x,y∈E}\{f(x) + g(y) : x, y \in E\}.

Exercise 10.7 ★★

Prove that 2+3\sqrt 2 + \sqrt 3 is irrational. (Square it and use the irrationality of 6\sqrt 6, to be proved via Exercise 6.7.)

Solution

Solution of Exercise 10.7.

6\sqrt 6 is irrational: 6=2×36 = 2 \times 3 is not a perfect square, and v2(6q2)=1+2v2(q)v_2(6q^2) = 1 + 2v_2(q) odd prevents 6q2=r26q^2 = r^2 (as in Exercise 6.7). Now suppose x=2+3∈Qx = \sqrt 2 + \sqrt 3 \in \Q. Then x2=5+26∈Qx^2 = 5 + 2\sqrt 6 \in \Q, so 6=x2−52∈Q\sqrt 6 = \frac{x^2 - 5}{2} \in \Q: contradiction. Hence 2+3∉Q\sqrt 2 + \sqrt 3 \notin \Q.

Exercise 10.8 ★★

Prove that the set D={m2n:m∈Z, n∈N}D = \bigl\{\frac{m}{2^n} : m \in \Z,\ n \in \N\bigr\} of dyadic rationals is dense in R\R: between any two reals lies a dyadic rational.

Solution

Solution of Exercise 10.8.

Let x<yx < y. Pick n∈Nn \in \N with 2n>1y−x2^n > \frac{1}{y - x} (Archimedes: 2n≥n+12^n \geq n + 1 by an easy induction, so some power of 22 exceeds any real). Then, as in the proof of Theorem 10.14 with 2n2^n in place of nn: m=⌊2nx⌋+1m = \lfloor 2^n x \rfloor + 1 satisfies x<m2n<yx < \frac{m}{2^n} < y. So DD is dense.

Exercise 10.9 ★★★

Let GG be a subgroup of (R,+)(\R, +) with G≠{0}G \neq \{0\}. Set α=inf⁡ (G∩(0, +∞))\alpha = \inf\,(G \cap \intoo{0}{+\infty}). Prove:

  1. if α>0\alpha > 0, then G=αZG = \alpha\Z;
  2. if α=0\alpha = 0, then GG is dense in R\R.

Deduce that Z+2 Z\Z + \sqrt 2\,\Z is dense in R\R.

Solution

Solution of Exercise 10.9.

  1. Suppose α>0\alpha > 0. First, α∈G\alpha \in G. Suppose not: by the ε\varepsilon-characterization of the infimum with ε=α\varepsilon = \alpha, there is g∈Gg \in G with α<g<2α\alpha < g < 2\alpha (strict on the left since α∉G\alpha \notin G); then, with ε=g−α\varepsilon = g - \alpha, there is h∈Gh \in G with α<h<g\alpha < h < g. Now g−h∈Gg - h \in G and 0<g−h<g−α<α0 < g - h < g - \alpha < \alpha: an element of G∩(0, +∞)G \cap \intoo{0}{+\infty} below its infimum, absurd. So α∈G\alpha \in G, and αZ⊆G\alpha\Z \subseteq G (GG is a group). Conversely, for x∈Gx \in G, let k=⌊x/α⌋k = \lfloor x/\alpha \rfloor: then x−kα∈Gx - k\alpha \in G and 0≤x−kα<α0 \leq x - k\alpha < \alpha, and the definition of α\alpha forces x−kα=0x - k\alpha = 0. Hence G=αZG = \alpha\Z.
  2. Suppose α=0\alpha = 0, and let x<yx < y. There is g∈Gg \in G with 0<g<y−x0 < g < y - x. The multiple kgkg with k=⌊x/g⌋+1k = \lfloor x/g \rfloor + 1 satisfies x<kg≤x+g<yx < kg \leq x + g < y, and kg∈Gkg \in G: density.

G=Z+2 ZG = \Z + \sqrt 2\,\Z is a subgroup of (R,+)(\R, +). It is not of the form αZ\alpha\Z: otherwise 1=pα1 = p\alpha and 2=qα\sqrt 2 = q\alpha (p,q∈Zp, q \in \Z) would give 2=qp∈Q\sqrt 2 = \frac qp \in \Q, contradiction. By the dichotomy, GG is dense in R\R.

Exercise 10.10 ★★★

For A,BA, B nonempty sets of positive reals, let AB={ab:a∈A,b∈B}AB = \{ab : a \in A, b \in B\}. Prove sup⁡(AB)=sup⁡A⋅sup⁡B\sup(AB) = \sup A \cdot \sup B (bounded case), and show by example that positivity is essential.

Solution

Solution of Exercise 10.10.

Let s=sup⁡A>0s = \sup A > 0, t=sup⁡B>0t = \sup B > 0. For a∈Aa \in A, b∈Bb \in B: ab≤stab \leq st (multiplying inequalities between positive numbers). For 0<ε<min⁡(s,t)0 < \varepsilon < \min(s, t): choose a>s−εa > s - \varepsilon and b>t−εb > t - \varepsilon; then

ab>(s−ε)(t−ε)=st−ε(s+t)+ε2>st−ε(s+t),ab > (s - \varepsilon)(t - \varepsilon) = st - \varepsilon(s + t) + \varepsilon^2 > st - \varepsilon (s + t),

and ε(s+t)\varepsilon(s+t) can be made arbitrarily small: by the ε\varepsilon-characterization (in the form: no number <st< st bounds ABAB above), sup⁡AB=st\sup AB = st.

Positivity is essential: A=B={−1,0}A = B = \{-1, 0\} gives AB={0,1}AB = \{0, 1\}, sup⁡AB=1\sup AB = 1, while sup⁡A⋅sup⁡B=0×0=0\sup A \cdot \sup B = 0 \times 0 = 0.

Exercise 10.11 ★★

For a nonempty bounded A⊆RA \subseteq \R, define the diameter

diam⁡A=sup⁡ {∣a−a′∣:a,a′∈A}.\operatorname{diam} A = \sup\,\{\abs{a - a'} : a, a' \in A\} .

Prove that diam⁡A=sup⁡A−inf⁡A\operatorname{diam} A = \sup A - \inf A, and that [inf⁡A, sup⁡A]\intcc{\inf A}{\sup A} is the smallest closed interval containing AA.

Solution

Solution of Exercise 10.11.

Write s=sup⁡As = \sup A, i=inf⁡Ai = \inf A. For a,a′∈Aa, a' \in A: a≤sa \leq s and a′≥ia' \geq i give a−a′≤s−ia - a' \leq s - i; by symmetry ∣a−a′∣≤s−i\abs{a - a'} \leq s - i, so s−is - i bounds the set of gaps above. For ε>0\varepsilon > 0, choose a>s−ε2a > s - \frac\varepsilon2 and a′<i+ε2a' < i + \frac\varepsilon2 (Proposition 10.4 and its mirror for the infimum): then ∣a−a′∣≥a−a′>s−i−ε\abs{a - a'} \geq a - a' > s - i - \varepsilon. By the ε\varepsilon-characterization, diam⁡A=s−i\operatorname{diam} A = s - i.

Every a∈Aa \in A satisfies i≤a≤si \leq a \leq s, so A⊆[i, s]A \subseteq \intcc{i}{s}, a closed interval of length diam⁡A\operatorname{diam} A. If a closed interval [u, v]\intcc{u}{v} contains AA, then vv is an upper bound and uu a lower bound of AA, so u≤iu \leq i and v≥sv \geq s: [i, s]⊆[u, v]\intcc{i}{s} \subseteq \intcc{u}{v}. Hence [i, s]\intcc{i}{s} is the smallest one.

Exercise 10.12 ★★★

Let y>0y > 0 and E={x≥0:x2≤y}E = \{x \geq 0 : x^2 \leq y\}. Prove that EE is nonempty and bounded above, and that s=sup⁡Es = \sup E satisfies s2=ys^2 = y (rule out s2<ys^2 < y and s2>ys^2 > y by exhibiting, in each case, a small h>0h > 0 contradicting the definition of the supremum). Deduce that every y>0y > 0 has a unique square root y>0\sqrt y > 0 and that y↦yy \mapsto \sqrt y is increasing on (0, +∞)\intoo{0}{+\infty}.

Solution

Solution of Exercise 10.12.

0∈E0 \in E, so E≠∅E \neq \emptyset. If x>max⁡(1,y)x > \max(1, y) then x2>x>yx^2 > x > y, so EE is bounded above by max⁡(1,y)\max(1, y): s=sup⁡Es = \sup E exists (Theorem 10.2), and s≥min⁡(1,y)>0s \geq \min(1, y) > 0 because min⁡(1,y)∈E\min(1, y) \in E: indeed if y≥1y \geq 1 then 12=1≤y1^2 = 1 \leq y, and if y<1y < 1 then y2<yy^2 < y.

s2<ys^2 < y is impossible. Choose 0<h<10 < h < 1 with h<y−s22s+1h < \frac{y - s^2}{2s + 1}. Then

(s+h)2=s2+2sh+h2≤s2+(2s+1)h<y,(s + h)^2 = s^2 + 2sh + h^2 \leq s^2 + (2s + 1)h < y ,

so s+h∈Es + h \in E, contradicting that ss bounds EE above.

s2>ys^2 > y is impossible. Choose 0<h<s0 < h < s with h<s2−y2sh < \frac{s^2 - y}{2s}. Then (s−h)2=s2−2sh+h2>s2−2sh>y(s - h)^2 = s^2 - 2sh + h^2 > s^2 - 2sh > y; every x∈Ex \in E satisfies x2≤y<(s−h)2x^2 \leq y < (s - h)^2, hence x<s−hx < s - h (both are ≥0\geq 0): s−hs - h is an upper bound of EE smaller than ss, contradicting leastness.

Therefore s2=ys^2 = y. Uniqueness: if 0<s<s′0 < s < s' then s2<s′2s^2 < s'^2, so two distinct positive roots cannot both square to yy. Monotonicity: if 0<y<y′0 < y < y', then y≠y′\sqrt y \neq \sqrt{y'}, and y>y′\sqrt y > \sqrt{y'} would give y>y′y > y' by squaring: so y<y′\sqrt y < \sqrt{y'}.

10.4 Problem: Digit expansions and the rhythm of the rationals

Problem 10.1

Weekend problem — bb-adic expansions: existence, uniqueness, and periodicity characterizes Q\Q

Every real in [0, 1)\intco{0}{1} has a digit expansion in every base b≥2b \geq 2; the expansion is unique once trailing strings of the digit b−1b - 1 are outlawed; and it is eventually periodic exactly when the number is rational. This problem proves all three facts from the completeness axiom alone — no sequences, no series: only the supremum, the Archimedean property and the floor function — and closes with Cantor’s diagonal argument in digit form. Throughout, b≥2b \geq 2 is a fixed integer (the base), a digit is an element of [ ⁣[0, b−1] ⁣]\intint{0}{b-1}, and a digit string (dn)n≥1(d_n)_{n \geq 1} is proper when it is not eventually equal to b−1b - 1 (that is: for every NN there is n>Nn > N with dn≤b−2d_n \leq b - 2).

Part I — Digits by hand. Long division of pp by qq in base bb: multiply the current remainder by bb, divide by qq, record the quotient as the next digit, keep the remainder.

  1. In base 1010, run the algorithm on 18\frac 18 and on 17\frac 17, recording at each step the digit and the remainder. Check that the remainders for 17\frac 17 cycle through 1,3,2,6,4,51, 3, 2, 6, 4, 5 and that the digits 142857142857 then repeat forever.
  2. Compute the base-22 expansions of 13\frac 13 and of 516\frac{5}{16}, and the base-33 expansion of 12\frac 12. Observe: one number terminates, the two others repeat — and 12\frac 12, so tame in base 1010, repeats forever in base 33.
  3. For x=pq∈[0, 1)x = \frac pq \in \intco{0}{1} in lowest terms, show that the digits produced by the algorithm are eventually all 00 if and only if the remainder bNp mod qb^N p \bmod q vanishes for some NN, if and only if qq divides some power bNb^N, if and only if every prime factor of qq divides bb. Check: 120\frac{1}{20} terminates in base 1010, not in base 33.
  4. Define the truncation sn=⌊bnx⌋/bns_n = \lfloor b^n x \rfloor / b^n. For x=2x = \sqrt 2 and b=10b = 10, compute s0,…,s4s_0, \dots, s_4 by verifying at each step that two consecutive squares straddle 22 (for instance 1.41422=1.99996164<2<2.00024449=1.414321.4142^2 = 1.99996164 < 2 < 2.00024449 = 1.4143^2), and check sn≤2<sn+10−ns_n \leq \sqrt 2 < s_n + 10^{-n} each time.

Part II — Existence, from the supremum. Fix x∈[0, 1)x \in \intco{0}{1} and set An=⌊bnx⌋A_n = \lfloor b^n x \rfloor and dn=An−b An−1d_n = A_n - b\,A_{n-1} for n≥1n \geq 1.

  1. Show A0=0A_0 = 0 and b An−1≤An≤b An−1+b−1b\,A_{n-1} \leq A_n \leq b\,A_{n-1} + b - 1; conclude that each dnd_n is a digit.
  2. Show that sn:=Anb−ns_n := A_n b^{-n} satisfies

    sn=∑k=1ndk b−kandsn≤x<sn+b−n.s_n = \sum_{k=1}^{n} d_k\,b^{-k} \qquad\text{and}\qquad s_n \leq x < s_n + b^{-n} .
  3. Prove bn≥n+1b^n \geq n + 1 by induction, then show that (sn)(s_n) is nondecreasing and that x=sup⁡nsnx = \sup_n s_n (use Proposition 10.4 and Theorem 10.10).
  4. Show that the string (dn)(d_n) is proper: if dk=b−1d_k = b - 1 for all k>Nk > N, compute sns_n for n>Nn > N by a finite geometric sum and contradict question 6.
  5. Conversely, let (en)n≥1(e_n)_{n \geq 1} be any proper digit string and tn=∑k=1nekb−kt_n = \sum_{k=1}^n e_k b^{-k}. Show that y=sup⁡ntny = \sup_n t_n exists, lies in [0, 1)\intco{0}{1}, and satisfies tn≤y<tn+b−nt_n \leq y < t_n + b^{-n} for every nn (for the strict inequality, use a digit em≤b−2e_m \leq b - 2 with m>nm > n). Deduce ⌊bny⌋=bntn\lfloor b^n y \rfloor = b^n t_n, then that the digits of yy, in the sense of question 5, are exactly the ene_n.

Part III — Uniqueness, order, shift.

  1. Assemble questions 5–9 into the bb-adic expansion theorem: the maps x↦(dn)x \mapsto (d_n) and (en)↦sup⁡ntn(e_n) \mapsto \sup_n t_n are mutually inverse bijections between [0, 1)\intco{0}{1} and the set of proper digit strings. In particular no two distinct proper strings have the same value.
  2. Now allow improper strings. Show that a string with en=b−1e_n = b - 1 for all n>Mn > M (with M≥0M \geq 0 minimal) has value tM+b−Mt_M + b^{-M}; conclude that 0.999⋯=10.999\dots = 1 in base 1010, and that the reals with two digit representations are exactly the bb-adic fractions m/bN∈(0, 1)m/b^N \in \intoo{0}{1} — every other real has just one, even among improper strings.
  3. Prove that the bijection of question 10 is order-preserving for the lexicographic order: if the proper strings of xx and yy first differ at index mm, then x<yx < y if and only if dm<emd_m < e_m.
  4. (Shift lemma) Let x∈[0, 1)x \in \intco{0}{1} have digits (dn)(d_n). Show that the fractional part of bxbx has digits (dn+1)n≥1(d_{n+1})_{n \geq 1} (compute ⌊bn(bx−A1)⌋\lfloor b^n(bx - A_1)\rfloor using ⌊u−K⌋=⌊u⌋−K\lfloor u - K \rfloor = \lfloor u \rfloor - K for integer KK), and deduce by induction that the fractional part of bmxb^m x has digits (dn+m)n≥1(d_{n+m})_{n \geq 1}.

Part IV — Rationality is periodicity. Let x=pq∈[0, 1)x = \frac pq \in \intco{0}{1} be in lowest terms and rn=bnp mod qr_n = b^n p \bmod q the remainder of the Euclidean division of bnpb^n p by qq.

  1. Show An=bnp−rnqA_n = \dfrac{b^n p - r_n}{q} and rn=(b rn−1) mod qr_n = (b\,r_{n-1}) \bmod q.
  2. Show dn=⌊b rn−1q⌋d_n = \Bigl\lfloor \dfrac{b\,r_{n-1}}{q} \Bigr\rfloor: each digit is a function of the previous remainder alone. This is exactly the long division of Part I.
  3. Apply the pigeonhole principle (Corollary 2.3) to r0,…,rqr_0, \dots, r_q and conclude: the expansion of every rational is eventually periodic, with preperiod and period at most qq.
  4. Conversely, suppose the digits of y∈[0, 1)y \in \intco{0}{1} are purely periodic: dn+T=dnd_{n+T} = d_n for all n≥1n \geq 1. Using the shift lemma and the uniqueness of question 10, show that the fractional part of bTyb^T y equals yy, and deduce (bT−1) y∈N(b^T - 1)\,y \in \N: thus yy is rational with denominator dividing bT−1b^T - 1. Verify the mechanism on 0.(142857)0.(142857): 142857×7=999999142857 \times 7 = 999999.
  5. Treat the eventually periodic case by shifting, and state the periodicity criterion: x∈[0, 1)x \in \intco{0}{1} is rational if and only if its proper bb-adic expansion is eventually periodic — in one base if and only if in all.
  6. For x=1qx = \frac 1q with gcd⁡(q,b)=1\gcd(q, b) = 1, show that the expansion is purely periodic and that its least period is the least T≥1T \geq 1 with bT≡1(modq)b^T \equiv 1 \pmod q (the multiplicative order of bb modulo qq). Check that for q=7q = 7, b=10b = 10 the powers of 1010 modulo 77 run through 3,2,6,4,5,13, 2, 6, 4, 5, 1: order 66, matching question 1.

Part V — Dividends and the diagonal.

  1. Let x∗x^* be the real of [0, 1)\intco{0}{1} whose base-1010 digits are 11 at the triangular positions j(j+1)2\frac{j(j + 1)}{2} (j≥1j \geq 1) and 00 elsewhere: x∗=0.101001000100001…x^* = 0.101001000100001\dots Show that its digit string is proper but not eventually periodic (a period TT would force ones at gaps at most TT, but the gaps grow), and conclude that x∗x^* is irrational: a number proved irrational by pure rhythm.
  2. Show that for every base bb the set {m/bn:m∈Z,n∈N}\{m/b^n : m \in \Z, n \in \N\} is dense in R\R (generalizing Exercise 10.8), and that every rational pq∈(0, 1)\frac pq \in \intoo{0}{1} has a terminating expansion in base qq. Moral: terminating is a property of the pair (number, base); periodicity — rationality — is intrinsic.
  3. (Cantor’s diagonal) Let k↦xkk \mapsto x_k be any map from N∗\N^* to [0, 1)\intco{0}{1}. Define the digit string ek=1e_k = 1 if the kk-th digit of xkx_k differs from 11, and ek=2e_k = 2 otherwise. Show that (ek)(e_k) is proper, that its value yy lies in [0, 1)\intco{0}{1}, and that y≠xky \neq x_k for every kk. Conclude: no map N∗→[0, 1)\N^* \to \intco{0}{1} is surjective. (The vocabulary of countability, and this theorem’s proper home, is Chapter 12.)
  4. Show that if the proper expansions of xx and yy agree up to index nn then ∣x−y∣<b−n\abs{x - y} < b^{-n}, and disprove the converse with x=0.1x = 0.1, y=0.0999y = 0.0999 in base 1010: closeness of numbers does not force agreement of digits. Which reals are to blame?
  5. Run Part IV on x=110x = \frac{1}{10} in base b=2b = 2: compute remainders and digits until they cycle, and conclude 110=(0.00011‾)2\frac{1}{10} = (0.0\overline{0011})_2, with preperiod 11 and period 44. Explain via question 3 why no finite binary string will ever equal 110\frac{1}{10} — the reason a computer’s floating-point 0.1+0.20.1 + 0.2 is not exactly 0.30.3.
  6. Synthesis. In one sentence each: where did the proof use (i) completeness, (ii) the Archimedean property, (iii) the uniqueness clause of the floor, (iv) the pigeonhole principle? And the moral: [0, 1)\intco{0}{1} is faithfully coded by proper digit strings, rationality reads off as periodicity — yet analysis prefers the supremum to the digits. Why? (Think about adding two digit strings.)
Solution

Solution of Problem 10.1.

1. For 18\frac 18: 10=8⋅1+210 = 8 \cdot 1 + 2, 20=8⋅2+420 = 8 \cdot 2 + 4, 40=8⋅5+040 = 8 \cdot 5 + 0; digits 1,2,51, 2, 5, remainder 00, then only zeros: 18=0.125\frac 18 = 0.125. For 17\frac 17: 10=7⋅1+310 = 7 \cdot 1 + 3, 30=7⋅4+230 = 7 \cdot 4 + 2, 20=7⋅2+620 = 7 \cdot 2 + 6, 60=7⋅8+460 = 7 \cdot 8 + 4, 40=7⋅5+540 = 7 \cdot 5 + 5, 50=7⋅7+150 = 7 \cdot 7 + 1: digits 1,4,2,8,5,71, 4, 2, 8, 5, 7, remainders 3,2,6,4,5,13, 2, 6, 4, 5, 1. The remainder has returned to r=1r = 1, so the six steps repeat verbatim forever: 17=0.(142857)\frac 17 = 0.(142857), remainders cycling through 1,3,2,6,4,51, 3, 2, 6, 4, 5.

2. 13\frac 13 in base 22 (r0=1r_0 = 1): 2=3⋅0+22 = 3 \cdot 0 + 2, 4=3⋅1+14 = 3 \cdot 1 + 1, and r=1r = 1 recurs: 13=(0.01‾)2\frac 13 = (0.\overline{01})_2. 516\frac{5}{16} in base 22: 10=16⋅0+1010 = 16 \cdot 0 + 10, 20=16⋅1+420 = 16 \cdot 1 + 4, 8=16⋅0+88 = 16 \cdot 0 + 8, 16=16⋅1+016 = 16 \cdot 1 + 0: 516=(0.0101)2\frac{5}{16} = (0.0101)_2, terminating. 12\frac 12 in base 33: 3=2⋅1+13 = 2 \cdot 1 + 1, and r=1r = 1 recurs at once: 12=(0.1‾)3\frac 12 = (0.\overline{1})_3.

3. The algorithm’s remainder after NN steps is rN=bNp mod qr_N = b^N p \bmod q (proved formally in question 14; here it is the observation that each step multiplies the remainder by bb and reduces mod qq). All later digits are 00 if and only if some rN=0r_N = 0, i.e. q∣bNpq \mid b^N p; since gcd⁡(p,q)=1\gcd(p, q) = 1, Gauss’s lemma gives q∣bNq \mid b^N. If q∣bNq \mid b^N, every prime factor of qq divides bNb^N, hence divides bb (primality). Conversely, if every prime of q=p1a1⋯prarq = p_1^{a_1} \cdots p_r^{a_r} divides bb, then with A=max⁡iaiA = \max_i a_i each piaip_i^{a_i} divides bAb^A, and the piaip_i^{a_i} are pairwise coprime, so q∣bAq \mid b^A. For q=20=22⋅5q = 20 = 2^2 \cdot 5: both primes divide 1010 (120=0.05\frac{1}{20} = 0.05), but 2∤32 \nmid 3, so 120\frac{1}{20} repeats forever in base 33.

4. 12=1<2<4=221^2 = 1 < 2 < 4 = 2^2 gives s0=1s_0 = 1. Then 1.42=1.96<2<2.25=1.521.4^2 = 1.96 < 2 < 2.25 = 1.5^2: ⌊102⌋=14\lfloor 10\sqrt 2 \rfloor = 14, s1=1.4s_1 = 1.4. Next 1.412=1.9881<2<2.0164=1.4221.41^2 = 1.9881 < 2 < 2.0164 = 1.42^2: s2=1.41s_2 = 1.41; 1.4142=1.999396<2<2.002225=1.41521.414^2 = 1.999396 < 2 < 2.002225 = 1.415^2: s3=1.414s_3 = 1.414; 1.41422=1.99996164<2<2.00024449=1.414321.4142^2 = 1.99996164 < 2 < 2.00024449 = 1.4143^2: s4=1.4142s_4 = 1.4142. In each case the displayed inequalities say exactly sn≤2<sn+10−ns_n \leq \sqrt 2 < s_n + 10^{-n}, which is the definition of the floor of 10n210^n \sqrt 2.

5. A0=⌊x⌋=0A_0 = \lfloor x \rfloor = 0 since 0≤x<10 \leq x < 1. From An−1≤bn−1x<An−1+1A_{n-1} \leq b^{n-1} x < A_{n-1} + 1, multiply by bb:

b An−1≤bnx<b An−1+b.b\,A_{n-1} \leq b^n x < b\,A_{n-1} + b .

The integer b An−1b\,A_{n-1} is ≤bnx\leq b^n x, so b An−1≤Anb\,A_{n-1} \leq A_n; and bnx<b An−1+bb^n x < b\,A_{n-1} + b with b An−1+bb\,A_{n-1} + b an integer forces An≤b An−1+b−1A_n \leq b\,A_{n-1} + b - 1. Hence 0≤dn=An−b An−1≤b−10 \leq d_n = A_n - b\,A_{n-1} \leq b - 1: a digit.

6. Telescoping: dkb−k=Akb−k−Ak−1b−(k−1)d_k b^{-k} = A_k b^{-k} - A_{k-1} b^{-(k-1)}, so

∑k=1ndkb−k=Anb−n−A0=sn.\sum_{k=1}^n d_k b^{-k} = A_n b^{-n} - A_0 = s_n .

Dividing An≤bnx<An+1A_n \leq b^n x < A_n + 1 by bnb^n gives sn≤x<sn+b−ns_n \leq x < s_n + b^{-n}.

7. Induction: b0=1≥1b^0 = 1 \geq 1, and bn+1=b⋅bn≥2(n+1)≥n+2b^{n+1} = b \cdot b^n \geq 2(n + 1) \geq n + 2. Monotonicity: sn−sn−1=dnb−n≥0s_n - s_{n-1} = d_n b^{-n} \geq 0. Each sn≤xs_n \leq x (question 6): xx is an upper bound of {sn}\{s_n\}. For ε>0\varepsilon > 0, the Archimedean property provides nn with n+1>1εn + 1 > \frac1\varepsilon, hence b−n<εb^{-n} < \varepsilon, and then sn>x−b−n>x−εs_n > x - b^{-n} > x - \varepsilon by question 6. By Proposition 10.4, x=sup⁡nsnx = \sup_n s_n.

8. Suppose dk=b−1d_k = b - 1 for all k>Nk > N. For n>Nn > N, the finite geometric sum gives

sn=sN+(b−1)∑k=N+1nb−k=sN+b−N−b−n.s_n = s_N + (b - 1)\sum_{k=N+1}^{n} b^{-k} = s_N + b^{-N} - b^{-n} .

So x≥sn=sN+b−N−b−nx \geq s_n = s_N + b^{-N} - b^{-n} for every nn; letting the last term shrink below any ε\varepsilon (question 7), x≥sN+b−Nx \geq s_N + b^{-N}. But question 6 at rank NN says x<sN+b−Nx < s_N + b^{-N}: contradiction. The string (dn)(d_n) is proper.

9. Bounded: tn≤(b−1)∑k=1nb−k=1−b−n<1t_n \leq (b-1)\sum_{k=1}^n b^{-k} = 1 - b^{-n} < 1, and (tn)(t_n) is nondecreasing, so y=sup⁡tny = \sup t_n exists with 0≤y≤10 \leq y \leq 1. Fix nn. For the two-sided estimate: tn≤yt_n \leq y is clear. By properness pick m>nm > n with em≤b−2e_m \leq b - 2. For p≥mp \geq m:

tp−tn=∑k=n+1pekb−k≤(b−n−b−p)−b−m<b−n−b−m,t_p - t_n = \sum_{k=n+1}^{p} e_k b^{-k} \leq (b^{-n} - b^{-p}) - b^{-m} < b^{-n} - b^{-m},

the middle sum losing at least b−mb^{-m} against the all-(b−1)(b-1) maximum; for p≤mp \leq m, tp≤tm≤tn+b−n−b−mt_p \leq t_m \leq t_n + b^{-n} - b^{-m} as well (monotonicity plus the case p=mp = m). Hence every tp≤tn+b−n−b−mt_p \leq t_n + b^{-n} - b^{-m}, so y≤tn+b−n−b−m<tn+b−ny \leq t_n + b^{-n} - b^{-m} < t_n + b^{-n}. (With n=0n = 0: y<1y < 1, so y∈[0, 1)y \in \intco{0}{1}.) Now bntn=∑k≤nekbn−kb^n t_n = \sum_{k \leq n} e_k b^{n-k} is an integer, and bntn≤bny<bntn+1b^n t_n \leq b^n y < b^n t_n + 1: so ⌊bny⌋=bntn\lfloor b^n y \rfloor = b^n t_n. Finally the digits of yy: dn(y)=bntn−b⋅bn−1tn−1=bn(tn−tn−1)=end_n(y) = b^n t_n - b \cdot b^{n-1} t_{n-1} = b^n(t_n - t_{n-1}) = e_n.

10. Question 9 says: (value of string) has digits (the string); questions 5–8 say: (digits of xx) form a proper string whose truncations have supremum xx (question 7). So the two maps compose to the identity in both orders: they are mutually inverse bijections between [0, 1)\intco{0}{1} and the proper strings. If two proper strings had equal value, applying the digit map would make them equal: uniqueness. This is the bb-adic expansion theorem.

11. Let en=b−1e_n = b - 1 for n>Mn > M, M≥0M \geq 0 minimal. As in question 8, tn=tM+b−M−b−nt_n = t_M + b^{-M} - b^{-n} for n≥Mn \geq M, so the value is sup⁡tn=tM+b−M\sup t_n = t_M + b^{-M}. If M=0M = 0 the value is 0+1=10 + 1 = 1: in base 1010, 0.999⋯=10.999\dots = 1 exactly — not approximately. If M≥1M \geq 1, minimality gives eM≤b−2e_M \leq b - 2, and the value is

tM+b−M=bMtM+1bM∈(0, 1),t_M + b^{-M} = \frac{b^M t_M + 1}{b^M} \in \intoo{0}{1},

a bb-adic fraction, whose proper expansion is e1…eM−1 (eM+1) 000…e_1 \dots e_{M-1}\,(e_M + 1)\,000\dots (a terminating string is proper, and its value is the same number). Conversely a real with two representations must have one improper (properness pins down the representation, question 10), hence be of this form. And each m/bN∈(0, 1)m/b^N \in \intoo{0}{1}, written with last nonzero digit dNd_N, does have the improper twin d1…dN−1(dN−1)(b−1)(b−1)…d_1 \dots d_{N-1}(d_N - 1)(b-1)(b-1)\dots: exactly the bb-adic fractions carry two names, all other reals one.

12. Say the strings agree up to m−1m - 1, with common truncation P=sm−1P = s_{m-1}, and dm<emd_m < e_m. By question 9 (strict upper estimate at rank mm), x<P+dmb−m+b−m=P+(dm+1)b−m≤P+emb−m≤yx < P + d_m b^{-m} + b^{-m} = P + (d_m + 1)b^{-m} \leq P + e_m b^{-m} \leq y, the last step because P+emb−mP + e_m b^{-m} is yy’s truncation tm≤yt_m \leq y. So dm<em  ⟹  x<yd_m < e_m \implies x < y; exchanging roles, em<dm  ⟹  y<xe_m < d_m \implies y < x; and since the strings differ at mm, one of the two holds. Both directions follow.

13. Let z=bx−A1∈[0, 1)z = bx - A_1 \in \intco{0}{1} (indeed A1≤bx<A1+1A_1 \leq bx < A_1 + 1). For n≥0n \geq 0: bnz=bn+1x−bnA1b^n z = b^{n+1} x - b^n A_1 with bnA1∈Zb^n A_1 \in \Z, so by ⌊u−K⌋=⌊u⌋−K\lfloor u - K \rfloor = \lfloor u \rfloor - K (KK integer),

An(z)=An+1(x)−bnA1(x).A_n(z) = A_{n+1}(x) - b^n A_1(x) .

Hence dn(z)=An(z)−b An−1(z)=An+1−bnA1−b An+bnA1=dn+1(x)d_n(z) = A_n(z) - b\,A_{n-1}(z) = A_{n+1} - b^n A_1 - b\,A_n + b^n A_1 = d_{n+1}(x). So the fractional part of bxbx carries the shifted digits; iterating mm times, the fractional part of bmxb^m x has digits (dn+m)n≥1(d_{n+m})_{n \geq 1}.

14. Euclidean division: bnp=q Qn+rnb^n p = q\,Q_n + r_n with 0≤rn<q0 \leq r_n < q. Divide by qq: bnx=Qn+rnqb^n x = Q_n + \frac{r_n}{q} with 0≤rnq<10 \leq \frac{r_n}{q} < 1, so Qn=⌊bnx⌋=AnQ_n = \lfloor b^n x \rfloor = A_n, giving An=bnp−rnqA_n = \frac{b^n p - r_n}{q}. For the recurrence: bnp=b(q An−1+rn−1)=q (b An−1)+b rn−1b^n p = b(q\,A_{n-1} + r_{n-1}) = q\,(b\,A_{n-1}) + b\,r_{n-1}, so bnpb^n p and b rn−1b\,r_{n-1} differ by a multiple of qq: rn=(b rn−1) mod qr_n = (b\,r_{n-1}) \bmod q.

15. Divide b rn−1b\,r_{n-1} by qq: b rn−1=q c+rnb\,r_{n-1} = q\,c + r_n with c=⌊b rn−1/q⌋c = \lfloor b\,r_{n-1}/q \rfloor. Substituting into the display of question 14: bnp=q(b An−1+c)+rnb^n p = q(b\,A_{n-1} + c) + r_n, and uniqueness of Euclidean division identifies An=b An−1+cA_n = b\,A_{n-1} + c, that is dn=c=⌊b rn−1/q⌋d_n = c = \lfloor b\,r_{n-1}/q \rfloor. Digit nn depends only on rn−1r_{n-1} — the long division loop of Part I, now certified.

16. The q+1q + 1 remainders r0,…,rqr_0, \dots, r_q take values in the qq-element set [ ⁣[0, q−1] ⁣]\intint{0}{q-1}: by the pigeonhole principle (Corollary 2.3) two coincide, say rN=rN+Tr_N = r_{N+T} with 0≤N<N+T≤q0 \leq N < N + T \leq q. Since rnr_n determines rn+1r_{n+1} (question 14), induction gives rn+T=rnr_{n+T} = r_n for all n≥Nn \geq N; since rn−1r_{n-1} determines dnd_n (question 15), dn+T=dnd_{n+T} = d_n for all n≥N+1n \geq N + 1. Every rational’s expansion is eventually periodic, with preperiod ≤q\leq q and period ≤q\leq q.

17. The digits of the fractional part of bTyb^T y are (dn+T)=(dn)(d_{n+T}) = (d_n) (shift lemma, then pure periodicity): the same proper string as yy. By question 10 the values are equal: bTy−⌊bTy⌋=yb^T y - \lfloor b^T y \rfloor = y, so (bT−1) y=⌊bTy⌋=AT∈N(b^T - 1)\,y = \lfloor b^T y \rfloor = A_T \in \N and

y=ATbT−1,y = \frac{A_T}{b^T - 1} ,

rational with denominator dividing bT−1b^T - 1; the numerator ATA_T is the integer whose base-bb digits are d1…dTd_1 \dots d_T. Check: 0.(142857)=1428579999990.(142857) = \frac{142857}{999999}, and 142857×7=999999142857 \times 7 = 999999, so this is 17\frac 17.

18. If dn+T=dnd_{n+T} = d_n for n>Nn > N, the fractional part zz of bNxb^N x has digits (dN+n)n≥1(d_{N+n})_{n\geq1} (shift lemma), which are purely periodic; by question 17, z∈Qz \in \Q. Then bNx=AN+zb^N x = A_N + z gives x=(AN+z)/bN∈Qx = (A_N + z)/b^N \in \Q. With question 16: xx rational   ⟺  \iff expansion eventually periodic. The right side mentions the base, the left does not: periodicity in one base is equivalent to rationality, hence to periodicity in every base.

19. For x=1qx = \frac 1q, rn=bn mod qr_n = b^n \bmod q. If gcd⁡(b,q)=1\gcd(b, q) = 1, then rT=r0=1r_T = r_0 = 1 if and only if bT≡1(modq)b^T \equiv 1 \pmod q; such TT exists (pigeonhole gives bi≡bjb^i \equiv b^j, i<ji < j, and bb is invertible modulo qq, so bj−i≡1b^{j-i} \equiv 1), and the least one — the multiplicative order — makes the remainders, hence the digits, purely periodic of period TT. No smaller period is possible: a period T′T' would give (bT′−1)1q∈N(b^{T'} - 1)\frac1q \in \N (question 17), i.e. q∣bT′−1q \mid b^{T'} - 1. For q=7q = 7, b=10b = 10: 10≡310 \equiv 3, 102≡210^2 \equiv 2, 103≡610^3 \equiv 6, 104≡410^4 \equiv 4, 105≡510^5 \equiv 5, 106≡1(mod7)10^6 \equiv 1 \pmod 7: order 66, and indeed 17\frac 17 has period six.

20. The string has infinitely many 00s (x∗x^*’s digits are mostly zero), so it is proper, and x∗x^* is well defined (question 9). Suppose the digits eventually periodic with period TT beyond NN. Infinitely many digits equal 11 (one per triangular number), so some 11 sits at a position j>Nj > N; then periodicity puts a 11 at every position j+kTj + kT: from jj onward, gaps between consecutive 11s are at most TT. But the 11s sit exactly at the triangular numbers, whose consecutive gaps (j+1)(j+2)2−j(j+1)2=j+1\frac{(j+1)(j+2)}{2} - \frac{j(j+1)}{2} = j + 1 exceed TT eventually: contradiction. Not eventually periodic, so by question 18, x∗∉Qx^* \notin \Q — irrationality read off the rhythm of the digits alone.

21. Given x<yx < y, question 7 provides nn with b−n<y−xb^{-n} < y - x; set m=⌊bnx⌋+1m = \lfloor b^n x \rfloor + 1. Then bnx<m≤bnx+1<bnyb^n x < m \leq b^n x + 1 < b^n y, so x<mbn<yx < \frac{m}{b^n} < y: density, for every base at once (b=2b = 2 recovers Exercise 10.8). For pq∈(0, 1)\frac pq \in \intoo{0}{1} in base b=qb = q: the first digit is ⌊q⋅pq⌋=p\lfloor q \cdot \frac pq \rfloor = p and the fractional part of q⋅pq=pq \cdot \frac pq = p is 00: all later digits vanish, a terminating expansion pq=(0.p)q\frac pq = (0.p)_q. Terminating depends on the base; periodicity — rationality — does not (question 18).

22. Each ek∈{1,2}e_k \in \{1, 2\} is a digit of base 1010, and the string never ends in all 99s: proper. Its value yy lies in [0, 1)\intco{0}{1} and has digits exactly (ek)(e_k) (question 9). Fix kk: the kk-th digit of yy is eke_k, chosen ≠\neq the kk-th digit of xkx_k, so the proper strings of yy and xkx_k differ, so y≠xky \neq x_k (question 10: the coding is injective). Thus yy is in no list: no map N∗→[0, 1)\N^* \to \intco{0}{1} is surjective. The reals, unlike the rationals, cannot be enumerated — uncountability, whose theory Chapter 12 develops.

23. If the expansions agree up to nn, then xx and yy have the same truncation sns_n, and question 6 puts both in [sn, sn+b−n)\intco{s_n}{s_n + b^{-n}}, an interval of length b−nb^{-n}: ∣x−y∣<b−n\abs{x - y} < b^{-n}. Converse: x=0.1x = 0.1 and y=0.0999y = 0.0999 (terminating, hence proper) satisfy ∣x−y∣=10−4<10−3\abs{x - y} = 10^{-4} < 10^{-3}, yet their expansions differ at the very first digit. The culprits are the bb-adic fractions of question 11: near them, a tiny move flips every displayed digit (0.0999→0.10000.0999 \to 0.1000), because they are precisely the reals where the improper twin lurks.

24. p=1p = 1, q=10q = 10, b=2b = 2, r0=1r_0 = 1: 2=10⋅0+22 = 10 \cdot 0 + 2, 4=10⋅0+44 = 10 \cdot 0 + 4, 8=10⋅0+88 = 10 \cdot 0 + 8, 16=10⋅1+616 = 10 \cdot 1 + 6, 12=10⋅1+212 = 10 \cdot 1 + 2 — and r5=2=r1r_5 = 2 = r_1: the remainders cycle (2,4,8,6)(2, 4, 8, 6) from index 11. Digits: d1=0d_1 = 0, then the repeating block d2d3d4d5=0,0,1,1d_2 d_3 d_4 d_5 = 0, 0, 1, 1:

110=(0.00011‾)2,\tfrac{1}{10} = (0.0\overline{0011})_2 ,

preperiod 11, period 44. By question 3, a terminating base-22 expansion would need every prime of 1010 to divide 22; the prime 55 refuses. So 0.10.1 is not representable by any finite binary string — a computer storing finitely many bits keeps only a truncation, and the accumulated truncation errors are why floating-point 0.1+0.20.1 + 0.2 differs from 0.30.3 in the last bits.

25. (i) Completeness produced the values: x=sup⁡snx = \sup s_n and y=sup⁡tny = \sup t_n (questions 7 and 9) — over Q\Q alone, the proper string of 2\sqrt 2 would name nothing. (ii) The Archimedean property made b−nb^{-n} eventually smaller than any ε\varepsilon, forcing the truncations to close in on their supremum (questions 7, 21). (iii) The uniqueness clause of the floor identified Qn=AnQ_n = A_n in question 14 and legitimized every digit extraction ⌊u−K⌋=⌊u⌋−K\lfloor u - K \rfloor = \lfloor u \rfloor - K (question 13). (iv) The pigeonhole principle, applied to finitely many remainders, is the sole engine of periodicity (question 16). Moral: proper strings code [0, 1)\intco{0}{1} faithfully and turn rationality into a visible rhythm; but addition of digit strings requires carries propagating from infinitely far right, so no finite-stage rule computes even the first digit of a sum — whereas the supremum interface of Theorem 10.2 handles all of analysis with one axiom. Digits are a magnificent picture of R\R; the supremum is its engine.

Terms defined in this chapter

See all 395 terms in the glossary