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 rZ. Then:

p2=(2r)2=4r2=2q22r2=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,qZ,q0}

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 2Q 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|={xx0xx<0

This satisfies:

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

for all a,bR. You can prove these just considering the cases when a,b are non-negative or not. Note that |ab|=|ba| 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 |ab|<ε.

\begin{proof}
We prove the forward direction first. Suppose a=b. Then clearly |ab|=|aa|=|0|=0 so then if we let ε>0 be arbitrary then clearly ε>0=|ab| 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 |ab|<ε. Assume for contradiction that ab. Then choose εo=|ab|>0. Then:

|ab|<εo|ab|<|ab|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 nN that xn+1=(1/2)xn+1. Then xn is non-decreasing, or xnxn+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 x1x2.
  2. Suppose for our inductive hypothesis that for some kN that all x1xk.
  3. Consider if xkxk+1. We know that xk1xk from our inductive hypothesis. Notice that if we start from there:
xk1xk12xk1+112xk+1xkxk+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 AR is bounded above if there exists a number bR such that ab for all aA. The number b is called an upper bound for A.
Likewise, the set A is bounded below if there exists a lower bound lR where la for every aA.

Least Upper Bound

Some sR is the least upper bound for a set AR if it meets:

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

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 s1s2 and likewise s2s1, so then s1=s2 showing uniqueness.

Example

Let:

A={1n:nN}={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:

11nn1

is true since nN, hence showing that it's a valid upper bound.

For (ii), let b be another upper bound for A. Since 1A and b is an upper bound for A then we must have it that 1b, 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 a0a for all aA. Similarly, a number a1 is a minimum of A if a1A and a1a for every aA.

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={rQ: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 AR be nonempty and bounded above, and let cR. Define the set c+A by:

c+A={c+a:aA}

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

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

For (ii), let b be an arbitrary upper bound for c+A, so then c+ab for all aA. Then abc for all aA. So then bc is an upper bound for A. Since s is the least upper bound for A, then we have it that bcs, thus bc+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 sR is an upper bound for a set AR. Then s=sup(A) iff, for all ε>0 there is an element aA 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 aA where sε<a as otherwise then sε is an upper bound for A which is a contradiction.

(). Suppose for all ε>0 there is some aA where sε<a. We are already given that s is an upper bound (you can also consider if ε=sb 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 aA then ab. Choose ε=sb. Then from our given then b<a, but ab! Hence, if b were to be an upper bound then we must have it that sb<0 so then s<b then sb as required.
\end{proof}