1.1  Ordered Fields and the Gap in the Rationals

Calculus takes for granted that a continuous curve which starts below the axis and ends above it must cross the axis somewhere. Over the rational numbers that is false, and the failure is already visible in the simplest polynomial one can think of. This section shows the failure, then records exactly what the rationals and the reals have in common: the arithmetic of a field and an order compatible with it. Everything in this section holds in both. The one property that separates them is the subject of the rest of the chapter.

1.1.1. A sign change with no zero

Consider f(x)=x2−2 on the rational numbers between 1 and 2. At the left end f(1)=−1<0, and at the right end f(2)=2>0. If the rational line had no holes, the graph would have to cross zero somewhere in between. It never does: a rational x with f(x)=0 would be a rational number whose square is 2, and Logic and Proof, Theorem 2.2.1 says there is none.

So the rational numbers have a gap, exactly where 2 ought to be. The real numbers are meant to be “the rationals with the gaps filled”, and the first task is to say what that means precisely. Before we can name what R has and Q lacks, we must list what the two share. That list is short: four operations with the usual rules, and a way of comparing two numbers that respects those operations.

1.1.2. Ordered fields

A field is a number system in which one can add, subtract, multiply, and divide by anything nonzero, with the usual rules. The rational, real, and complex numbers are fields; so is the arithmetic of remainders modulo a prime. What Q and R have beyond this, and C does not, is an order: any two numbers can be compared, and the comparison behaves well under addition and multiplication. Every inequality we manipulate in analysis rests on four rules about that comparison, and the definition below states them.

An ordered field is a number system where we can do arithmetic and compare, and where comparison respects arithmetic.

Definition 1.1.1 (Ordered Field)

An ordered field consists of a set F, two operations, addition (a,b)↦a+b and multiplication (a,b)↦ab, and a relation < on F, such that the following hold.

The field axioms: for all a,b,c∈F,

  • (F1) a+b=b+a;
  • (F2) (a+b)+c=a+(b+c);
  • (F3) there is an element 0∈F with a+0=a for every a∈F;
  • (F4) for every a∈F there is an element −a∈F with a+(−a)=0;
  • (F5) (ab)c=a(bc);
  • (F6) ab=ba;
  • (F7) there is an element 1∈F with 1≠0 and a⋅1=a for every a∈F;
  • (F8) for every nonzero a∈F there is an element a−1∈F with aa−1=1;
  • (F9) a(b+c)=ab+ac.

The order axioms: for all a,b,c∈F,

  • (O1) (trichotomy) exactly one of a<b, a=b, b<a holds;
  • (O2) (transitivity) if a<b and b<c, then a<c;
  • (O3) (addition) if a<b, then a+c<b+c;
  • (O4) (multiplication) if 0<a and 0<b, then 0<ab.

The field axioms are the ones of the linear-algebra companion, Chapter 0, in the same numbering. We write a−b:=a+(−b) and a/b:=ab−1 for b≠0. We write b>a to mean a<b, and a≤b to mean “a<b or a=b”. An element a is positive if a>0 and negative if a<0. It is nonnegative if a≥0.

In words, the four order axioms say:

  • (O1) any two elements can be compared, and the three outcomes exclude one another. In particular a<a never holds.
  • (O2) comparisons chain.
  • (O3) adding the same thing to both sides of a strict inequality keeps it strict and keeps its direction.
  • (O4) the product of two positive elements is positive. This is the only axiom that links the order to multiplication, and every rule about multiplying inequalities will come from it.

From (O1) and (O2), the relation ≤ is transitive as well, and a mixed chain a≤b<c gives a<c: if a=b this is the hypothesis b<c, and otherwise it is (O2).

Field algebra. The field axioms alone imply the familiar algebraic identities. Their proofs use no order at all. Most of them are already proved in the linear-algebra companion, from the same axioms, and we cite those; the few that are not there are short, and we prove them here.

Lemma 1.1.1 (Field Algebra)

Let F be an ordered field (only (F1)–(F9) are used) and let a,b∈F.

  • (a) The elements 0 and 1 are unique, and so are −a and, for a≠0, a−1. In particular −(−a)=a.
  • (b) a⋅0=0.
  • (c) (−a)b=−(ab) and (−a)(−b)=ab.
  • (d) If ab=0, then a=0 or b=0.
  • (e) (a+b)2=a2+2ab+b2, where x2:=xx and 2:=1+1.

Idea. Each identity is forced by uniqueness. An element is pinned down by the equation it satisfies, so to show that (−a)b is −(ab), we show that it satisfies the equation defining −(ab), namely that it adds to ab to give 0. Part (a) is the uniqueness, and the other parts use it.

Proof. (a), (b) and (d). Apart from −(−a)=a, these are parts of Linear Algebra, Theorem 0.7.1: the uniqueness of 0 and of −a; the rule 0⋅a=0, which gives a⋅0=0 by (F6); and “if ab=0, then a=0 or b=0”. The field axioms there are (F1)–(F9) of Definition 1.1.1, in the same numbering, so the proofs there apply verbatim, and we do not repeat them. For −(−a)=a: (−a)+a=0 by (F1) and (F4), so a is an additive inverse of −a, and −(−a)=a by the uniqueness of additive inverses. The multiplicative halves of (a) are proved the same way. If 1′ also satisfies x⋅1′=x for every x, then 1=1⋅1′=1′⋅1=1′, by that property of 1′, commutativity (F6), and the property of 1. If ab=1 for some b, then b=b(aa−1)=(ba)a−1=1⋅a−1=a−1, by associativity and commutativity of multiplication; so a−1 is unique.

  • (c) By (F6), (F9), (F4) and (b), ab+(−a)b=(a+(−a))b=0⋅b=0, so (−a)b is an additive inverse of ab, and (−a)b=−(ab) by (a). Using this twice, with (F6), and then (a), (−a)(−b)=−(a(−b))=−(−(ab))=ab.

  • (d) By (F9) and (F6), (a+b)(a+b)=a2+ba+ab+b2, and ba+ab=ab⋅1+ab⋅1=ab(1+1)=2ab by (F6), (F7) and (F9).

From now on these identities, and the rules of fraction arithmetic that follow from them in the same way, are used without comment.

Example (The rationals and the reals)

Explain why Q is an ordered field, and what we are assuming when we say R is one.

Solution. For Q, the field axioms are the rules of fraction arithmetic. The order is p/q<p′/q′ (with q,q′>0) exactly when pq′<p′q as integers. Trichotomy, transitivity, (O3), and (O4) then come from the corresponding facts about integers. Checking them is routine and belongs to the construction of Q from Z; here we accept them.

For R we have not yet said what a real number is, and this chapter deliberately does not. Instead we assume that R is an ordered field containing Q, with its usual operations and order; in particular R contains N and Z, with their usual arithmetic. (Later in this chapter we locate N inside R using the axioms alone.) A later section of this chapter completes the list of assumptions by adding exactly one more. Everything proved in this section from (F1)–(F9) and (O1)–(O4) therefore holds in Q and in R alike.

Example (A minimal change: the integers)

The integers Z, with the usual operations and order, satisfy (O1)–(O4) and every field axiom except one. Which one fails, and does the failure matter for inequalities?

Solution. Axiom (F8) fails: 2≠0, but no integer m has 2m=1. Everything else holds, including all four order axioms. So Z is not an ordered field, although it is an “ordered ring”. The failure matters as soon as we divide: the rule “if 0<a<b then 1/b<1/a” proved below has no meaning in Z, because 1/a is not an integer unless a=1.

The two examples mark the scope of the definition. Q and R are the main examples, and the rest of the section is about what the axioms force in both. The complex numbers are the instructive nonexample, and they appear as the first payoff of the next theorem.

Remark. Why state the order axioms with the strict relation < rather than with ≤? Either could come first, since each can be defined from the other. We take < because analysis constantly asks whether a strict inequality survives an operation. Adding survives (O3); passing to a limit does not: a number that exceeds 1−ε for every ε>0 is only guaranteed to be ≥1, not >1. Keeping < primary keeps that question in view.

1.1.3. The rules for inequalities

Logic and Proof, Chapters 1 and 2 used facts such as x2≥0 (in Logic and Proof, Example (A negative statement proved by not-introduction)) and the sign rules for products (in Logic and Proof, Example (The absolute value of a product)) as school algebra. We now prove them from (O1)–(O4) and the field axioms. So nothing earlier was circular: those facts were true, and here is why.

Theorem 1.1.2 (Rules for Inequalities)

Let F be an ordered field and let a,b,c,d∈F.

  • (a) a<b exactly when b−a>0, and exactly when −b<−a; in particular a>0 if and only if −a<0.
  • (b) If a≤b and c≤d, then a+c≤b+d, and the conclusion is strict if at least one hypothesis is strict.
  • (c) If a<b and c>0, then ac<bc.
  • (d) If a<b and c<0, then ac>bc.
  • (e) If a≠0, then a2>0. Hence a2≥0 for every a, and 1>0.
  • (f) If a>0, then 1/a>0. If 0<a<b, then 0<1/b<1/a.
  • (g) If a≥0 and b≥0, then a<b if and only if a2<b2.
  • (h) 2:=1+1 is positive, and if a<b, then a<a+b2<b.

Idea. Every rule is proved by the same move: turn a comparison into a statement about a single positive element, using (a), and then apply (O3) or (O4) to that element. For instance “a<b and c>0” becomes “b−a and c are positive”, and (O4) says their product bc−ac is positive. The later parts then lean on the earlier ones, so the proof reads top to bottom.

Proof.

  • (a) If a<b, then (O3) with c=−a gives a+(−a)<b+(−a), that is, 0<b−a. Conversely, if 0<b−a, then (O3) with c=a gives a<b. For the second statement, (−a)−(−b)=b−a, so by what was just shown both a<b and −b<−a are equivalent to b−a>0. Taking a=0 and replacing b by a gives: 0<a if and only if −a<0.

  • (b) From a≤b we get a+c≤b+c: by (O3) if a<b, and trivially if a=b. In the same way c≤d gives b+c≤b+d, using (F1) to add b on the left. Chaining the two by transitivity gives a+c≤b+d, and if either link is strict the chain is strict.

  • (c) By (a), b−a>0. Since also c>0, (O4) gives (b−a)c>0, that is, bc−ac>0 by (F9). By (a) again, ac<bc.

  • (d) By (a), −c>0. Applying (c) with the positive element −c gives a(−c)<b(−c), that is, −(ac)<−(bc). By the second statement of (a), this says bc<ac.

  • (e) Since a≠0, trichotomy (O1) leaves two cases. Case 1: a>0. Then a2=a⋅a>0 by (O4). Case 2: a<0. Then −a>0 by (a), and a2=(−a)(−a)>0 by (O4). So a2>0 whenever a≠0, and a2=0 when a=0; either way a2≥0. Finally 1=12 and 1≠0 by (F7), so 1>0.

  • (f) Let a>0. Then a−1≠0, since otherwise 1=aa−1=a⋅0=0, contradicting (F7). Hence (a−1)2>0 by (e), and a−1=a⋅(a−1)2 is a product of two positive elements, so a−1>0 by (O4). Now let 0<a<b. Then b>0 by (O2), so a−1>0 and b−1>0, and a−1b−1>0 by (O4). Multiplying a<b by this positive element, (c) gives a⋅a−1b−1<b⋅a−1b−1, which simplifies to b−1<a−1.

  • (g) (⇒) Suppose 0≤a<b. Then b>0 by the mixed chain 0≤a<b. If a=0, then a2=0<b2 by (e). If a>0, then (c) applied to a<b, once with the positive factor a and once with the positive factor b, gives a2<ab and ab<b2, so a2<b2 by (O2). (⇐) Suppose a2<b2. By (O1), either a<b, or a=b, or b<a. If a=b then a2=b2, and if 0≤b<a then b2<a2 by the forward direction with the roles of a and b swapped. Either conclusion contradicts a2<b2 by (O1). Hence a<b.

  • (h) By (e) and (O3), 1+1>0+1=1>0, so 2>0 by (O2); in particular 2≠0 and 12>0 by (f). If a<b, then (O3) gives a+a<a+b and a+b<b+b, that is, 2a<a+b<2b, where a+a=(1+1)a=2a by (F9). Multiplying by 12>0 using (c) gives a<a+b2<b. This proves the theorem.

Three more rules of the same kind are Exercise (B1: Three more rules). With (a)–(h) in hand, every inequality manipulation in this chapter is justified by name. Part (h) looks modest, but it already tells us something structural: between any two elements of an ordered field there is a third, so an ordered field has no “next” element after any given one.

The first payoff is a nonexample. The complex numbers form a field, but no relation < on C satisfies (O1)–(O4). Indeed, if one did, then i≠0 would give i2>0 by (e), that is, −1>0. But (e) also gives 1>0, and then (a) gives −1<0. Having both −1>0 and −1<0 contradicts trichotomy. So C is a field that cannot be ordered, and this is why the book compares real numbers and never complex ones.

Warning. Inequalities may be added (part (b)) but not freely multiplied. From a≤b and c≤d it does not follow that ac≤bd: take a=c=−3 and b=d=−1. Then a≤b and c≤d, but ac=9 and bd=1. Multiplying an inequality needs the sign of the factor, as in (c) and (d), and multiplying two inequalities needs nonnegativity, as in Exercise (B1: Three more rules).

Quick check. The set {0,1}, with addition and multiplication modulo 2, is a field (so 1+1=0). Can it be made into an ordered field by some choice of <?

Solution. No. In any ordered field 1>0 by Theorem 1.1.2 (e), and then (O3) gives 1+1>0+1=1, so 1+1>0 by (O2). Here 1+1=0, so this says 0>0, which trichotomy forbids. The argument never used which relation was chosen, so no choice works.

1.1.4. Absolute value and distance

In analysis, the question is almost never “is x equal to a?” but “how far is x from a?”. An answer should be a nonnegative number that ignores on which side of a the point x lies. The absolute value supplies it.

|x| is the size of x with its sign removed, and |x−a| is the distance from x to a.

Definition 1.1.2 (Absolute Value)

Let F be an ordered field. The absolute value of x∈F is |x|:={xif x≥0,−xif x<0.

The definition is by cases, and trichotomy guarantees that exactly one case applies, so |x| is well defined. For example |3|=3, |−3|=−(−3)=3, and |0|=0; the degenerate point 0 falls in the first case, and it is the only element of absolute value 0. A minimal change shows that the case split is doing real work: the rule “|x|=x for all x” agrees with the definition on every nonnegative x and fails at every negative one, where it would make |−3|=−3<0.

The next proposition collects the facts about absolute value that we use constantly. Logic and Proof, Chapter 1 proved some of them by cases (Logic and Proof, Example (The triangle inequality by cases) begins with a≤|a| and −a≤|a|), taking the sign rules on trust; the sign rules are now Theorem 1.1.2.

Proposition 1.1.3 (Rules for Absolute Value)

Let F be an ordered field and let x,y,r∈F.

  • (a) |x|≥0, and |x|=0 if and only if x=0.
  • (b) |−x|=|x|, |xy|=|x||y|, and |x|2=x2.
  • (c) −|x|≤x≤|x|.
  • (d) |x|≤r if and only if −r≤x≤r; and |x|<r if and only if −r<x<r.

Idea. The definition of |x| has two cases, so each part is proved by checking x≥0 and x<0 separately and quoting the sign rules of Theorem 1.1.2 in each case. Part (d) is the exception. Once (c) is available, (d) needs no new case split for its forward direction.

Proof.

  • (a) If x≥0 then |x|=x≥0, with equality exactly when x=0. If x<0 then |x|=−x>0 by Theorem 1.1.2 (a).

  • (b) If x>0 then −x<0, so |−x|=−(−x)=x=|x|; if x<0 then −x>0, so |−x|=−x=|x|; and |−0|=|0|. For the product, both |xy| and |x||y| are one of the two elements xy and −xy, since each absolute value is its argument up to sign. Both are nonnegative: |xy|≥0 by (a), and |x||y|≥0 by (O4) when both factors are positive and trivially when one is 0. If xy=0, both are 0. If xy≠0, then exactly one of xy and −xy is positive, by trichotomy and Theorem 1.1.2 (a), so both must be that one. Either way |xy|=|x||y|. Finally |x|2=(±x)2=x2.

  • (c) If x≥0, then x=|x|, and −|x|=−x≤0≤x. If x<0, then −|x|=x, and x<0<−x=|x|.

  • (d) (⇒) Suppose |x|≤r. By (c), x≤|x|≤r. Also −r≤−|x| by Theorem 1.1.2 (a), and −|x|≤x by (c), so −r≤x. (⇐) Suppose −r≤x≤r. If x≥0, then |x|=x≤r. If x<0, then |x|=−x≤r, because −r≤x gives −x≤r by Theorem 1.1.2 (a). The strict version is the same argument with < in place of ≤ wherever r appears.

Part (d), applied to x−a in place of x, is the single most used equivalence in this book. Adding a throughout by (O3), it reads

|x−a|<r⟺a−r<x<a+r.
(1.1.1)

In words: x is within distance r of a exactly when x lies in the open interval of radius r centered at a. Here, for a≤b in F, the intervals are (a,b):={x∈F:a<x<b}, [a,b]:={x∈F:a≤x≤b}, and (a,b], [a,b) similarly; in the degenerate case a=b, the closed interval [a,a]={a} is a single point and the other three are empty; (a,∞):={x∈F:x>a}, and the other unbounded intervals are defined in the same way. The symbol ∞ here is part of the name of a set, not an element of F. From Chapter 2 on, every statement “an is close to L” is turned into two inequalities by Eq. 1.1.1, and back.

Example (Reading an absolute-value inequality as an interval)

Find all real x with |4−3x|<2.

Solution. By Proposition 1.1.3 (d), |4−3x|<2 holds if and only if −2<4−3x<2. Subtracting 4 throughout (O3) gives −6<−3x<−2. Multiplying by the negative number −13 reverses both inequalities, by Theorem 1.1.2 (d): 2>x>23. Every step was an equivalence, so the solution set is the interval (23,2).

As a check against Eq. 1.1.1: |4−3x|=|−3||x−43|=3|x−43| by Proposition 1.1.3 (b), so the condition says |x−43|<23, the interval of radius 23 about 43, which is (23,2) again.

Distance should satisfy one more law: going from x to z directly is never longer than going via a third point y. For numbers, that law is the triangle inequality.

Theorem 1.1.4 (Triangle Inequality)

Let F be an ordered field. For all x,y∈F,

  • (a) |x+y|≤|x|+|y|;
  • (b) ||x|−|y||≤|x−y| (the reverse triangle inequality).

Idea. Logic and Proof, Chapter 1 proved (a) in Logic and Proof, Example (The triangle inequality by cases) with two case splits: one to show a≤|a| and −a≤|a|, and then one on the sign of x+y. Here the first split is already done, as Proposition 1.1.3 (c), and the second is not needed. By Proposition 1.1.3 (d), the goal |x+y|≤|x|+|y| is the pair of inequalities −(|x|+|y|)≤x+y≤|x|+|y|, and these come from adding the two sandwiches −|x|≤x≤|x| and −|y|≤y≤|y|. For (b), write x as (x−y)+y and apply (a).

Proof.

  • (a) By Proposition 1.1.3 (c), −|x|≤x≤|x| and −|y|≤y≤|y|. Adding these by Theorem 1.1.2 (b) gives −(|x|+|y|)≤x+y≤|x|+|y|. By Proposition 1.1.3 (d) with r=|x|+|y|, this says |x+y|≤|x|+|y|.

  • (b) By (a) applied to x−y and y, |x|=|(x−y)+y|≤|x−y|+|y|, so |x|−|y|≤|x−y|. Swapping the roles of x and y gives |y|−|x|≤|y−x|=|x−y|, using Proposition 1.1.3 (b). The two inequalities together say −|x−y|≤|x|−|y|≤|x−y|, which is (b) by Proposition 1.1.3 (d). This proves the theorem.

The case-free proof is typical of what the axioms buy: once a fact such as −|x|≤x≤|x| is proved, it can be added, multiplied, and chained without redoing sign cases. The triangle inequality is the engine of every estimate in this volume. Its standard use is “insert a third point”: to bound |x−z|, write x−z=(x−y)+(y−z) for a well-chosen y, and bound the two pieces separately (Exercise (B2: Inserting a third point)).

Remark. The inequality in (a) can be strict: |1+(−1)|=0<2=|1|+|−1|. Equality holds exactly when x and y do not have strictly opposite signs, that is, when xy≥0 (Exercise (B2: Inserting a third point)).

Comparing by squaring. Two absolute values can often be compared without any case split, by squaring. For nonnegative a and b, Theorem 1.1.2 (g) says that a<b holds exactly when a2<b2, and Proposition 1.1.3 (b) gives |u|2=u2. For example, which x satisfy |x−2|<|x|? Both sides are nonnegative, so the inequality holds if and only if (x−2)2<x2, that is, x2−4x+4<x2. By (O3) this is 4<4x, and multiplying by 14>0 gives x>1. Every step was an equivalence, so the solution set is (1,∞): the points closer to 2 than to 0.

1.1.5. Where this leaves us

Everything proved so far holds in Q and in R equally. So none of it can explain why x2−2 has a zero in [1,2] over R and not over Q. The difference between the two fields is not arithmetic and not the order rules; it is a property of sets of numbers. The next section introduces the language for that property: upper bounds, maxima, and the least upper bound.

1.1.6. Exercises

A. Check your understanding

Exercise (A1)
  • (a) Here is a derivation, in an ordered field, of “if a>0 and b>0 then a+b>0”: from b>0 we get a+b>a+0; and a+0=a; and a>0; hence a+b>0. Name the axiom that justifies each of the four steps.
  • (b) True or false, with a reason: in an ordered field, if a<b then a2<b2.
  • (c) True or false, with a reason: |x|=max{x,−x} for every x in an ordered field. (Here max{a,b} is the larger of a and b: it is a if a≥b, and b otherwise.)
  • (d) The integers satisfy all four order axioms. Why is Z not an ordered field?

Solution.

  • (a) The first step is (O3), adding a to both sides of 0<b (with (F1) to put a on the left). The second is (F3), the defining property of 0. The third is the hypothesis. The last is transitivity (O2): 0<a and a<a+b give 0<a+b.

  • (b) False. Take a=−2 and b=1: then a<b, but a2=4>1=b2. Theorem 1.1.2 (g) needs both numbers nonnegative.

  • (c) True. If x≥0, then −x≤0≤x, so the larger of x and −x is x=|x|. If x<0, then x<0<−x, so the larger is −x=|x|.

  • (d) Axiom (F8) fails: 2 has no multiplicative inverse in Z, since 2m=1 has no integer solution.

B. Practice

Exercise (B1: Three more rules)

Let F be an ordered field and a,b,c,d∈F. Prove the following from the axioms and Theorem 1.1.2.

  • (a) If a>0 and b<0, then ab<0.
  • (b) If 0≤a<b and 0≤c<d, then ac<bd.
  • (c) If a>0 and ab>0, then b>0.

Solution.

  • (a) Since b<0, Theorem 1.1.2 (a) gives −b>0. By (O4), a(−b)>0, that is, −(ab)>0. By Theorem 1.1.2 (a) again, ab<0.

  • (b) Since 0≤c<d, we have d>0. From a<b and d>0, Theorem 1.1.2 (c) gives ad<bd. From c<d and a≥0 we get ac≤ad: by Theorem 1.1.2 (c) if a>0, and because both sides are 0 if a=0. Chaining, ac≤ad<bd, so ac<bd.

  • (c) By trichotomy, b>0, b=0, or b<0. If b=0 then ab=0, and if b<0 then ab<0 by (a). Both contradict ab>0 by (O1). Hence b>0.

Exercise (B2: Inserting a third point)

Let F be an ordered field and x,y,z∈F.

  • (a) Prove that |x−z|≤|x−y|+|y−z|.
  • (b) Prove that |x+y|=|x|+|y| if and only if xy≥0.

Solution.

  • (a) Since x−z=(x−y)+(y−z), Theorem 1.1.4 (a) gives |x−z|≤|x−y|+|y−z|.

  • (b) Both sides are nonnegative, so by Theorem 1.1.2 (g) they are equal if and only if their squares are equal (apply (g) in both directions and use trichotomy). Using Proposition 1.1.3 (b), |x+y|2=x2+2xy+y2,(|x|+|y|)2=x2+2|xy|+y2. These are equal if and only if xy=|xy|, which by the definition of absolute value happens if and only if xy≥0.

Exercise (B3: Solving inequalities)

Find all real x satisfying each inequality. Hence write each solution set as an interval.

  • (a) |2x−3|<5.
  • (b) |x−1|<|x+1|.

Solution.

  • (a) By Proposition 1.1.3 (d), the inequality holds if and only if −5<2x−3<5. Adding 3 gives −2<2x<8, and multiplying by 12>0 gives −1<x<4. Each step is reversible, so the solution set is (−1,4).

  • (b) Both sides are nonnegative, so by Theorem 1.1.2 (g) and Proposition 1.1.3 (b) the inequality holds if and only if (x−1)2<(x+1)2. Expanding, this is x2−2x+1<x2+2x+1, which by (O3) is equivalent to 0<4x, and by multiplying with 14>0 to x>0. The solution set is (0,∞): the points closer to 1 than to −1.

C. Going deeper

Exercise (C1: Ordered fields contain the counting numbers)
  • (a) The field {0,1,2} with arithmetic modulo 3 has 1+1+1=0. Show that it admits no order satisfying (O1)–(O4).
  • (b) In an ordered field F, define n⋅1 for n∈N by 0⋅1:=0 and (n+1)⋅1:=n⋅1+1. Prove that n⋅1>0 for every n∈N with n≥1, and that m⋅1<n⋅1 whenever m<n.
  • (c) Deduce that the elements 0,1,1+1,1+1+1,… of an ordered field are all different, so every ordered field contains a copy of N (and in particular is infinite).

Hint: for (b), use induction on n (Logic and Proof, Axiom 4.2.1).

Solution.

  • (a) Suppose an order existed. By Theorem 1.1.2 (e), 1>0. By (O3), 1+1>0+1=1, so 1+1>0 by (O2), and again 1+1+1>1>0. But 1+1+1=0, so this says 0>0, contradicting trichotomy (O1).

  • (b) We prove n⋅1>0 by induction on n, starting at n=1. For n=1, 1⋅1=0⋅1+1=0+1=1>0 by Theorem 1.1.2 (e). If n⋅1>0, then by (O3), (n+1)⋅1=n⋅1+1>n⋅1, and (O2) gives (n+1)⋅1>0. The same step shows (k+1)⋅1>k⋅1 for every k. Now fix m and prove m⋅1<n⋅1 for every n>m by induction on n, starting at n=m+1: the base case is the step just shown with k=m, and if m⋅1<n⋅1, then m⋅1<n⋅1<(n+1)⋅1, so (O2) gives m⋅1<(n+1)⋅1.

  • (c) If m≠n, say m<n, then m⋅1<n⋅1 by (b), so m⋅1≠n⋅1 by trichotomy. Hence n↦n⋅1 is injective from N into F, and by (b) it respects order. It also respects addition: (m+n)⋅1=m⋅1+n⋅1, by induction on n with m fixed. For n=0 both sides are m⋅1, since 0⋅1=0. If it holds for n, then (m+(n+1))⋅1=((m+n)+1)⋅1=(m+n)⋅1+1=m⋅1+n⋅1+1=m⋅1+(n+1)⋅1, using the definition twice and (F2). This is the sense in which F contains a copy of N. The section on the natural numbers inside R, later in this chapter, starts from exactly this copy.

Exercise (C2: Max and min without cases)

Let F be an ordered field and a,b∈F. Write max{a,b} for the larger of a and b and min{a,b} for the smaller (as in Exercise (A1)). Prove that max{a,b}=a+b+|a−b|2,min{a,b}=a+b−|a−b|2. Hence show that |max{a,b}−max{c,d}|≤max{|a−c|,|b−d|} for all a,b,c,d∈F.

Hint: for the last part, bound max{a,b} above by max{c,d}+max{|a−c|,|b−d|}.

Solution. If a≥b, then |a−b|=a−b, so a+b+|a−b|2=2a2=a=max{a,b} and a+b−|a−b|2=b=min{a,b}. If a<b, then |a−b|=b−a, and the same computation gives b and a. By trichotomy these cases cover everything.

For the inequality, put m:=max{|a−c|,|b−d|}. By Proposition 1.1.3 (c), a≤c+|a−c|≤max{c,d}+m, and likewise b≤d+|b−d|≤max{c,d}+m. Hence max{a,b}≤max{c,d}+m, that is, max{a,b}−max{c,d}≤m. Swapping the roles of (a,b) and (c,d), which leaves m unchanged, gives max{c,d}−max{a,b}≤m. By Proposition 1.1.3 (d), the two together say |max{a,b}−max{c,d}|≤m.