Skip to content

The Real Numbers and Completeness

In this lesson you’ll learn what suprema and infima are, how to prove a number is a supremum, the least upper bound axiom, and the two immediate consequences that get used constantly: the Archimedean property and the density of the rationals.

A set SRS \subseteq \mathbb{R} is bounded above if there is some MM with xMx \le M for every xSx \in S. Such an MM is an upper bound. Bounded below and lower bounds are defined the same way. Bounded means both.

Upper bounds are never unique: if MM works, so does M+1M + 1. The interesting question is whether there is a smallest one.

MM is the supremum of SS, written supS\sup S, if

  1. MM is an upper bound: xMx \le M for all xSx \in S, and
  2. MM is the least one: no M<MM' < M is an upper bound.

Condition 2 is awkward to use directly. This equivalent version is the one you actually work with:

M=supS    M is an upper bound, and ε>0  xS with x>MεM = \sup S \iff M \text{ is an upper bound, and } \forall \varepsilon>0 \; \exists x \in S \text{ with } x > M - \varepsilon

In words: nothing below MM is an upper bound, because you can always find an element of SS within ε\varepsilon of MM. That ε\varepsilon-characterization is how essentially every supremum proof goes.

The key subtlety: the supremum need not be an element of SS. For S=(0,1)S = (0,1), supS=1S\sup S = 1 \notin S. When the supremum does belong to SS it is called the maximum. Every maximum is a supremum; not every supremum is a maximum.

Least upper bound axiom. Every non-empty subset of R\mathbb{R} that is bounded above has a supremum in R\mathbb{R}.

This is an axiom, not a theorem. It is part of what defines the real numbers, and it is exactly what the rationals lack.

The set S={xQ:x2<2}S = \{x \in \mathbb{Q} : x^2 < 2\} is non-empty and bounded above, but no rational is its least upper bound. Any rational with p2<2p^2 < 2 can be nudged up and still square below 2, so it isn’t an upper bound; any rational with p2>2p^2 > 2 can be nudged down and still exceed everything in SS, so it isn’t least. In R\mathbb{R} the supremum exists and is 2\sqrt2.

By applying the axiom to S-S, the matching statement for infima follows for free: every non-empty set bounded below has an infimum.

Every major theorem ahead is a consequence of completeness, and every one of them is false over Q\mathbb{Q}:

  • Monotone convergence - a bounded increasing sequence converges. Over Q\mathbb{Q}, the decimal truncations of 2\sqrt2 increase and are bounded and converge to nothing rational.
  • Bolzano-Weierstrass - every bounded sequence has a convergent subsequence.
  • Cauchy completeness - every Cauchy sequence converges.
  • Intermediate value theorem - over Q\mathbb{Q}, f(x)=x22f(x) = x^2 - 2 goes from negative to positive without ever being zero.
  • Extreme value theorem and Heine-Borel.

When a proof in this section feels like it appeared from nowhere, look for where it took a supremum. That step is almost always the load-bearing one.

For every real xx there is a natural number nn with n>xn > x.

Equivalently, N\mathbb{N} is unbounded above, and equivalently, for every ε>0\varepsilon > 0 there is nn with 1n<ε\frac1n < \varepsilon.

This follows from completeness. Suppose N\mathbb{N} were bounded above; then it would have a supremum MM. By the ε\varepsilon-characterization with ε=1\varepsilon = 1, there is nNn \in \mathbb{N} with n>M1n > M - 1, hence n+1>Mn + 1 > M. But n+1Nn+1 \in \mathbb{N}, contradicting that MM is an upper bound. ∎

The third form, ”1/n1/n can be made as small as you like,” is what gets used in practice: it is how you turn “for all ε\varepsilon” into “for all nn beyond some point.”

Between any two distinct reals there is a rational.

So the rationals are dense in R\mathbb{R}: every real is a limit of rationals, and every interval, however short, contains infinitely many. The irrationals are dense too.

This is why decimal approximations work at all, and why numerical computation on rationals can approximate any real quantity to any accuracy - even though it can never represent most of them exactly.

Example 1: Find the supremum and infimum of S={11n:nN}S = \{1 - \frac1n : n \in \mathbb{N}\}.

Solution. The elements are 0,12,23,34,0, \frac12, \frac23, \frac34, \dots, increasing toward 1.

Infimum. The smallest element is 00 (at n=1n=1), and 11n01 - \frac1n \ge 0 always. So infS=0\inf S = 0, and since 0S0 \in S it is also the minimum.

Supremum. Every element is <1< 1, so 1 is an upper bound. Is it least? Take any ε>0\varepsilon>0. By the Archimedean property choose nn with 1n<ε\frac1n < \varepsilon. Then

11n>1ε1 - \tfrac1n > 1 - \varepsilon

so an element of SS exceeds 1ε1 - \varepsilon. Hence no number below 1 is an upper bound, and supS=1\sup S = 1.

1S1 \notin S, so there is no maximum. This is the standard illustration that a supremum can sit outside its set.

Example 2: Prove sup{xR:x2<4}=2\sup\{x \in \mathbb{R} : x^2 < 4\} = 2.

Solution. The set is (2,2)(-2,2).

Upper bound. If x2<4x^2 < 4 then x<2|x| < 2, so x<2x < 2. ✓

Least. Let ε>0\varepsilon>0. We need an element exceeding 2ε2-\varepsilon. If ε4\varepsilon \ge 4 then 00 works. Otherwise take x=2ε2x = 2 - \frac{\varepsilon}{2}. Then 0<x<20 < x < 2, so x2<4x^2 < 4 and xSx \in S, and x>2εx > 2 - \varepsilon. ✓

So supS=2\sup S = 2. ∎

Notice the shape: verify the bound, then given an arbitrary ε\varepsilon construct a witness. Every supremum proof looks like this.

Example 3: A set whose supremum is a maximum.

Solution. For S=[0,3]S = [0, 3], we have supS=3\sup S = 3 and 3S3 \in S, so maxS=3\max S = 3. Likewise infS=minS=0\inf S = \min S = 0.

Compare T=[0,3)T = [0,3): still supT=3\sup T = 3, but 3T3 \notin T so TT has no maximum. The supremum does not change when you remove the endpoint, which is precisely why “sup” is the useful notion and “max” is not.

Example 4: Suprema of unbounded and empty sets.

Solution. N\mathbb{N} is not bounded above, so it has no supremum in R\mathbb{R}. (Some texts write supN=+\sup \mathbb{N} = +\infty as shorthand; that is a convention, not a real number.)

The empty set is a genuine edge case: every real is an upper bound for \emptyset, so there is no least one. This is why the axiom says non-empty. Both hypotheses in “non-empty and bounded above” are doing work.

Example 5: Use the Archimedean property.

Show that inf{1n:nN}=0\inf\{\frac1n : n \in \mathbb{N}\} = 0.

Solution. Lower bound. 1n>0\frac1n > 0 for all nn, so 0 is a lower bound. ✓

Greatest. Suppose some c>0c > 0 were a lower bound, so 1nc\frac1n \ge c for all nn, that is n1cn \le \frac1c for all nn. That makes N\mathbb{N} bounded above, contradicting the Archimedean property.

So no positive number is a lower bound, and inf=0\inf = 0. ∎

Note 00 is not in the set, so there is no minimum. The set has elements arbitrarily close to 0 and never reaches it.

Example 6: Suprema and sums.

For non-empty bounded sets A,BA, B and A+B={a+b}A + B = \{a + b\}, show sup(A+B)=supA+supB\sup(A+B) = \sup A + \sup B.

Solution. Write α=supA\alpha = \sup A, β=supB\beta = \sup B.

Upper bound. Any element of A+BA+B is a+bα+βa + b \le \alpha + \beta. ✓

Least. Let ε>0\varepsilon>0. Pick aAa \in A with a>αε2a > \alpha - \frac{\varepsilon}{2} and bBb \in B with b>βε2b > \beta - \frac{\varepsilon}{2}, both possible by the ε\varepsilon-characterization. Then

a+b>α+βεa + b > \alpha + \beta - \varepsilon

so no smaller number is an upper bound. Hence sup(A+B)=α+β\sup(A+B) = \alpha+\beta. ∎

The trick of splitting ε\varepsilon into ε2+ε2\frac{\varepsilon}{2} + \frac{\varepsilon}{2} appears in nearly every proof from here on. Worth getting comfortable with it now.

Floating-point representation. A double stores a rational approximation, so the reals a computer manipulates are always rational. Density of Q\mathbb{Q} is what makes that acceptable: any real can be approximated to within machine precision. Completeness is also why the limits your algorithms converge to are guaranteed to exist even though the machine never reaches them.

Optimization and economics. “The supremum of achievable profit” always exists for a bounded feasible set, but it may not be attained. That distinction is exactly sup versus max, and it is why optimization theory works so hard to establish that a maximum is achieved rather than merely bounded.

Numerical root finding. Bisection works by maintaining an interval containing a root and halving it. The root it converges to exists because of completeness; over Q\mathbb{Q} the algorithm would run forever narrowing in on a value that is not there. Solving x2=2x^2 = 2 by bisection is literally constructing 2\sqrt2 as a supremum.

Measurement and tolerance. An engineering specification like “within ε\varepsilon of nominal for some achievable ε\varepsilon” is an ε\varepsilon-argument. The Archimedean property is the formal statement that any tolerance, however tight, can be met by taking enough steps.

Auctions and pricing. The market-clearing price is often characterized as a supremum or infimum of a set of bids, and whether it is attained determines whether the auction has a well-defined winner.

What is sup S for S = (0, 1)?
What does the least upper bound axiom state?
Which condition is the useful characterization of M = sup S?
What does the Archimedean property say?
Why does the set of rationals whose square is below 2 have no least upper bound in ℚ?
For S = {1 − 1/n : n ∈ ℕ}, which is correct?