Docsity

Math 320-1: Real Analysis, Slides of Calculus

Toggle sidebar
bg1
Math 320-1: Real Analysis
Northwestern University, Lecture Notes
Written by Santiago Ca˜nez
These are notes which provide a basic summary of each lecture for Math 320-1, the first quarter
of “Real Analysis”, taught by the author at Northwestern University. The book used as a reference
is the 4th edition of An Introduction to Analysis by Wade. Watch out for typos! Comments and
suggestions are welcome.
Contents
Lecture 1: Introduction to the Real Numbers 1
Lecture 2: Supremums and Infimums 2
Lecture 3: Completeness of R5
Lecture 4: Sequences 7
Lecture 5: Sequence Limit Theorems 9
Lecture 6: Monotone Sequences 12
Lecture 7: Bolzano-Weierstrass Theorem and Cauchy Sequences 14
Lecture 8: Cauchy Sequences and Series 17
Lecture 9: Lim Sup and Lim Inf 20
Lecture 10: Limits of Functions 24
Lecture 11: More on Limits of Functions 27
Lecture 12: Continuous Functions 30
Lecture 13: More on Continuous Functions 33
Lecture 14: Uniformly Continuous Functions 36
Lecture 15: Differentiable Functions 40
Lecture 16: More on Differentiable Functions 44
Lecture 17: The Mean Value Theorem 48
Lecture 18: Taylor’s Theorem 51
Lecture 19: Integration 56
Lecture 20: More on Integration 60
Lecture 21: Yet More on Integration 65
Lecture 22: Riemann Sums 69
Lecture 23: The Fundamental Theorem of Calculus 73
Lecture 24: More on the Fundamental Theorem of Calculus 77
Lecture 25: Measure Theory and the Lebesgue Integral 81
pf3
pf4
pf5
pf8
pf9
pfa
pfd
pfe
pff
pf12
pf13
pf14
pf15
pf16
pf17
pf18
pf19
pf1a
pf1b
pf1c
pf1d
pf1e
pf1f
pf20
pf21
pf22
pf23
pf24
pf25
pf26
pf27
pf28
pf29
pf2a
pf2b
pf2c
pf2d
pf2e
pf2f
pf30
pf31
pf32
pf33
pf34
pf35
pf36
pf37
pf38
pf39
pf3a
pf3b
pf3c
pf3d
pf3e
pf3f
pf40
pf41
pf42
pf43
pf44
pf45
pf46
pf47
pf48
pf49
pf4a
pf4b
pf4c
pf4d
pf4e
pf4f
pf50
pf51
pf52
pf53
pf54
pf55
pf56
pf57
pf58

Partial preview of the text

Download Math 320-1: Real Analysis and more Slides Calculus in PDF only on Docsity!

Math 320 - 1 : Real Analysis

Northwestern University, Lecture Notes

Written by Santiago Ca˜nez

These are notes which provide a basic summary of each lecture for Math 320 - 1 , the first quarter of “Real Analysis”, taught by the author at Northwestern University. The book used as a reference is the 4 th edition of An Introduction to Analysis by Wade. Watch out for typos! Comments and suggestions are welcome.

  • Lecture 1 : Introduction to the Real Numbers Contents
  • Lecture 2 : Supremums and Infimums
  • Lecture 3 : Completeness of R
  • Lecture 4 : Sequences
  • Lecture 5 : Sequence Limit Theorems
  • Lecture 6 : Monotone Sequences
  • Lecture 7 : Bolzano-Weierstrass Theorem and Cauchy Sequences
  • Lecture 8 : Cauchy Sequences and Series
  • Lecture 9 : Lim Sup and Lim Inf
  • Lecture 10 : Limits of Functions
  • Lecture 11 : More on Limits of Functions
  • Lecture 12 : Continuous Functions
  • Lecture 13 : More on Continuous Functions
  • Lecture 14 : Uniformly Continuous Functions
  • Lecture 15 : Differentiable Functions
  • Lecture 16 : More on Differentiable Functions
  • Lecture 17 : The Mean Value Theorem
  • Lecture 18 : Taylor’s Theorem
  • Lecture 19 : Integration
  • Lecture 20 : More on Integration
  • Lecture 21 : Yet More on Integration
  • Lecture 22 : Riemann Sums
  • Lecture 23 : The Fundamental Theorem of Calculus
  • Lecture 24 : More on the Fundamental Theorem of Calculus
  • Lecture 25 : Measure Theory and the Lebesgue Integral

Lecture 1 : Introduction to the Real Numbers

Today I gave a brief introduction to some concepts we’ll be looking at this quarter, such as continu-

ous functions and compact sets. Note that the book does not use the term “compact” until later on

when it is looking at higher-dimensional spaces like R^2 and R^3 ; this is something you would study

more closely in Math 320 - 2 but I think it is important to understand this concept this quarter as

well. I will point out what results in the earlier chapters are really about compactness as we go on,

even though the book won’t phrase these results in the same way.

Facts about absolute values. For 󰂃 > 0 , the inequality |x − a| < 󰂃 means that the distance (on

a number line) between x and a is less than 󰂃. This can be rephrased as

−󰂃 < x − a < 󰂃.

Adding a to both sides, this is the same as

a − 󰂃 < x < a + 󰂃.

Finally, this in turn means that x is in the open interval from a − 󰂃 to a + 󰂃:

x ∈ (a − 󰂃, a + 󰂃).

It will be incredibly useful to become comfortable manipulating inequalities involving absolute

values in this manner.

Triangle Inequality. FINISH

Archimedean Property of R. The Archimedean Property of R says: for any x ∈ R, there exists

N ∈ N such that x < N. In words, given any real number we can find a positive integer larger

than it. This is given as Theorem 1. 16 in the book, although it is phrased in a slightly different

manner. I’ll leave it to you to understand why both versions are actually saying the same thing.

Proposition. For any 󰂃 > 0 , there exists N ∈ N such that (^) N^1 < 󰂃. In words, given any positive

real number (no matter how small), there is a positive fraction of the form (^) N^1 , where N is a positive

integer, which is smaller than it.

Proof. Since 󰂃 ∕= 0 , (^1) 󰂃 is a real number. By the Archimedean Property of R, there exists N ∈ R

such that (^1) 󰂃 < N. Since 󰂃 and N are both positive, multiplying by 󰂃 and dividing by N does not

change the direction of the inequality, so we get (^) N^1 < 󰂃 as desired.

This is the version of the Archimedean Property which will be most useful for us, and says that

fractions of the form (^) N^1 can be made arbitrarily small.

Theorem. Given x, y ∈ R with x < y, there exists

a b ∈^ Q^ such^ that^ x^ <^

a b <^ y.^ In^ words,^ given any two numbers (no matter how close they are to each other) we can always find a rational number

strictly between them. This is what it means to say that Q is “dense” in R. This is Theorem 1. 18

in the book, although we give a different proof.

Proof. Since x < y, y − x is positive so (^) y−^1 x is real. By the Archimedean Property, there exists

b ∈ N such that 1

y − x

< b.

bound and that it is smaller than any other upper bound. First, any x ∈ [−

2 ] certainly

satisfies x ≤

2 simply due to the definition of closed intervals. Thus

2 is an upper bound for

this set.

To show that

2 is the least upper bound, suppose that u is another upper bound for [−

2 ].

Then

s ≤ u for any s ∈ [−

2 ].

But in particular,

2 itself is in [−

2 ] so u, being an upper bound, is larger than or equal

to it:

2 ≤ u. This shows that

2 is an upper bound of [−

2 ] which is ≤ any other upper

bound, so it is the supremum as claimed.

Alternate characterization of supremums. An upper bound b of S ⊆ R is the supremum of

S if and only if for any 󰂃 > 0 , there exists s ∈ S such that b − 󰂃 < s.

The condition after the “if and only if” is a precise way of saying that nothing smaller than b

can possibly be an upper bound of S: as 󰂃 varies through all positive numbers, b − 󰂃 varies through

all possible numbers smaller than b, and no such number can be an upper bound of S since we can

always find something in S larger than it. Since b is an upper bound of S with the property that

nothing smaller than it can be an upper bound, b must be the least upper bound as claimed.

Example 2. We claim that the supremum of the open interval (−

2 ) is also

  1. This should

hopefully be intuitively clear, but proving it is a little different than we did above for the closed

interval. The difference is that in this case, the claimed supremum is no longer in the set in question,

so the argument we gave before will no longer work. (Make sure you understand why not.)

Instead we use the alternate characterization of supremums given above. First, again it should

be simple enough to see that

2 is an upper bound of (−

2 ). To show that nothing smaller

can be an upper bound, let 󰂃 > 0. Our goal is to find some s ∈ (−

2 ) such that

2 − 󰂃 < s. If

you draw a picture of

2 − 󰂃 and

2 on a number line, all we need is some number between; their

midpoint, which is explicitly given by

󰂃 2 ,^ works.^ This^ should^ be^ the^ number^ in^ (−

which is larger than

2 − 󰂃, showing that

2 − 󰂃 cannot be an upper bound.

There is one slight issue with this, in that if 󰂃 is too large then

2 − 󰂃 2 won’t actually be in

(−

2 ). In particular, this happens if 󰂃 ≥ 4

2 since in this case

√ 2 −

We get around this by restricting our values of 󰂃 to those which are < 4

  1. We’ll see why this is

enough in the proof below.

Proof of claimed supremum. Anything in (−

2 ) is stricly less than

2 , so

2 is an upper

bound for (−

2 ). Now, let 0 < 󰂃 < 4

  1. Then

so s =

2 − 2 󰂃 is in (−

2 ). This s also satisfies

√ 2 − 󰂃 < s

so for 0 < 󰂃 < 4

2 we have found an element of (−

2 ) which is larger than

2 − 󰂃. For

󰂃 ≥ 4

2 , 0 is an element of (−

2 ) which is larger than

2 − 󰂃 since in this case

2 − 󰂃 is

negative. Thus, this shows that for any 󰂃 > 0 ,

2 − 󰂃 is not an upper bound of (−

2 ), so

is the least upper bound as claimed.

Example 3. We claim that the supremum of (−

2 ) ∩ Q is also

  1. Here, our set consists

only of the rational numbers between −

2 and

  1. We use the same idea as above, only now that

the choice s =

2 − 󰂃 2 no longer necessarily works since this might not be rational, as we need it

to be in order to be in the set in question. We are saved this time by the fact that Q is dense in R,

which says that for any 󰂃 > 0 we can for sure find a rational s such that

√ 2 − 󰂃 < s <

There is the same issue as above that we have to be careful if 󰂃 ≥ 4

2 , but the same way we got

around that before works here. I’ll leave it to you to write out a precise proof, mimicking the one

for (−

Example 4. Denote the set

n n+ 1 |^ n^ ∈^ N

by A. We claim that sup A = 1 , which we can guess

based on the fact that the fractions above appear to be getting closer and closer to 1 as we plug in

larger and larger values of n, or by considering the limit of the given expression as n → ∞. (We’ll

talk about the relation between limits and supremums soon enough.)

All fractions we are looking at are positive and the numerator is always smaller than the

denominator, so all such fractions are certainly smaller than 1. To show that 1 is the least upper

bound, again take 󰂃 > 0. We want a number of the form (^) n+n 1 such that

n

n + 1

Moving some terms around, we can rewrite this as

n

n + 1

< 󰂃, or

n + 1

This last expression just comes from writing the left-hand side as a single fraction. Again, we are

looking for a value n which makes this true, but now we see that the Archimedean Property of R

precisely says that we can find such a value. Here is our proof.

Proof of claimed supremum. For any n ∈ N, we have n < n + 1 , so (^) nn+ 1 < 1 and hence 1 is an upper

bound of S. To show that 1 is the least upper bound, let 󰂃 > 0. By the Archimedean Property of

R there exists N ∈ N such that

1 N <^ 󰂃.^ But^ then^ also

N + 1

N

Since

1 N + 1 =^1 −^

N N + 1 ,^ this^ gives

N

N + 1

< 󰂃, or 1 − 󰂃 <

N

N + 1

Thus (^) NN + 1 is an element of S which is larger than 1 −󰂃, so we conclude that sup A = 1 as claimed.

Never underestimate the power of the Archimedean Property!

This shows that anything in A + B is ≤ sup A + sup B, so sup A + sup B is an upper bound of

A + B. Now, suppose that u is any upper bound of A + B. Then

a + b ≤ u for any a ∈ A and b ∈ B.

For a fixed b ∈ B, this means that

a ≤ u − b for any a ∈ A.

Hence for a fixed b ∈ B, u − b is an upper bound of A and thus

sup A ≤ u − b for all b ∈ B.

Rearranging terms, this gives

b ≤ u − sup A for any b ∈ B.

Thus u − sup A is an upper bound of B so sup B ≤ u − sup A. Therefore sup A + sup B ≤ u and we

conclude that sup A + sup B is the supremum of A + B since it is an upper bound which is smaller

than any other upper bound.

Proof # 2. As above, sup A + sup B is an upper bound of A + B. Let 󰂃 > 0. By the alternate

characterization of supremums, there exists a ∈ A such that

sup A −

< a

and there exists b ∈ B such that

sup B −

< b.

Then

sup A + sup B − 󰂃 =

sup A −

sup B −

< a + b,

so a + b is an element of A + B which is larger than sup A + sup B. Hence nothing smaller than

sup A + sup B can be an upper bound for A + B, so sup A + sup B is sup(A + B) as claimed.

Definitions. Suppose that A is a nonempty subset of R. We say that a real number t is a lower

bound of A if

t ≤ a for all a ∈ A.

We say that A is bounded below if it has a lower bound, and A is bounded if it is both bounded

above and below.

The infimum (or “greatest lower bound”) of A is a lower bound ℓ of A such that t ≤ ℓ for any

other lower bound t of A. We use the notation inf A for infimums. As with supremums, if a set

has an infimum it only has one, so infimums are unique.

Proposition. Suppose that A ⊂ R is nonempty and bounded below. A lower bound ℓ of A is the

infimum of A if and only if for any 󰂃 > 0 there exists a ∈ A such that a < ℓ + 󰂃. This is an analog

of the alternate characterization of supremums. The part after “if and only if ” says that nothing

larger than ℓ can be a lower bound of A since we can find something in A smaller than it.

Completeness Axiom. The completeness axiom of R says that any nonempty set of real numbers

which is bounded above has a supremum. So, to show that a set of a real numbers has a supremum

all we need to do is show that it is bounded above. We say that R is “complete”. Similarly, any

set which is bounded below will have an infimum—I encourage you to think about how this follows

directly from the corresponding fact for supremums. The book says a bit more about this.

The fact that R is complete is a crucially important property, and will underlie many things we

do in this course. In particular, it is this property which allows us to visualize R as a continuous line

with no “gaps”. We will take this property as a given, but it is natural to think about why it should

be true. To justify it precisely, we would have to start with a precise definition (or construction) of

R. I will write up some notes about this for those interested, but it is not something we will come

back to. We will simply take the completeness axiom as a given and power through.

Example 2. Contrast the completeness property of R with the following example, which shows

that Q is not complete. The set S = sup{r ∈ Q | r <

2 } of rational numbers is bounded above by

the rational number 2 but has no supremum in Q. Of course,

2 is also an upper bound of S in R

but it is not an upper bound of S “in” Q since

2 is not rational; this is why I used 2 as an upper

bound above. Similarly, of course S has a supremum in R (which is

2 ), but the point is that this

supremum does not exist in Q itself, which is what it means to say that Q is not complete. If you

try to “draw” Q as a line you will “gaps” all over the place.

Lecture 4 : Sequences

Today we started talking about sequences of real numbers, and what it means for a sequence to

converge.

Warm-Up 1. Suppose that A is a non-empty subset of R which is bounded below. We claim that

inf A exists, and this follows from the completeness axiom of R. Indeed, let L denote the set of all

lower bounds of A:

L := {ℓ ∈ R | ℓ is a lower bound of A}.

This is non-empty since we are assuming that A is bounded below, and any element of A is an

upper bound for L. By the completeness axiom, sup L exists; we claim that sup L = inf A.

Indeed, fix a ∈ A. Then ℓ ≤ a for all ℓ ∈ L so a is an upper bound of L. Thus sup L ≤ a for all

a ∈ A, so sup L is a lower bound of A. Now, if ℓ is any other lower bound of A, ℓ ∈ L so ℓ ≤ sup L.

Thus sup L is ≥ any other lower bound of A so sup L = inf A as claimed.

Warm-Up 2. Suppose that S and T are subsets of R such that s ≤ t for all s ∈ S and t ∈ T.

Then sup S ≤ inf T.

Indeed, fix t ∈ T. Then s ≤ t for all s ∈ S so t is an upper bound of S. Hence sup S ≤ t for

any t ∈ T. This means that sup S is a lower bound of T so sup T ≤ inf T as claimed.

Definition of convergent sequence. A sequence is simply an infinite list of real numbers:

x 1 , x 2 , x 3 ,....

We denote such a sequence by (xn). Note that the book uses {xn} to denote a sequence, which I

don’t like since it confuses the notion of “sequence” with that of “set”. In particular, the sequence

(xn) where xn = 1 for all n consists of an infinite numbers of 1 ’s, but the set {xn} consisting of all

terms in the sequence only contains one element, namely the number 1.

sequence formed by taking some terms from the original sequence, in the same order in which they

appear in the original sequence.)

Relation to supremums and infimums. Suppose that u is an upper bound of a set S. Then

u = sup S if and only if there exists a sequence of elements of S which converges to u. Similarly,

given a lower bound t of S, t = inf S if and only if there exists a sequence of elements of S which

converges to t.

Proof. We prove the statement about supremums; the infimum claim is very similar. First suppose

that u = sup S. We must construct a sequence (xn) in S which converges to u. By the alternate

characterization of supremums in terms of 󰂃’s, there exists x 1 ∈ S such that

u − 1 < x 1 ≤ u.

For the same reason, there exists x 2 ∈ S such that

u −

< x 2 ≤ u.

And so on, for any n ∈ N there exists xn ∈ S such that

u −

n

< xn ≤ u.

This constructs a sequence (xn) in S and we claim that xn → u. Indeed, let 󰂃 > 0 and choose

N ∈ N such that (^) N^1 < 󰂃. By the choice of the terms xn, for n ≥ N we have

|xn − u| <

n

N

so we conclude that xn → u as claimed.

Conversely, suppose that there exists a sequence (xn) in S which converges to u. We use the

alternate characterization of supremums. Let 󰂃 > 0. Since xn → u there exists N ∈ N such that

|xN − u| < 󰂃.

But this inequality implies that

u − 󰂃 < xN.

Since xN ∈ S, this shows that u − 󰂃 is not an upper bound of S, so u is the least upper bound as

claimed.

Lecture 5 : Sequence Limit Theorems

Today we spoke about some well-known limit theorems involving sequences that you would have

seen in a calculus course, only now we’re interested in how to prove such things.

Warm-Up. Take any real number x ∈ R. We claim that there is a sequence of rationals (rn)

converging to x. In practice, given an explicit x such a sequence is not hard to find. For instance,

consider π whose decimal expansion looks like

π = 3. 14159....

Consider the sequence formed by taking one more decimal place at each step:

r 1 = 3 , r 2 = 3. 1 , r 3 = 3. 14 , r 4 = 3. 141 ,....

Each of these numbers rn is rational since they have a finite decimal expansion, and they will

converge to π. Doing something similar for any real number, given its decimal expansion, will

justify our claim.

However, this process depends on the fact that any real number indeed has a decimal expansion,

which is not at all obvious. So, instead we give a proof of our claim that doesn’t depend on this

and uses only the fact that Q is dense in R. The idea is to first consider x − 1 < x, and to use

denseness to pick a rational r 1 such that x − 1 < r 1 < x. Then do the same for x − 12 < x to get a

rational r 2 , then for x − 13 < x to get r 3 , and so on. The choice of these rationals as ever closer to

x will guarantee the resulting sequence converges to x. Here is the proof; this technique of using

x − (^1) n is an example of what’s commonly called a “ (^1) n - trick”.

Proof of claim. For any n ∈ N pick a rational rn ∈ Q such that

x −

n

< rn < x,

which exists by the denseness of Q in R. This results in a sequence (rn) of rational numbers which

we claim converges to x. Indeed, let 󰂃 > 0 and pick N ∈ N such that (^) N^1 < 󰂃. For n ≥ N we have

|rn − x| <

n

N

where the first inequality follows by the way in which rn was chosen. Thus rn → x as claimed.

Remark. We know from a previous homework problem that the irrationals are also dense in R,

so a slight modification of the above argument only choosing rn to be irrational shows that for any

x ∈ R there also exists a sequence of irrationals converging to it. This would be harder to show

using decimal expansions.

Squeeze Theorem. Suppose we have sequences (an), (bn), and (cn) such that

an ≤ bn ≤ cn for all n.

If the two “outer” sequences an and cn both converge to the same x, then bn → x as well. This is

no doubt something you probably saw in calculus, but here we are interested in proving this fact.

The key is to relate the expression we want to make smaller than 󰂃, namely |bn − x|, to the ones we

know we can somehow control: |an − x| and |cn − x|. Both of these we can make smaller than any

positive number, and doing this in the right way will make our original expression smaller than 󰂃.

Here is the proof, which uses the useful technique of “picking the maximum of two indices.”

Proof. Let 󰂃 > 0. Since an → x we know there exists N 1 ∈ N such that

|an − x| < 󰂃 for n ≥ N 1

and since cn → x we know there exists N 2 ∈ N such that

|bn − x| < 󰂃 for n ≥ N 2.

since all we did was to add 0 = −abn + abn in the second equality, just in a funny way. This idea

of adding “ 0 ” to expressions will also be useful to remember. Now the triangle inequality gives

|anbn − ab| ≤ |an − a||bn| + |a||bn − b|,

and we have bounded |anbn − ab| in terms of the absolute values we know how to control. We’ll

leave this unfinished here, but check the second claim on http://math.berkeley.edu/~scanez/

courses/math 104 /summer 10 /Home/Home_files/examples.pdf to see how to finish it off. This

proof is different than the one given in the book, and I think is more enlightening and better at

showing how to work with inequalities than the book’s version.

Remark. Check the book for other well-known limit laws we didn’t explicitly mention.

Lecture 6 : Monotone Sequences

Today we spoke about monotone sequences, and the fact that any bounded monotone sequence

converges. The point is that, for the first time so far, this gives us a way to show certain sequences

converge without knowing ahead of time what their limit will be, as would be required if trying to

show they converged using the definition of convergence.

Warm-Up. Suppose that an → a and an ≤ b for all n. Then a ≤ b. This is actually just a special

case of the “comparison law” given in the book (the special case where the larger sequence is a

constant sequence), but it’s useful to look at the proof of this simpler fact. Arguing by contradiction,

the idea is that if b < a, then we would couldn’t have the terms in our sequence an bounded by b

and at the same time getting closer and closer to a. To make this clear, pick an interval around a

which doesn’t include b: the definition of convergence says that eventually all terms in our sequence

would be in this interval, and such terms would have to be larger than b. Here is the proof.

Proof. By way of contradiction, suppose that b < a. Then a − b > 0 so we can apply the definition

of sequence convergence to this choice of “󰂃”. This means there exists N ∈ N such that

|a − an| < a − b for n ≥ N.

Since an ≤ b < a, |a − an| = a − an so this becomes

a − an < a − b, or b < an for n ≥ N.

This contradicts the assumption that an ≤ b for all n, so we conclude that a ≤ b.

Closed intervals are “closed” in R. The Warm-Up (and a similar result when b ≤ an for all

n) says the following. Take any sequence inside a closed interval [a, b]. If this sequence converges,

the thing which it converges to must also be in [a, b]. Subsets of R with this property are said to

be closed in R. Closedness is a notion you will learn about more in Math 320 - 2 , but I will also use

this idea from time to time.

As a contrast, open intervals (a, b) are not closed in R since a sequence in (a, b) converging to

one of the endpoints will not have its limit inside of (a, b) itself. Also, Q is not closed in R: any

sequence of rationals converging to an irrational is an example of a sequence in Q whose limit is

not in Q.

Definition. A sequence (xn) is said to be increasing if

x 1 ≤ x 2 ≤ x 3 ≤...

and strictly increasing if

x 1 < x 2 < x 3 <....

Note that according to these definitions, a constant sequence is increasing although it is not strictly

increasing. Similarly, (xn) is decreasing if

x 1 ≥ x 2 ≥ x 3 ≥...

and is stricly decreasing if

x 1 > x 2 > x 3 >....

We say that (xn) is monotone if it is either increasing or decreasing.

Example 1. Define the sequence (xn) recursively by setting

x 1 =

2 , xn+ 1 =

2 + xn for n ≥ 1.

Computing a few terms of this sequence:

suggests that it is increasing, which can prove using induction; that is, we show that xn ≤ xn+ 1 for

all n.

First, x 1 =

2 = x 2 so our claim is true for n = 1. Suppose that xk ≤ xk+ 1 for

some k. Then

xk+ 1 =

2 + xk ≤

2 + xk+ 1 = xk+ 2

so xk ≤ xk+ 1 implies xk+ 1 ≤ xk+ 2. We conclude by induction that xn ≤ xn+ 1 for all n as claimed,

so (xn) is increasing and hence monotone.

Theorem. Any bounded monotone sequence is convergent. The point of this Theorem is that it

gives us our first example of a way to show a sequence converges without knowing ahead of time

what it converges to.

Proof. We suppose that (xn) is increasing and bounded above. The proof in the case that (xn) is

decreasing and bounded below will be very similar.

The set {xn | n ∈ N} containing the terms of our sequence is nonempty and bounded above, so

by the completeness property of R it has a supremum, call it b. We claim that xn → b. Indeed, let

󰂃 > 0. By the alternate characterization of supremums there exists N ∈ N such that

b − 󰂃 < xN ≤ b.

Since (xn) is increasing, we know that xN ≤ xn for n ≥ N , and thus

b − 󰂃 < xn ≤ b for n ≥ N.

Hence if n ≥ N , |xn − b| < 󰂃 so we conclude that (xn) converges to b.

Back to Example 1. Going back to the same sequence (xn) from Example 1 , we can now show

that it converges and determine its limit. We previously showed it was increasing, so according to

the above Theorem if we can also show it is bounded above it will converge. We claim that it is

bounded above by 2 and use induction to show this.

Proof. Consider the collection of all indices n such that xn is ≥ everything coming after it. There

are two possibilities, either there are infinitely many such indices or finitely many.

If there are infinitely many such indices we can list them in increasing order:

n 1 < n 2 < n 3 <....

Then by the property these indices satisfy we have

xn 1 ≥ xn 2 ≥ xn 3 ≥... ,

giving a decreasing subsequence of (xn) in this case.

If there are finitely many such indices pick m 1 ∈ N larger than them all. Then xm 1 is not ≥

everything coming after it so there is some xm 2 with m 1 < m 2 such that xm 1 < xm 2. Similarly, m 2

is not among the indices considered above so xm 2 is not ≥ everything coming after it. Hence there

is some m 2 < m 3 such that xm 2 < xm 3. Continuing in this manner gives a sequence of indices

m 1 < m 2 < m 3 <... such that

xm 1 < xm 2 < xm 3 <... ,

giving an increasing sequence of (xn) in this case. Thus either way, (xn) has a monotone subse-

quence.

Bolzano-Weierstrass Theorem. Any bounded sequence has a convergent subsequence.

Proof. Suppose that (xn) is a bounded sequence. According to the previous proposition, this has a

monotone subsequence (xnk ). Since (xn) is bounded the subsequence (xnk ) is also bounded. Thus

(xnk ) is bounded and monotone, so it converges and is thus a convergent subsequence of (xn).

Remark. Compare this (relatively) simple proof of the Bolzano-Weierstrass Theorem as opposed

to the one in the book. There a certain property of “nested intervals” is used, which is useful to

know but seems to complicates matters. The power of the Bolzano-Weierstrass Theorem lies in the

fact that it is simple to state and to prove, and yet has far reaching consequences. In particular,

it will lead to many nice properties of continuous function which are essential for proving things

in calculus. For now, we will use this to prove an important property of what are called “Cauchy

sequences” in the coming days.

Closed intervals are “compact”. Consider a sequence (xn) inside a closed interval [a, b]. Since

[a, b] is bounded so is the sequence (xn) and hence by the Bolzano-Weierstrass Theorem it has a

convergent subsequence (xnk ). Since all terms in this subsequence are in [a, b], we have previously

seen that its limit must also be in [a, b]. Thus we come to the conclusion that any sequence

whatsoever in [a, b] always has a subsequence which converges to something in [a, b]. This is what

it means to say that [a, b] is a compact subset of R.

Compactness is something the book doesn’t talk about until later when looking at higher-

dimensional spaces, and is something you would learn more about in Math 320 - 2. However, the

concept is useful enough that I will use this notion from time to time. I’ll be sure to remind you of

what it means when we need it.

Things that aren’t compact. The sequence xn = (^) n^1 + 1 of terms in ( 0 , 1 ) has no convergent

subsequence in ( 0 , 1 ) (meaning that the limit should also be in this same interval), so ( 0 , 1 ) is not

compact in the above sense. Indeed, no open interval is compact. The set of rationals is also

not compact: any sequence of rationals which converges to an irrational will have no convergent

subsequence in Q.

Definition of a Cauchy sequence. A sequence (xn) is a Cauchy sequence if for any 󰂃 > 0 there

exists N ∈ N such that

|xm − xn| < 󰂃 for n, m ≥ N.

This looks similar to the definition of convergence, but there are two important differences: here

there is no mention of a “limit”, and the absolute value involved uses two terms from the sequence.

Intuitively, this definition says that terms in our sequence are getting closer and closer to each

other, as opposed to getting closer and closer to a limit. Indeed, given any positive 󰂃 no matter how

small, the above condition guarantees that all terms of (xn) past some index are within 󰂃 apart

from each other.

Since the terms of a Cauchy sequence are getting closer and closer to each other, it “feels” like

they should indeed be approaching a fixed number; i.e. it makes some intuitive sense to believe

that Cauchy sequences do in fact converge. This is true(!), and we’ll prove it next time.

Proposition. Convergent sequences are always Cauchy. (This should make sense intuitively: if

the terms of a sequence are getting closer and closer to some limit, they should certainly be getting

closer and closer to each other.)

Proof. (“

󰂃 2 - trick”)^ Suppose^ that^ (xn)^ converges^ to^ x^ and^ let^ 󰂃^ >^0.^ Then^ there^ exists^ N^ ∈^ N^ such that

|xn − x| <

for n ≥ N.

Hence if m, n ≥ N we have

|xm − xn| = |(xm − x) + (x − xn)| ≤ |xm − x| + |x − xn| <

Thus (xn) is Cauchy as was to be shown.

Proposition. Cauchy sequences are bounded. (The proof is similar to the proof that convergent

sequences are bounded, but since we didn’t give that proof in class we’ll give this one instead.)

Proof. Suppose that (xn) is Cauchy. Then for 󰂃 = 1 there exists N ∈ N such that

|xn − xm| < 1 for m, n ≥ N.

In particular, |xn −xN | < 1 for n ≥ N , so |xn| < 1 +|xN | for n ≥ N. Thus all terms in our sequence

beyond the N th one are bounded by 1 + |xN |. As for the terms before, there are only finitely many

so they are bounded by the largest one among them. Hence all terms in our sequence are bounded

by

max{|x 1 |, |x 2 |,... , |xN − 1 |, 1 + |xN |},

so (xn) is bounded.

will have to be Cauchy. An example of this is the sequence where

xn = 1 +

n

This satisfies |xn+ 1 − xn| < (^) n^1 and yet (xn) is not Cauchy. (This particular sequence is the sequence

of partial sums of the harmonic series:

k= 1

1 k.^ You^ might^ remember^ from^ calculus^ that^ this^ series does not converge, which is why (xn) is not Cauchy.)

Proposition. Suppose that (xn) is a Cauchy sequence which has a convergent subsequence (xnk )

with limit x. Then (xn) converges to x as well. Note that in general a sequence can have many

convergent subsequences and yet not be convergent itself; the point here is that if we know the

overall sequence is already Cauchy, the existence of at least one convergent subsequence is enough

to tell us the entire sequence does converge.

Proof. Let 󰂃 > 0. Since (xn) is Cauchy there exists N ∈ N such that

|xm − xn| <

for m, n ≥ N.

Since the subsequence (xnk ) converges to x there exists N 1 ∈ N such that

|xnk − x| <

for k ≥ N 1.

(Note that k is the number keeping track of the index in the subsequence xn 1 , xn 2 , xn 3 , etc. and nk

is the corresponding index in the original sequence.)

Pick some term xnK in the subsequence which is beyond xN and xnN 1

; in the other words, xnK

is a term in the subsequence far enough along in it and in the original sequence to guarantee that

both inequalities above hold. Then if n ≥ N we have

|xn − x| = |xn − xnK + xnK − x| ≤ |xn − xnK | + |xnK − x| <

so (xn) converges to x as claimed.

Remark. We emphasize the idea of the proof. We want to bound |xn − x| by things we know how

to control, and the only things we know something about are |xnk − x| and |xm − xn|. By going

out far enough along in the original sequence and given subsequence both of these can be made

smaller than whatever we’d like.

Theorem. Any Cauchy sequence in R converges in R. After the above proposition and previous

facts we’ve seen, this has a simple proof which is only a few lines long. So hopefully now we see

how things we’ve done are starting to come together to build up more and more theory.

Remark. This Theorem is important: it gives us a new way to show that a sequence converges

without knowing ahead of time what the limit will be. Indeed, in most cases where this Theorem

is useful the actual limit of the sequence is pretty much impossible to compute directly, and yet we

know that it must exist.

This Theorem gives us another sense of what it means to say that R is “complete”: in other

contexts, the fact that Cauchy sequences converge is taken as the definition of what it means for a

space to be complete.

Proof of Theorem. Suppose that (xn) is Cauchy. Then (xn) is bounded, so the Bolzano-Weierstrass

Theorem implies that it has a convergent subsequence (xnk ) with some limit x. The previous

proposition then says that (xn) must itself converge to x, so we are done.

Contrast with Q. The rationals are not complete in the sense that Cauchy sequences in Q do

not always converge in Q. Indeed, take any sequence of rationals which converges to an irrational.

Such a sequence will be Cauchy (since it converges in the larger space R), but will not converge

“in” Q since its limit is not in Q.

Example. Let (xn) be the sequence defined by

xn = 1 −

(− 1 )n+^1

n

We claim that (xn) converges, and will show this by showing that (xn) is Cauchy. This sequence is

actually related to the so-called alternating harmonic series:

󰁛^ ∞

k= 1

(− 1 )k

k

Indeed, recall what it means for a series to converge:

k= 1 ak^ converges^ if^ the^ sequence^ (sn)^ defined

by

sn =

󰁛^ n

k= 1

= a 1 + a 2 + · · · + an

converges. This sequence is called the sequence of partial sums of the series

k= 1 ak,^ and^ the

upshot is that questions about series convergence are just questions about convergence of a special

type of sequence. The sequence (xn) in this example is just the sequence of partial sums of the

alternating harmonic series. (Series are covered in Chapter 6 of our book and will be covered in

detail next quarter; for our purposes, the only way in which we might see series come up is via

their partials sums, giving us examples of sequences on which we can further test our techniques.)

To show (xn) is Cauchy we must show that we can make |xm − xn| smaller than 󰂃 past some

index. Suppose that m ≥ n. Then the expression for xm contains the expression for xn plus some

more terms. Indeed, we have

xm − xn =

(− 1 )n+^2

n + 1

(− 1 )n+^3

n + 2

(− 1 )m

m − 1

(− 1 )m+^1

m

For now, assume that m − n is even so that there are an even number of terms above and group

them in pairs:

xm − xn =

(− 1 )n+^2

n + 1

(− 1 )n+^3

n + 2

(− 1 )m

m − 1

(− 1 )m+^1

m

Focus on an individual pair, say the first one:

(− 1 )n+^2

n + 1

(− 1 )n+^3

n + 2

Depending on whether n is even or odd, either the first term here will be negative or the second

one will be, but either way one of these is negative and the other positive. Thus the absolute value

of this expression is precisely 1

n + 1

n + 2