








































Study with the several resources on Docsity
Earn points by helping other students or get them with a premium plan
This page cannot be seen from the preview
Don't miss anything!









































NICKOLAS ANDERSEN
The textbook for the course is Ross, Elementary Analysis [2], but in these notes I have also borrowed from Tao, Analysis I [3], and Abbott, Understanding Analysis [1].
2 is an irrational number, it was assumed that: given any two line segments AB and CD, there is a rational number r so that the length of CD equals r times the length of AB. However, the length of the diagonal of a square of side length 1 (using the Pythagorean Theorem) equals
2, so by the previous assumption, we must have that
2 is a rational number. The proof of the following theorem is one of the most classic proofs in mathematics.
Theorem 1.1. There is no rational number whose square is 2.
Proof. Suppose that x^2 = 2 and that x is a rational number. Recall that a rational number is one which can be expressed as p/q for integers p and q. To prove that there are no integers p, q for which x = p/q we will employ an important proof technique called proof by contradiction. That is, we will assume that x = p/q for some integers p, q and we will carefully follow logical steps until we end up with something absurd. Thus, our original assumption must have been faulty. Here we go. Suppose that there are integers p, q for which ( p q
We may assume that p and q have no common factors, since we could just cancel the common factors and write p/q in lowest terms. Equation (1.1) implies that
p^2 = 2q^2. (1.2)
It follows that p^2 is an even number (it’s 2 times an integer), and therefore p is an even number (you can’t square an odd number and get an even number). So we can write p = 2r 1
2 NICKOLAS ANDERSEN
for some integer r. Then equation (1.2) becomes (after cancelling 2s)
2 r^2 = q^2.
By the previous discussion, this implies that q is even. But that’s ridiculous! We assumed that p and q had no factors in common, but we just showed that p and q were both even. Since we have reached a contradiction, it must be that our inital assumption (1.1) was false. Thus 2 is not the square of any rational number.
The previous theorem shows that there is a “hole” at
2 in the rational numbers. The importance of this fact cannot be overstated. Later it will lead us to the Axiom of Com- pleteness which is an essential property that the real numbers enjoy which basically states that there are no holes in the set of real numbers. This will lead us to limits, derivatives, continuity, and eventually integrals. But first we need to take a few steps back and start at the beginning.
N := { 1 , 2 , 3 , 4 , 5 ,.. .}.
We are no longer in the business of informal definitions, so we’ll need to build N from scratch. In excruciating detail. Let’s think about what we want in a set of numbers. In mathematics, it is often desirable not to think too carefully about the actual elements in a set, but more about what you want those elements to do (i.e. what operations or functions do you want to apply to those elements?). A few moments of thought might lead you to say that the most important thing we do with the natural numbers is counting (you might have said addition or multiplication, but addition is just repeated counting, and multiplication is just repeated addition). So it stands to reason that we should construct the natural numbers so that we can count with them. We will begin with two concepts: the number 1, and the successor n + 1. Note that we haven’t defined addition yet (we don’t even know what the numbers are!) so n + 1 doesn’t mean n “plus” 1. Yet. It’s just an expression that we use to denote the successor of n. Informally (but less informally than before), we will define the natural numbers as the set containing 1, the successor 1 + 1, the successor (1 + 1) + 1, the successor ((1 + 1) + 1) + 1, etc. This leads to our first two axioms.
Axiom 1: 1 is a natural number. Axiom 2: If n is a natural number, then n + 1 is a natural number.
By Axioms 1 and 2, we see that
((((((1 + 1) + 1) + 1) + 1) + 1) + 1) + 1
is a natural number. Don’t worry, we won’t write numbers like this; instead we’ll use the notation we’re all familiar with. So the number above is called 8. But for now, the symbol 8 means nothing other than a shorthand notation for the successor of the successor of the successor of the successor of the successor of the successor of the successor of 1.
4 NICKOLAS ANDERSEN
assuming it is true for n, we check that it is true for n + 1. Here is an example (note: this example really belongs later in the course, after we’ve defined addition and multiplication and division, but I’m happy to time travel for a few seconds if you are).
Proposition 2.3. For all natural numbers n we have
1 + 2 +... + n =
n(n + 1) 2
Proof. For each n, the statement we want to prove is
Pn : “1 + 2 +... + n =
n(n + 1) 2
We proceed by induction. We begin with P 1 , which states that 1 = 1(1+1) 2. This is certainly true. Suppose that Pn is true, i.e. suppose that
1 + 2 +... + n =
n(n + 1) 2 is a true statement. We wish to show that Pn+1 is true. Add n + 1 to both sides to obtain
1 + 2 +... + n + n + 1 =
n(n + 1) 2
(n + 1)(n + 1 + 1) 2
Thus Pn+1 holds if Pn holds. By the principle of mathematical induction, Pn holds for all natural numbers n.
Note that we didn’t prove Pn directly for any n except for n = 1. We just proved P 1 , and we proved that if P 1 is true, so is P 2 (thus P 2 is true), and we proved that if P 2 is true, so is P 3 (thus P 3 is true), and we proved that if P 3 is true, so is P 4 (thus P 4 is true), etc. It’s like stacking up an infinite line of dominoes and knocking over the first one. Since we will use induction regularly to prove things in lecture, homework, and exams, it might be useful to have a template for such proofs.
Proposition 2.4. A property Pn is true for all natural numbers n.
Proof. We proceed by induction on n (it’s good to specify the variable if there are several variables in the statement you want to prove). We first verify the base case n = 1, i.e. we prove that P 1 is true. [Insert proof of P 1 here]. Now suppose that Pn has already been proven. We show that Pn+1 is true. [Insert proof of Pn+1, assuming Pn]. It follows that Pn is true for all natural numbers n.
MATH 131A: REAL ANALYSIS 5
Informally, the set of integers is made up of the positive integers, the negative integers and 0. We know the positive integers well; these are just the natural numbers. We can add (2 + 3 = 5) and multiply (2 · 3 = 6) natural numbers as usual. (Formally, m + n is defined as applying the successor to m, n times; multiplication is then defined as repeated addition.) These operations satisfy the rules
a + b = b + a, (commutative law for addition) (a + b) + c = a + (b + c), (associative law for addition) a · b = b · a, (commutative law for multiplication) (a · b) · c = a · (b · c), (associative law for multiplication) a · 1 = a, (multiplicative identity) (a + b) · c = a · c + b · c. (distributive law) In order to define subtraction, we introduce the additive inverse of a number and the additive identity element. The additive identity element, 0, is defined by its behavior under addition via
n + 0 = 0 + n = n. (additive identity)
(Note: we could have defined the natural numbers to include 0, and some authors do this. But Ross [2] doesn’t, so we won’t.) For each natural number n, the additive inverse of n, which we will call −n, is defined by the property
n + (−n) = (−n) + n = 0. (additive inverse)
Subtraction is then defined via
a − b := a + (−b).
(Note: here I’m being quite informal and sweeping some subtleties under the rug. For example, we would like to say that the integers 1 − 5 and 2 − 6 and 3 − 7, etc., are all the same, but the definition I’ve given you above doesn’t account for that. But to do this properly, we would have to introduce the notion of equivalence classes, which we won’t do here. See Tao’s book [3] if you are interested in learning more.) We define the integers as the elements of the set
Z := N ∪ { 0 } ∪ (−N).
Here −N is the set consisting of the additive inverses of all the natural numbers, i.e., the negative integers. The notation ∪ means union. For any two sets A and B, the set A ∪ B consists of all the elements that are in A and/or B. As you are already aware, the laws listed above extend to the entire set Z of integers. Using these laws, we can prove some familiar properties of integers.
Proposition 3.1. Suppose that a, b, c ∈ Z. Then
(1) a + c = b + c implies that a = b, (2) a · 0 = 0, (3) (−a) · b = −(a · b), (4) (−a) · (−b) = a · b, (5) a · b = 0 implies that a = 0 or b = 0 (or both), (6) a · c = b · c and c 6 = 0 together imply that a = b.
MATH 131A: REAL ANALYSIS 7
here. If a, b, c ∈ Q then
a + b = b + a, (commutative law for addition) (a + b) + c = a + (b + c), (associative law for addition) n + 0 = n, (additive identity) n + (−n) = 0, (additive inverse) a · b = b · a, (commutative law for multiplication) (a · b) · c = a · (b · c), (associative law for multiplication) a · 1 = a, (multiplicative identity) n · n−^1 = 1, (multiplicative inverse) (a + b) · c = a · c + b · c. (distributive law)
A number system which satisfies all of these properties (and for which 0 6 = 1; that would be weird) is called a field. The set field Q is actually an ordered field, which means that it has an order structure ≤ which obeys the following rules (which you are already familiar with):
(O1) For all a, b ∈ Q, either a ≤ b or b ≤ a. (O2) If a ≤ b and b ≤ a then a = b. (O3) If a ≤ b and b ≤ c then a ≤ c. (O4) If a ≤ b then a + c ≤ b + c. (O5) If a ≤ b and c ≥ 0 then ac ≤ bc.
Using these rules, we can prove the following properties. Note that a > b means that a ≥ b and a 6 = b.
Proposition 3.2. If a, b, c ∈ Q then the following properties hold.
(1) If a ≤ b then −a ≥ −b. (2) If a ≤ b and c ≤ 0 then ac ≥ bc. (3) If a ≥ 0 and b ≥ 0 then ab ≥ 0. (4) a^2 ≥ 0 for all a. (5) 0 < 1. (6) If a > 0 then a−^1 > 0. (7) If 0 < a < b then 0 < b−^1 < a−^1.
Proof. (1) We apply (O4) with c = (−a) + (−b). If a ≤ b then
−b = −b + a + (−a) = a + (−a) + (−b) ≤ b + (−a) + (−b) = (−a) + b + (−b) = −a,
as desired. (2) Suppose that c ≤ 0. Then by (1) we have −c ≥ 0. If a ≤ b then by (O5) we have (−c)a ≤ (−c)b which implies that −(ac) ≤ −(bc). Applying (1) again we find that ac ≥ bc. (3) Follows immediately from (O5) with a = 0. (4) By (O1), either a ≥ 0 or a ≤ 0. If a ≥ 0 then we apply (3) with b = a. If a ≤ 0 then by (1) we have −a ≥ 0. By (3) again we have (−a)(−a) ≥ 0, i.e. a^2 ≥ 0. (5) Exercise.
8 NICKOLAS ANDERSEN
(6) Suppose, by way of contradiction, that a > 0 but a−^1 ≤ 0. Applying (2) to 0 ≤ a we find that 0 = 0 · a−^1 ≥ aa−^1 = 1, which contradicts (5). (7) Exercise.
|x − y| < ε,
where ε > 0 is some very small positive number. The absolute value is defined by
|x| =
x if x > 0 , 0 if x = 0, −x if x < 0.
From this definition, we immediately see that
|x| ≥ 0 for all x.
The absolute value plays nicely with multiplication:
|xy| = |x| · |y|,
which you can prove easily by splitting into the four cases x, y ≥ 0, x, −y ≥ 0, −x, y ≥ 0, and x, y ≤ 0. The following theorem is probably the most important and most used inequality in anal- ysis. It’s so important that it has its own name.
Theorem 4.1 (The Triangle Inequality). For all x, y ∈ Q we have
|x + y| ≤ |x| + |y|.
To prove the triangle inequality, we require the following lemmas which you will prove as exercises.
Lemma 4.2. For all x ∈ Q we have −|x| ≤ x ≤ |x|.
Lemma 4.3. For all x, y ∈ Q we have |x| ≤ |y| if and only if −|y| ≤ x ≤ |y|.
Proof of Theorem 4.1. Using Lemma 4.3, it is enough to prove that
−(|x| + |y|) ≤ x + y ≤ |x| + |y|.
But this follows by adding together the inequalities
−|x| ≤ x ≤ |x| −|y| ≤ y ≤ |y|
from Lemma 4.2.
10 NICKOLAS ANDERSEN
Note: the restriction that ε needs to be a rational number is there purely because we don’t know what a real number is yet. Later we will consider Cauchy sequences of real numbers and we will think of ε as being any positive real number. You should not think about this distinction too much, as it will not be important in the long run. We should unpack Definition 5.1; it’s quite important to understand this well. It’s saying that a Cauchy sequence is a sequence whose terms eventually (i.e. there exists a positive integer N ) get really close together (i.e. |am − an| < ε). Note that this needs to hold for all m, n ≥ N , not just n and n + 1, say. You should think of ε as being a microscopically tiny number; so for ε = 101 or 1001 or 10110 or 101100 , etc. the terms of our sequence are eventually at most a distance of ε apart.
Proposition 5.2. The sequence (1, 12 , 13 , 14 , 15 , 16 , 17 ,.. .) is a Cauchy sequence.
Proof. We would like to come up with a natural number N so that ∣ ∣ ∣
1 m −^
1 n
∣ < ε whenever m, n ≥ N.
Using the fact that m, n ≥ N , together with the triangle inequality, we find that ∣ ∣ ∣
1 m −^
1 n
1 m +^
1 n ≤^
2 N.
So it is enough to come up with a number N for which 2/N < ε or, in other words, N > 2 /ε. But this is possible by the Archimedean property (the following proposition). Now that we’ve done some scratch work, let’s write out a formal proof. Given ε > 0, choose a natural number N > 2 /ε. Then if m, n ≥ N we have
|am − an| =
1 m −^
1 n
1 m +^
1 n <^
ε 2 +^
ε 2 =^ ε.
Therefore (ai) is a Cauchy sequence.
To complete the proof we need the Archimedean property.
Proposition 5.3 (The Archimedean property). For each x ∈ Q there exists an n ∈ N such that n > x.
Proof. Since x ∈ Q there exist integers p, q with q ≥ 1 such that x = p/q. If p ≤ 0, we can just take n = 1. So we may assume that p ≥ 1. Then we can take n = p since q ≥ 1 implies that p/q ≤ p < p + 1.
Here’s a non-example.
Proposition 5.4. For each n ≥ 1 let Hn := 1 + 12 + 13 + · · · + (^1) n. Then the sequence (H 1 , H 2 , H 3 ,.. .) is not a Cauchy sequence.
Proof. In order to show that a sequence is not Cauchy, it suffices to find a specific ε > 0 such that for all N ∈ N we have
|am − an| ≥ ε for some m, n ≥ N.
That is, no matter how big you take N , we will always be able to find a pair m, n for which am and an are greater than ε apart. For this particular sequence we can take ε = 12. For each n ∈ N, consider the difference
|H 2 n − Hn| = 1 n + 1 +^
1 n + 2 +^
1 n + 3 +^ · · ·^ +^
1 2 n.
MATH 131A: REAL ANALYSIS 11
Notice that there are exactly n terms in the sum, and each term is larger than (or equal to) the smallest one (^21) n. Thus
|H 2 n − Hn| ≥ 1 2 n +^ · · ·^ +^
1 2 n =^
1
Therefore, no matter how big you choose N , we will always be able to find a pair n, m(= 2n) such that |am − an| ≥ 12 , which shows that the sequence (Hn) is not Cauchy.
Right now, proving that a sequence is Cauchy requires a bit of work, even for a sequence as simple as ( (^1) n ). Later we will prove some limit laws that allow us to determine when a sequence is Cauchy more easily. We would like to do arithmetic on Cauchy sequences like addition and multiplication, but first we need to develop the notion of boundedness.
Definition 5.5. A sequence (ai) is bounded if there exists a (rational) number M such that |ai| ≤ M for all i ≥ 1. In this case, we say that (ai) is bounded by M.
Lemma 5.6. Every finite sequence (a 1 ,... , an) is bounded.
Proof. We proceed by induction on the length n. If n = 1 then the statement of the lemma is clear by taking M = |a 1 |. We want to show that the sequence (a 1 ,... , an, an+1) is bounded. By the induction hypothesis, every list of length n is bounded; in particular (a 1 ,... an) is bounded. Then there exists some M such that |ai| ≤ M for 1 ≤ i ≤ n. Since the list (a 1 ,... , an+1) is bounded by M + |an+1|, we are done.
Proposition 5.7. Every Cauchy sequence is bounded.
Proof. Suppose that (ai) is a Cauchy sequence. Taking ε = 1, this means that there is some N ∈ N for which |am − an| ≤ 1 for all m, n ≥ N. This splits our sequence into a finite piece (indices 1 through N ) and an infinite piece (index N and after). (Note that we are using aN in both pieces.) By Lemma 5.6, the finite piece is bounded, say by M. Using the Triangle Inequality we find that
|an| = |an − aN + aN | ≤ |an − aN | + |aN | < 1 + M.
It follows that (an) is bounded by M + 1.
The trick we used in the preceding proof of adding and subtracting aN (clever addition of
Proposition 5.8. If (ai) and (bi) are Cauchy sequences then so are (ai + bi) and (aibi).
Proof. Given ε > 0 there are natural numbers Na and Nb such that
|am − an| < ε 2 and |bm − bn| < ε 2
if m, n ≥ Na and m, n ≥ Nb (you’ll see in a minute why we chose ε/2). Let N = max{Na, Nb} and suppose that m, n ≥ N. Then
|(am + bm) − (an + bn)| = |(am − an) + (bm − bn)| ≤ |am − an| + |bm − bn| < ε 2
ε 2 = ε.
Thus (ai + bi) is a Cauchy sequence.
MATH 131A: REAL ANALYSIS 13
And for this fixed N 0 there is a fixed n 0 ≥ N 0 for which
|an 0 | = |an 0 − 0 | ≥ ε 0. (5.1) I claim that |an| ≥ ε 0 /2 for every n ≥ N 0. Why? Suppose, by way of contradiction, that |an 1 | < ε 0 /2 for some n 1 ≥ N 0. Then, by the triangle inequality
|an 0 | = |an 0 − an 1 + an 1 | ≤ |an 0 − an 1 | + |an 1 | < ε 0 2 +^
ε 0 2 =^ ε^0. But this contradicts (5.1), so we must have |an| ≥ ε 0 /2 for every n ≥ N 0. This almost does it. We have shown that the sequence an eventually satisfies |an| ≥ m for m = ε 0 /2. We simply define bi = m for 1 ≤ i < N 0 and bi = ai for i ≥ N 0. It is clear that (ai) and (bi) are equivalent because |ai − bi| = 0 for all i ≥ N 0. This finishes the proof.
Sequences such as (bi) from the previous proposition which satisfy |bi| ≥ m for some m > 0 are said to be bounded away from zero.
Proposition 5.11. Suppose that (ai) is a Cauchy sequence which is bounded away from zero. Then the sequence (a− i 1 ) is also a Cauchy sequence.
Proof. Since (ai) is bounded away from zero, there exists some m > 0 for which |ai| ≥ m for all i. Thus
|a− m^1 − a− n 1 | =
am − an aman
|am − an| m^2
So it suffices to find an N for which m, n ≥ N implies that |am − an| < m^2 ε. But (ai) is a Cauchy sequence, so we can certainly do that.
Now we can define division of sequences via (aib− i 1 ) as long as the sequence (bi) is bounded away from zero. Furthermore, Proposition 5.10 shows that any sequence (bi) which is not equivalent to the zero sequence is equivalent to a sequence (ci) which is bounded away from zero. So we should be able to divide by any sequence which is not equivalent to zero by just swapping (bi) out for (ci). But how do we know that this is well-defined? That is, does the result depend on which sequence (ci) we choose to swap out for (bi)? There will be many choices in general. This opens up a whole new can of worms. It’s time to finally define what we mean by a real number, and then we will be able to answer some of the questions posed above. To do this we will introduce a formal symbol “ lim ”an which you should think of as merely a symbol (hence the quotation marks). We are using “ lim ” so that your brain thinks of this as the familiar limit of a sequence, but since we haven’t defined what we mean by limit yet, this is still just a symbol.
Definition 5.12. A real number is defined to be an object of the form “ lim ”an where (an) is a Cauchy sequence of rational numbers. Two real numbers “ lim ”an and “ lim ”bn are said to be equal if (an) and (bn) are equivalent Cauchy sequences. The set of real numbers is R.
It is a good idea to check that this definition of equal is consistent.
Lemma 5.13. Suppose that x = “ lim ”an, y = “ lim ”bn, and z = “ lim ”cn are real numbers. Then
(1) x = x, (2) if x = y then y = x, (3) if x = y and y = z then x = z.
Proof. Exercise.
14 NICKOLAS ANDERSEN
Are the rational numbers also real numbers? In a formal sense, the answer is “no” because real numbers are technically objects of the form “ lim ”an, and rational numbers are not. But there is a sense in which we can embed Q into R: for each rational number x, the sequence (x, x, x,.. .) is Cauchy (why?) and so the object “ lim ”x is a real number. In this way we can think of the rational numbers as sitting inside the reals, i.e. Q ⊂ R. Since we know how to add, subtract, multiply, and divide sequences, we can do those operations immediately on real numbers. But there is one subtelty that we should take care of: if x, y, and z are real numbers and x = y, then is it the case that x + z = y + z? Similarly, is it the case that x · z = y · z? Since two different Cauchy sequences can represent the same real number, it’s not immediately clear. The following lemma takes care of this.
Lemma 5.14. Addition, multiplication, and reciprocation are well defined. That is, suppose that x = “ lim ”an, x′^ = “ lim ”a′ n, and y = “ lim ”bn with x = x′. Then we have
(1) x + y = x′^ + y, (2) x · y = x′^ · y, (3) if x 6 = 0, then x−^1 = (x′)−^1.
Proof. (1) We need to show that the sequences (an + bn) and (a′ n + bn) are equivalent. Let ε > 0 be given. Since x = x′, the sequences (an) and (a′ n) are equivalent, so there exists a number N for which |an − a′ n| < ε whenever n ≥ N.
So if n ≥ N we have
|(an + bn) − (a′ n + bn)| = |an − a′ n| < ε. Thus (an + bn) is equivalent to (a′ n + bn). (2) Exercise. (3) Suppose that x 6 = 0. Then x′^6 = 0 by Lemma 5.13. So x = “ lim ”an and x′^ = “ lim ”bn for some Cauchy sequences (an) and (bn) which, by Proposition 5.10 we can take to be bounded away from zero. Consider the product P defined by P := x−^1 x(x′)−^1 = “ lim ”a− n 1 “ lim ”an“ lim ”b− n 1.
By the definition of multiplication, we have P = “ lim ”(a− n 1 anb− n 1 ) = “ lim ”b− n 1 = (x′)−^1. On the other hand, by (2) we have
P = x−^1 x′(x′)−^1 = “ lim ”a− n 1 “ lim ”bn“ lim ”b− n 1 = “ lim ”(a− n 1 bnb− n 1 ) = “ lim ”a− n 1 = x−^1. Comparing the two expressions for P , we find that x−^1 = (x′)−^1.
We now define division of real numbers via x/y = x · y−^1. One can show without too much difficulty (and we have almost completely done it already) that the real numbers satsify all of the field properties on page 7. It remains to define an ordering on the reals as well as the absolute value.
Definition 5.15. A nonzero real number x is positive (and we write x > 0) if it can be represented by a Cauchy sequence (ai) with ai > 0 for all i. Similarly, x is negative (and we write x < 0) if it can be represented by a Cauchy sequence (bi) with bi < 0 for all i.
Lemma 5.16. Every real number is either positive, negative, or zero.
16 NICKOLAS ANDERSEN
2 ∈ R). But so far all we’ve done is constructed something that may not even be better than Q. The purpose of this section is to define limits of sequences of real numbers and to show that R is complete; i.e.
every Cauchy sequence of real numbers converges to a real number. The following definition should look familiar.
Definition 6.1. Let (ai) be a sequence of real numbers. We say that (ai) is a Cauchy sequence if for every ε > 0 there exists a natural number N for which
|am − an| < ε whenever m, n ≥ N. The concept of convergence is quite similar.
Definition 6.2. Let (ai) be a sequence of real numbers. We say that (ai) converges to L ∈ R (and we write lim n→∞ an = L) if for every ε > 0 there exists a natural number N for which
|an − L| < ε for all n ≥ N. It should come as no surprise that these notions are related.
Proposition 6.3. Let (ai) be a sequence of real numbers. If (ai) converges to L then (ai) is a Cauchy sequence.
Proof. Let ε > 0. Since (ai) converges to L there is a number N such that
|an − L| <
ε 2 for all^ n^ ≥^ N. It follows that if m, n ≥ N we have (by the triangle inequality)
|an − am| = |an − L − (am − L)| ≤ |an − L| + |am − L| < ε 2
ε 2 = ε.
Thus (ai) is Cauchy.
Perhaps more interesting is the converse of the previous proposition, namely that every Cauchy sequence converges. This implies that there are no analogues of
2 for the real numbers; i.e. there are no “holes” in R. To prove this, we first show that every Cauchy sequence of rationals converges to a real number (the following statement might look com- pletely trivial, but this is likely an artifact of our choice of notation; now you can see why we are using “ lim ”an to denote a real number).
Proposition 6.4. If (ai) is a Cauchy sequence of rational numbers then lim n→∞
an = “ lim ”an.
Proof. Let L = “ lim ”ak (we will use k here so as to avoid confusion with lim n→∞ an) and let
ε > 0 be given. Since (ak) is Cauchy, there is a number N ≥ 1 such that
|ak − a`| < ε
for all k, ` ≥ N. To prove that lim n→∞ an = L we need to show that
|an − L| < ε
MATH 131A: REAL ANALYSIS 17
for sufficiently large n (say n ≥ N ). Let’s think about what this means: the real number an − L is the difference of the rational number an and the real number L. To add/subtract real numbers, we need to represent each one by a Cauchy sequence. This is already done for L, and for an we can use the constant sequence (an, an, an,.. .). Thus
|an − L| = |“ lim ”(an, an, an,.. .) − “ lim ”(a 1 , a 2 , a 3 ,... , ak,.. .)| = |“ lim ”(an − a 1 , an − a 2 ,... , an − ak,.. .)| = “ lim ”(|an − a 1 |, |an − a 2 |,... , |an − ak|,.. .),
where we have use Lemma 5.17 in the last step. For all k ≥ N we have
|an − ak| < ε,
so the real number |an − L| is less than ε (think carefully about why this is). Therefore lim n→∞
an = L.
We can now prove that R is complete.
Theorem 6.5. R is complete. Equivalently, every Cauchy sequence of real numbers con- verges to a real number.
Proof. Suppose that (xn) is a Cauchy sequence of real numbers. Let ε > 0 be given. For each n, choose a rational number qn such that
|xn − qn| < ε
This is possible because Q is dense in R. Then the sequence (qn) is Cauchy because
|qm − qn| = |qm − xm + xm − xn + xn − qn| ≤ |qm − xm| + |xm − xn| + |xn − qn|
and for m, n sufficiently large this quantity is less than ε because we can make |xm−xn| < ε/3. Let L = “ lim ”qn. We will show that lim n→∞ xn = L. Let ε > 0 be given. By the previous
proposition, (qn) converges to L, so there is some N ≥ 1 such that
|qn − L| <
ε 2 for all n ≥ N. It follows that
|xn − L| = |xn − qn + qn − L| ≤ |xn − qn| + |qn − L| <
ε 3 +^
ε 2 < ε for all n ≥ N , as desired.
We conclude this section by listing some additional properties of convergent sequences. First, since convergent sequences are Cauchy, we can extend the properties of Cauchy se- quences of rational numbers to convergent sequences of real numbers (via essentially the same proofs). In particular, we have the following.
Proposition 6.6. Every convergent sequence of real numbers is bounded.
Is the converse true? That is, is every bounded sequence convergent? Here is a quick counterexample: consider the sequence 1, 0 , 1 , 0 , 1 , 0 , 1 , 0 ,.. .. This sequence is bounded be- cause |an| ≤ 1 for all n, but it is clearly not convergent. However, it is the case that bounded monotonic sequences are convergent. There are two versions of this: increasing sequences which are bounded above are convergent, and decreasing sequences which are bounded below are convergent. We will state and prove the first version in the next section.
MATH 131A: REAL ANALYSIS 19
Consider the interval E = [0, 1] = {x ∈ R : 0 ≤ x ≤ 1 }. This set has many upper bounds; for example, 1, 2, and 496 are upper bounds. Also 172893172892 is an upper bound. It also has many lower bounds; for example, 0 and −5. But if I asked you to name an upper bound and a lower bound for E, you would likely say 1 and 0, respectively. This is because these are the least upper bound and greatest lower bound (and so they tell you the most information about the set E).
Definition 7.2. Suppose that E ⊆ R is a set of real numbers and let M, m ∈ R. We say that M is a least upper bound for E if (a) M is an upper bound for E and (b) if M ′^ is another upper bound for E, then M ′^ ≥ M. Similarly, we say that m is a greatest lower bound for E if (a) m is a lower bound for E and (b) if m′^ is another lower bound for E then m′^ ≤ m.
It should come as no surprise that least upper bounds are unique.
Proposition 7.3. Suppose that M and M ′^ are both least upper bounds for E. Then M = M ′.
Proof. By the definition, since M is a least upper bound and M ′^ is another upper bound, we must have M ′^ ≥ M. Reversing the roles of M and M ′^ (i.e. by symmetry) we find that M ≥ M ′. Thus M = M ′.
If E has a least upper bound then we write sup(E) for the supremum, or least upper bound, of E. Similarly, if E has a greatest lower bound then we write inf(E) for the infimum, or greatest lower bound. One of the most important properties of the real numbers is the existence of a least upper bound for every subset of R that you would expect to have a least upper bound. That is, if a set E doesn’t have an upper bound, then we shouldn’t expect it to have a least upper bound. The proof of this theorem is somewhat involved, and I won’t give all of the details; you should fill these in on your own.
Theorem 7.4. Let E be a non-empty subset of R. If E has an upper bound, then it has a least upper bound.
Proof. Since E is non-empty, there is some element a 1 ∈ E, and since E has an upper bound, we can choose some upper bound b 1. Clearly a 1 ≤ b 1. We will define two sequences (ai) and (bi) inductively such that an ≤ bn for all n. For each n ≥ 1, suppose that we have constructed an and bn such that an ≤ bn. Let K = an+ 2 bn be the average of an and bn. Note that an ≤ K ≤ bn. If K is an upper bound
for E, let an+1 = an and let bn+1 = K = an+ 2 bn. Then |bn+1 − an+1| = |an+ 2 bn− an| = bn− 2 an. If K is not an upper bound for E, then there is some element x ∈ E such that x > K (otherwise K would be an upper bound). In that case, let an+1 = x and let bn+1 = bn. Then |bn+1 − an+1| = bn − x < bn − K = bn− 2 an. Note that in either case |bn+1 − an+1| ≤ bn− 2 an. Also in either case an is increasing (or staying the same) and bn is decreasing (or staying the same). Since an ∈ E for all n and bn is an upper bound for E for all n, we have a 1 ≤ a 2 ≤ a 3 ≤ · · · ≤ b 3 ≤ b 2 ≤ b 1.
Using the inequality |bn+1 − an+1| ≤ bn− 2 anone can show by induction (check this!) that
|bn+1 − an+1| ≤
b 1 − a 1 2 n^
We will show that the sequences (an) and (bn) are Cauchy.
20 NICKOLAS ANDERSEN
Let ε > 0 be given. Choose N ≥ 1 such that 2N^ > b^1 − ε a^1 (why is this possible?). Let m, n ≥ N. Without loss of generality, assume that m ≥ n (otherwise just swap them). Then am ≥ an, and we have
|am − an| = am − an ≤ bn − an ≤
b 1 − a 1 2 n^
< ε.
Thus (an) is Cauchy. A very similar argument shows that (bn) is Cauchy (check this!). Using (7.1) one can show that (an) and (bn) are equivalent sequences (check this!). There- fore they have the same limit, say L. I claim that L is the least upper bound of E. On the one hand, if x ∈ E then x ≤ bn for all n since every bn is an upper bound for E. Thus x ≤ L. Since x was an arbitrary element of E, we conclude that L is an upper bound for E. On the other hand, if L′^ is any other upper bound, then L′^ ≥ an for all n since every an is an element of E. Thus L′^ ≥ L. It follows that L is the least upper bound of E.
There is a version of this for lower bounds as well.
Corollary 7.5. Let E be a non-empty subset of R. If E has a lower bound, then it has a greatest lower bound.
Proof. Exercise.
We can also talk about the supremum and infimum of a sequence. To each sequence (an) we associate the set of numbers E = {an : n ≥ 1 }, and we define sup an := sup E and inf an := inf E if those quantities exist. For example, let an = (−1)n; then (an) is the sequence − 1 , 1 , − 1 , 1 , − 1 , 1 ,.. .. The asso- ciated set is the two-element set E = {− 1 , 1 }. This has least upper bound 1 and greatest lower bound −1. Thus sup an = 1 and inf an = −1. As another example, let an = 1/n. Then the sequence is 1, 12 , 13 , 14 , 15 ,... and the set is E = { 1 , 12 , 13 , 14 , 15 ,.. .}. The least upper bound of E is 1 and the greatest lower bound of E is 0. Note that 0 is not in the set, nor is it in the sequence, but it is the largest number less than or equal to every element of the set/sequence. The existence of a least upper bound for bounded sets implies the existence of a least upper bound for bounded sequences. We will use this fact to prove the following proposition.
Proposition 7.6. Bounded monotonic sequences are convergent. That is, if (an) is a se- quence which satisfies an ≤ M for some M ∈ R, and if an is increasing (an+1 ≥ an for all n) then (an) converges.
Proof. Suppose that (an) is an increasing sequence which is bounded above. Let E be the set of values {an : n ≥ 1 }. Then (an) has a least upper bound which we will call s = sup an. We will show that limn→∞ an = s. Let ε > 0 be given. Since s is the least upper bound, s − ε is not an upper bound for E. So there exists some N ≥ 1 such that aN > s − ε. Since (an) is increasing, it follows that an ≥ aN > s − ε for all n ≥ N. Thus, for all n ≥ N we have
|an − s| = s − an ≤ s − aN < s − (s − ε) = ε.
Therefore (an) converges to s.
There is a version of this for decreasing sequences which are bounded below.
Proposition 7.7. If (an) is a sequence which satisfies an ≥ m for some m ∈ R, and if an is decreasing (an+1 ≤ an for all n) then (an) converges.