Chapter 1. Real Numbers

Download as pdf or txt
Download as pdf or txt
You are on page 1of 31

ˆ For every a, b ∈ R there is a unique real number a + b, called their sum.

ˆ For every a, b ∈ R there is a unique real number a · b, called their


product.

ˆ For a ∈ R there is a unique real number −a called its negative or its


additive inverse.

ˆ For a ∈ R with a ̸= 0 there is a unique real number 1


a
called its reciprocal
or its multiplicative inverse.

ˆ There is a special element 0 ∈ R called zero or the additive identity.

ˆ There is a special element 1 ∈ R called one or the multiplicative iden-


tity.

For all a, b, c ∈ R, we have

ˆ a+b=b+a (+ is commutative)

ˆ a + (b + c) = (a + b) + c (+ is associative)

ˆ a+0=a (additive identity)

ˆ a + (−a) = 0 (additive inverses)

ˆ a·b=b·a (· is commutative)

ˆ a · (b · c) = (a · b) · c (· is associative)

ˆ a·1=a (multiplicative identity)

ˆ if a ̸= 0 then a · 1
a
=1 (multiplicative inverses)

ˆ a · (b + c) = a · b + a · c (· distributes over +)

7
ˆ 0 ̸= 1 (to avoid total collapse)

This is a long list of properties, called axioms.


I have given a name to each axiom, so that in proofs we can say which
property we are using at each stage. Some people prefer to number the ax-
ioms, but there is no standard way to do this, and I find it hard to remember
the numbers and easier to remember the names.
I think of the axioms as coming in bundles, to help me to remember
them. The first four tell us that ‘addition behaves nicely’. The next four tell
us that ‘multiplication behaves nicely’. Then there is an axiom that tells us
that ‘addition and multiplication interact nicely’, and a final technical detail
to clarify that R ̸= {0}.
As you study abstract algebra (such as linear algebra and group theory)
this year, you’ll find yourself coming across lists of axioms such as this again.

Definition. Let F be a set with operations + and · that satisfy the axioms
above. Then we say that F is a field.

Example. We’ve just said that R is a field. The rational numbers Q form a
field. The complex numbers C form a field. You’ll meet other fields too, in
other courses. The integers Z do not form a field.

In the next section, we’ll use these axioms to deduce the basic properties
of arithmetic in R. This reasoning would apply equally to any field. We’ll
need to make further assumptions about R, but we’ll postpone this till we’ve
studied basic arithmetic.

3 Properties of arithmetic in R
In the last section, we saw the arithmetic axioms for R. Now we’ll deduce
some properties of arithmetic in R.

8
Proposition 1. Let a, b, c, x, y be real numbers.

(i) If a + x = a for all a then x = 0 (uniqueness of 0).

(ii) If a + x = a + y then x = y (cancellation for +).

(iii) −0 = 0.

(iv) −(−a) = a.

(v) −(a + b) = (−a) + (−b).

(vi) If a · x = a for all a ̸= 0 then x = 1 (uniqueness of 1).

(vii) If a ̸= 0 and a · x = a · y then x = y (cancellation for ·).

1
(viii) If a ̸= 0 then 1 = a.
a

(ix) (a + b) · c = a · c + b · c.

(x) a · 0 = 0.

(xi) a · (−b) = −(a · b). In particular, (−1) · a = −a.

(xii) (−1) · (−1) = 1.

1 1
(xiii) If a · b = 0 then a = 0 or b = 0. If a ̸= 0 and b ̸= 0 then a·b
= a
· 1b .

Remark. ˆ (ii) shows the uniqueness of −a, the additive inverse of a.

ˆ (vii) shows the uniqueness of a1 , the multiplicative inverse of a (if a ̸= 0).

ˆ As we’ll see shortly, (i)–(v) can be proved using only the four axioms
about +.

ˆ Similarly, (vi)–(viii) can be proved using only the four axioms about ·.

9
ˆ (ix)–(xiii) between them use all the axioms.

ˆ It’s worth proving results like this in a sensible order! Once we’ve
proved a property, we can add it to the list of properties we can assume
in subsequent parts. You’ll see that we prove some later parts using
earlier parts.

Proof. (i) Suppose that a + x = a for all a. Then

x = x + 0 (additive identity)

= 0 + x (+ is commutative)

= 0 (by hypothesis, with a = 0).

(ii) Suppose that a + x = a + y. Then

y = y + 0 (additive identity)

= y + (a + (−a)) (additive inverses)

= (y + a) + (−a) (+ is associative)

= (a + y) + (−a) (+ is commutative)

= (a + x) + (−a) (hypothesis)

= (x + a) + (−a) (+ is commutative)

= x + (a + (−a)) (+ is associative)

= x + 0 (additive inverses)

= x (additive identity).

(iii) We have 0 + 0 = 0 (additive identity)

and 0 + (−0) = 0 (additive inverses)

so 0 + 0 = 0 + (−0), so 0 = −0 (cancellation for + (ii)).

10
(iv) We have

(−a) + a = a + (−a) (+ is commutative)

= 0 (additive inverses)

and (−a) + (−(−a)) = 0 (additive inverses),

so (−a) + a = (−a) + (−(−a)),

so a = −(−a) (cancellation for + (ii)).

(v) Exercise (see Sheet 1).

(vi)–(viii) Exercise — similar to (i), (ii), (iv).

(ix) (This is another form of distributivity, similar to the axiom but differ-
ent!)

We have

(a + b) · c = c · (a + b) (+ is commutative)

= c · a + c · b (· distributes over +)

= a · c + b · c (· is commutative – twice).

(x) We have a · (0 + 0) = a · 0 + a · 0 (· distributes over +),

and also

a · (0 + 0) = a · 0 (additive identity)

= a · 0 + 0 (additive identity)

so a · 0 = 0 (cancellation for + (ii))

11
(xi) We have

a · b + a · (−b) = a · (b + (−b)) (· distributes over +)

= a · 0 (additive inverses)

and a · b + (−(a · b)) = 0 (additive inverses),

so a · (−b) = −(a · b) (cancellation for + (ii)).

(xii) We have

(−1) · (−1) = −((−1) · 1) ((xi) with a = −1, b = 1)

= −(−1) (multiplicative identity)

= 1 ((iv)).

(xiii) Suppose, for a contradiction, that a ̸= 0, b ̸= 0 but a · b = 0. Then


 
1 1
0= · · 0 ((x))
a b
 
1 1
=0· · (· is commutative)
a b
 
1 1
= (a · b) · · (hypothesis)
a b
 
1 1
= (b · a) · · (· is commutative)
a b
 
1 1
= (b · a) · · (· is associative)
a b
 
1 1
= (b · a · )· (· is associative)
a b
1
= (b · 1) · (multiplicative inverses)
b
1
=b· (multiplicative identity)
b
= 1 (multiplicative inverses)

12
and this is a contradiction (0 ̸= 1).

So if a · b = 0 then a = 0 or b = 0.

 we showed that if a ̸= 0 and b ̸= 0 then a · b ̸= 0


Note that on the way
1 1 1 1 1
and (a · b) · · = 1 so = · (cancellation for · (vii)).
a b a·b a b

From now on, we can use all of these properties. We shan’t give such
detailed, one-axiom-at-a-time, derivations in the remainder of the course —
but we could, if we needed to!

Remark. (This remark is not part of the course!) You might be concerned
that if we don’t go back to the axioms every time then we might overlook an
unproved step, or might make a mistake. But going back to the axioms every
time is not practical: a research paper might take tens of pages to give a proof,
referring back to other results, which themselves build on results, which build
on results, . . . . This is where proof verification comes in: computers can take
care of this detailed checking, leaving humans to focus on things that humans
are good at (like having creative ideas for proofs).
One interesting project in this area (there are others, not just this one) is
Xena https://xenaproject.wordpress.com/what-is-the-xena-project/
— this is aimed at undergraduates, which is why I’m mentioning it. Some of
you might find it interesting. There’s an article about proof verification and
Xena in the London Mathematical Society Newsletter, pages 32–36 of https:
//www.lms.ac.uk/sites/lms.ac.uk/files/files/NLMS_484-forweb2.pdf.
Now back to the course . . . .

13
Notation. From now on, we use more familiar notation. We write

a − b for a + (−b)

ab for a · b
 
a 1
for a ·
b b
1
a−1 sometimes for .
a
The associativity of addition and multiplication means that we can write
expressions like a + b + c and xyz, without needing to write brackets.

Definition. Take a ∈ R \ {0}.


Define a0 = 1.
We define positive powers of a inductively: for integers k ⩾ 0, we define
ak+1 = ak · a.
1
For integers l ⩽ −1, we define al = .
a−l
Remark. Note that with this definition a1 = a and a2 = a·a (as we’d want).

Lemma 2. For a ∈ R \ {0} we have am an = am+n for m, n ∈ Z.

Proof. Exercise (see Sheet 1).

This finishes this section on arithmetic in R. In the next section, we’ll go


on to explore more key properties of R, in addition to it being a field.

4 Ordering the real numbers


When we picture R in our minds, typically it is not as a scattered collection
of numbers. Rather, we often picture them as lying along a number line,
usually running from left to right, with 0 in the ‘middle’; positive numbers
on the right, increasing as we move away from 0; and negative numbers on

14
the left, getting smaller as we move left away from 0. Even in writing that
description, I have made assumptions about R: I have assumed that we have
notions of ‘positive’ and ‘negative’, and that we can compare the sizes of two
real numbers. This section is about formalising those assumptions.
Here are our axioms for the usual ordering on R.
There is a subset P of R such that for a, b ∈ R

ˆ if a, b ∈ P then a + b ∈ P (+ and ordering)

ˆ if a, b ∈ P then a · b ∈ P (· and ordering)

ˆ exactly one of a ∈ P, a = 0 and −a ∈ P holds (positive, negative or 0).

The elements of P are called the positive numbers. The elements of P∪{0}
are called the non-negative numbers.
We write a < b, or b > a, exactly when b − a ∈ P.
We write a ⩽ b, or b ⩾ a, exactly when b − a ∈ P ∪ {0}.

Now, just as with the axioms for arithmetic, we can infer useful properties
from these axioms. First, some important properties of the ordering.

Proposition 3. Take a, b, c ∈ R. Then

(i) a ⩽ a; (reflexivity)

(ii) if a ⩽ b and b ⩽ a then a = b; (antisymmetry)

(iii) if a ⩽ b and b ⩽ c then a ⩽ c, and similarly with < in place of ⩽;


(transitivity)

(iv) exactly one of a < b, a = b and a > b holds. (trichotomy)

Proof. (i) We have a − a = 0 ∈ P ∪ {0} (additive inverses).

15
(ii) Suppose that a ⩽ b and b ⩽ a.

If a − b = 0 or b − a = 0 then a = b (properties of +) and we are done.

If not, then b − a ∈ P and a − b ∈ P.

But b − a = −(a − b) (properties of +),

so then a − b ∈ P and −(a − b) ∈ P, contradicting ‘positive, negative


or 0’.

(iii) Note that c − a = c + (−a) = c + 0 + (−a) = c + (−b) + b + (−a) =


(c − b) + (b − a) (properties of +)

so if a < b and b < c then a < c (+ and ordering).

The cases where a = b and/or b = c are straightforward, and give the


result for ⩽.

(iv) This follows from ‘positive, negative or 0’.

In the next section, we’ll explore the interaction between the ordering
and basic arithmetic.

5 Inequalities and arithmetic


The next result has some useful results about inequalities and arithmetic,
which will save us from having to go back to the axioms every time.

Proposition 4. Take a, b, c ∈ R.

(i) 0 < 1.

(ii) a < b if and only if −b < −a. In particular, a > 0 if and only if
−a < 0.

16
(iii) If a < b then a + c < b + c.

(iv) If a < b and 0 < c then ac < bc.

(v) a2 ⩾ 0, with equality if and only if a = 0.

1
(vi) a > 0 if and only if a
> 0.
1 1
(vii) If a, b > 0 and a < b then < .
b a
Furthermore, (ii), (iii) and (iv) hold with ⩽ in place of <.

Proof. (i) By trichotomy, we have 0 < 1 or 0 = 1 or 0 > 1.

But ‘to avoid total collapse’ 0 ̸= 1. So it suffices to rule out 0 > 1.

Suppose, for a contradiction, that 0 > 1.

Then −1 ∈ P (by definition of >) so (−1) · (−1) ∈ P (· and ordering).

But (−1) · (−1) = 1 (Proposition 1 (xii)),

so 0 < 1 — but this contradicts trichotomy.

So 0 < 1.

(ii) Using properties of addition, we have

a<b⇔b−a∈P

⇔ (−a) − (−b) ∈ P

⇔ −a > −b.

(iii) Assume that a < b.

Then (b + c) − (a + c) = b − a > 0 so a + c < b + c.

(iv) Assume that a < b and 0 < c.

Then bc − ac = (b − a)c > 0 (· and ordering).

17
(v) Certainly a2 = 0 if and only if a = 0 (Proposition 1 (x) and (xiii)).

If a ̸= 0, then exactly one of a and −a is positive, and either way


a2 = a · a = (−a) · (−a) > 0 (· and ordering).

1
(vi) Suppose, for a contradiction, that a > 0 and a
< 0, so a > 0 and
− a1 > 0.
   
1 1
Then −1 = − a · =a· − > 0. But this contradicts (i).
a a
1
Similarly if a < 0 and a
> 0.

(vii) Suppose that a, b > 0 and a < b.

Then a1 , 1
b
> 0 by (vi),
1 1 1 1
so a · · < b · · by (iv),
a b a b
1
so b
< a1 .

Now we can prove a useful inequality (you’ll have an opportunity to apply


it on Sheet 1).

Theorem 5 (Bernoulli’s Inequality). Let x be a real number with x > −1.


Let n be a positive integer. Then (1 + x)n ⩾ 1 + nx.

Proof. By induction on n. Fix x > −1.


n = 1: clear.
induction step: suppose the result holds for some n ⩾ 1, that is, (1 + x)n ⩾
1 + nx.
Note that 1 + x > 0, and nx2 ⩾ 0 (since n > 0 and x2 ⩾ 0 by Proposition
4 (v)).

18
Then

(1 + x)n+1 = (1 + x)(1 + x)n (by definition)

⩾ (1 + x)(1 + nx) (induction hypothesis and Prop 4 (iv))

= 1 + (n + 1)x + nx2 (properties of arithmetic)

⩾ 1 + (n + 1)x (since nx2 ⩾ 0).

So, by induction, the result holds.

In the next section, we’ll move on to consider the modulus of a real


number.

6 The modulus of a real number


Definition. Let a ∈ R. The modulus |a| of a is defined to be




 a if a > 0


|a| := 0 if a = 0




−a if a < 0.

(It is also sometimes called the absolute value of a.)

Remark. The modulus is well defined (that is, this is a legitimate definition)
thanks to the ‘positive, negative or 0’ property (essentially trichotomy).

Here are some basic properties of the modulus.

Proposition 6. Take a, b, c ∈ R. Then

(i) | − a| = |a|;

(ii) |a| ⩾ 0;

19
(iii) |a|2 = a2 ;

(iv) |ab| = |a||b|;

(v) −|a| ⩽ a ⩽ |a|;

(vi) if c ⩾ 0, then |a| ⩽ c if and only if −c ⩽ a ⩽ c; and similarly with


weak inequalities (⩽, ⩾) replaced by strict (<, >).

Proof.(i), (ii) Immediate from the definition, since a > 0 if and only if −a < 0.

(iii) Check using the definition and trichotomy – go through the cases and
also use (−a)(−a) = a2 .

(iv) Check the cases using the definition and trichotomy.

(v) If a ⩾ 0, then −|a| ⩽ 0 ⩽ a = |a|.

If a < 0, then −|a| = a < 0 ⩽ |a|.

(vi) Assume that c ⩾ 0.

(⇒) Suppose that |a| ⩽ c. Then, by (v), −c ⩽ −|a| ⩽ a ⩽ |a| ⩽ c, and


we’re done by transitivity (Proposition 3).

(⇐) Suppose that −c ⩽ a ⩽ c. Then −a ⩽ c and a ⩽ c. But |a| is a


or −a, so |a| ⩽ c.

Similarly for the version with strict inequalities.

Theorem 7 (Triangle Inequality). Take a, b ∈ R. Then

(i) |a + b| ⩽ |a| + |b|;

(ii) |a + b| ⩾ ||a| − |b||.

20
Remark. (ii) is called the Reverse Triangle Inequality.

Proof. (i) We have −|a| ⩽ a ⩽ |a| and −|b| ⩽ b ⩽ |b|, by Proposition 6.

We can add these (see Sheet 1 Q2); using properties of addition, we


get − (|a| + |b|) ⩽ a + b ⩽ |a| + |b|.

By Proposition 6 (vi) (with c = |a|+|b| ⩾ 0), this gives |a+b| ⩽ |a|+|b|.

(ii) By (i), we have |a| = |a + b + (−b)| ⩽ |a + b| + | − b| = |a + b| + |b|,

so |a + b| ⩾ |a| − |b|.

Similarly (swap a and b), |a + b| ⩾ |b| − |a|.

Now ||a| − |b|| is |a| − |b| or |b| − |a|, so |a + b| ⩾ ||a| − |b||.

7 The complex numbers


You met (or renewed your acquaintance with) the set C of complex numbers
in the course Introduction to Complex Numbers ???, so we shan’t repeat much
of that material here. We’ll just focus on revisiting the complex numbers with
the new perspective of having considered axioms for R.
In particular, as we said earlier, C is a field (under the usual addition and
multiplication). If you are feeling enthusiastic, then check the axioms!
But C is fundamentally different from R because there is no ordering on
C that satisfies the ordering axioms.

Exercise. Prove this!

As you saw in the Complex Numbers course, the Triangle Inequality holds
in C, and so does the Reverse Triangle Inequality.

21
So far, we know that R is an ordered field. But we still haven’t captured
everything that’s important about R. The rational numbers Q also form
an ordered field, but there are fundamental differences between Q and R.

Intuitively, in Q there are ‘gaps’ in the number line (such as at 2), whereas
this is not the case in R. In the next chunk of the course, we’ll explore this
in detail, to try to identify what additional property or properties we need
to assume hold in R.

8 Upper and lower bounds


In the next few sections of the course, we going to explore the difference
between Q and R, as discussed in the last paragraph of the previous section.
One helpful example to have in mind is the square root of two. We know

that 2 is not in Q (you have probably seen a proof of this elsewhere). But
there is a positive real number that squares to give 2. One goal of these
sections of the course is to prove the existence of this positive real number

(which we call 2).
The key property, which R has and Q does not, is called completeness.
But before we get there, we need a few preliminary definitions.

Definition. Let S ⊆ R. Take b ∈ R. We say that

ˆ b is an upper bound of S if s ⩽ b for all s ∈ S;

ˆ b is a lower bound of S if s ⩾ b for all s ∈ S;

ˆ S is bounded above if S has an upper bound;

ˆ S is bounded below if S has a lower bound;

ˆ S is bounded if S is bounded above and below.

22
Example. I could have put various examples and non-examples here, but
instead I’ve put them in a short Moodle quiz for you to try. You’ll get
immediate feedback on your answers, to help you explore and check your
understanding of the definitions. Please go to the Moodle course page for
Analysis I, and try quiz 8.1, before you read on to the next section.

9 The (nearly) empty section


Sorry, this is here just to resolve section/video numbering issues!

10 Supremum, infimum and completeness


Some upper bounds are more interesting than others. The set [0, 1] has
upper bounds including 15, 1, 1.7 and infinitely many more. Of these, 1 feels
special. This is the focus of our next definition.

Definition. Let S ⊆ R. We say that α ∈ R is the supremum of S, written


sup S, if

(i) s ⩽ α for all s ∈ S; (α is an upper bound of S)

(ii) if s ⩽ b for all s ∈ S then α ⩽ b (α is the least upper bound of S).

Remark. If S has a supremum, then sup S is unique. (Check you can show
this!)

Now that we have defined the supremum, we can state our final key
property of R (in addition to the properties that make it an ordered field).

Completeness axiom for the real numbers Let S be a non-empty subset


of R that is bounded above. Then S has a supremum.

23
Remark. There are two conditions on S here: non-empty, and bounded
above. They are both crucial!
It is easy to forget the non-empty condition, but it has to be there: the
empty set does not have a supremum, because every real number is an upper
bound for the empty set — there is no least upper bound.
The condition that S is bounded above is also necessary: a set with no
upper bound certainly has no supremum.

Example. ˆ Let S = [1, 2). Then 2 is an upper bound, and is the


least upper bound: if b < 2 then b is not an upper bound because
max(1, 1 + 2b ) ∈ S and max(1, 1 + 2b ) > b. Note that in this case
sup S ̸∈ S.

ˆ Let S = (1, 2]. Then we again have sup S = 2, and this time sup S ∈ S.

The supremum is the least upper bound of a set. There’s an analogous


definition for lower bounds.

Definition. Let S ⊆ R. We say that α ∈ R is the infimum of S, written


inf S, if

ˆ s ⩾ α for all s ∈ S; (α is a lower bound of S)

ˆ if s ⩾ b for all s ∈ S then α ⩾ b (α is the greatest lower bound of S).

Let’s explore some useful properties of sup and inf.

Proposition 8. (i) Let S, T be non-empty subsets of R, with S ⊆ T and


with T bounded above. Then S is bounded above, and sup S ⩽ sup T .

(ii) Let T ⊆ R be non-empty and bounded below. Let S = {−t : t ∈ T }.


Then S is non-empty and bounded above. Furthermore, inf T exists,
and inf T = − sup S.

24
Remark. (ii) and a similar result with sup and inf swapped essentially tell
us that we can pass between sups and infs. Any result we prove about sup
will have an analogue for inf. Also, we could have phrased the Completeness
Axiom in terms of inf instead of sup. Proposition 8(ii) tells us that we don’t
need separate axioms for sup and inf.

Proof. (i) Since T is bounded above, it has an upper bound, say b.

Then t ⩽ b for all t ∈ T , so certainly t ⩽ b for all t ∈ S, so b is an


upper bound for S.

Now S, T are non-empty and bounded above, so by completeness each


has a supremum.

Note that sup T is an upper bound for T and hence also for S, so
sup T ⩾ sup S (since sup S is the least upper bound for S).

(ii) Since T is non-empty, so is S.

Let b be a lower bound for T , so t ⩾ b for all t ∈ T .

Then −t ⩽ −b for all t ∈ T , so s ⩽ −b for all s ∈ S, so −b is an upper


bound for S.

Now S is non-empty and bounded above, so by completeness it has a


supremum.

Then s ⩽ sup S for all s ∈ S, so t ⩾ − sup S for all t ∈ T , so − sup S


is a lower bound for T .

Also, we saw before that if b is a lower bound for T then −b is an upper


bound for S.

Then −b ⩾ sup S (since sup S is the least upper bound),

so b ⩽ − sup S.

25
So − sup S is the greatest lower bound.

So inf T exists and inf T = − sup S.

You might be wondering how all this relates to familiar notions of maxi-
mum and minimum so let’s explore that.

Definition. Let S ⊆ R be non-empty. Take M ∈ R. We say that M is the


maximum of S if

(i) M ∈ S; (M is an element of S)

(ii) s ⩽ M for all s ∈ S (M is an upper bound for S).

Remark. ˆ If S is empty or S is not bounded above then S does not


have a maximum. (Check this!)

ˆ Let S ⊆ R be non-empty and bounded above, so (by completeness)


sup S exists.

Then S has a maximum if and only if sup S ∈ S.

Also, if S has a maximum then max S = sup S.

(Check this!)

Definition. Let S ⊆ R be non-empty. Take m ∈ R. We say that m is the


minimum of S if

(i) m ∈ S; (m is an element of S)

(ii) s ⩾ m for all s ∈ S (m is a lower bound for S).

Here is a key result about the supremum, which we’ll use a lot. It is a
quick consequence of the definition, but it will be useful to have formulated
it in this way.

26
Proposition 9 (Approximation Property). Let S ⊆ R be non-empty and
bounded above. For any ε > 0, there is sε ∈ S such that sup S − ε < sε ⩽
sup S.

Proof. Take ε > 0.


Note that by definition of the supremum we have s ⩽ sup S for all s ∈ S.
Suppose, for a contradiction, that sup S − ε ⩾ s for all s ∈ S.
Then sup S − ε is an upper bound for S, but sup S − ε < sup S. Contra-
diction.
So there is sε ∈ S with sup S − ε < sε .

11 Existence of roots
Now that we have identified the completeness property of R, we are ready to
prove that R contains a square root of 2.

Theorem 10. There exists a unique positive real number α such that α2 = 2.

Proof. Existence Let S = {s ∈ R : s > 0, s2 < 2}.


Idea: argue that S has a supremum, and show that sup S has the required
properties.
Note that S is non-empty (eg 1 ∈ S)
and S is bounded above, because if x > 2 then x2 > 4 (properties of
ordering) so x ̸∈ S, so 2 is an upper bound for S.
So, by completeness, S has a supremum. Let α = sup S.
Note that certainly α > 0 (since 1 ∈ S so α ⩾ 1).
By trichotomy, we have α2 < 2 or α2 = 2 or α2 > 2.
Idea: show that if α2 < 2 or α2 > 2 then we get a contradiction.
Case 1 Suppose, for a contradiction, that α2 < 2.

27
Then α2 = 2 − ε for some ε > 0.
Idea: consider α + h for a small h > 0. Later on, we’ll choose h small
enough that (α + h)2 < 2, and that will be a contradiction because α + h ∈ S
and α + h > sup S.
Note that α ⩽ 2 (we said earlier that 2 is an upper bound for S).
For h ∈ (0, 1) we have

(α + h)2 = α2 + 2αh + h2

= 2 − ε + 2αh + h2

⩽ 2 − ε + 4h + h

⩽ 2 − ε + 5h

ε 1
so let h = min( 10 , 2 ) and then (α + h)2 < 2.
Now α + h ∈ S and α + h > sup S. This is a contradiction.
So it is not the case that α2 < 2.
Case 2 Suppose, for a contradiction, that α2 > 2.
Then α2 = 2 + ε for some ε > 0.
Idea: consider α − h for a small h > 0. Later on, we’ll choose h small
enough that (α − h)2 > 2, and that will lead to a contradiction because
α − h < sup S.
For h ∈ (0, 1) we have

(α − h)2 = α2 − 2αh + h2

= 2 + ε − 2αh + h2

⩾ 2 + ε − 4h

so choose h = min( 8ε , 12 , α2 ) and then (α − h)2 > 2 (and also α − h > 0).
Now α − h < sup S, so by the Approximation property there is s ∈ S
with α − h < s.

28
But then 2 < (α − h)2 < s2 < 2, which is a contradiction.
So it is not the case that α2 > 2.
Hence, by trichotomy, α2 = 2.
Uniqueness Suppose that β is also a positive real number such that β 2 = 2.
Aim: α = β.
Then 0 = α2 − β 2 = (α − β)(α + β)
and α + β > 0, so α = β.

Proposition 11. Q is not complete (with the ordering inherited from R).

Proof. If Q were complete, then the proof of Theorem 10 would work just as
well in Q. But we know that there is not an element of Q that squares to 2.
So Q is not complete.

Theorem 12. Let n be an integer with n ⩾ 2, and take a positive real number
r. Then r has a real nth root.

Proof. Exercise. (See Sheet 2 for the case of the cube root of 2.)

12 More consequences of completeness


In this course, we write N for the set of positive integers, so N = Z>0 .

Theorem 13 (Archimedean property of N). N is not bounded above.

Proof. Idea: if there’s an upper bound then we can find a natural number
just less than it, and add 1.
Suppose, for a contradiction, that N is bounded above.
Then N is non-empty and bounded above, so by completeness (of R) N
has a supremum.

29
By the Approximation property with ε = 21 , there is a natural number
1
n ∈ N such that sup N − 2
< n ⩽ sup N.
Now n + 1 ∈ N and n + 1 > sup N. This is a contradiction.

1
Corollary 14. Let ε > 0. Then there is n ∈ N such that 0 < n
< ε.

1
Proof. If not, then ε
would be an upper bound for N. This would contradict
Theorem 13.

Theorem 15. Let S be a non-empty subset of Z.

(i) If S is bounded below, then S has a minimum.

(ii) If S is bounded above, then S has a maximum.

Proof. (i) Assume that S is bounded below.

Then, by completeness (applied to {−s : s ∈ S}), S has an infimum.

Secret aim: inf S ∈ S.

By the Approximation property (with ε = 1), there is n ∈ S such that


inf S ⩽ n < inf S + 1. Aim: inf S = n.

Suppose, for a contradiction, that inf S < n.

Write n = inf S + δ, where 0 < δ < 1.

By the Approximation property (with ε = δ), there is m ∈ S such that


inf S ⩽ m < inf S + ε = n.

Now m < n so n − m > 0

but n − m is an integer, so n − m ⩾ 1.

Now n ⩾ m + 1 ⩾ inf S + 1. This is a contradiction.

So n = inf S ∈ S so inf S = min S.

30
(ii) Similar.

Proposition 16. Take a, b ∈ R with a < b. Then

(i) there is x ∈ Q such that a < x < b (the rationals are dense in the
reals); and

(ii) there is y ∈ R \ Q such that a < y < b (the irrationals are dense in the
reals).

Proof. Exercise (see Sheet 2).

Summary of our work so far


R is a complete ordered field.

This sums up the key properties we have identified as our assumptions


about R. From this, we shall develop the theory of real analysis.

13 Countability
The concept of countability gives us a way to distinguish between sets by
comparing their ‘sizes’. This will be a quick introduction. You can find
more information in the supplementary notes by Dr Hilary Priestley, on the
Moodle Analysis I course.
Our main tool for comparing the ‘sizes’ of two sets is to ask whether there
is a bijection between them. In this section and the next, we’ll often be using
the notions of bijection, injection and surjection. If you don’t feel confident
with the definitions of these, then I recommend you remind yourself of the
definitions before you continue with this section.

31
Definition. Let A be a set. We say that A is finite if A = ∅ or there exists
n ∈ N such that there is a bijection f : A → {1, 2, . . . , n}. We say that A is
infinite if it is not finite

Remark. ˆ A subset of a finite set is finite.

ˆ A non-empty finite subset of R is bounded above (in fact, has a maxi-


mum) and so a subset of R that is not bounded above is infinite.

ˆ N is not bounded above (by the Archimedean property) so is infinite.

Definition. Let A be a set. We say that A is

ˆ countably infinite if there is a bijection f : A → N;

ˆ countable if there is an injection f : A → N;

ˆ uncountable if A is not countable.

Remark. There are variations on the details of these definitions, so it’s worth
checking carefully if you’re looking at a book or other source. For example,
some people say ‘countable’ where we are using ‘countably infinite’.

Here are a couple of useful properties.

Proposition 17. Let A be a set.

(i) A is countable if and only if A is countably infinite or finite.

(ii) If there is an injection f : A → B and an injection g : B → A, then


there is a bijection h : A → B.

Proof. Not in this course. See Priestley’s supplementary notes on countabil-


ity.

32
Proposition 18. Each of the following sets is countably infinite.

(i) N

(ii) N ∪ {0}

(iii) {2k − 1 : k ∈ N}

(iv) Z

(v) N × N.

Remark. It might feel surprising that the set of odd natural numbers ‘has
the same size as’ the set of all natural numbers!

Proof. (i) Clear.

(ii) Define f : N ∪ {0} → N by f (n) = n + 1. This is a bijection.

(iii) Define f : N → {2k − 1 : k ∈ N} by f (n) = 2n − 1.

(iv) Idea: line up the integers as 0, 1, −1, 2, −2, 3, −3, . . . .

Define f : Z → N by

2k

if k ⩾ 1
f (k) =
1 − 2k

if k ⩽ 0.

This is a bijection.

(v) Define f : N × N → N by f ((m, n)) = 2m−1 (2n − 1).

Claim f is a bijection.

Proof of claim

injective: If f ((m1 , n1 )) = f ((m2 , n2 )) then

2m1 −1 (2n1 − 1) = 2m2 −1 (2n2 − 1),

33
so, by uniqueness of prime factorisation in N, 2m1 −1 = 2m2 −1 and 2n1 −
1 = 2n2 − 1,

so m1 = m2 and n1 = n2 .

surjective: Take k ∈ N.

Then k = 2r (2s + 1) for some r, s ⩾ 0


k
(consider the set T = {t ∈ Z⩾0 : 2t
∈ N} — this is non-empty and
bounded above so has a maximum).

Then k = f (r + 1, s + 1).

14 More on countability
We can build new countable sets from old. This is a very helpful way to
prove that a set is countable!

Proposition 19. Let A, B be countable sets.

(i) If A and B are disjoint, then A ∪ B is countable.

(ii) A × B is countable.

Remark. In (i), we don’t need the condition that A and B are disjoint, but
it makes life easier for our proof.

Proof. Since A and B are countable, there are injections f : A → N and


g : B → N.

(i) Idea: to list elements of A ∪ B, alternate taking elements from A, B.

34
Define h : A ∪ B → N by

2f (x) − 1

if x ∈ A
h(x) =
2g(x) if x ∈ B.

This is an injection (because f and g are).

(ii) Define h : A × B → N by h((a, b)) = 2f (a) 3g(b) .

By the uniqueness of prime factorisation in N, this is an injection.

Theorem 20. Q>0 is countable.

Proof. Define f : Q>0 → N by f ( pq ) = 2p 3q where p, q ∈ Z>0 and hcf(p, q) =


1.
This is an injection (by uniqueness of prime factorisation in N).

Corollary 21. Q is countable.

Proof. We can write Q = Q>0 ∪ {0} ∪ Q<0 . This is a disjoint union.


We have just seen that Q>0 is countable, and similarly so is Q<0 , and {0}
is finite and hence countable.
Hence, by Proposition 19, Q is countable.

Our next task will be to show that R is uncountable. We’re going to do


this using decimal expansions. That means that we need to know that deci-
mal expansions exist. Ideally we’d study sequences and series for a bit, then
look at decimal expansions, then prove that R is uncountable. But I’d like
to wrap up this section on countability now. So we’re going to assume a fact
about decimal expansions, and deduce that R is uncountable. I encourage
you to revisit the fact later in the course — I’ll let you know when we’ve cov-
ered the relevant theory. You could also (now) look at Dr Hilary Priestley’s

35
supplementary notes on decimal expansions and the uncountability of R (on
the Moodle Analysis I page).
Fact Every real number has a decimal expansion, and if we require that we
choose a non-terminating expansion (such as 0.24999 . . . for 14 ) rather than a
terminating one (such as 0.25 for 41 ) where there is a choice, then this decimal
expansion is unique.

Theorem 22. R is uncountable.

Remark. The proof strategy we are going to use is called Cantor’s diagonal
argument.

Proof. It suffices to show that (0, 1] is uncountable.


Note that certainly (0, 1] is not finite (by Corollary 14 of the Archimedean
property).
Suppose, for a contradiction, that (0, 1] is countably infinite. List the
elements as x1 , x2 , x3 , . . . . (If you like, we have a bijection N → (0, 1], and
x1 = f (1), x2 = f (2), x3 = f (3), . . . .)
Each has a non-terminating decimal expansion (where relevant choosing
the non-terminating option):

x1 = 0.a11 a12 a13 a14 . . .

x2 = 0.a21 a22 a23 a24 . . .

x3 = 0.a31 a32 a33 a34 . . .


..
.

xk = 0.ak1 ak2 ak3 ak4 . . .


..
.

Construct a real number x ∈ (0, 1] with decimal expansion 0.b1 b2 b3 . . .

36
where

5

if akk = 6
bk =
6 if akk ̸= 6.

Then x ̸= xk for all k, because x differs from xk in the k th decimal place,


so x is not on our list, which supposedly contained all elements of (0, 1]. This
is a contradiction.

Remark. The only significance of the choice of 5 and 6 as the key digits when
defining x was that we didn’t involve 0 or 9, to avoid issues with non-unique
decimal expansions.

There are many further interesting things to say about countability, but
not in this course. We need to move on to consider sequences. Before you
continue to the next section, try to come up with a collection of examples
of sequences that you can use as your personal repertoire for testing the
definitions and results we’ll look at. Try to find some ‘typical’ and some
‘extreme’ examples of sequences that you think converge, and of sequences
that you think don’t converge.

15 Introduction to sequences
Remark. You are already familiar with the sine and cosine, exponential and
logarithm functions, and with raising a number to a non-integer power. At
the moment, though, we haven’t formally defined these. We’ll do so later in
the course (using infinite series—that’s why it needs to wait till later), and
this term and later in other Analysis courses you’ll explore and prove the
familiar properties of these function.

37

You might also like