Chapter 1. Real Numbers
Chapter 1. Real Numbers
Chapter 1. Real Numbers
a+b=b+a (+ is commutative)
a + (b + c) = (a + b) + c (+ is associative)
a·b=b·a (· is commutative)
a · (b · c) = (a · b) · c (· is associative)
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)
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.
(iii) −0 = 0.
(iv) −(−a) = a.
1
(viii) If a ̸= 0 then 1 = a.
a
(ix) (a + b) · c = a · c + b · c.
(x) a · 0 = 0.
1 1
(xiii) If a · b = 0 then a = 0 or b = 0. If a ̸= 0 and b ̸= 0 then a·b
= a
· 1b .
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.
x = x + 0 (additive identity)
= 0 + x (+ is commutative)
y = y + 0 (additive identity)
= (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).
10
(iv) We have
= 0 (additive inverses)
(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).
and also
a · (0 + 0) = a · 0 (additive identity)
= a · 0 + 0 (additive identity)
11
(xi) We have
= a · 0 (additive inverses)
(xii) We have
= 1 ((iv)).
12
and this is a contradiction (0 ̸= 1).
So if a · b = 0 then a = 0 or b = 0.
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.
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
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.
(i) a ⩽ a; (reflexivity)
15
(ii) Suppose that a ⩽ b and b ⩽ a.
In the next section, we’ll explore the interaction between the ordering
and basic arithmetic.
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.
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 <.
So 0 < 1.
a<b⇔b−a∈P
⇔ (−a) − (−b) ∈ P
⇔ −a > −b.
17
(v) Certainly a2 = 0 if and only if a = 0 (Proposition 1 (x) and (xiii)).
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.
Then a1 , 1
b
> 0 by (vi),
1 1 1 1
so a · · < b · · by (iv),
a b a b
1
so b
< a1 .
18
Then
Remark. The modulus is well defined (that is, this is a legitimate definition)
thanks to the ‘positive, negative or 0’ property (essentially trichotomy).
(i) | − a| = |a|;
(ii) |a| ⩾ 0;
19
(iii) |a|2 = a2 ;
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 .
20
Remark. (ii) is called the Reverse Triangle Inequality.
so |a + b| ⩾ |a| − |b|.
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.
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.
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).
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.
Let S = (1, 2]. Then we again have sup S = 2, and this time sup S ∈ 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.
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).
so b ⩽ − sup S.
25
So − sup S is the greatest lower bound.
You might be wondering how all this relates to familiar notions of maxi-
mum and minimum so let’s explore that.
(i) M ∈ S; (M is an element of S)
(Check this!)
(i) m ∈ S; (m is an element of 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.
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.
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.)
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.
but n − m is an integer, so n − m ⩾ 1.
30
(ii) Similar.
(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).
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. 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’.
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!
Define f : Z → N by
2k
if k ⩾ 1
f (k) =
1 − 2k
if k ⩽ 0.
This is a bijection.
Claim f is a bijection.
Proof of claim
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 = 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!
(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.
34
Define h : A ∪ B → N by
2f (x) − 1
if x ∈ A
h(x) =
2g(x) if x ∈ B.
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.
Remark. The proof strategy we are going to use is called Cantor’s diagonal
argument.
36
where
5
if akk = 6
bk =
6 if akk ̸= 6.
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