Chapter 1 - The Reals

1.1: The Irrationality of 2

We start with a familiar theorem:

2 is irrational

There is no rational number whose square is 2.

\begin{proof}
Assume via contradiction that (pq)2=2. Then p2=2q2. Clearly then p2 is an even number so then p must be even since an even times an even is even. Then set p=2r where r∈Z. Then:

p2=(2r)2=4r2=2q2→2r2=q2

so then q2 is even and thus q is even. But look! p,q must not share any factors with each other as p/q should already be reduced to simplest form. Hence, then we have a contradiction, so the p/q in question cannot exist.
\end{proof}
Recall that the natural numbers N are:

N={1,2,...}

then the integers Z:

Z={...,−3,−2,−1,0,1,2,3,...}

then the rationals Q:

Q={p/q:p,q∈Z,q≠0}

We note that Q is a field, where:

Q also has:

as such we can do addition, subtraction, multiplication, and division on Q, but again 2∉Q so then we are missing at least some numbers! Hence, the real numbers R try to solve this incompleteness issue.

1.2: Some Preliminaries

Review of Set Theory

This chapter mainly review set and proof theory:

Functions Review

For functions:

Okay, some new theorems:

Triangle Inequality

We denote the absolute value function as |x| where:

|x|={xx≥0−xx<0

This satisfies:

  • |ab|=|a||b|
  • |a+b|≤|a|+|b|

for all a,b∈R. You can prove these just considering the cases when a,b are non-negative or not. Note that |a−b|=|b−a| and we denote this value as the distance between a,b. So the triangle inequality says that the distance from any two points is less than the sum of the distances to their origins respectively, or the distance to some intermediary point c where d(a,b)+d(b,c)≤d(a,c).

Logic and Proofs

Proof strategies we know are:

Example

Two real numbers a,b are equal iff for all ε>0 it follows that |a−b|<ε.

\begin{proof}
We prove the forward direction → first. Suppose a=b. Then clearly |a−b|=|a−a|=|0|=0 so then if we let ε>0 be arbitrary then clearly ε>0=|a−b| as required.

Now for the reverse direction ←. Notice that we get a ∀ as a given, which isn't great, so we should try proof by contradiction. Thus, suppose for all ε>0 that |a−b|<ε. Assume for contradiction that a≠b. Then choose εo=|a−b|>0. Then:

|a−b|<εo⇒|a−b|<|a−b|⇒0<0⇒⇐

hence our assumption was incorrect, so then a=b instead.
\end{proof}

Induction

The idea behind induction is to do the following:

  1. Show the base case that P(0) is true
  2. Have an inductive hypothesis that P(0),....,P(k) is true
  3. Prove that, using these hypotheses, that P(k+1) is true.
Example

Let x1=1 and for all n∈N that xn+1=(1/2)xn+1. Then xn is non-decreasing, or xn≤xn+1

\begin{proof}
Let's use induction:

  1. We know x1=1 and calculating the next term x2=(1/2)1+1=3/2 so clearly x1≤x2.
  2. Suppose for our inductive hypothesis that for some k∈N that all x1≤⋯≤xk.
  3. Consider if xk≤xk+1. We know that xk−1≤xk from our inductive hypothesis. Notice that if we start from there:
xk−1≤xk12xk−1+1≤12xk+1xk≤xk+1

Hence, via the principle of mathematical induction, xn is a non-decreasing sequence.
\end{proof}

1.3: The Axiom of Completeness

We note that R really is just an extension of Q, filling in the irrational holes like 2,3,... This definition of R really was chosen for this property of completeness, so even though the justification as to why this property is important will have to wait, you'll see why as we use this axiom a ton. Just know that by the 1870s, we had a pretty rigorous way to construct R from Q, which we'll get to see in 8.6.

An Initial Definition of R

First R contains Q with the same operations of addition, multiplication:

This brings us to the idea of completeness. We need to say that R doesn't have "any gaps" where the irrationals should go:

The Axiom of Completeness

Every nonempty set of real numbers that is bounded above has a least upper bound

Let's explore what this means...

Least Upper Bounds and Greatest Lower Bounds

Bounds

A set A⊆R is bounded above if there exists a number b∈R such that a≤b for all a∈A. The number b is called an upper bound for A.
Likewise, the set A is bounded below if there exists a lower bound l∈R where l≤a for every a∈A.

Least Upper Bound

Some s∈R is the least upper bound for a set A⊆R if it meets:

  1. s is an upper bound for A
  2. if b is any upper bound for A then s≤b

We denote the least upper bound as the supremum, or sup(A). Sometimes you'll set s=lub(A) but we stick with the former.

The greatest lower bound, called the infimum for A, is defined similarly and is denoted by inf(A).

Note that A can have many upper bounds, but the supremum, the least upper bound, is unique. This is because using property (2) in the definition, for two suprema s1,s2 then individually s1≤s2 and likewise s2≤s1, so then s1=s2 showing uniqueness.

Example

Let:

A={1n:n∈N}={1,12,13,…}

A is bounded above and below. An upper bound could be 3,2,3/2,.... Clearly though here sup(A)=1. We can show this using the definition.

\begin{proof}
Let's prove (i), showing that 1 is an upper bound on A. Notice that:

1≥1n→n≥1

is true since n∈N, hence showing that it's a valid upper bound.

For (ii), let b be another upper bound for A. Since 1∈A and b is an upper bound for A then we must have it that 1≤b, showing property (ii) exactly!
\end{proof}
Note that here sup(A)∈A but this isn't always the case:

Maxima and Minima

A real number a0 is a maximum of the set A if a0 is an element of A and a0≥a for all a∈A. Similarly, a number a1 is a minimum of A if a1∈A and a1≤a for every a∈A.

Example

Consider the intervals (0,2) and [0,2]. Both sets are bounded above and below and have the same least upper bound, namely 2. But for 2 to be a maximum of the set, we require it being in the set, so then the former set doesn't have it's maximum, while the latter does.

This goes to show that the supremum need not be a maximum, but if a maximum exists, then it is the supremum.

Thus, the axiom of completeness doesn't get a proof, as it's the foundation of how R exists. But let's look at why Q is itself incomplete:

Example

Consider S={r∈Q:r2<2}. Clearly S is bounded above, such as by 2, or 3/2 or similar. But looking for the least upper bound, we can find rational approximations (ex: b=142/100) but then we can always find a smaller upper bound (ex: b=1415/1000). In Q, we lack the axiom of completeness to get this least upper bound into the set.

But in R there is the axiom! The axiom of completeness asy that α=sup(S) which is a real number. We will prove that α2=2 and thus α=2 but we know that α isn't rational from the irrationality of 2, so then for the rationals we can't use this search to find it.

We'll need some properties of Q,N to be able to determine this suprema. So let's get to those:

Example

Let A⊆R be nonempty and bounded above, and let c∈R. Define the set c+A by:

c+A={c+a:a∈A}

Then sup(c+A)=c+sup(A).

\begin{proof}
For (i), set s=sup(A). We see that a≤s for all a∈A consequently, but then a+c≤c+s=c+sup(A) as required.

For (ii), let b be an arbitrary upper bound for c+A, so then c+a≤b for all a∈A. Then a≤b−c for all a∈A. So then b−c is an upper bound for A. Since s is the least upper bound for A, then we have it that b−c≤s, thus b≤c+s=c+sup(A), completing (ii).

Therefore, sup(c+A)=c+sup(A).
\end{proof}
Note that (i) states that the suprema is an upper bound, and then (ii) further states it's the lowest one. Thus, we can use it as a lemma:

Lemma

Suppose s∈R is an upper bound for a set A⊆R. Then s=sup(A) iff, for all ε>0 there is an element a∈A satisfying s−ε<a.

\begin{proof}
This lemma essentially says that given s is an upper bound, then s is the least upper bound iff any number smaller than s is not an upper bound.

(⇒). Suppose s=sup(A). Let ε>0. Consider s−ε. Since s−ε<s and s is the least upper bound, then s−ε is not an upper bound for A. Hence, there's some other bound a∈A where s−ε<a as otherwise then s−ε is an upper bound for A which is a contradiction.

(⇐). Suppose for all ε>0 there is some a∈A where s−ε<a. We are already given that s is an upper bound (you can also consider if ε=s−b to show that b<a which contradicts b being an upper bound), so consider (ii). Let b be some other upper bound for A, so then for all a∈A then a≤b. Choose ε=s−b. Then from our given then b<a, but a≤b! Hence, if b were to be an upper bound then we must have it that s−b<0 so then s<b then s≤b as required.
\end{proof}