Real Analysis: Interactive Notes For
Real Analysis: Interactive Notes For
Bonnie Saunders
August 21, 2015
ii
Preface
These notes are all about the Real Numbers and Calculus. We start from scratch
with definitions and a set of nine axioms. Then, using basic notions of sets and logical
reasoning, we derive what we need to know about real numbers in order to advance
through a rigorous development of the theorems of Calculus.
In Chapter 0 we review the basic ideas of mathematics and logical reasoning needed
to complete the study. Like Euclid’s Basic Notions, these are the things about sets and
logic that we hold to be self-evident and natural for gluing together formal arguments
of proof. This chapter can be covered separately at the beginning of a course or
referred to throughout on an ’as needed’ basis. It contains all the common definitions
and notation that will be used throughout the course.
Students already think about real numbers in different ways: decimal representation,
number line, fractions and solutions to equations, like square roots. They are familiar
with special real numbers, with infinite, non-repeating decimals, like π and e. All
these ways of representing real numbers will be investigated throughout this axiomatic
approach to the development of real numbers. The Axioms for Real Numbers come
in three parts:
The Field Axioms (Section 1.1) postulate basic algebraic properties of number: com-
mutative and associative properties, the existence of identities and inverses.
The Order Axioms (Section 1.2) postulate the existence of positive numbers. Con-
sequences of include the existence of integers and rational numbers.
The Completeness Axiom (Section 1.3) postulates the existence of least upper bound
for bounded sets of real numbers. Consequences of completeness include infinite
decimals are real numbers and that there are no ’gaps’ in the number line.
The completeness of the real numbers paves the way for develop the concept of
limit, Chapter 2, which in turn allows us to establish the foundational theorems of
calculus establishing function properties of continuity, differentiation and integration,
Chapters 4 and 5.
iii
iv
Goals
1. Prove the Fundamental Theorem of Calculus starting from just nine axioms that
describe the real numbers.
2. Become proficient with reading and writing the types of proofs used in the
development of Calculus, in particular proofs that use multiple quantifiers.
4. Develop a library of the examples of functions, sequences and sets to help explain
the fundamental concepts of analysis.
v
a) 0.9 > 1
b) 0.9 < 1
c) 0.9 = 1
Calculation 1
Using your
√ calculator only for addition, subtraction, multiplication and division, approx-
imate 56. Make your answer accurate to within 0.001 of the exact answer. Write a
procedure and explain why it works.
vi
Contents
0 Basic Notions 1
0.0 Getting Started . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 1
0.1 Sets . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 1
0.1.1 Common Sets . . . . . . . . . . . . . . . . . . . . . . . . . . 1
0.1.2 Set Notation . . . . . . . . . . . . . . . . . . . . . . . . . . 3
0.1.3 Operations on Sets . . . . . . . . . . . . . . . . . . . . . . . 4
0.2 Logic . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 4
0.2.1 Logical Statements . . . . . . . . . . . . . . . . . . . . . . . 4
0.2.2 Quantifiers . . . . . . . . . . . . . . . . . . . . . . . . . . . 5
0.3 Functions . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 6
0.3.1 Definitions, Notation and Examples . . . . . . . . . . . . . . 6
0.3.2 Sequences are functions Z+ → R or Z≥ → R . . . . . . . . . 7
0.4 True or False . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 9
vii
viii CONTENTS
1.2.2 Integers . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 23
Mathematical Induction. . . . . . . . . . . . . . . . . . . . . 24
The integers form a commutative ring . . . . . . . . . . . . . 25
The Well-Ordering Principle . . . . . . . . . . . . . . . . . . 25
Practice with Induction. . . . . . . . . . . . . . . . . . . . . 26
Inductive Definitions . . . . . . . . . . . . . . . . . . . . . . 27
1.2.3 Rational Numbers . . . . . . . . . . . . . . . . . . . . . . . . 27
1.2.4 Distance, absolute value and the Triangle Inequality . . . . . 29
Discussion of the number line Υ . . . . . . . . . . . . . . . 29
Absolute Value and Distance . . . . . . . . . . . . . . . . . . 30
The Triangle Inequality . . . . . . . . . . . . . . . . . . . . . 31
1.2.5 Bounded and unbounded sets . . . . . . . . . . . . . . . . . 33
1.3 The Completeness Axiom . . . . . . . . . . . . . . . . . . . . . . . . 36
1.3.1 Consequences of the Completeness Axiom . . . . . . . . . . 36
1.3.2 The Nested Interval Theorem . . . . . . . . . . . . . . . . . 37
1.3.3 Archimedes Principle . . . . . . . . . . . . . . . . . . . . . . 38
The integers are not bounded . . . . . . . . . . . . . . . . . 38
1.3.4 Optional – Nested Interval Theorem and Archimedes prove the
Completeness Axiom . . . . . . . . . . . . . . . . . . . . . . 39
1.3.5 Rational numbers are dense in R . . . . . . . . . . . . . . . . 40
1.3.6 Optional – An Alternative Definition of Interval . . . . . . . . 41
2 Limits of Sequences 43
2.1 Definition and examples . . . . . . . . . . . . . . . . . . . . . . . . . 43
2.1.1 Sequences converging to zero. . . . . . . . . . . . . . . . . . 44
2.1.2 Sequences that converge to arbitrary limit . . . . . . . . . . . 47
Monotone sequences . . . . . . . . . . . . . . . . . . . . . . 50
Best Nested Interval Theorem . . . . . . . . . . . . . . . . . 51
Rational Approximations to Real Numbers . . . . . . . . . . . 51
2.1.3 Application: Existence of square roots . . . . . . . . . . . . . 52
2.1.4 Subsequences . . . . . . . . . . . . . . . . . . . . . . . . . . 53
2.1.5 Divergent Sequences . . . . . . . . . . . . . . . . . . . . . . 53
2.2 Limits and Sets . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 56
2.2.1 Limit Points and Boundary Points . . . . . . . . . . . . . . . 56
2.2.2 Open and Closed Sets . . . . . . . . . . . . . . . . . . . . . 58
2.2.3 Optional – Connected sets . . . . . . . . . . . . . . . . . . . 59
2.3 The Bolzano-Weierstrass Theorem and Cauchy Sequences . . . . . . 61
2.4 Series and Power series . . . . . . . . . . . . . . . . . . . . . . . . . 61
2.4.1 Convergence of Geometric series . . . . . . . . . . . . . . . . 62
2.4.2 Decimals . . . . . . . . . . . . . . . . . . . . . . . . . . . . 63
CONTENTS ix
3 Counting 65
3.1 Finite vs Infinite . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 65
3.1.1 The rational numbers . . . . . . . . . . . . . . . . . . . . . . 67
3.1.2 How many decimals are there? . . . . . . . . . . . . . . . . . 68
3.2 Cantor Sets . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 69
4 Functions 71
4.0 Limits . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 71
4.1 Continuity . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 72
4.1.1 Sequential continuity . . . . . . . . . . . . . . . . . . . . . . 73
4.1.2 More Examples and Theorems . . . . . . . . . . . . . . . . . 74
An aside to discussion inverse functions . . . . . . . . . . . . 74
A library of functions . . . . . . . . . . . . . . . . . . . . . . 75
4.1.3 Uniform Continuity . . . . . . . . . . . . . . . . . . . . . . . 76
4.2 Intermediate Value Theorem . . . . . . . . . . . . . . . . . . . . . . 77
4.3 Continuous images of sets . . . . . . . . . . . . . . . . . . . . . . . 78
4.4 Optional: Connected Sets . . . . . . . . . . . . . . . . . . . . . . . 79
4.5 Existence of extrema . . . . . . . . . . . . . . . . . . . . . . . . . . 80
4.6 Derivatives . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 80
4.6.1 Definitions . . . . . . . . . . . . . . . . . . . . . . . . . . . 80
4.6.2 Applications . . . . . . . . . . . . . . . . . . . . . . . . . . . 80
4.6.3 Basic Theorems . . . . . . . . . . . . . . . . . . . . . . . . . 81
4.6.4 Zero Derivative Theorem . . . . . . . . . . . . . . . . . . . . 81
5 Integration 85
5.0 Definition of Riemann Integral . . . . . . . . . . . . . . . . . . . . . 85
5.0.1 Partitions of an interval . . . . . . . . . . . . . . . . . . . . . 85
5.0.2 Definition of Riemann Integral . . . . . . . . . . . . . . . . . 86
5.0.3 Theorems . . . . . . . . . . . . . . . . . . . . . . . . . . . . 89
5.1 Fundamental Theorem of Calculus . . . . . . . . . . . . . . . . . . . 90
5.1.1 Integrals as Functions . . . . . . . . . . . . . . . . . . . . . 90
5.1.2 Statement of the Theorem . . . . . . . . . . . . . . . . . . . 90
5.2 Computing integrals . . . . . . . . . . . . . . . . . . . . . . . . . . . 91
5.3 Application: Logarithm and Exponential Functions . . . . . . . . . . 91
5.4 Flowchart . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 91
x CONTENTS
Chapter 0
Basic Notions
About moose antlers Υ: Many things in this book are already understood (or maybe
we just think we understand them) and we don’t want to forget them completely. At
the same time we develop the real number system with a minimal set of concepts to
guide us, we want to be able to use our intuition and ideas already mastered to guide
our way and help us understand. We do want to keep straight where we are in this
game. That’s where moose antlers come in. This is how it works: when moose antlers
are on, we can use what we already know to think about examples and proofs. When
they are off we only think about the axioms and theorems that we have proven so far.
Look for the Υ moose antlers throughout the book. At those points feel free to
use what mathematical knowledge and intuition you have to answer the questions.
Otherwise, what you have at your disposal is the nine axioms and any previous theorems
we have derived from those axioms using the basic notions of sets and logic that are
summarized in this chapter.
0.1 Sets
1
2 CHAPTER 0. BASIC NOTIONS
them. References are provided below. They are all listed here to establish common
notation. You may have used different notation for some of these sets and you may
have other common sets you’d like to include. Do not hesitate to make your concerns
known!
R represents the set of all real numbers. This set is the main interest and star of
this course. And as in all good books the character will be developed slowly
and carefully throughout the course. In the beginning, we assume a few things
about how the elements in this set behave under the operations of addition and
multiplication. This is quite abstract – we don’t have any idea what the elements
(which we will call numbers) of this set really are or even if such a set of things
exists in any “real” (You can decide if this pun is intended or not) sense. From
the axioms we will derive enough information to set up the familiar models for
real numbers are – principally, decimal representation and the number line. We
will also be able to conclude that any other system that satisfies the same axioms
is essentially the same as the real number system we describe.
R+ represents the set of positive real numbers. Defining characteristics of this set
will be established in Section 1.2
R2 = R × R is the set of ordered pairs of real numbers - also called the Cartesian
plane. In this book it is mostly used in reference to functions that map R to
R. In subsequent study of real analysis, Rn - ordered n-tuples of real numbers -
take more central roles.
N and Z+ both represent the set of positive integers. It is a subset of the real numbers
and we will later establish the characteristics of this set from the axioms of R.
Also called the set of Natural numbers. Very often the characteristics of these
sets are establish by The Peano Axioms. The real numbers are then constructed
from the integers. This is not the approach in this book. See Section 1.2.2.
Z represents the set of all integers. From our Υantler-less point of view we know
nothing about this set. We will establish defining characteristics that will agree
school-based ideas of what integers are.
Q represents the set of all rational numbers. They can be defined after we clarify the
notion of devision and have defined the integers.
Υ Moose antlers are tricky in this section. The book will assume you know (antlers on
or not) about sets and functions and that you understand the set notation described
in this chapter. It’s part of the basic notions you’ll need to proceed. However, all the
examples of sets below require Υ moose antlers to understand. And you’ll want the
antlers on to come up with other examples.
1. By list. This works perfectly for small finite sets, like {3, 36, 17}. It is also
used for infinite sets that can be listed. For example, N = {1, 2, 3, 4, · · · } or
{1, 6, 11, 16, · · · }. Describing a set this way requires that everyone knows what
rule is being used to generate the numbers.
Example 0.1 The set {2, 3, 5, · · · } might be the prime numbers or it might be
the Fibonacci numbers or it might be the integers of the form 2n + 1.
2. By condition.
Example 0.2 {x : x is a prime number}, read ”the set of all x such that x is a
prime number.”
3. Constructively by giving a formula that describes the elements of the set. For
example, {n2 : n ∈ Z}, the set of perfect square numbers. Note that you need
to describe the set of all possible values for each variable in the formula. Note
that an element of the set may be described more than once but this does not
change the set. That is, {n2 : n ∈ Z} = {n2 : n ∈ Z≥ }.
Exercise 0.2 ΥLet S be the set of all odd positive integers. Describe this set in each
of the three ways listed above.
We can also construct sets from other sets. This book assumes you are familiar
with the union and intersection of a collection of sets and the complement of set
with respect to another one. We write the complement of X with respect to Y as
Y \ X = {y ∈ Y : y 6∈ X}.
0.2 Logic
Throughout this book we will be proving theorems about real numbers. Theorems are
statements that are either true or false and are stated in the form ’If p, then q’ and
notated p =⇒ q, where p and q are also statements. p is called the hypothesis (or
antecedent) and q is the conclusion (or consequence) of the theorem. The proof of
the theorem proceeds from the assumed fact that p is true and goes through a series
of logically valid statements until one can conclude q.
Sometimes it is easier to show that the negation of the statement of the theorem is
false in order to prove the theorem true. Therefore it is good to understand how to
negate a statement. ∼ p denotes the negation of p. Please keep in mind that either
p is true or ∼ p is true, but not both. Here is a table of different related statements
and their negations. We will use these names for related statements throughout the
book.
p =⇒ q p and ∼ q
converse q =⇒ p q and ∼ p
contrapositive ∼ q =⇒ ∼ p ∼ q and p
A statement and its contrapositive always have the same truth value. A statement
and its converse may have different values.
Exercise 0.4 How do the following two statements fit into the table.
a) ∼ p or q
b) p or ∼ q
0.2. LOGIC 5
Sometimes the hypothesis of a theorem is not explicitly stated but it is always there
– if for no other purpose than to establish what sets the variables in the statement
belong to. Throughout the book you are encouraged to explicitly state the hypothesis
and the conclusion of theorems.
True or False 2
Which of the following statements is true? Explain. Modify the false statement to
make a true statement.
0.2.2 Quantifiers
Our logical statements will almost always contain variables and those variables may
be ’quantified.’ One way to think about it is that the statement is describing a set by
a condition. The quantifiers tell you ’how many’ numbers are in the set. There are
two different quantifiers:
1. FOR ALL Consider the following two statements and convince yourself that they
mean the same thing:
2. THERE EXISTS Consider the following two statements and convince yourself that
they mean the same thing:
How to prove statements that contain quantifiers is a main concern in later discussions
about real numbers.
6 CHAPTER 0. BASIC NOTIONS
0.3 Functions
No Υmooseantlers needed for this section. Everything is defined in terms of sets and
using basic logic!
Here is a long list of definitions and notation conventions that we will use throughout
the book. It is assumed they are mostly familiar to the reader:
Exercise 0.6 Give an example of each of the following. Include the domain as part of
the description. Sketch the graph of the function.
a) a function that is not 1 − 1 but is onto
b) a function whose pre-image of some set T is R+
c) a function whose image is R+
0.3. FUNCTIONS 7
1
Figure 0.1: Graph of sn =
n
8
Figure 0.2: The image of sn = .
n3
Notation A sequence is most usually denoted with subscript notation rather than
standard function notation, that is we write sn rather than s(n).
Example 0.5 The graph in Figure 0.1 shows part of the graph of a sequence that maps
1
Z+ → R and is given by the formula, sn = . In addition, the first 100 numbers in
n
the image of the sequence on the y − axis.
Example 0.6 Another way to picture a sequence is to plot the image on a number
line, as shown in Figure 0.2. The downside is that the order of the sequence is not
8
explicitly given. Here the image of the sequence, sn = 3 , is shown on a horizontal
n
number line. The order of the sequence values is not shown on this picture. You need
to see the formula, as well, to understand that the values are being listed in order from
right to left. The values in the image bunch up at zero to become indistinguishable
from each other and from 0. The picture is insightful, but imprecise.
Notation Because of the ordering of the natural numbers, a sequence can be given
by listing the first few values without reference to the domain or a formula, as in
3 1 3 1
3, , , , ··· (0.5)
4 3 25 12
This type of notation can be convenient but it never tells the whole story. How does
the sequence continue past the values given? The finite sequence may suggest a
8 CHAPTER 0. BASIC NOTIONS
pattern but one can’t be sure without more information. We don’t know whether the
domain starts at 0 or 1, but a formula could be adjusted to fit either case. NOTE: It
would be wrong to include braces {} around the sequence because that would indicate
a set. It would be how to denote the image of the sequence.
Exercise 0.7 Find a possible formula that would generate the sequence in Example
0.5. Sketch the graph of this sequence.
0.4. TRUE OR FALSE 9
The following True or False problems explore different logical statements using quan-
tifiers in a variety of ways.
True or False 3
Which of the following statements are true? Explain. Change Z to R and redo.
True or False 4
True or False 5
True or False 6
a) f (X ∩ Y ) = f (X) ∩ f (Y )
b) f −1 (X ∩ Y ) = f −1 (X) ∩ f −1 (Y )
c) f (f −1 (Y )) = Y.
d) f −1 (f (Y )) = Y.
Exercise 0.8 In some cases, it may be easier to determine if the negation of a statement
is true or false. If you haven’t already, write the negation of each statement in the
True or False problems.
Chapter 1
We do not assume that we can represent real numbers as decimals. Nor how to
represent real numbers on a number line. However, ourΥintuition using these two
models for real numbers can guide our thinking.
1.0.1 Equality
Reflexive x = x
Symmetric if x = y , then y = x
Transitive if x = y and y = z, then x = z
11
12 CHAPTER 1. THE REAL NUMBER SYSTEM
We assume the existence of a set of two binary operations on the ’numbers’ in this
set. Basic notions about equality apply. Both addition and multiplication produce a
unique, answer, meaning that adding a number a and multiplying by a number m are
both functions.
x = y =⇒ a + x = a + y .
x = y =⇒ m · x = m · y .
It is often useful, and some people prefer, to consider addition and multiplication as
functions. That is, for every real number a, there is a function, sa : R → R, given by
sa (x) = x + a,
tm (x) = m · x.
The UNIQUENESS OF ADDITION AND MULTIPLICATION says that these functions are indeed
functions, i.e. there is only one value for each element in the domain.
The uniqueness of these operations is used in our preliminary work when doing
things like adding the same number to both sides of an equation.
1.0.3 Expressions
Binary means that the operation works on only two numbers at a time, so expres-
sions like a + b + c aren’t meaningful until we know more about what rules apply.
However, we can include parentheses in expressions and so legitimately know what to
do. The expression, a + (b + c), is meaningful: first add b to c, then add a to the
result. This use of parentheses is assumed familiar to the student of this book. (Υ
Once we know the associative and commutative rules, a + b + c is not an ambiguous
expression.)
1.0. DEFINITIONS AND BASIC NOTIONS FROM ALGEBRA 13
Basic to working with equations with variables and real numbers is being able to
’substitute’ equal expressions for each other. This is how we can build more and more
complicated, and thus interesting, expressions. This is however, not an easy concept
to formalize. Here is a stab at it:
FOR ADDITION a + (b + c) = (a + b) + c
FOR MULTIPLICATION a · (b · c) = (a · b) · c
a · (b + c) = a · b + a · c
In this section we state and prove many facts about real numbers. We call these
facts theorems and, occasionally, corollaries or lemmas. Theorems are not always
stated explicitly in the form p =⇒ q, but they can be stated that way. Often the
only hypothesis is that the elements being discussed are real numbers, i.e. we are
always assuming that there is a set of real numbers that satisfy the basic axioms as
well as all theorems we prove.
Exercise 1.1 Provide proofs for Theorems 1.0 - 1.15. Some of the proofs are provided.
Proof. Note: the strategy used to show that a number is unique is to assume there
are two numbers that satisfy the given condition and then show that they are equal.
Assume there exists another real number 00 such that a + 00 = a for all a ∈ R, then
for all a ∈ R, we have that a + 0 = a + 00 . By the CANCELLATION LAW FOR ADDITION,
Theorem 1.1, we can cancel the a’s to get, 0 = 00 . This shows that 0 is unique.
Proof. Let e be a real number from Axiom 5 such that a + e = 0 and let x = e + b.
Now consider
To show uniqueness, assume that there is another real number, y , such that a+y = b.
Then a+x = a+y . So by the CANCELLATION LAW FOR ADDITION, Theorem 1.1, x = y .
So a is the negative of −a. The negative of −a is written, −(−a), as seen in the note
after Theorem 1.3.
a(b − c) = ab − ac.
Proof.
ab = ac and a 6= 0 =⇒ b = c.
Proof. EFS
Proof. EFS
Proof. EFS
a · b = 0 =⇒ a = 0 or b = 0.
Proof. EFS
Example 1.1 Modular arithmetic is an example where there are zero divisors. Because
2 · 4 ≡ 0 mod 8 and neither is ≡ 0 mod 8 we call both 2 and 4 zero divisors mod 8.
Proof. EFS
Proof. EFS
Proof. EFS
1 1 1
= · or (a · b)−1 = a−1 · b−1
ab a b
Proof. EFS
NOTE: Sometimes corollary 1.14.1 is proven first as a lemma and is then used to
prove theorem 1.14.
Theorem 1.15 EXISTENCE AND UNIQUENESS OF SOLUTION TO LINEAR EQUATIONS For all a, b, c ∈
R, a 6= 0, there is a unique solution, x ∈ R, to the equation
a · x + b = c.
Proof. EFS
Exercise 1.2 Prove using the Axioms 1 through 5 and the Theorems 1.0 - 1.15.
For all a, b, c, d ∈ R.
a) −0 = 0; 1−1 = 1
b) −(a + b) = −a − b
c) −(a − b) = −a + b
d) (a − b) + (b − c) = a − c
a
b ad
e) c =
d bc
a −a a
f) −( ) = =
b b −b
1.1. THE FIELD AXIOMS 19
Addition vs multiplication Except for the Distributive Law, Axiom 3, and the part
of Axiom 5 where 0 is excluded from having a multiplicative inverse, the axioms
are symmetric in addition and multiplication. Axiom 3 says that ’multiplication dis-
tributes across addition.’ What would happen if the opposite were true that ’addition
distributes across multiplication?’
Exercise 1.3 Write down a rule that would say that addition distributes across multi-
plication. Prove that it cannot be true if the Field Axioms are true.
Exercise 1.5 How many ways can you add parentheses to 2+3+4+5 to get a different
way to sum the numbers? Let cn = the number of ways to put parentheses on an
addition string with n numbers. What is cn ? (These are well-known as the Carmichael
Numbers.)
A set, together with a well-defined addition and multiplication, is called a Field if the
Field Axioms (Section 1.1) are all satisfied.
Axiom 8 0 6∈ R+
Exercise 1.6 Provide proofs for Theorems 1.17 - 1.21. Some of the proofs are provided.
Theorem 1.17 LAW OF TRICHOTOMY For all a, b, c ∈ R, exactly one of the following are
true:
a = b, a < b, b < a
NOTE: In the special case, when one of a and b is zero the Law of Trichotomy says
that a real number is exclusively positive, negative, or zero.
1.2. THE ORDER AXIOMS 21
Proof. EFS
Proof. EFS
NOTE: ’Less than’ (<) forms a relation between numbers. We have just shown that
it is a transitive relation. However, it is neither symmetric nor reflective so it is not
an equivalence relation like ’=’. See Basic Notion 1
Exercise 1.7 There are three variations of TRANSITIVITY when ’≤’ replaces ’<’ in one or
the other or both of spots in the hypothesis. State each one, providing the strongest
conclusion in each case. Prove at least one of your statements. Use TRANSITIVITY ,
Theorem 1.18 rather than repeating proofs.
Exercise 1.8
Notation There are many different varieties of intervals. Write each one of the
following using set notation:
[a, b]
(a, b]
[a, b)
(a, ∞)
[a, ∞) = {x ∈ R : a ≤ x}.
(∞, b)
(∞, b]
Exercise 1.9 How would you notate the set, {x : a < x or x < b}? How does it vary
with whether or not a < b or b < a?
x < y =⇒ a + x < a + y
Proof. EFS
Proof. EFS
x < y =⇒ m · x < m · y .
x < y =⇒ m · x > m · y .
Proof. EFS
Exercise 1.10 Here are some more basic facts about order. You may want to prove
them in a different ’order.’
h) For all a, b ∈ R, a2 + b2 = 0 ⇐⇒ a = b = 0.
True or False 7
If true, prove the statement. If false, restate to make a true fact and prove it.
a) x 2 > x.
x ≤ y =⇒ f (x) ≤ f (y ).
x ≤ y =⇒ f (y ) ≤ f (x).
Exercise 1.12 Prove that the function, f (x) = x 2 , is increasing on [0, ∞) and decreas-
ing on (−∞, 0].
Exercise 1.13 Prove that the function, f (x) = x1 , is decreasing on (0, ∞) and decreas-
ing on (−∞, 0).
x+1
Exercise 1.14 Prove that the function, f (x) = x−1 , is decreasing on (1, ∞).
1.2.2 Integers
Definition We say that a subset of R is an Inductive Set whenever both of the following
conditions hold:
• 1∈S
• If n ∈ S, then n + 1 ∈ S
24 CHAPTER 1. THE REAL NUMBER SYSTEM
Example 1.4 The set of positive real numbers is an inductive set. 1 ∈ R+ by Theorem
1.16 . The second condition follows because the sum of two positive real numbers is
a positive real number by Axiom 6.
Exercise 1.15 What is the largest inductive set you can think of? What is the smallest?
Z+ is the smallest inductive set in the sense that it is contained in every other one.
Proof. This is because the set of positive real numbers is an inductive set, so every
positive integer is contained in it.
Definition The negative integers are {−n : n ∈ Z+ }, the negative positive integers,
denoted by Z− . The integers are the positive integers together with the negative
integers and 0, denoted by Z = Z+ ∪ {0} ∪ Z− .
Exercise 1.16 Prove: There is no integer in the open interval (0, 1).
Mathematical Induction.
To establish the algebraic structure of the integers there is some work to do and
Mathematical Induction will be a major tool. The following theorem establishes the
legitimacy of the induction procedure.
• 1∈S
• If n ∈ S, then n + 1 ∈ S
then S = Z+ .
This theorem is the basis for proof by mathematical induction: To prove a fact by
mathematical induction, first restate the fact as a statement about a subset of positive
integers. For example, define a set of positive integers, S, such that n ∈ S if and only
if some property, P (n), is true. Then show that S is an inductive set by
1.2. THE ORDER AXIOMS 25
Finally, apply Theorem 1.23 to conclude that S is all positive integers, so P (n) is true
for all n ∈ Z+ . Υ By all means use methods you have used before and are comfortable
with, but do understand how the process fits into the grand scheme of things.
The first theorems we will prove with induction establish the algebraic structure of the
integers.
Since the integers are a subset of the real numbers, they satisfy of all the field axioms,
except for the existence of multiplicative inverses, which is not ring axiom. So we only
need to show closure:
Outline of proof for sums. First, fix a positive integer m. Use induction to show that
{n ∈ Z+ : m + n ∈ Z} = Z+ and {n ∈ Z+ : −n + m ∈ Z} = Z+ . Finally, show that
the sum of two negative integers is an integer without another induction proof.
Exercise 1.17 Prove: The only two integers that have a multiplicative inverse are 1
and −1.
Theorem 1.25 THE WELL-ORDERING PRINCIPLE Every non-empty set of positive integers
contains a smallest integer.
Proof. Let W be a subset of the positive integers that does not contain a smallest
element. We will show that W = ∅. Let S = {k : [1, k] ∩ W = ∅}. We will show
that S is an inductive set.
26 CHAPTER 1. THE REAL NUMBER SYSTEM
NOTE: Do not confuse the above theorem with THE WELL-ORDERING THEOREM, a theo-
rem dependent on the Axiom of Choice. The Axiom of Choice is often included in
the axioms for set theory despite certain bizarre behavior such as the Banach-Tarski
Paradox. These considerations become of more interest in the the study of Lebesgue
integration and will not come up for us in this course.
Exercise 1.18 Use the THE WELL-ORDERING PRINCIPLE to prove that there is no positive
integer M such that 2k < M for all k ∈ Z+ .
Exercise 1.19 You may have noticed that our proof of THE WELL-ORDERING PRINCIPLE,
Theorem 1.25, could be simplified by using Strong Induction. Find a good statement of
strong induction and prove it using MATHEMATICAL INDUCTION, Theorem 1.23. Proceed to
rewrite the proof of THE WELL-ORDERING PRINCIPLE, Theorem 1.25, using strong induction.
Exercise 1.20 For practice with mathematical induction, prove the following two the-
orems. We will need both of them later in the course.
n
X 1
Theorem 1.26 For all positive integers n, k 2 = · n · (n + 1) · (2n + 1)
k=0
6
Proof. EFS
Theorem 1.27 BERNOULLI’S INEQUALITY For any positive real number, x, and for all
positive integers n, (1 + x)n ≥ 1 + n · x
Proof. EFS
Exercise 1.21 Bernoulli’s Inequality is useful for many things. Use it to prove that
1 1
< , for all n > 0.
2n n
1.2. THE ORDER AXIOMS 27
Inductive Definitions
Exercise 1.22 List the first 10 numbers in the following sequence, given by a recursive
formula.
a) x0 = 1 and xn = xn−1 + 5.
Exercise 1.23 Identify a pattern for the following sequences. Write a recursive formula
and a closed formula to describe each one.
Exercise 1.25 ΥMake a formal √ inductive definition that captures the procedure you
n
established for approximating 56, accurate to within (0.1) .
Definition We say that a real number, r , is a rational number whenever there exist
integers n and m such that
n
r=
m
We denote the set of all rational numbers by Q.
28 CHAPTER 1. THE REAL NUMBER SYSTEM
Exercise 1.26 Prove the following two theorems to establish the structure of the
rational numbers.
Proof. EFS
Proof. EFS
Exercise 1.27 Use the previous two theorems to support the claim: the rational num-
bers form an Ordered Field.
Exercise 1.28 The following exercise about even and odd integers gives enough ammu-
nition to show that the square root of 2 cannot be rational. Think of a good definition
for an even integer and an accompanying good definition for an odd integer. From
your definitions, prove the following things (not necessarily in this order; find the order
that works well for your definitions):
a) The sum of two even integers is even; the sum of two odd integers is even; the
sum of an even integer and an odd integer is odd.
b) Zero is an even; 1 is an odd; every integer is either odd or even, but not both.
f) The product of two odd integers is odd; the product of an even integer and any
integer is even.
If you cannot prove these things from your definitions, you will need to change your
definitions so that you can. We can now prove the following theorem.
NOTE: Nothing is being said about whether or not the square root of 2 actually
exists, only that, if it does exist, it cannot be a rational number. Because the rational
numbers satisfy all of our axioms so far, we know we need more to be able to say that
there is a real number, s, such that s 2 = 2. The final axiom is THE COMPLETENESS AXIOM
which provides what is needed and we will get there soon.
Definition The absolute value of x, written as |x|, defines a function. The value of
the function is given in parts:
(
x if x ≥ 0
|x| =
−x if x ≤ 0.
3. |x| = 0 ⇐⇒ x = 0.
Proof. EFS
Definition We say that the distance between a and b is |b − a|. We say that the
length of an interval is the distance between its endpoints.
It can be useful to think about absolute value in the more intuitive ideas of distance.
For example, Theorem 1.31 can be restated: The distance between any real number
and zero is positive, unless that number is zero - in which case, the distance is zero.
Theorem 1.32 The distance between two numbers is zero if and only if the two
numbers are equal.
Proof. |a − b| = 0 ⇐⇒ a − b = 0 ⇐⇒ a = b.
The following, while obvious, is useful because it can eliminate cases when proving
the THE TRIANGLE INEQUALITY, Theorem 1.2.4, which in turn is very useful throughout
analysis.
Proof. If x is positive, it is the right endpoint of the interval [−|x|, |x| ]. If x is negative,
it is the left endpoint. If x = 0, then −|x| = x = |x|. In any case, −|x| ≤ x ≤ |x|.
Exercise 1.29 Provide proofs for Theorems 1.34 - 1.36. State the theorems in terms
of distances when possible. Some of the proofs are provided.
Proof. The statement of this theorem is the contrapositive of Theorem 1.34 and
hence true.
THE TRIANGLE INEQUALITY and related facts will be used repeated when we discuss limits.
|x + y | ≤ |x| + |y |
2. DISTANCE FORM OF THE TRIANGLE INEQUALITY For any three real numbers, x, y & z,
|x − y | ≤ |x − z| + |z − y |
Distance formulation: the length of one side of a triangle is less than or equal
to the sum of the lengths of the other two sides.
|x − y | ≥ |x| − |y |
Distance formulation: the distance between two numbers is greater than the
difference between the absolute values of the numbers.
|x − y | ≥ ||x| − |y ||
Distance formulation: the distance between two points is greater than or equal
to the distance between the absolute values of the numbers.
Proof. The last three versions follow from the first by judicious choice of variables.
32 CHAPTER 1. THE REAL NUMBER SYSTEM
1. The following makes use of the fact that |x| + |y | = ||x| + |y || when using
Theorem 1.34.
3. EFS
4. EFS
Exercise 1.30 Prove: If a < c < d < b then the distance between c and d is less than
the distance between a and b.
Exercise 1.31 Use THE TRIANGLE INEQUALITY, Theorem 1.36, to prove these two other
versions.
a) |x − y | ≤ |x| + |y |
b) |x + y | ≥ |x| − |y |
Exercise 1.32 Here are some more basic facts about absolute value. Prove them
directly from the definition.
a) | − x| = |x|
b) |y − x| = |x − y |
c) |x 2 | = |x|2
d) If x 2 = c, then |x|2 = c
e) |x · y | = |x| · |y |
f) |x −1 | = |x|−1
True or False 8
Which of the following statements are true? Try stating and graphing each one as a
fact about distances.
d) |1 + 3x| ≤ 1 =⇒ x ≥ − 23
g) |a − x| < ⇐⇒ x ∈ (a − , a + )
Example 1.5 Using absolute value is often a convenient way to define intervals. Confirm
that
[3, 7] = {x : |x − 5| ≤ 2|}
In general, if a ≤ b, then
d a+b
[a, b] = {x : |x − m| ≤ }, where m = and d = b − a.
2 2
Exercise 1.33 ΥGraph the set determined by each inequality on a number line. Explain
your conclusion.
a) |2x − 4| < 5
b) |2x − 4| ≥ 5
Exercise 1.34 Prove: If x is in the interval (a, b) then the distance between x and the
midpoint of the interval is less than half the length of the interval.
Exercise 1.35 If the distance between two integers is less than 1, the integers are
equal.
Definition We say a set S ⊂ R is bounded above whenever there exists a real number
M such that s ≤ M for all s ∈ S.
34 CHAPTER 1. THE REAL NUMBER SYSTEM
Definition We say a set S ⊂ R is bounded below whenever there exists a real number
m such that s ≥ m for all s ∈ S.
Both of the following theorems describe common techniques used in proofs about
boundedness.
Theorem 1.37 A set S ⊂ R is bounded if and only if it is bounded above and bounded
below.
Proof. EFS
−S = {x ∈ R : −x ∈ S},
is bounded below.
Proof. EFS
Exercise 1.36 Υ Give three examples of sets that are bounded and three examples of
sets that are not bounded. Which of your assertions can you prove to be true?
Exercise 1.37 Υ Give three examples of sets that are bounded above but not below.
Which of your assertions can you prove to be true?
1. L is an upper bound of S
2. if u is an upper bound of S, then L ≤ u.
Definition Write out a definition for greatest lower bound, G, and minimum of S.
Theorem 1.40 Any two least upper bounds for a non-empty set, S, are equal. Any
two greatest lower bounds for a non-empty set, S, are equal.
Proof. Let L1 and L2 both be least upper bounds for S. Without loss of generality,
assume that L1 ≤ L2 Since L2 is a least upper bound, it must be less than or equal
to L1 , which is a upper bound of S. Hence, L2 ≤ L1 ≤ L2 . By trichotomy, L1 = L2 .
A similar proof works for the greatest lower bounds.
1.2. THE ORDER AXIOMS 35
Notation As usual uniqueness allows us to name the least upper bound and the
greatest lower bound of a set, should they exist. We use the abbreviation sup S
and say, supremum of S, for the least upper bound of set S. Similarly we use the
abbreviation inf S and say, infinum of S, for the greatest lower bound of S. In the
case when sup S ∈ S, we also call it the maximum of S. If inf S ∈ S, we call it the
minimum of S
Example 1.6 The greatest lower bound of the open interval, (5, 10), is 5
1. 5 is a lower bound: By definition of the open interval, 5 < x for all x ∈ (5, 10).
2. 5 is greater than any other lower bound: Suppose h is a lower bound greater
than 5, so 10 > h > 5. Consider m = 5+h 2 , the average of 5 and h. We know
5 < m < h < 10. Since m ∈ (5, 10), h is not a lower bound for (5, 10). Since
any number greater than 5 is not a lower bound, 5 must be the greatest one.
Exercise 1.38 For any two real numbers, a < b, the least upper bound of the interval
(a, b) is b.
Exercise 1.41 Give three examples of functions that are not bounded.
36 CHAPTER 1. THE REAL NUMBER SYSTEM
True or False 9
The answers to the last question is ’Yes’ (see Theorem 1.48), but we can’t prove it
yet. We need another axiom:
Axiom 9 THE COMPLETENESS AXIOM A non-empty set of real numbers that is bounded
above has a least upper bound.
Clearly, there is an analogous fact for lower bounds, but it need not be stated as part
of the axiom. Instead it can be proved from the axiom. The technique is a standard
good trick to know.
Theorem 1.42 EXISTENCE OF GREATEST LOWER BOUND A non-empty set of real numbers
that is bounded below has a greatest lower bound.
A word about The greek letter, ’epsilon,’ , is often used in situations where the
interesting part is numbers getting arbitrary small. What we mean by arbitrarily small
is that the inf of the set of positive ’s we are considering is 0. We use to stand in
for ’error,’ which we like to be small.
Theorem 1.43 Let S be a non-empty set of real numbers that is bounded above.
NOTE: This is what we mean when we say that there are numbers in S get arbitrarily
close to sup S.
1.3. THE COMPLETENESS AXIOM 37
Exercise 1.42 State and prove the analogous theorem for the greatest lower bound of
a set that is bounded below.
Theorem 1.44 Let S be a non-empty set of real numbers that is bounded above. Let
U be the set of all upper bounds for S, that is,
Outline of Proof. Any u ∈ U is an upper bound for S, so u ≥ sup S, the least upper
bound. So sup S is a lower bound for U. Any number greater than sup S, is an upper
bound for S and hence ∈ U. So sup S is the greatest lower bound. Draw a numberline
picture to help explain the situation.
Exercise 1.43 State and prove an analogous theorem for a set of real numbers that is
bounded below.
The following theorem is a forerunner to THE NESTED INTERVAL THEOREM which we will
be using extensively fro the rest of the course.
Theorem 1.45 Given two non-empty subsets, A ⊂ R and B ⊂ R, such that every
element in A is a lower bound for B and every element in B is an upper bound for A,
there exists a real number between the two sets. That is, there exists a real number,
r , such that for all a ∈ A and b ∈ B, a ≤ r ≤ b In fact,
sup A ≤ r ≤ inf B
Outline of Proof: Apply Axiom 9 to argue that A has a least upper bound and that
B has a greatest lower bound. Show that sup A is a lower bound for B, and hence
that sup A ≤ inf B. Then r could be any number in between the two. Draw a number
line picture to illustrate the proof.
NOTE: Notate the sequence by In = [an , bn ], for n > 0. Convince yourself of the
following and draw a numberline picture to help explain the theorem.
1. That each interval, In , is not empty is equivalent to saying that for all n, an ≤ bn ,
2. That each interval is closed means that the endpoints are contained in the
interval and that’s why we used the closed brackets to denote the intervals.
3. That the sequence is nested means that, for all n > 0, [an+1 , bn+1 ] ⊂ [an , bn ] or
that an ≤ an+1 and that bn+1 ≤ bn .
Proof of The Nested Interval Theorem 1.46. Let A = {an : n > 0} and let B = {bn :
n > 0}. Since the intervals are non-empty and nested, an ≤ bm for all positive integers
n and m. Theorem 1.45 applies to the sets, A and B, so there exists a real number,
r , such that an ≤ r ≤ bn for all n. Since r is in all the intervals, it is also in the
intersection. And since it is also true that sup an ≤ r ≤ inf bn , if sup an = inf bn , then
any point in the intersection must be equal to both.
Proof. We will prove this theorem by contradiction: assume the set of positive integers
is bounded. By Axiom 9 there would be a least upper bound. Let L be this least upper
bound. Then L − 1, being less than L, is not an upper bound for the positive integers.
Let N be a positive integer greater than L − 1. We have L − 1 ≤ N =⇒ L ≤ N + 1.
Since L is an upper bound for the set of positive integers and N + 1 is a positive
integer, we also have that L ≥ N + 1. Together this means that L = N + 1. But then
N + 2 is an integer great than L so L couldn’t be a upper bound.
Exercise 1.45 Use Theorem 1.47 to show that the integers are not bounded.
Theorem 1.48 ARCHIMEDES PRINCIPLE For all real numbers > 0, there exists a positive
1
integer N such that < .
N
Proof. The negation of this statement is that there exists a positive real number ,
1 1
such that for all positive integers, N, ≥ . But this says that N ≤ for all N, or
N
1
that the integers are bounded by . This is false so the Archimedes Principle must be
true.
This easy restatement of Archimedes Principle is the first of many squeeze theorems.
1.3. THE COMPLETENESS AXIOM 39
1
Theorem 1.49 SQUEEZE THEOREM 1 If 0 ≤ h < n for all n ∈ Z+ , then h = 0.
Theorem 1.50 GENERALIZED ARCHIMEDES PRINCIPLE For all real numbers x and d > 0,
there exists a positive integer N such that x < N · d.
Proof. Use Archimedes Principle to prove this theorem. Note that Archimedes Prin-
ciple, in turn, follows from this theorem.
Exercise 1.46 Show that Archimedes Principle holds for rational numbers. That is,
prove the following theorem without using the Archimedes Principle.
Theorem 1.51 For all rational numbers, r > 0, there exists a positive integer, N, such
that 0 < N1 < r.
Proof.
Exercise 1.47 The following theorem follows from Archimedes Principle using Exercise
1.21. We use it in the next (optional) section and in later work. Prove it.
B
Theorem 1.52 For all B, h > 0, there exists an integer n > 0 such that <h
2n
Proof. EFS
Theorem 1.53 The Nested Interval Theorem and Archimedes Principle imply the
Completeness Axiom
2. If m is not an upper bound for S then there exists an+1 ∈ S that is greater
than or equal to m. Note that an+1 ≤ bn because bn is an upper bound for
S. Let bn+1 = bn .
If an+1 = bn+1 this is the least upper bound and we are done, so assume an+1 <
bn+1 . Notice that [an+1 , bn+1 ] ⊂ [an , bn ] and |bn+1 −an+1 | ≤ 21 |bn −an | ≤ 21 b02−a
n
0
=
b0 −a0
2n+1 , so the new interval satisfies the requirements.
By THE NESTED INTERVAL THEOREM, all these intervals contain a common point, b. By
ARCHIMEDES PRINCIPLE, b is the only common point: For, if a is another one then 0 <
|b − a| < b02−a
n
0
< n1 for all n, this implies b = a by SQUEEZE THEOREM 1.
Claim: b is an upper bound for S. Proof: Suppose not. then there is some a ∈ S
with a > b. By ARCHIMEDES PRINCIPLE, in the form of Theorem 1.52, for some n,
|a − b| > |b02−a
n
0|
= |bn − an | so (removing parentheses) a − b > bn − an > bn − b
(an < b) or a > bn . This shows that a must be an upper bound. a must be the least
upper bound since it is in S. So a ≤ bn all n. a is in all the intervals so a = b.
Supposes b is not the least upper bound, there there exists an upper bound for S, a,
with a < b ≤ bn , for all n. Since a is an upper bound for S, an ≤ a for all n so a is in
all the intervals. a = b again.
So b is the least upper bound for S.
Exercise 1.48 The following sequence of theorems can be used to prove that the
rational numbers are dense in R. Prove Theorems 1.55 - 1.59.
Theorem 1.54 Any non-empty set of integers that is bounded below has a minimum
number.
Proof. EFS
Theorem 1.55 For every real number, r , there exists a unique integer, n, such that
r < n ≤ r + 1.
Proof. HINT: For r > 0, use well-ordering to find smallest positive integer greater
than or equal to r . This will be n.
Theorem 1.56 For every real number, r , there exists a unique integer, m, such that
m ≤ r < m + 1.
1.3. THE COMPLETENESS AXIOM 41
Proof. EFS
Theorem 1.57 If b > a + 1, then the open interval, (a, b) contains an integers.
Proof. EFS
Proof. EFS
Theorem 1.59 Given any real number, α, there exists a rational number arbitrarily
close to α. That is, given > 0, there exists a rational number, r , such that |α−r | <
This section is a mini-lesson on how making good, mathematical definitions can sim-
plify understanding and proving. The problem with our current definition of interval
is that there are too many parts to it. We have to worry about open and closed
endpoints as well as unbounded intervals. A simplified definition may make it easier
to prove things about intervals. The following two theorems exploit a condition that
is simple to use. Reminder: our current definition says that an interval is one of the
following:
Exercise 1.49 Write all cases for the proof of the following Theorem, 1.60. The
proof is straight forward but tedious because each type of interval must be dealt with
separately.
Proof. EFS
What if we used the condition 1.1 from the theorem as the definition of interval?
Would we get the same sets are intervals?
Proof. First, suppose S is bounded. Let z be any point strictly between a = inf S
and b = sup S. There is a point, x ∈ S greater than z (otherwise z would be a upper
bound, less than b, the least upper bound) and a point y ∈ S less than z (otherwise z
would be a lower bound, greater than a, the greatest lower bound). By the condition,
z ∈ S. Now (a, b) ⊂ S ⊂ [a, b], so S is an interval by our previous definition.
Second, suppose that S is unbounded above, but not below. Let z be any point
greater than a = inf S. There is a point, x ∈ S greater than z (otherwise z would be
a upper bound for S.) and a point y ∈ S less than z (otherwise z would be a lower
bound, greater than a, the greatest lower bound). By the condition, z ∈ S. Now
(a, ∞) ⊂ S ⊂ [a, ∞) so S is an interval by our previous definition.
The other two cases are similar.
Notice that this proof depends on the completeness axiom. In the rational numbers,
there are sets that satisfy condition (1.1) but are not intervals in our original definition.
Exercise 1.50 Show that {r ∈ Q : r 2 > 2} satisfies condition (1.1), but it cannot be
written as (a, +∞) for any a ∈ Q.