Skip to content
The site is in test mode. All features are free for now.
MathAgora

University Mathematics · Real analysis

The real numbers

Why calculus needs more than the rationals: the Axiom of Completeness, supremum and infimum, the Archimedean property, countable and uncountable sets, Cantor's theorem.

90 min 8 questions

01The gaps in the rationals

There is no rational number rr with r2=2r^2 = 2. Proof by contradiction: suppose (pq)2=2\left(\frac pq\right)^2 = 2 with the fraction in lowest terms. Then p2=2q2p^2 = 2q^2, so p2p^2 is even and therefore pp is even: p=2kp = 2k. Substituting gives 4k2=2q24k^2 = 2q^2, i.e. q2=2k2q^2 = 2k^2, so qq is even too. Then the fraction was not in lowest terms, a contradiction.

So the rational number line has "gaps". All the main theorems of calculus (the Intermediate Value Theorem, the Extreme Value Theorem, convergence of monotone sequences) fail in Q\mathbb Q. Analysis starts by stating precisely what distinguishes R\mathbb R from Q\mathbb Q.

02Preliminaries

Sets: A∪BA \cup B, A∩BA \cap B, complement AcA^c; De Morgan's laws (A∩B)c=Ac∪Bc(A \cap B)^c = A^c \cup B^c, (A∪B)c=Ac∩Bc(A \cup B)^c = A^c \cap B^c.

A function f:A→Bf : A \to B assigns to each a∈Aa \in A one f(a)∈Bf(a) \in B. ff is one-to-one (injective) if a1≠a2⇒f(a1)≠f(a2)a_1 \ne a_2 \Rightarrow f(a_1) \ne f(a_2), onto (surjective) if every b∈Bb \in B equals some f(a)f(a), and a bijection if it is both.

Induction: if P(1)P(1) holds and P(n)⇒P(n+1)P(n) \Rightarrow P(n + 1), then P(n)P(n) holds for every n∈Nn \in \mathbb N.

Proving equality: a=ba = b exactly when ∣a−b∣<ε|a - b| < \varepsilon for every ε>0\varepsilon > 0. This idea comes back again and again in analysis.

03The Axiom of Completeness

A⊆RA \subseteq \mathbb R is bounded above if there is bb with a≤ba \le b for all a∈Aa \in A (bb is an upper bound). ss is the supremum (least upper bound) of AA, s=sup⁡As = \sup A, if 1) ss is an upper bound and 2) s≤bs \le b for every upper bound bb. The infimum inf⁡A\inf A is defined the same way from below.

Axiom of Completeness: every nonempty set of real numbers that is bounded above has a supremum.

Characterization: an upper bound ss equals sup⁡A\sup A exactly when for every ε>0\varepsilon > 0 there is a∈Aa \in A with s−ε<as - \varepsilon < a. In words: anything slightly smaller than ss is no longer an upper bound.

The supremum may belong to AA (then it is the maximum) or not: sup⁡(0,1)=1∉(0,1)\sup(0,1) = 1 \notin (0,1).

04Consequences of completeness

Nested Interval Property: if I1⊇I2⊇I3⊇…I_1 \supseteq I_2 \supseteq I_3 \supseteq \dots are closed intervals In=[an,bn]I_n = [a_n, b_n], then ⋂nIn≠∅\bigcap_n I_n \ne \varnothing. (This fails for open intervals: ⋂n(0,1n)=∅\bigcap_n \left(0, \frac1n\right) = \varnothing.)

Archimedean Property: 1) for every x∈Rx \in \mathbb R there is n∈Nn \in \mathbb N with n>xn > x; 2) for every y>0y > 0 there is nn with 1n<y\frac1n < y. So there are no "infinitely large" or "infinitely small" positive real numbers.

Density of $\mathbb Q$: between any two real numbers a<ba < b there is a rational number (and an irrational one too).

Existence of roots: the supremum α\alpha of T={t∈R:t2<2}T = \{t \in \mathbb R : t^2 < 2\} satisfies α2=2\alpha^2 = 2. This is how completeness "fills the gap" found in Q\mathbb Q.

05Cardinality: countable and uncountable sets

AA and BB have the same cardinality (A∼BA \sim B) if there is a bijection f:A→Bf : A \to B. AA is countable if A∼NA \sim \mathbb N, i.e. its elements can be listed as a sequence a1,a2,a3,…a_1, a_2, a_3, \dots

Surprising facts: the even numbers, Z\mathbb Z and $\mathbb Q$ are countable (group the rationals into finite sets An={±pq:p+q=n}A_n = \left\{\pm\frac pq : p + q = n\right\} and list them one after another). A countable union of countable sets is countable.

$\mathbb R$ is uncountable. Cantor's diagonal argument: suppose all numbers in (0,1)(0,1) are listed by their decimal expansions. Build a number whose nn-th digit differs from the nn-th digit of the nn-th listed number (say 2 if that digit is not 2, and 3 otherwise). This number is not on the list, a contradiction. Consequently the irrational numbers are uncountable.

06Cantor's theorem

The power set P(A)P(A) is the set of all subsets of AA. If AA has nn elements, P(A)P(A) has 2n2^n.

Cantor's theorem: no map f:A→P(A)f : A \to P(A) is onto. Idea: consider B={a∈A:a∉f(a)}B = \{a \in A : a \notin f(a)\}. If B=f(a′)B = f(a') for some a′a', then a′∈B  ⟺  a′∉f(a′)=Ba' \in B \iff a' \notin f(a') = B, a contradiction.

Consequently P(N)P(\mathbb N) is uncountable, and there is an endless ladder of sizes of infinity: N\mathbb N, P(N)P(\mathbb N), P(P(N))P(P(\mathbb N)), …

Key formulas

  • Characterization of the supremum (ss an upper bound)

    s=sup⁡A  ⟺  ∀ε>0 ∃a∈A: s−ε<as=\sup A\iff \forall\varepsilon>0\ \exists a\in A:\ s-\varepsilon<a
  • Archimedean property

    ∀y>0 ∃n∈N: 1n<y\forall y>0\ \exists n\in\mathbb N:\ \tfrac1n<y
  • Nested intervals

    I1⊇I2⊇⋯ ⇒ ⋂n=1∞In≠∅I_1\supseteq I_2\supseteq\cdots\ \Rightarrow\ \bigcap_{n=1}^{\infty}I_n\ne\varnothing
  • Equality via ε\varepsilon

    a=b  ⟺  ∀ε>0: ∣a−b∣<εa=b\iff \forall\varepsilon>0:\ |a-b|<\varepsilon
  • Subsets of a finite set

    ∣P(A)∣=2∣A∣|P(A)|=2^{|A|}

Worked examples

Example 1

Find and justify the supremum and infimum of A={nn+1:n∈N}A = \left\{\frac{n}{n+1} : n \in \mathbb N\right\}.

Example 2

Prove that sup⁡(c+A)=c+sup⁡A\sup(c + A) = c + \sup A, where c+A={c+a:a∈A}c + A = \{c + a : a \in A\}.