Survey of Mathematics

1.1 The real numbers and completeness

The rational numbers have holes, like the one where the square root of 2 should be. The real numbers are the rationals with every hole filled, and the precise way to say "no holes" is that every bounded set has a least upper bound. All of calculus rests on this one property.

Beyond the courseAbbott, Understanding Analysis, ch. 1Rudin, Principles of Mathematical Analysis, ch. 1Spivak, Calculus, ch. 8

In school, “the real numbers” meant all the numbers on the number line. That picture hides the one property every theorem of calculus needs. The rational numbers (fractions of whole numbers) also sit on the line, densely: between any two there is another. Yet they have holes, and calculus does not work on them. This chapter says exactly what a hole is, what it means to have none, and proves the first consequences. It also introduces the move that appears in nearly every analysis proof: “for every ε>0\varepsilon > 0, there is an element within ε\varepsilon of the supremum.” Here ε\varepsilon (the Greek letter epsilon) is the name for a small positive number that somebody else picks, and your job is to answer whatever they pick.

Before you start

Chapter 0.1 (quantifiers and negation) and 0.2 (proof by contradiction, and the irrationality of 2\sqrt 2).

Quick checkWhich is the negation of 'MM is an upper bound of SS', where that means ∀x∈S: x≤M\forall x \in S:\ x \le M?
Quick checkWhy is 2\sqrt 2 not a fraction?

The picture: a hole in the rationals

Take all positive rationals whose square is less than 2:

A={q∈Q:q>0, q2<2}.A = \{ q \in \mathbb Q : q > 0,\ q^2 < 2 \}.

It contains 11, 1.41.4, 1.411.41, 1.4141.414, … creeping up towards 2\sqrt 2. Every element is less than 1.51.5 (if q≥1.5q \ge 1.5 then q2≥2.25q^2 \ge 2.25), so AA is bounded above. Is there a smallest rational number that is ≥\ge every element of AA? Try one: 1.51.5 works but 1.421.42 is smaller and still works (1.422=2.0164>21.42^2 = 2.0164 > 2); 1.4151.415 is smaller still. Any rational upper bound can be beaten by a smaller rational upper bound, because the “right” answer, 2\sqrt 2, is missing from Q\mathbb Q. The set “wants” a least upper bound and the rationals cannot provide one. That missing point is a hole. A later example proves this carefully; first, here is a way to see the beating-by-a-smaller-bound move in numbers.

Your answerYou hold the rational upper bound M=1.5M = 1.5 of AA. The number M2+1M\frac M2 + \frac1M is a smaller rational upper bound (this is the Babylonian step you will meet in 1.2). Compute it, as a fraction.
Why· Why holes break calculus

The function f(x)=x2−2f(x) = x^2 - 2 is negative at x=1x = 1 and positive at x=2x = 2. In school, the intermediate value theorem then gave a root between them. But if you only allow rational xx, there is no root: x2=2x^2 = 2 has no rational solution. So a fact as basic as “a continuous curve that goes from below zero to above zero must cross zero” is FALSE over the rationals. Whatever makes it true over the reals must be a property the rationals lack. That property is completeness.

Where this came from· Filling the holes, 1872

The Greeks knew 2\sqrt 2 is not a ratio of whole numbers. For about two thousand years mathematicians used irrational numbers without saying what they were. Calculus was built on them in the 1600s and 1700s, still without a definition. In 1858 Richard Dedekind had to teach differential calculus for the first time, at the Zurich Polytechnic. He was unhappy that its basic theorems, such as “a bounded increasing sequence has a limit”, were justified by geometric intuition. In 1872 he published his answer: a real number is a “cut” splitting the rationals into a lower and an upper part. In the same year Georg Cantor, who came to the question through the study of trigonometric series, defined real numbers through sequences of rationals that bunch together. Both constructions produce a number system with the property this chapter calls completeness.

Definitions and theorems

Bounds

Definition B

Upper bound

A real number MM is an upper bound of a set SS of real numbers if x≤Mx \le M for every x∈Sx \in S. A lower bound is defined the same way with x≥mx \ge m.

In one lineMM is an upper bound of SS if every element of SS is at most MM.

Why it existsTo talk about the 'top' of a set that has no largest element, we first need numbers that sit above all of it.

Definition B

Bounded

SS is bounded above if it has at least one upper bound, bounded below if it has a lower bound, and bounded if it is both.

In one lineA set is bounded above if it has an upper bound, bounded below if it has a lower bound, and bounded if both.

Why it existsCompleteness is a statement about bounded sets.

Definition B

Supremum

A number ss is the supremum (or least upper bound) of SS, written s=sup⁡Ss = \sup S, if:

  1. ss is an upper bound of SS, and
  2. if MM is any upper bound of SS, then s≤Ms \le M.

In one lineThe supremum of SS is its least upper bound: an upper bound that is smaller than every other upper bound.

Why it existsIt is the precise 'top edge' of a set, even when the set has no largest element.

Definition B

Infimum

The infimum inf⁡S\inf S is the greatest lower bound: a lower bound mm with m≥m \ge every other lower bound.

In one lineThe infimum of SS is its greatest lower bound.

Why it existsThe bottom edge of a set, the mirror image of the supremum.

Worked example
Find sup⁡S\sup S and inf⁡S\inf S for S={1−1n:n=1,2,3,… }S = \{1 - \frac1n : n = 1, 2, 3, \dots\}.

Solution.

  1. List some elements. S={0,12,23,34,… }S = \{0, \tfrac12, \tfrac23, \tfrac34, \dots\}. Concrete elements show the pattern before any proof.
  2. Guess. The elements climb towards 1 and never reach it; the smallest is 0. Guess sup⁡S=1\sup S = 1 and inf⁡S=0\inf S = 0. Scratch work: guess first, prove after.
  3. 1 is an upper bound. 1−1n<11 - \frac1n < 1 for every nn, since 1n>0\frac1n > 0. Condition 1 of the definition.
  4. No smaller upper bound. Let M<1M < 1 be any number below 1. Then 1−M1 - M is a positive number, so choose nn with 1n<1−M\frac1n < 1 - M. Then 1−1n>M1 - \frac1n > M, so MM is not an upper bound. Condition 2 of the definition, in its contrapositive form: anything below 1 fails to be an upper bound. Choosing such an nn is possible because 1n\frac1n can be made as small as we like. That is the Archimedean property, proved later in this chapter; here we use it before proving it.
  5. The infimum. 0∈S0 \in S and every element is ≥0\ge 0, so 0 is a lower bound that belongs to SS. Any lower bound mm is at most the element 00, so m≤0m \le 0. The greatest lower bound is a lower bound that is at least every other lower bound. If a lower bound is itself an element, every lower bound is below it, so it is the infimum.

Answer. sup⁡S=1\sup S = 1 (not in SS) and inf⁡S=0\inf S = 0 (in SS). The supremum need not belong to the set; when it does, it is the set’s maximum.

Quick checkWhich of these sets has a supremum but no largest element?
Your answerLet S={1−1n:n=1,2,3,… }S = \{1 - \frac1n : n = 1, 2, 3, \dots\}. Someone names the tolerance ε=0.001\varepsilon = 0.001. What is the smallest nn for which the element 1−1n1 - \frac1n is above 1−ε1 - \varepsilon?

The completeness axiom

Definition B

Completeness axiom

Completeness axiom (least-upper-bound property). Every non-empty set of real numbers that is bounded above has a least upper bound in R\mathbb R.

In one lineEvery non-empty set of real numbers that is bounded above has a supremum in R\mathbb R.

Why it existsIt is exactly the 'no holes' property: the rationals fail it and the reals satisfy it, and every big theorem of calculus depends on it.

The real numbers are the number system satisfying the usual rules of arithmetic and order (the axioms of an ordered field: the algebra you have always done, plus “if a<ba < b then a+c<b+ca + c < b + c” and “if a<ba < b and c>0c > 0 then ac<bcac < bc”) and the completeness axiom. The rationals satisfy all the arithmetic and order rules, and fail completeness: the set AA in the picture is non-empty and bounded above, but has no least upper bound in Q\mathbb Q. The example below proves that last claim, and the same idea later builds 2\sqrt 2 inside R\mathbb R.

Worked example Rudin Example 1.1 (shortened)
Show that A={q∈Q:q>0, q2<2}A = \{q \in \mathbb Q : q > 0,\ q^2 < 2\} has no least upper bound in Q\mathbb Q.

Solution. The plan: take any rational upper bound MM and produce a smaller rational upper bound. Then no rational upper bound is the least one.

  1. Start with a rational upper bound. Let M∈QM \in \mathbb Q, M>0M > 0, with x≤Mx \le M for all x∈Ax \in A. We must show an arbitrary upper bound can be beaten, so we assume nothing else about it.
  2. The square of MM must be above 2. First, M2≠2M^2 \ne 2, because 2\sqrt 2 is not rational (the proof in 0.2). Second, M2<2M^2 < 2 is impossible. In that case put h=2−M22M+2h = \dfrac{2 - M^2}{2M + 2}, a rational number with 0<h<10 < h < 1 (the top is below 2 and the bottom is above 2), and look at M+hM + h: (M+h)2=M2+2Mh+h2<M2+(2M+1)h<M2+(2M+2)h=2(M + h)^2 = M^2 + 2Mh + h^2 < M^2 + (2M + 1)h < M^2 + (2M + 2)h = 2. So M+hM + h is a rational element of AA that is bigger than MM, and MM was not an upper bound. So M2>2M^2 > 2. We use h2<hh^2 < h for 0<h<10 < h < 1. The number hh is chosen so that (2M+2)h(2M + 2)h is exactly the room left, 2−M22 - M^2.
  3. Define a new number. M′=M2+1M=M2+22MM' = \dfrac{M}{2} + \dfrac1M = \dfrac{M^2 + 2}{2M}. This is rational, because MM is. Where it comes from: if MM is a little too big, then 2M\frac2M is a little too small (their product is 2), and the average of the two is closer to 2\sqrt 2 than either. This is the number you computed in the check above.
  4. M′M' is smaller than MM. M−M′=M2−1M=M2−22M>0M - M' = \dfrac{M}{2} - \dfrac1M = \dfrac{M^2 - 2}{2M} > 0, since M2>2M^2 > 2 and M>0M > 0. Common denominator 2M2M, then use M2>2M^2 > 2.
  5. M′M' is still an upper bound. M′2−2=(M2+2)2−8M24M2=(M2−2)24M2>0M'^2 - 2 = \dfrac{(M^2 + 2)^2 - 8M^2}{4M^2} = \dfrac{(M^2 - 2)^2}{4M^2} > 0, so M′2>2M'^2 > 2. Every x∈Ax \in A has x2<2<M′2x^2 < 2 < M'^2 and x,M′>0x, M' > 0, so x<M′x < M'. If x≥M′x \ge M' then x2≥M′2>2x^2 \ge M'^2 > 2, which contradicts x∈Ax \in A. The numerator expands as M4+4M2+4−8M2=(M2−2)2M^4 + 4M^2 + 4 - 8M^2 = (M^2-2)^2.

Answer. Every rational upper bound MM of AA is beaten by the smaller rational upper bound M′M', so AA has no least upper bound in Q\mathbb Q. That is the hole. ■\blacksquare

Beyond the course: for understanding· Is this an axiom or a theorem?

In this book, as in Abbott and Spivak, completeness is taken as an axiom about R\mathbb R. In Rudin, and in MATH 521, R\mathbb R is first constructed from Q\mathbb Q (with Dedekind cuts), and completeness is then proved as a theorem. Both approaches give the same number system; the axiomatic one gets to the analysis faster.

The most-used fact about suprema

Every analysis proof that involves a supremum uses the next fact. It turns “least upper bound” into something you can work with: there are elements of SS as close to sup⁡S\sup S as you like.

Numbers first. Take S={1−1n}S = \{1 - \frac1n\}, so s=sup⁡S=1s = \sup S = 1. Somebody names a tolerance ε\varepsilon, and you must find an element of SS in the strip between 1−ε1 - \varepsilon and 11.

Tolerance ε\varepsilonStripAn element in the stripHow you found it
0.10.1(0.9, 1](0.9,\ 1]1−111≈0.9091 - \frac1{11} \approx 0.909need 1n<0.1\frac1n < 0.1, so n=11n = 11
0.010.01(0.99, 1](0.99,\ 1]1−1101≈0.9900991 - \frac1{101} \approx 0.990099need 1n<0.01\frac1n < 0.01, so n=101n = 101
any ε\varepsilon(1−ε, 1](1 - \varepsilon,\ 1]1−1n1 - \frac1npick n>1εn > \frac1\varepsilon

The tolerance is chosen first, by somebody else, and may be tiny. Then you produce one element. You are not claiming every element is in the strip, only that the strip is never empty.

Theorem B Abbott Lemma 1.3.8

Approximation property of the supremum

Let ss be an upper bound of a non-empty set SS. Then s=sup⁡Ss = \sup S if and only if for every ε>0\varepsilon > 0 there is an x∈Sx \in S with x>s−εx > s - \varepsilon.

In one lineIf s=sup⁡Ss = \sup S, then for every ε>0\varepsilon > 0 there is an x∈Sx \in S with s−ε<x≤ss - \varepsilon < x \le s.

Why it is trueAnything smaller than ss, such as s−εs - \varepsilon, is not an upper bound, so some element of SS lies above it.

Why· The picture behind the proof

Draw SS on the number line with ss at its top edge. Slide a marker down from ss by any amount ε\varepsilon. If no element of SS were above the marker, the marker would be an upper bound smaller than ss, which is impossible if ss is the LEAST upper bound. So the strip between s−εs - \varepsilon and ss always catches an element of SS, however thin you make it. In the table above, the marker at 0.90.9 is not an upper bound of SS, because 0.9090.909 is above it.

ProofAbbott 1.3.8
The idea: (⇒) s − ε is smaller than the least upper bound, so it is not an upper bound, and not being an upper bound means some element is above it. (⇐) If some upper bound M were smaller than s, take ε = s − M and get an element above M.
(⇒\Rightarrow) Suppose s=sup⁡Ss = \sup S, and let ε>0\varepsilon > 0.
Two directions. Start with: ss is the supremum.
Then s−ε<ss - \varepsilon < s, so s−εs - \varepsilon is not an upper bound of SS.
ss is the least upper bound, and s−εs - \varepsilon is smaller than ss.
So there is an x∈Sx \in S with x>s−εx > s - \varepsilon.
The negation of 'is an upper bound' (∀x∈S: x≤M\forall x \in S:\ x \le M) is ∃x∈S: x>M\exists x \in S:\ x > M.This is the first quiz of the chapter, used for real.
(⇐\Leftarrow) Suppose the condition holds, and let MM be any upper bound of SS. We show s≤Ms \le M.
Other direction: assume the ε\varepsilon condition, and show no upper bound is smaller than ss.
Suppose instead M<sM < s. Set ε=s−M>0\varepsilon = s - M > 0.
Proof by contradiction: assume the opposite.
There is x∈Sx \in S with x>s−ε=Mx > s - \varepsilon = M.
Apply the condition with this ε\varepsilon; note s−ε=Ms - \varepsilon = M.
So MM is not an upper bound, a contradiction. Hence s≤Ms \le M, and s=sup⁡Ss = \sup S. ■\blacksquare
That contradicts MM being an upper bound.
Proof workshopRebuild the (⇒) direction

Tap the lines in the order a proof would write them. Each line can only use what is already above it.

    First consequences

    Definition B

    Archimedean property

    The Archimedean property: for every real xx there is a natural number nn with n>xn > x. Equivalently, for every ε>0\varepsilon > 0 there is nn with 1n<ε\frac1n < \varepsilon.

    In one lineFor every real number xx there is a natural number nn with n>xn > x; equivalently, 1n\frac1n can be made smaller than any positive number.

    Why it existsIt rules out 'infinitely large' and 'infinitely small' real numbers, and it is what makes 1n→0\frac1n \to 0 true.

    Why the two forms say the same thing. Given ε>0\varepsilon > 0, apply the first form to x=1εx = \frac1\varepsilon to get n>1εn > \frac1\varepsilon, and then 1n<ε\frac1n < \varepsilon (flip both sides, which is allowed because both are positive). This is the form you will use for ε\varepsilon-proofs: it is how you turn a tolerance into a whole number nn.

    Your answerBy the Archimedean property, for ε=0.007\varepsilon = 0.007 some nn has 1n<ε\frac1n < \varepsilon. What is the smallest whole number nn that works?
    Theorem B Abbott Thm 1.4.2

    The reals are Archimedean

    The set N={1,2,3,… }\mathbb N = \{1, 2, 3, \dots\} is not bounded above in R\mathbb R. So for every real xx there is n∈Nn \in \mathbb N with n>xn > x.

    In one lineThe natural numbers are not bounded above in R\mathbb R.

    Why it is trueIf they were, their supremum s would have a natural number above s − 1, and adding 1 would beat s.

    ProofAbbott 1.4.2
    The idea: If ℕ were bounded above it would have a supremum s (completeness). The approximation property with ε = 1 gives a natural number n > s − 1, and then n + 1 > s is a natural number above the supremum.
    Suppose N\mathbb N is bounded above.
    Proof by contradiction.
    Then s=sup⁡Ns = \sup \mathbb N exists.
    N\mathbb N is non-empty and bounded above, so the completeness axiom applies.
    There is n∈Nn \in \mathbb N with n>s−1n > s - 1.
    Approximation property with ε=1\varepsilon = 1.
    Then n+1>sn + 1 > s.
    Add 1 to both sides.
    This contradicts ss being an upper bound of N\mathbb N. So N\mathbb N is not bounded above. ■\blacksquare
    n+1n + 1 is a natural number larger than the supremum, but the supremum is an upper bound of N\mathbb N.
    Proof workshopRebuild the proof that the natural numbers are not bounded above

    Tap the lines in the order a proof would write them. Each line can only use what is already above it.

      Theorem B Abbott Thm 1.4.3

      The rationals are dense

      For any real numbers a<ba < b there is a rational qq with a<q<ba < q < b.

      In one lineBetween any two real numbers there is a rational number.

      Why it is trueChoose a denominator n so fine that steps of size 1/n cannot jump over the gap, then step until you land inside.

      ProofAbbott 1.4.3
      The idea: Pick n with 1/n smaller than the gap b − a (Archimedean). Then the multiples m/n are spaced closer than the gap, so one of them must land inside (a, b): take the first multiple past a.
      Choose n∈Nn \in \mathbb N with 1n<b−a\frac1n < b - a.
      Archimedean property with ε=b−a>0\varepsilon = b - a > 0.
      Let mm be the smallest integer with m>nam > na. Then m−1≤na<mm - 1 \le na < m.
      The integers above nana form a non-empty set (Archimedean again) that is bounded below (by nana), and a non-empty set of integers that is bounded below has a least element. Being least means m−1m - 1 is not above nana.
      So a<mna < \frac mn.
      Divide na<mna < m by n>0n > 0.
      And mn≤a+1n<a+(b−a)=b\frac mn \le a + \frac1n < a + (b - a) = b.
      From m−1≤nam - 1 \le na: m≤na+1m \le na + 1, so mn≤a+1n\frac mn \le a + \frac1n, and 1n<b−a\frac1n < b - a by the choice of nn.
      So q=mnq = \frac mn is rational with a<q<ba < q < b. ■\blacksquare
      Both inequalities together.
      Worked example
      Use the density proof to find a rational number between 1.414211.41421 and 1.414221.41422.

      Solution.

      1. Find the gap. b−a=1.41422−1.41421=0.00001=10−5b - a = 1.41422 - 1.41421 = 0.00001 = 10^{-5}. The proof starts by measuring how wide the gap is, because the grid of fractions must be finer than the gap.
      2. Choose the denominator. We need 1n<10−5\frac1n < 10^{-5}, so n>100000n > 100000. Take n=100001n = 100001. With steps of size 1n\frac1n smaller than the gap, we cannot jump over the interval.
      3. Find the first step past aa. na=100001×1.41421=141422.41421na = 100001 \times 1.41421 = 141422.41421, so the smallest integer above it is m=141423m = 141423. mm is the first multiple of 1n\frac1n that is above aa; the one before it, 141422141422, is at most nana.
      4. Form the fraction. q=141423100001≈1.4142158578q = \dfrac{141423}{100001} \approx 1.4142158578. The proof guarantees a<q≤a+1n<ba < q \le a + \frac1n < b. Check: 1.41421<1.4142158578<1.414221.41421 < 1.4142158578 < 1.41422.

      Answer. q=141423100001q = \frac{141423}{100001} is a rational number between 1.414211.41421 and 1.414221.41422 (and it is close to 2≈1.41421356\sqrt 2 \approx 1.41421356, as it must be).

      Quick checkThe rationals are dense in the reals, yet Q\mathbb Q is not complete. Which statement explains how both can be true?
      Worked example Abbott Thm 1.4.5, shortened
      Use completeness to prove there is a real number ss with s2=2s^2 = 2.

      Solution.

      1. Choose the set. A={x∈R:x>0, x2<2}A = \{ x \in \mathbb R : x > 0,\ x^2 < 2 \}. It contains 1, and every element is less than 2 (if x≥2x \ge 2 then x2≥4x^2 \ge 4). So AA is non-empty and bounded above, and s=sup⁡As = \sup A exists with s≥1s \ge 1. Completeness is where the real number ss comes from. We have no formula for it yet, so we will find out what s2s^2 must be.
      2. Rule out s2<2s^2 < 2 (the supremum is too low). Suppose s2<2s^2 < 2. For any natural number nn, (s+1n)2=s2+2sn+1n2≤s2+2s+1n\left(s + \tfrac1n\right)^2 = s^2 + \tfrac{2s}n + \tfrac1{n^2} \le s^2 + \tfrac{2s + 1}{n}, using 1n2≤1n\tfrac1{n^2} \le \tfrac1n. This is below 22 as soon as 2s+1n<2−s2\tfrac{2s+1}{n} < 2 - s^2, that is n>2s+12−s2n > \dfrac{2s + 1}{2 - s^2}, and such an nn exists (Archimedean). For that nn, s+1n∈As + \tfrac1n \in A and s+1n>ss + \tfrac1n > s, so ss is not an upper bound of AA. This is a contradiction. The supremum cannot sit inside the region where squares are below 2, because it could then be pushed up a little. The bound on nn comes from solving the inequality we want, backwards: scratch work.
      3. Rule out s2>2s^2 > 2 (the supremum is too high). Suppose s2>2s^2 > 2. For any natural number nn, (s−1n)2=s2−2sn+1n2>s2−2sn\left(s - \tfrac1n\right)^2 = s^2 - \tfrac{2s}n + \tfrac1{n^2} > s^2 - \tfrac{2s}n. This is above 2 as soon as 2sn<s2−2\tfrac{2s}{n} < s^2 - 2, that is n>2ss2−2n > \dfrac{2s}{s^2 - 2}; choose such an nn (Archimedean). Then s−1n≥0s - \tfrac1n \ge 0 (as s≥1s \ge 1) and its square is above 2, so s−1n>0s - \tfrac1n > 0. Any x∈Ax \in A has x2<2<(s−1n)2x^2 < 2 < \left(s - \tfrac1n\right)^2 with xx and s−1ns - \tfrac1n both positive, so x<s−1nx < s - \tfrac1n. So s−1ns - \tfrac1n is an upper bound of AA that is smaller than ss, contradicting that ss is the LEAST upper bound. The supremum cannot sit in the region of squares above 2, because it could then be pulled down a little. We drop the positive term 1n2\tfrac1{n^2} (that only makes the left side smaller, which is safe for a “greater than” claim).
      4. Conclude. Neither s2<2s^2 < 2 nor s2>2s^2 > 2, so s2=2s^2 = 2. Trichotomy: exactly one of <<, ==, >> holds.

      Answer. Completeness produces 2\sqrt 2 as the supremum of AA. In Q\mathbb Q the same set has no supremum, which is exactly the hole in the picture.

      Quick checkS={x∈Q:x2<2}S = \{x \in \mathbb Q : x^2 < 2\}. In R\mathbb R, what is sup⁡S\sup S, and is it in SS?
      Quick checkWhich statement is the approximation property of s=sup⁡Ss = \sup S?

      How this is used in analysis proofs

      The approximation property is a standard move. When a proof involves s=sup⁡Ss = \sup S, it almost always does one of two things:

      1. Uses that ss is an upper bound: ”x≤sx \le s for all x∈Sx \in S”.
      2. Picks ε>0\varepsilon > 0 and an element x∈Sx \in S with x>s−εx > s - \varepsilon.

      To prove a claim of the form "s=sup⁡Ss = \sup S" you therefore always do two jobs. Job 1: show ss is an upper bound. Job 2: show nothing smaller is, which by the theorem means “for every ε>0\varepsilon > 0, find an element of SS above s−εs - \varepsilon”. In job 2 the scratch work is to solve the inequality “element >s−ε> s - \varepsilon” for the index of the element, and the write-up then starts with “Let ε>0\varepsilon > 0”.

      Worked example
      Prove that sup⁡{nn+1:n∈N}=1\sup\left\{\frac{n}{n+1} : n \in \mathbb N\right\} = 1.

      Solution.

      1. Guess. The elements are 12,23,34,…\frac12, \frac23, \frac34, \dots, climbing towards 1. Guess sup⁡=1\sup = 1. Scratch work: look at the first few elements.
      2. Job 1: 1 is an upper bound. nn+1=1−1n+1<1\frac{n}{n+1} = 1 - \frac1{n+1} < 1 for every nn. Every element is below 1, which is condition 1 of the definition.
      3. Job 2, scratch work: solve for nn. We want an element above 1−ε1 - \varepsilon: nn+1>1−ε  ⟺  1n+1<ε  ⟺  n+1>1ε\frac n{n+1} > 1 - \varepsilon \iff \frac1{n+1} < \varepsilon \iff n + 1 > \frac1\varepsilon. We work backwards from the goal to find out how big nn must be. Each step can be reversed, so the conditions are equivalent.
      4. Job 2, write-up. Let ε>0\varepsilon > 0. By the Archimedean property choose n∈Nn \in \mathbb N with n+1>1εn + 1 > \frac1\varepsilon. Then nn+1=1−1n+1>1−ε\frac{n}{n+1} = 1 - \frac1{n+1} > 1 - \varepsilon. Now the steps run forwards. The tolerance came first, and nn was built from it.
      5. Apply the theorem. 1 is an upper bound, and for every ε>0\varepsilon > 0 some element is above 1−ε1 - \varepsilon. That is exactly the approximation property, in its “if” direction.

      Answer. sup⁡=1\sup = 1. For instance ε=0.02\varepsilon = 0.02 needs n+1>50n + 1 > 50, so n=50n = 50 gives 5051≈0.9804>0.98\frac{50}{51} \approx 0.9804 > 0.98. ■\blacksquare

      Your answerFor S={nn+1:n∈N}S = \{\frac{n}{n+1} : n \in \mathbb N\} and ε=150\varepsilon = \frac1{50}, what is the smallest nn with nn+1>1−ε\frac n{n+1} > 1 - \varepsilon?
      Worked example
      Prove: if AA and BB are non-empty and bounded above, then sup⁡(A+B)=sup⁡A+sup⁡B\sup(A + B) = \sup A + \sup B, where A+B={a+b:a∈A, b∈B}A + B = \{a + b : a \in A,\ b \in B\}.

      Solution.

      1. Name the suprema. Let s=sup⁡As = \sup A and t=sup⁡Bt = \sup B (they exist by completeness). Declare objects first.
      2. s+ts + t is an upper bound. Any element of A+BA + B is a+ba + b with a≤sa \le s and b≤tb \le t, so a+b≤s+ta + b \le s + t. Job 1: each supremum is an upper bound.
      3. Set up the approximation. Let ε>0\varepsilon > 0. Choose a∈Aa \in A with a>s−ε2a > s - \frac\varepsilon2 and b∈Bb \in B with b>t−ε2b > t - \frac\varepsilon2. Job 2, with ε2\frac\varepsilon2 each, so the two errors add up to ε\varepsilon. This is the ”ε/2\varepsilon/2 trick” you will see constantly. We give each piece half of the budget because we want the total to come out as exactly ε\varepsilon.
      4. Add. a+b>(s−ε2)+(t−ε2)=s+t−εa + b > \left(s - \frac\varepsilon2\right) + \left(t - \frac\varepsilon2\right) = s + t - \varepsilon, and a+b∈A+Ba + b \in A + B. Two strips of width ε2\frac\varepsilon2 combine to one of width ε\varepsilon.
      5. Apply the approximation property backwards. s+ts + t is an upper bound of A+BA + B, and for every ε\varepsilon there is an element above s+t−εs + t - \varepsilon. The (⇐\Leftarrow) direction of the theorem.

      Answer. sup⁡(A+B)=s+t\sup(A + B) = s + t. ■\blacksquare The pattern: upper bound by job 1, “nothing smaller works” by job 2 with ε\varepsilon split between the pieces.

      A preview· Preview: monotone sequences

      Chapter 1.2 proves that an increasing sequence that is bounded above converges, and the limit is its supremum. The proof is the approximation property, twice. Completeness is exactly what makes that theorem true; over Q\mathbb Q the sequence 1,1.4,1.41,1.414,…1, 1.4, 1.41, 1.414, \dots is increasing and bounded but has no rational limit.

      Where it is used

      Used inside maths· Inside maths: every big theorem of calculus

      The intermediate value theorem (1.3), the extreme value theorem (1.3), the existence of ∫abf\int_a^b f for continuous ff (1.5), the convergence of ∑1n2\sum \frac1{n^2} (1.6) and the existence of solutions to differential equations (7.1) all depend on completeness. Each fails over Q\mathbb Q.

      Used in the real world· Computing: bisection finds roots because of completeness

      The bisection method finds a root of f(x)=x2−2f(x) = x^2 - 2 by halving [1,2][1, 2] again and again, keeping the half where ff changes sign. After 30 halvings the interval has width 2−30≈9.3×10−102^{-30} \approx 9.3 \times 10^{-10}. The method is guaranteed to converge to a real number because the left endpoints form an increasing bounded sequence, whose supremum exists by completeness. Root finders in numerical libraries combine fast methods with bisection for exactly this guarantee. For example, MATLAB’s fzero mixes bisection, secant steps and inverse quadratic interpolation.

      Traps

      Watch out· The supremum need not be in the set

      sup⁡{1−1n}=1\sup\{1 - \frac1n\} = 1, and 1 is not in the set. A largest element (a maximum) may not exist; a supremum always does for a non-empty set bounded above.

      Watch out· 'For every ε, SOME element' (not every element)

      The approximation property gives one element near the supremum for each ε\varepsilon, not all elements. Most elements may be far below.

      Watch out· Dense does not mean complete

      The rationals are dense (between any two reals there is one) and still have holes. Density is about being everywhere; completeness is about no point missing.

      Problems

      check

      Find sup⁡\sup and inf⁡\inf, and say whether each is in the set: (a) (0,1](0, 1]; (b) {(−1)n:n∈N}\{(-1)^n : n \in \mathbb N\}; (c) {1n:n∈N}\{\frac1n : n \in \mathbb N\}.

      Solution

      (a) sup⁡=1\sup = 1 (in), inf⁡=0\inf = 0 (not in). (b) The set is {−1,1}\{-1, 1\}: sup⁡=1\sup = 1, inf⁡=−1\inf = -1, both in. (c) sup⁡=1\sup = 1 (in, at n=1n = 1), inf⁡=0\inf = 0 (not in), by the Archimedean property.

      check

      Does Z\mathbb Z have a supremum in R\mathbb R? Does {x∈R:x<5}\{x \in \mathbb R : x < 5\}?

      Solution

      Z\mathbb Z is not bounded above (Archimedean), so no. {x:x<5}\{x : x < 5\} has supremum 5 (not in the set).

      check

      Write the definition of "s=sup⁡Ss = \sup S" with every quantifier visible.

      Solution

      (∀x∈S: x≤s)∧(∀M: (∀x∈S: x≤M)⇒s≤M)(\forall x \in S:\ x \le s) \land (\forall M:\ (\forall x \in S:\ x \le M) \Rightarrow s \le M).

      use

      Let S={nn+1:n∈N}S = \{\frac{n}{n + 1} : n \in \mathbb N\}. Prove sup⁡S=1\sup S = 1 using the approximation property.

      Solution

      Upper bound: nn+1<1\frac{n}{n+1} < 1. Approximation: let ε>0\varepsilon > 0; we need nn with nn+1>1−ε\frac n{n+1} > 1 - \varepsilon, that is 1n+1<ε\frac1{n+1} < \varepsilon. By the Archimedean property choose nn with n+1>1εn + 1 > \frac1\varepsilon. So sup⁡S=1\sup S = 1.

      use

      Prove that between any two real numbers a<ba < b there is an irrational number. (Hint: apply density of Q\mathbb Q to a2\frac{a}{\sqrt 2} and b2\frac{b}{\sqrt 2}.)

      Solution

      By density there is a rational qq with a2<q<b2\frac a{\sqrt2} < q < \frac b{\sqrt2}. If q=0q = 0, the interval (0,b2)\left(0, \frac b{\sqrt2}\right) is non-empty, so density gives a rational q′q' with 0<q′<b20 < q' < \frac b{\sqrt 2}; use q′q' in place of qq. Either way we have a non-zero rational qq in the interval. Multiply by 2>0\sqrt 2 > 0: a<q2<ba < q\sqrt 2 < b. And q2q \sqrt 2 is irrational: if it equalled a rational rr, then 2=r/q\sqrt 2 = r/q would be rational, contradicting 0.2.

      use

      Let SS be non-empty and bounded below. Show inf⁡S=−sup⁡(−S)\inf S = -\sup(-S), where −S={−x:x∈S}-S = \{-x : x \in S\}. Conclude that every non-empty set bounded below has an infimum.

      Solution

      mm is a lower bound of SS iff −m-m is an upper bound of −S-S (multiplying x≥mx \ge m by −1-1 flips it to −x≤−m-x \le -m, and every element of −S-S has the form −x-x). Flipping also reverses “greatest” into “least”: mm is a lower bound at least as large as every other lower bound iff −m-m is an upper bound of −S-S at most as large as every other upper bound. So inf⁡S=−sup⁡(−S)\inf S = -\sup(-S). Since −S-S is non-empty and bounded above, sup⁡(−S)\sup(-S) exists by completeness, so inf⁡S\inf S exists.

      proveAbbott Exercise 1.3.7

      Prove: if a∈Sa \in S and aa is an upper bound of SS, then a=sup⁡Sa = \sup S.

      Solution

      aa is an upper bound (given). If MM is any upper bound, then a≤Ma \le M because a∈Sa \in S. So aa is the least upper bound.

      prove

      Prove that the supremum is unique: a set cannot have two different least upper bounds.

      Solution

      If ss and s′s' are both least upper bounds, then s≤s′s \le s' (since s′s' is an upper bound and ss is least) and s′≤ss' \le s (by symmetry). So s=s′s = s'.

      prove

      Let A⊆BA \subseteq B, both non-empty and bounded above. Prove sup⁡A≤sup⁡B\sup A \le \sup B.

      Solution

      sup⁡B\sup B is an upper bound of BB, hence of AA (every element of AA is in BB). Since sup⁡A\sup A is the least upper bound of AA, sup⁡A≤sup⁡B\sup A \le \sup B.

      prove

      Let c>0c > 0 and cS={cx:x∈S}cS = \{cx : x \in S\}, with SS non-empty and bounded above. Prove sup⁡(cS)=csup⁡S\sup(cS) = c \sup S.

      Solution

      Let s=sup⁡Ss = \sup S. Upper bound: x≤sx \le s gives cx≤cscx \le cs. Approximation: let ε>0\varepsilon > 0; choose x∈Sx \in S with x>s−εcx > s - \frac\varepsilon c. Then cx>cs−εcx > cs - \varepsilon. By the approximation property, sup⁡(cS)=cs\sup(cS) = cs.

      stretchAbbott Section 1.4

      Nested interval property. Let [a1,b1]⊇[a2,b2]⊇…[a_1, b_1] \supseteq [a_2, b_2] \supseteq \dots be closed intervals, each inside the previous. Prove that some real number lies in all of them. (Hint: consider sup⁡{an}\sup\{a_n\}.) Show the claim fails for the open intervals (0,1n)(0, \frac1n), and for rational intervals around 2\sqrt 2 if you only allow rational numbers.

      Solution

      Nesting gives a1≤a2≤⋯≤bma_1 \le a_2 \le \dots \le b_m for every mm: each an≤bma_n \le b_m (take k=max⁡(n,m)k = \max(n, m): an≤ak≤bk≤bma_n \le a_k \le b_k \le b_m). So A={an}A = \{a_n\} is bounded above by every bmb_m. Let x=sup⁡Ax = \sup A. Then an≤xa_n \le x for all nn, and x≤bmx \le b_m for all mm (each bmb_m is an upper bound and xx is least). So x∈[an,bn]x \in [a_n, b_n] for every nn. For (0,1n)(0, \frac1n): a number in all of them would be positive and less than every 1n\frac1n, contradicting the Archimedean property. For rationals: the intervals [qn,rn][q_n, r_n] of rational decimal truncations of 2\sqrt 2 from below and above are nested, but the only real in all of them is 2\sqrt 2, which is not rational.

      Summary

      • The rationals have holes: a bounded set like {q:q2<2}\{q : q^2 < 2\} can fail to have a least upper bound in Q\mathbb Q.
      • Supremum = least upper bound; infimum = greatest lower bound. They need not belong to the set.
      • Completeness axiom: every non-empty set of reals that is bounded above has a supremum. This is what “no holes” means.
      • Approximation property: s=sup⁡Ss = \sup S iff ss is an upper bound and for every ε>0\varepsilon > 0 some x∈Sx \in S has x>s−εx > s - \varepsilon. This is the standard move in analysis proofs.
      • Consequences: N\mathbb N is unbounded (Archimedean), the rationals are dense, 2\sqrt 2 exists.
      • Without completeness, the intermediate value theorem and most of calculus fail.

      Watch and read

      The same ideas explained by someone else. Use these when an explanation here does not land.

      Where this sits

      Comes from
      0.2 Proof techniques
      Leads to
      1.2 Sequences and limits, from zero
      Same idea elsewhere
      JEE / CBSE: You used 'the real numbers' for years without a definition. The intermediate value theorem and 'a continuous function on [a, b] has a maximum' were stated as facts. This chapter is where they come from.
      MATH 521: Chapter 1 of Rudin (the usual 521 text) is exactly this: ordered fields, the least-upper-bound property, and the construction of the reals.
      CS 240: Floating-point numbers are a finite set of rationals, so a computer never works in the reals. Completeness is why calculus can pretend otherwise.