We are going to discuss what it means for a sequence to converge in three stages: First, we define what it means for a sequence to converge to zero

Similar documents
Sequences. Chapter 3. n + 1 3n + 2 sin n n. 3. lim (ln(n + 1) ln n) 1. lim. 2. lim. 4. lim (1 + n)1/n. Answers: 1. 1/3; 2. 0; 3. 0; 4. 1.

Continuity. Chapter 4

5.4 Continuity: Preliminary Notions

Week 2: Sequences and Series

Chapter 1 The Real Numbers

Contents Ordered Fields... 2 Ordered sets and fields... 2 Construction of the Reals 1: Dedekind Cuts... 2 Metric Spaces... 3

Undergraduate Notes in Mathematics. Arkansas Tech University Department of Mathematics

2.1 Convergence of Sequences

Some Background Material

Continuity. Chapter 4

Copyright 2010 Pearson Education, Inc. Publishing as Prentice Hall.

means is a subset of. So we say A B for sets A and B if x A we have x B holds. BY CONTRAST, a S means that a is a member of S.

CHAPTER 3. Sequences. 1. Basic Properties

Analysis Finite and Infinite Sets The Real Numbers The Cantor Set

In N we can do addition, but in order to do subtraction we need to extend N to the integers

Part III. 10 Topological Space Basics. Topological Spaces

5.5 Deeper Properties of Continuous Functions

Real Analysis - Notes and After Notes Fall 2008

A LITTLE REAL ANALYSIS AND TOPOLOGY

In N we can do addition, but in order to do subtraction we need to extend N to the integers

Solutions Manual for: Understanding Analysis, Second Edition. Stephen Abbott Middlebury College

Definitions & Theorems

Math 4603: Advanced Calculus I, Summer 2016 University of Minnesota Homework Schedule

Introduction to Proofs in Analysis. updated December 5, By Edoh Y. Amiran Following the outline of notes by Donald Chalice INTRODUCTION

MATH 131A: REAL ANALYSIS (BIG IDEAS)

Limits and Continuity

Homework 4, 5, 6 Solutions. > 0, and so a n 0 = n + 1 n = ( n+1 n)( n+1+ n) 1 if n is odd 1/n if n is even diverges.

Part 2 Continuous functions and their properties

(a) For an accumulation point a of S, the number l is the limit of f(x) as x approaches a, or lim x a f(x) = l, iff

ON SPACE-FILLING CURVES AND THE HAHN-MAZURKIEWICZ THEOREM

Solutions to Math 41 First Exam October 18, 2012

REVIEW OF ESSENTIAL MATH 346 TOPICS

MATH 101, FALL 2018: SUPPLEMENTARY NOTES ON THE REAL LINE

Introductory Analysis I Fall 2014 Homework #9 Due: Wednesday, November 19

Connectedness. Proposition 2.2. The following are equivalent for a topological space (X, T ).

Econ Slides from Lecture 1

Iowa State University. Instructor: Alex Roitershtein Summer Exam #1. Solutions. x u = 2 x v

Math 341 Summer 2016 Midterm Exam 2 Solutions. 1. Complete the definitions of the following words or phrases:

ADVANCE TOPICS IN ANALYSIS - REAL. 8 September September 2011

We have been going places in the car of calculus for years, but this analysis course is about how the car actually works.

Problem Set 2: Solutions Math 201A: Fall 2016

Quick Tour of the Topology of R. Steven Hurder, Dave Marker, & John Wood 1

Logical Connectives and Quantifiers

Math LM (24543) Lectures 01

Real Analysis Math 131AH Rudin, Chapter #1. Dominique Abdi

g 2 (x) (1/3)M 1 = (1/3)(2/3)M.

Math 300: Final Exam Practice Solutions

Notes on Complex Analysis

Theorems. Theorem 1.11: Greatest-Lower-Bound Property. Theorem 1.20: The Archimedean property of. Theorem 1.21: -th Root of Real Numbers

MORE ON CONTINUOUS FUNCTIONS AND SETS

1. Theorem. (Archimedean Property) Let x be any real number. There exists a positive integer n greater than x.

Notes: 1. Regard as the maximal output error and as the corresponding maximal input error

Some Function Problems SOLUTIONS Isabel Vogt Last Edited: May 24, 2013

MA103 Introduction to Abstract Mathematics Second part, Analysis and Algebra

CHAPTER 6. Limits of Functions. 1. Basic Definitions

First In-Class Exam Solutions Math 410, Professor David Levermore Monday, 1 October 2018

MATH NEW HOMEWORK AND SOLUTIONS TO PREVIOUS HOMEWORKS AND EXAMS

Chapter 1 Review of Equations and Inequalities

MATH 117 LECTURE NOTES

6.2 Deeper Properties of Continuous Functions

Notes for Math 290 using Introduction to Mathematical Proofs by Charles E. Roberts, Jr.

1 Homework. Recommended Reading:

2 Metric Spaces Definitions Exotic Examples... 3

CHAPTER 5. The Topology of R. 1. Open and Closed Sets

MATH 409 Advanced Calculus I Lecture 7: Monotone sequences. The Bolzano-Weierstrass theorem.

Solution of the 8 th Homework

Mid Term-1 : Practice problems

Measures and Measure Spaces

Principle of Mathematical Induction

M17 MAT25-21 HOMEWORK 6

CHAPTER 8: EXPLORING R

ter. on Can we get a still better result? Yes, by making the rectangles still smaller. As we make the rectangles smaller and smaller, the

Math 430/530: Advanced Calculus I Chapter 1: Sequences

Midterm Review Math 311, Spring 2016

Mathematics 220 Workshop Cardinality. Some harder problems on cardinality.

1 + lim. n n+1. f(x) = x + 1, x 1. and we check that f is increasing, instead. Using the quotient rule, we easily find that. 1 (x + 1) 1 x (x + 1) 2 =

Part V. 17 Introduction: What are measures and why measurable sets. Lebesgue Integration Theory

Name (print): Question 4. exercise 1.24 (compute the union, then the intersection of two sets)

Advanced Calculus: MATH 410 Real Numbers Professor David Levermore 5 December 2010

Bounded Derivatives Which Are Not Riemann Integrable. Elliot M. Granath. A thesis submitted in partial fulfillment of the requirements

Chapter 11 - Sequences and Series

Chapter 2 Metric Spaces

WEEK 7 NOTES AND EXERCISES

Set, functions and Euclidean space. Seungjin Han

Math 117: Topology of the Real Numbers

Introduction to Real Analysis Alternative Chapter 1

MATH31011/MATH41011/MATH61011: FOURIER ANALYSIS AND LEBESGUE INTEGRATION. Chapter 2: Countability and Cantor Sets

University of Illinois at Chicago. Interactive Notes For. Real Analysis. Bonnie Saunders

1 Question related to polynomials

ADVANCED CALCULUS - MTH433 LECTURE 4 - FINITE AND INFINITE SETS

Sequences. Limits of Sequences. Definition. A real-valued sequence s is any function s : N R.

Advanced Calculus I Chapter 2 & 3 Homework Solutions October 30, Prove that f has a limit at 2 and x + 2 find it. f(x) = 2x2 + 3x 2 x + 2

Cauchy Sequences. x n = 1 ( ) 2 1 1, . As you well know, k! n 1. 1 k! = e, = k! k=0. k = k=1

MA131 - Analysis 1. Workbook 6 Completeness II

Student Study Session. Theorems

Real Variables: Solutions to Homework 3

SOLUTIONS TO EXERCISES FOR. MATHEMATICS 205A Part 1. I. Foundational material

2.3 Some Properties of Continuous Functions

Functional Limits and Continuity

Math 115 Spring 11 Written Homework 10 Solutions

Transcription:

Chapter Limits of Sequences Calculus Student: lim s n = 0 means the s n are getting closer and closer to zero but never gets there. Instructor: ARGHHHHH! Exercise. Think of a better response for the instructor. In particular, provide a counterexample: find a sequence of numbers that are getting closer and closer to zero but aren t really getting close at all. What about the never gets there part? Should it be necessary that sequence values are never equal to its limit?. Definition and examples We are going to discuss what it means for a sequence to converge in three stages: First, we define what it means for a sequence to converge to zero Then we define what it means for sequence to converge to an arbitrary real number. Finally, we discuss the various ways a sequence may diverge (not converge). In between we will apply what we learn to further our understanding of real numbers and to develop tools that are useful for proving the important theorems of Calculus. 43

44 CHAPTER. LIMITS OF SEQUENCES Figure.: s n = n. 0 0 5 0 5 0.. Sequences converging to zero. Definition We say that the sequence s n converges to 0 whenever the following hold: For all ɛ > 0, there exists a real number, N, such that n > N = s n < ɛ. Notation To state that s n converges to 0 we write lim s n = 0 or s n 0. Example. lim n = 0. See the graph in Figure.. Proof. Given any ɛ > 0, use Archimedes Principle, Theorem.48, to find an N, such that N < ɛ. Note that, if n > N, then n < N (Exercise.0 d)). Now, if n > N, we have In short: so we have shown that lim n = 0. s n = n < N < ɛ. n > N = s n < ɛ, Example. If s n = 0, for all n, then lim s n = 0 Proof. Given any ɛ > 0, let N be any number. Then we have because that s true for any n. n > N = s n = 0 < ɛ,

.. DEFINITION AND EXAMPLES 45 0.5 Figure.: Some values approach 0, but others don t. 0.0 0 5 0 5 0 Example.3 Why isn t the following a good definition? lim s n = 0 means For all ɛ > 0, there exists a real number, N, such that s N < ɛ. The problem is we want the sequence to get arbitrarily close to zero and to stay there. Consider the sequence: { n, if n is odd s n = 0, otherwise. There is always an odd N to be less than any ɛ but there there are many even n s with values far from zero. The n > N is an important part of the definition. See the graph in Figure.. Exercise. Sketch the sequence and prove that lim n = 0 ( ) n Exercise.3 Sketch the sequence and prove that lim n Exercise.4 Sketch the sequence and prove that lim n(n ) = 0. Exercise.5 Prove the following theorem: Theorem. s n 0 s n 0 s n 0 = 0 See Figure.3. Proof. EFS The above are good exercises but problems like these will be easier to prove that is, no epsilons will be needed once we have some theorems. First, a useful fact: Theorem. If lim a n = 0, then the sequence, a n, is bounded. That is, there exists a real number, M > 0 such that a n < M for all n.

46 CHAPTER. LIMITS OF SEQUENCES Figure.3: Picking N for smaller and smaller ɛ for the sequence s n = ( )n n. 0 5 0 5 0 0 0 5 0 5 0 0 0 5 0 5 0

.. DEFINITION AND EXAMPLES 47 Proof. Since a n 0, there exists N Z + such that n > N = a n <. Here we use the definition of converging to 0 with ɛ =. (NOTE: We could use any positive number in place of.) Let B be a bound for the finite set {a n : n N}. This set is bounded by Theorem.4. Let M = max{b, } Hence any a n is bounded by M because it is either in the finite set (n N ) and bounded by B or it is bounded by, because n > N. Theorem.3 ALGEBRAIC PROPERTIES OF LIMITS Given three sequences, lim a n = 0, lim b n = 0 and a real number, c, then:. lim a n + b n = 0. lim c a n = 0. 3. lim a n b n = 0. Proof. EFS Exercise.6 Prove: If c n is bounded and a n 0, then c n a n 0 Theorem.4 SQUEEZE THEOREM If a n 0 and b n 0 and a n c n b n, for all n Z +, then lim c n = 0. Proof. SQUEEZE THEOREM Given ɛ > 0, let N be large enough so that whenever n > N, then both b n < ɛ and a n < ɛ. Now, for any n > N, if c n > 0, we have c n b n < ɛ. or if c n < 0, then c n = c n a n = a n < ɛ. So, for all n > N we have c n < ɛ. We have shown that c n 0. Exercise.7 Prove that lim n + n n 3 0 Exercise.8 Prove: For any positive integer, m, lim n = 0 m Exercise.9 Use BERNOULLI S INEQUALITY Theorem.7 to prove the following theorem. Theorem.5 If 0 r <, then r n 0 Proof... Sequences that converge to arbitrary limit Definition We say that s n converges whenever there exists a real number, s, such that s s n 0. In this case, we say that s n converges to s, and write lim s n = s or s n s

48 CHAPTER. LIMITS OF SEQUENCES Example.4 lim n n =, because n n = ( n ) = n 0 Exercise.0 Show that s n 0 means the same thing for both definitions: converging to 0 and converging to an arbitrary limit that happens to be 0. Theorem.6 UNIQUENESS OF LIMIT If a n a and a n b, then a = b. Proof. Use the triangle inequality to see that 0 a b = a a n + a n b a a n + a n b. Apply THE SQUEEZE THEOREM (Theorem.3 part.4.): the left-most term is the constant sequence, 0, the right-most term is the sum of two sequences that converge to 0, so also converges to 0. Hence the middle term also converges to 0. So a b = 0 = a = b. Theorem.7 If lim a n = a, then the sequence, a n, is bounded. Proof. EFS Consider using Theorem.. Exercise. Prove: If a n = c, for all n, then lim a n = c Theorem.8 ALGEBRAIC PROPERTIES OF LIMITS Given two sequences, lim a n = a and lim b n = b, then:. lim a n + b n = a + b. lim a n b n = a b 3. If a n, a 0, then lim = a n a Proofs.. EFS. EFS 3. To prove this one, we start by showing that the sequence a n is bounded away from 0, meaning that there exists a positive number B, such that a n > B, for all n. To find such a bound, B, first note that there is N > 0 such that a n a < a for all positive integers n > N. (Using ɛ = a in the definition of limit.) For those n, a n a a n a > a a = a. Now let B = min { a n : n N}. This set has a minimum value because it is a finite set. B > 0 because none of the a n = 0. Finally, let B = min {B, a }. So a n > B, for all n.

.. DEFINITION AND EXAMPLES 49 Now, given ɛ > 0, find N such a n a < ɛ B a then a n a = a a n a n a < a n a B a < ɛ B a B a = ɛ LIMITS OF RATIOS An important concern of calculus is what happens to the ratio of two limits when both the numerator and denominator converge to 0. If the denominator converges to zero, but the numerator is bounded away from zero, then the ratio will be unbounded and not converge. Exercise. Give examples of two sequences, a n 0 and b n 0, such that a. b. c. a n b n 0 a n b n c, where c is a positive real number. a n b n does not converge. Theorem.9 ORDER PROPERTIES OF LIMITS For real sequences, a n, b n, c n and real numbers, a and c.. If a n > c for all n Z + and a n a, then a c. If a n c b n for all n and a n b n 0, then a n c and b n c. 3. THE SQUEEZE THEOREM If a n c and b n c and a n c n b n for all n Z +, then c n c Proof. Confirm each statement and explain how it proves the corresponding part of the theorem. Suppose c a > 0, find N such that n > N = a a n < c a. For all n, 0 a n c b n a n 3. 0 c c n c a n + a n c n c a n + a n b n

50 CHAPTER. LIMITS OF SEQUENCES Figure.4: s n = 5n + 3 n + 0 0 0 5 0 5 0 Theorem.0 THE TAILEND THEOREM If a n a and if b n = a n+m for some fixed, positive integer m, then b n a. Proof. A tailend of a sequence is a special case of a subsequence, see Section..4. Exercise.3 Prove: If a n c and b n c, then a n b n 0 Exercise.4 Conjecture what the limit might be and prove your result. s n = 3n + n + n + Exercise.5 Conjecture what the limit might be and prove your result. 5n + 3 s n = n + 0 Exercise.6 Prove that, if c 0, then a n + b lim c n + d = a c. Exercise.7 Prove: If a n a, b n b, and a n < b n for all n, then a b. Exercise.8 Prove: If S is a bounded set, then there exists a sequence of points, s n S such that s n sup S. Exercise.9 Prove: If a n a then a n a Monotone sequences Definition We say a sequence is monotone whenever it is an increasing sequence or a decreasing sequence.

.. DEFINITION AND EXAMPLES 5 Theorem. MONOTONE CONVERGENCE THEOREM Every bounded, monotone sequence converges to a real number. Proof. Let s n be a bounded, increasing sequence. Let s = sup{s n } which exists because s n is bounded above. We claim that s n s. Given ɛ > 0, use Theorem.43 to find x = s N {s n } such that s ɛ < s N. Now if n > N, we know s n > s N because the sequence is increasing, so s n s = s s n < s s N < ɛ. We conclude that s n s. If t n is a bounded, decreasing sequence, then s n = t n is bounded and increasing. Since s n s, for some s, we known that t n = s. Best Nested Interval Theorem Theorem. BEST NESTED INTERVAL THEOREM There exists one and only one real number, x, in the intersection of a sequence of non-empty, closed, nested intervals if the lengths of the intervals converge to 0. Furthermore, the sequence of right endpoints and the sequence of left endpoints both converge to x. Proof. Denote the intervals by [a n, b n ]. Because they are nested we know that a n is increasing and b n is decreasing so, by MONOTONE CONVERGENCE THEOREM, there are real numbers a and b such that a n a and b n b. Let c be any real number in the intersection of all the intervals. Then a n c b n and since b n a n 0 we have by the ORDER PROPERTIES OF LIMITS (Theorem.9.), c = a = b. Rational Approximations to Real Numbers We have not yet shown that there are real numbers other than rational numbers. However, if there is one, the following method indicates that you can approximate it by rational numbers; that is, there is a sequence of rational numbers that converge it. The method of bisection used here is a well-used tool of analysis. Example.5 Let r be any non-rational real number. numbers that converge to r. Find a sequence of rational Using the method of bisection. There are other ways to show the existence of such a sequence. The advantage to this method is that it gives a way to construct approximations of the given real number. First, find rational numbers a 0 and b 0 such that a 0 < r < b 0. (By Theorem.56, they can both be integers.) Recursively define a sequence of non-empty, closed, nested intervals [a n, b n ] such that each interval contains r and is half the length of the preceding interval. We already have the base case, [a 0, b 0 ]. Assume [a n, b n ] has been defined as required. Let m be the midpoint of [a n, b n ]. Since m is a rational number, m r, so there are two cases to consider:

5 CHAPTER. LIMITS OF SEQUENCES. If m < r, let a n+ = m and b n+ = b n.. If r < m, let a n+ = a n and b n+ = m. in either case r [a n+, b n+ ] [a n, b n ]. The length of this interval is half the length of the previous interval. The lengths of the intervals converge to 0 so, by the BEST NESTED INTERVAL THEOREM (Theorem.), r is the only real number in all the intervals and both a n r and b n r...3 Application: Existence of square roots The proof given here of the existence of square roots is by construction. There are other ways to prove the existence of square roots the advantage to this method is that it gives a way to calculate approximations to. Example.6 There exists a unique positive real number, s, such that s =. Proof by bisection. We will show that there is a nested sequence of closed intervals, I n = [a n, b n ], such that a n b n and b n a n = n. By the BEST NESTED INTERVAL THEOREM, there is a unique number, s, in all of the intervals. We will show that s = using a squeezing argument. We define the intervals inductively: Base case: Let a 0 = and b 0 =, so a 0 = 4 = b 0, and b 0 a 0 = = 0. Assume a n and b n have been defined as desired a n b n, and b n a n = n. Proceed inductively to define the next interval, I n+ = [a n+, b n+ ]. Let m be the midpoint of the interval [a n, b n ]. We know that m because we know the square root can not be a rational number. (Why do we claim m is rational?) So there are only two cases to consider:. If m <, let a n+ = m and b n+ = b n.. If < m, let a n+ = a n and b n+ = m. Since m is the midpoint of the previous interval the length of I n+ is half the length of I n, so b n+ a n+ = = n n+ Let s be the unique number in all the intervals. We know a n s and b n s. So we also know that an s, bn s. (See Exercise.9) Now consider the image, under the squaring function of all those intervals. The intervals [an, bn] are closed, non-empty (an < bn because a n < b n ); and nested (an is increasing because a n is

.. DEFINITION AND EXAMPLES 53 increasing, and b n is decreasing because b n is decreasing). These all follow because the function x x is increasing on positive numbers, see Exercise.. Furthermore, b n a n 0. The BEST NESTED INTERVAL THEOREM applies and we conclude there is a unique real number in all the intervals and that the endpoints converge to that number. is all the intervals and a n s, so s =, by uniqueness of limits. Theorem.3 For all a > 0, there exists a unique positive real number, s, such that s = a. Proof. HINT: What in the proof for Example.6 depends on the choice a =?..4 Subsequences Definition We call sequence, s nk, whose values are a subset of the values of s n, a subsequence of s n, whenever the sequence n k is strictly increasing. (We will assume that k is indexed on Z, i.e. n 0 is the first value.) Example.7 If n k = k, then the subsequence is every other element, starting at 0, of the sequence. Exercise.0 Prove: If s nk is a subsequence of s n, then n k k. Note that this is true for any increasing sequence of positive integers n k. Theorem.4 If s n s, then any subsequence of s n also converges to s. Proof. Let s nk be a subsequence of s n. Given ɛ > 0, find N so that n > N = s n s < ɛ. Such N exists because s n s. Now consider the subsequence: If k > N, then n k > N (by Exercise.0), so s nk s < ɛ. Example.8 The sequence is Example. has many subsequences, each of which converges to one of five different numbers. For example, s 5k+ sin 4π 5...5 Divergent Sequences Definition A sequence is said to diverge if there is no real number L such that the sequence converges to L. To show that a sequence, s n, converges we would first conjecture a possible limit, L, and then prove s n L. To show that the sequence does not converge is perhaps harder because we have to show it doesn t converge for all possible values L. And we would need to prove the negation of the statement, s n L, for all values of L. Here are both statements:

54 CHAPTER. LIMITS OF SEQUENCES Figure.5: s n = sin( πn 5 ). 0 s n L, means s n L, means 0 5 0 5 0 5 30 35 40 45 For all ɛ > 0, there exists N > 0, such that n > N = s n L < ɛ. There exists an ɛ > 0, such that for all N > 0 there is an n > N with s n L ɛ. Fortunately there is an easier way to show that a sequence diverges by observing subsequence behavior, using Theorem.4. Example.9 The sequence, s n = {, n, odd, n, even diverges, i.e. does not converge to any real number L. Proof. The subsequence given by n k = k + is a constant sequence: s nk = for all k. This subsequence converges to. The subsequence given by n k = k converges to. If the sequence converged, both subsequences would have to converge to the same number, by Theorem.4. So the sequence does not converge. Exercise. Υ Explain why the following sequence, s n = sin( πn) 5, diverges. The graph of this sequence is shown in Figure.5. Example.0 AnotherΥexample of a divergent sequence is s n = sin(n). That this sequence does not converge seems a correct conclusion considering the graph, shown in Figure.6. Proving that goes beyond the scope of our present discussion. Another way a sequence may fail to converge is if it is unbounded. We consider separately the case when the limit appears to be infinite as in the sequence, s n = n.

.. DEFINITION AND EXAMPLES 55 Figure.6: s n = sin(n). 0 0 5 0 5 0 5 30 35 40 45 Definition We say that s n diverges to infinity and we write, lim s n = +, whenever, for all M > 0, there exists N > 0 such that n > N = s n M. Example. lim n = + : If M is any positive real number, let N = M. Then, if n > N, we have that n > n > N = M or simply that n > M. (EFS: Explain the step n > n) Exercise. Give a sequence that is unbounded but does not diverge to + Theorem.5 If s n +, then any subsequence of s n also diverges to +. Exercise.3 Prove the following theorem. Theorem.6 ALGEBRAIC PROPERTIES OF DIVERGENT LIMITS. a n + and b n b or b n + = (a n + b n ) +.. a n + and b n + = (a n b n ) +. 3. a n + = 0 a n Exercise.4 Use BERNOULLI S INEQUALITY Theorem.7, to prove the following theorem. Theorem.7 If r, then r n + Proof. Exercise.5 LIMITS OF RATIOS Give examples of two sequences, a n + and b n +, such that a. a n b n +

56 CHAPTER. LIMITS OF SEQUENCES b. c. a n b n 0 a n b n c, where c is a positive real number. Exercise.6 Provide a definition and theorems about diverging to a. What would it mean for the limit of a sequence to be? b. If it is not part of your definition prove: lim s n = c. If it is not part of your definition prove: If lim s n = then, for all M < 0, there exists N > 0 such that n > N = s n M. lim s n = +? d. Give an example of a sequence that diverges to and prove that it does. e. State and prove statements of ALGEBRAIC PROPERTIES OF DIVERGENT LIMITS for sequences that diverge to f. If s n, then any subsequence of s n also diverges to. Exercise.7 Give a sequence s n 0 where s n. does not diverge to either + or Theorem.8 If p is a polynomial that is not constant, then either lim p(n) = + or lim p(n) = Proof. EFS. Limits and Sets.. Limit Points and Boundary Points editor: Handle references to numbers as points and as elements of a set. BE CON- SISTENT. editor: consider defining neighborhoods

.. LIMITS AND SETS 57 We begin with a definitions of different types of special points of sets that are useful to think about: limit points and boundary points. Definition We say the a point, p, is a limit point of a set, S, whenever every open interval about p contains an infinite number of points in S. In particular, it contains a point in S that is not equal to p. NOTE: The point p need not be in S. Definition We say the a point, p, is a limit point of a sequence, s n, whenever every open interval about p contains an infinite number of s n. editor: Think a bit about the difference between these two definitions. In particular, the infinite number in the first case refers to numbers in the set,s, whereas, in the second case, infinite number refers to numbers in the domain of s n. That, for sequences, the points can all be p. Whereas for sets all but at most one of the points are not p. Example. The limit points of the image of s n may be different than the limit points of s n. Consider s n = ( ) n. The image of s n is {,, }, a set that has no limit points. However, both and are limit points of the sequence because they each appear an infinite number of times in the sequence. Theorem.9 A real number p is a limit point of a set S, if and only if there exists sequence of points in S \ {p} that converge to p. Proof. = Suppose p is a limit point of S. For each n Z +, let s n S (p n, p + n ) \ {p}. Such a point exists because p is a limit point. We claim that s n p. For we know, for all n, 0 < p s n < n From the squeeze theorem, we conclude that p s n 0 or s n p. =Let s n S \ {p} converge to p. Let (a, b) be an open interval containing p. Consider any positive ɛ < min(b p, p a), so that p (p e, p +ɛ) (a, b). By the convergences of s n, there exists N such that n > N = p s n < ɛ. These s n s are an infinite number of values of the sequences that are in (a, b)\{p}. If there were only a finite number of numbers from S in this sequence, we would have a subsequence of s n that converges to some other number which cannot happen. So the s n for n > N are an infinite number of points in (a, b), as required to show that p is a limit point of the set S.

58 CHAPTER. LIMITS OF SEQUENCES Theorem.0 If s is a limit point of a sequence s n, then there exists a subsequence of s n that converge to s. Proof. EFS Definition We say the a point, p, is an boundary point of a set, S, whenever every open interval containing p contains points in both S and R \ S. Example.3 Every point in a finite set is a boundary point of the set. Every point in a finite set is a boundary point of the complement of set. True or False 0 Which of the following statements are true? If false, modify the statement to be true. Explain. a) The endpoints of an interval are boundary points of the interval. b) Every point in an interval is a boundary point of the interval. c) Every point of an interval is a limit point of the interval. d) The inf S is a limit point of S. e) The inf S is a boundary point of S. f) The maximum value of a S is a boundary point of S. Example.4 Give an example of each of the following and explain. a) A set and a point that is a boundary point but not a limit point of the set. b) A set and a point that is a limit point but not a boundary point. c) A set and a point that is neither a limit point nor a boundary point of the set. d) A set and a point that is both a boundary point and a limit point of the set... Open and Closed Sets Definition We say a set is open whenever it contains none of its boundary points. Definition We say a set is closed whenever it contains all of its boundary points. Example.5 Open intervals are open sets because the only boundary points of an interval are the endpoints and neither are contained in the open interval.

.. LIMITS AND SETS 59 Example.6 Closed intervals are closed sets be because the only boundary points of an interval are the endpoints and both are contained in the closed interval. Theorem. The following are equivalent. S is an open set. Every s S is contained in an open interval that is completely contained in S. 3. R \ S is closed. Theorem. The following are equivalent. S is an closed set. S contains all of its limit points. 3. R \ S is open. Exercise.8 Is R open or closed? Is open or closed? Exercise.9 {x : x 57} is a closed set. True or False Which of the following statements are true? If false, modify the statement to be true. Explain. a) An open set never contains a maximum. b) A closed set always contains a maximum element...3 Optional Connected sets Suppose that there were no real number, s, such that s = 57. Consider the two sets U = {s : s < 57} and V = {s : s > 57}. Then an interval like [0, 8] could be divided into two distinct sets, U and V. There would be a hole in the numberline. This leads to the definition of connected that says a connected set cannot be covered by two distinct open sets. That intervals are not connected a way of understanding connectedness and investigating sets that may have more complicated structure than intervals. Still it is reassuring that intervals are connected/ Definition We say a set, S, is connected if it is not contained in the union of two disjoint non-empty, open sets.

60 CHAPTER. LIMITS OF SEQUENCES Example.7 Finite sets are not connected Here we present another nice application of the Nested Interval Theorem. Theorem.3 A connected set is a, possibly infinite, interval. Proof. Hint: this will be easiest to handle with an lemma: A subset of R is an interval whenever x, y are in the set so is every z in between. The more interesting part is that every interval is connected. Theorem.4 The interval [a, b] is connected. Proof. Assume not. Let U and V be two disjoint open sets such that [a, b] U V. Since both R \ U and R \ V are closed this means that [a, b] is also covered by two distinct closed sets. We will use this and the fact that closed sets contain all of their limit points. Since neither U nor V are empty, pick u 0 U and v 0 V and assume, without loss of generality, that u 0 < v 0, so a u 0 < v 0 b. Define inductively a sequence of closed, nested intervals, [u n, v n ] with u n U and v n V and length, v n u n = v 0 u 0. The base case, [u n 0, v 0 ], satisfies the conditions. Assume [u n, v n ] has been defined. Let m be the midpoint of the interval [u n, v n ]. Now m (a, b) so is in either U or V. There are two cases:. If m U, let u n+ = m and v n+ = v n.. If m V, let u n+ = u n and v n+ = m. In either case, then u n+ U and v n+ V. and [u n+, v n+ ] [u n, v n ]. So we have a closed interval of the required form. Since m is the midpoint, we known that v n+ u n+ = v n u n = v0 u 0 = v 0 u 0 n n+ These intervals are nested, closed and non-empty so we can applied the Extended Nested Interval Theorem to say there is a point, x [u n, v n ], for all n, and that u n x and v n x. Now x is a limit point of R \ U, a closed set, so it must be in R \ U. That is, x is not in U. But x is also a limit point of R \ V, another closed set, so x is not in V. x is in neither V nor U, but it is a point in [a, b], so U and V cannot cover the interval as originally supposed. Therefore, the interval is connected.

.3. THE BOLZANO-WEIERSTRASS THEOREM AND CAUCHY SEQUENCES6.3 The Bolzano-Weierstrass Theorem and Cauchy Sequences Theorem.5 THE BOLZANO-WEIERSTRASS THEOREM Every bounded sequence has a converging subsequence. Outline of proof: Name the sequence s n and let M be a bound for the sequence, that is For all n, s n < M. We will construct a sequence of non-empty, closed nested intervals whose lengths converge to 0 and a subsequence of s n such that s nm is contained in the m th interval. Necessarily, this subsequence converges to the common point of the intervals. Definition A sequence is called a Cauchy Sequence whenever For all ɛ > 0, there exists a real number, N, such that if both n, m > N = s n s m < ɛ. Theorem.6 A sequence converges if and only if it is a Cauchy sequence Outline of proof: = straight forward triangle inequality considerations = Mimic the proof that a convergent sequence is bounded to show that a Cauchy sequence is bounded. Apply B-W and finally use a triangle-inequality argument to show that the sequence must converge to the limit of the subsequence..4 Series and Power series Series are special kinds of sequences where one keeps a running sum of a sequence, a n to create a new sequence, s n : Definition The number s n = n a k = a 0 + a + a + + a n + a n k=0 is called the n th partial sum of the generating sequence, a n. If the sequence, s n, converges to a point, s, we say the the series converges to s and we write s = k=0 a k Definition A power series is a special kind of series where the generating sequence is of the form a n = c n r n. If the c n s are constant, c n = c we call it a geometric series.

6 CHAPTER. LIMITS OF SEQUENCES Theorem.7 ALGEBRAIC PROPERTIES OF SERIES If s =. s + t = (a k + b k ). k=0. If c R, then c s = c a k. k=0 a k and t = k=0 b k, then k=0 Exercise.30 Give examples of each of the following: a. A series that diverges to +. b. A series whose partial sums oscillate between positive and negative numbers. n Exercise.3 If a n 0 for all n, then s n = a k is an increasing sequence. Exercise.3 If s = a k and t = b k, write a possible formula for the terms of k=0 k=0 a series that might be s t. Prove that your series converges and is equal to s t. k=0.4. Convergence of Geometric series Theorem.8 If 0 r <, then k=0 r n = r Proof. Hint: Mimic this trick from high school to see why 0.33333 is equal to 3 be sure that you can justify each step: S = 0.33333 given 0 S = 3.33333 multiplication of decimals 9 S = 3 Subtracting the first line from the second line S = 3 9 S = 3 divide by 9 reduce fraction

.4. SERIES AND POWER SERIES 63.4. Decimals Definition A decimal representation looks like a 0.a a a 3 a n, where a 0 is an integer and a n are integers between 0 and 9, inclusively. It represents the number which is given by the power series where r = 0. We write 3 a 0.a a a 3 a n = a 0 + a 0 + a n + a 3 + = a n 0 0 0 Exercise.33 Prove: 0.999999... =. Theorem.9 Every decimal representation is a convergent power series and hence every decimal representation is a real number. n k Proof. The partial sums are bounded by a 0 + 9 a 0 +. The partial sums 0 k= are increasing. Every bounded increasing sequence converges. n=0 As well, every real number has a decimal representation that converges to it, more precisely Theorem.30 Given any r R, there exists a sequence of integers a n, where 0 a k 0 for all k such that n a n = r 0 n=0 Proof. Use Theorem.55. and THE EXTENDED NESTED INTERVAL THEOREM. Notice that nothing is said about the representation of a real number being unique. In fact any rational number that has a representation that ends with an infinite string of 0 s has another representation that ends in a string of 9 s. And vice versa. Exercise.34 Make a flowchart of theorems and connective arguments that take us from the Completeness Axiom to the representation of real numbers as decimals.

64 CHAPTER. LIMITS OF SEQUENCES

Chapter 3 Counting 3. Finite vs Infinite We will be using the notion of a correspondence of two sets. This is just a bijection between the sets. Definition Recall that we say that a set, S, is finite whenever there exists a integer, N 0, and a correspondence between S and {n Z + : n N}. N is then the number of elements in the set. We say that a set is infinite if it is not finite. editor: define cardinality Definition We say that a set, S, is countable whenever there exists correspondence between S and a subset of Z +. Exercise 3. Prove the following theorem. Theorem 3. Given two countable sets, U and V. Any subset of U is countable.. U V is countable 3. U V is countable Proof. True or False Which of the following statements are true? Prove or give a counterexample. a) If A 0 A A A 3 A 4 are all infinite subsets of R, then n=a n is infinite. 65

66 CHAPTER 3. COUNTING b) If A 0 A A A 3 A 4 are all finite, non-empty subsets of R, then n=a n is finite and non-empty.

3.. FINITE VS INFINITE 67 3.. The rational numbers Theorem 3. The rational numbers are countable. Proof. Consider this array that contains all the positive rational numbers. By counting along the diagonals, we can assign each rational number a positive integer to a rational number. 3 4 5 5 6 6 7 8 9 0 3 3 / 7 / 4 5 6 7 8 9 0 3 3 4 8 / 3 3 4 3 5 3 6 3 7 3 8 3 9 3 0 3 3 4 4 9 / 3 4 4 4 5 4 6 4 7 4 8 4 9 4 0 4 4 5 0 5 3 5 4 5 5 5 6 5 7 5 8 5 9 5 0 5 5 6 6 3 6 4 6 5 6 6 6 7 6 8 6 9 6 0 6 6 7 7 3 7 4 7 5 7 6 7 7 7 8 7 9 7 0 7 7 8 8 3 8 4 8 5 8 6 8 7 8 8 8 9 8 0 8 8 Example 3. This procedure that gives a list of all positive rational numbers is an example of a sequence whose image is all positive rational numbers. This sequence clearly diverges as we can find a subsequence that is unbounded by picking out the sequence elements that are integers. We can also find subsequences that converge to any given positive number. Exercise 3. Using the sequence of rational numbers given above, describe a procedure to find a subsequence that converges to a particular real number, r. Example 3. There is a sequence whose image is the rational numbers between 0 and. List these numbers by first listing in order all fractions that have denominator, followed by those with denominator 3, and so on. In Figure 3. we show this sequence. In this case we eliminated duplicates as we listed the fractions. Exercise 3.3 Using a similar argument show that NxN is countable. Exercise 3.4 Using a similar argument show that the countable union of countable sets is countable.

68 CHAPTER 3. COUNTING Figure 3.: A sequence whose image is all rational numbers in [0,] 3.. How many decimals are there? Theorem 3.3 The real numbers are not countable. Proof. We will in fact show that the interval (0, ) is not countable. The method of proof is called Cantor s diagonal argument after the mathematician who first used it. Suppose we had had a correspondence between Z + and the real numbers, using the decimal representation of the real numbers we could list them like this: 0.a a a 3 a 4 a 5 a 6 a 7 a 8 a 9 0.a a a 3 a 4 a 5 a 6 a 7 a 8 a 9 3 0.a 3 a 3 a 33 a 34 a 35 a 36 a 37 a 38 a 39 4 0.a 4 a 4 a 43 a 44 a 45 a 46 a 47 a 48 a 49 5 0.a 5 a 5 a 53 a 54 a 55 a 56 a 57 a 58 a 59 6 0.a 6 a 6 a 63 a 64 a 65 a 66 a 67 a 68 a 69 7 0.a 7 a 7 a 73 a 74 a 75 a 76 a 77 a 78 a 79 8 0.a 8 a 8 a 83 a 84 a 85 a 86 a 87 a 88 a 89 Make a number, 0.a a a 3 a 4 a 5 a 6 a 7 a 8 that is not on the list by defining a k = a kk + mod 0. This number can not be on our list because it differs from the k th element on the list in the k th decimal place.

3.. CANTOR SETS 69 3. Cantor Sets Draw a picture of the recursive procedure that defines the Cantor Set. View the Cantor set as the intersection of a countable number of closed sets. Conclude that the Cantor Set is closed. The Cantor Set is not countable. The complement of the Cantor Set has accumulated length of. The Cantor Set consists of all real numbers in [0, ] whose tertiary expansion can be written with no s The dimension of the Cantor Set is log /log3 Exercises: construct other Cantor Sets.

70 CHAPTER 3. COUNTING

Chapter 4 Functions 4.0 Limits Definition Let f : D R. We write lim x p f (x) = L and say the limit as x approaches p of f (x) is L, whenever, For all ɛ > 0, there exists δ > 0, so that for x D, 0 < x p < δ = f (x) L < ɛ. To emphasize the domain, we may say: the limit as x approaches p in D. Note: The 0 < is included because it is not necessary for the limit to be equal to f (p). It is not even necessary for f to be defined at p. This is important later on when we define derivatives as limits. The concern disappears when we use limits to define continuity and derivatives. We don t go through the step of L = 0 as we did for limits of sequences because we are so much better at deconstructing limit statements now. However, it is true that Theorem 4. lim x p f (x) = L lim x p (f (x) L) = 0 Definition We say that f (x) converges to L sequentially as x p whenever, for any sequence, x n D {p} x n p = f (x n ) L We do not consider values of p for the sequence because f (p) may not be equal to L. Again, this won t be a concern with continuity. Theorem 4. lim x p f (x) = L if and only if f (x) converges to L sequentially as x p 7

7 CHAPTER 4. FUNCTIONS Proof. EFS Now, either definition of limit can be used in the proof of the following theorem. Theorem 4.3 ALGEBRAIC PROPERTIES OF LIMITS 3 Given two functions f and g defined on a domain, D, with lim f (x) = A and lim g(x) = B, the following are true: x p x p. lim x p (f + g)(x) = A + B. lim x p (f g)(x) = A B 3. If f (x) 0 for any x D and if A 0, then lim x p ( f )(x) = A Proof. A good way to prove these theorems is using sequential convergence and the corresponding theorems about sequences. Theorem 4.4 SQUEEZE THEOREM Given two functions f and g defined on a domain, D, with lim f (x) = lim g(x) = C, and another function, h, defined on D, with x p x p f (x) h(x) g(x) for all x D, then lim h(x) = C x p Proof. Given ɛ > 0, find δ > 0 such that x p < δ = f (x) C < ɛ and f (x) C < ɛ The following inequalities demonstrate that h(x) C < ɛ, so lim x p h(x) = C ɛ f (x) C f (x) C h(x) C g(x) C g(x) C < ɛ Exercise 4. Because we are taking advantage of sequential limits, we did not need to prove the following theorem to prove Theorem 4.3. Prove this theorem: Theorem 4.5 If lim x p f (x) = A, then f is bounded in some open interval about p. 4. Continuity For the following, consider a function, f : D R. Definition CONTINUITY AT A POINT We say that the f is continuous at p D if lim f (x) = f (p). x p

4.. CONTINUITY 73 Example 4. The function x is continuous at the point p = 3. Proof. directly from the definition: We need to show that lim x = 9. x 3 Given ɛ > 0, find a δ < min{, ɛ 7 }. Then we can see that if x 3 < δ we have x 9 = x 3 x + 3 < δ 7 < ɛ 7 7 = ɛ. [Justifications: Because δ < min{, ɛ 7 }, we know that δ is less than both and ɛ 7. if x 3 <, then x + 3 = x 3 + 6 x 3 + 6 < + 6 = 7. This justifies the first <. The second < is justified because δ < ɛ 7 ] So x 3 < δ = x 9 < ɛ, as we needed to show. Exercise 4. Directly from the definition of limit, show that the function x is continuous at the point p = 4. Definition CONTINUITY ON A SUBSET OF THE DOMAIN We say that a function, f, is continuous on E D if it is continuous at all points of E. Exercise 4.3 The function x is continuous on R. Exercise 4.4 The function x is continuous on R. Exercise 4.5 Give an example of a function is continuous on all but 3 points in R. 4.. Sequential continuity We could have used a sequentially definition for continuous at a point. Here it is said in a theorem. Theorem 4.6 A function f is continuous at a point p D if and only if for any sequence, x n D x n p = f (x n ) f (p) Proof. Another way to state the conclusion of this theorem is: If f continuous on E and s n E converges to a point in E, then f ( lim s n ) = lim f (s n ) Exercise 4.6 Use the sequential definition of continuity to show that the function x is continuous on R.

74 CHAPTER 4. FUNCTIONS Exercise 4.7 Give an example of a function, f, and a sequence of points, s n, is the domain of f, such that f (s n ) converges, but s n does not. Exercise 4.8 Prove the basic facts about continuous functions stated in the following theorem: Theorem 4.7 ALGEBRAIC PROPERTIES OF CONTINUITY Given two functions f and g defined and continuous on a domain, D, the following are true:. f + g is continuous on D.. f g is continuous on D. 3. If f (x) 0 for any x D, f is continuous on D. Proof. A good way to prove these theorems is to use the corresponding theorems about limits of functions. Exercise 4.9 Prove the following theorem. Theorem 4.8 The addition functions, s b : x x + b, and multiplication functions, t m : x m x, are continuous on R. Theorem 4.9 Polynomials are continuous. Proof. EFS First make a flowchart of the proof. What simpler facts should you prove first? What is the overall plan of attack. Theorem 4.0 Rational functions are continuous wherever they are defined. Proof. EFS Use theorem 4.9 4.. More Examples and Theorems An aside to discussion inverse functions The composition of two functions and the inverse of a function can be defined in the most abstract settings. We review those concepts here before considering the continuity of compositions and inverse functions. Definition Given two functions, f : D E and g : E F, the function, g f : D F is defined for each x D by g f (x) = g(f (x)). We write g f and say composition of g with f.

4.. CONTINUITY 75 Theorem 4. If f : D E and g : E F are continuous on their respective domains, then g f : D F is continuous on D. Proof. Definition We say that a function, f : D E has an inverse function, if there exists a function, f : E D such that for all d D, f f (d) = d. Exercise 4.0 The proof of the following theorem is fundamental to understanding inverse functions. Theorem 4. If f : D E has an inverse f : E D, then f has an inverse and it is f, that is for all e E, f f (e) = e. Proof. Exercise 4. There are not many examples available to us now without Υ. However, we can note that the addition function, s b : x x + b has an inverse. Show that s b = s b. Also, the multiplication function, t m : x m x, has an inverse as long as m 0. Show that t m = t m. Exercise 4. Write a formula for the composition function t m s b and another for s b t m What are the inverses of these composition functions? Theorem 4.3 Given two functions, f : D E and g : E F, If both have inverses, so does g f : D F. In fact, Proof. EFS (g f ) = f g A library of functions It is good to have a well stocked library of functions to help think about the various properties and theorems.. polynomials and rational functions. piecewise continuous: step functions

76 CHAPTER 4. FUNCTIONS 3. piecewise differentiable: absolute value 4. characteristic function of the rationals 5. cantor function 6. inverse functions, like x 7. Υ exponential, logarithms and trigonometric 8. power series 4..3 Uniform Continuity Later we will need a stronger type of continuity: Definition We say that a function f is uniformly continuous on E D whenever For all ɛ > 0, there exists a real number, δ > 0, such that for all x and p E, x p < δ = f (x) f (p) < ɛ. This defines a stronger condition than the just continuity. Given ɛ > 0 one must find a δ that works for all p E. If one does not want to show uniform continuity, one can find δ that is dependent on the particular value of p. Exercise 4.3 f (x) = x is uniformly continuous on [, ). Exercise 4.4 f (x) = x is uniformly continuous on [0, ]. Exercise 4.5 f (x) = x is not uniformly continuous on [, ). Exercise 4.6 f (x) = x is uniformly continuous on [0, ]. Uniform continuity will be needed when we talk about integrals. The following theorem is very helpful. Theorem 4.4 A continuous function on a closed and bounded set is uniformly continuous on that set. Proof. Let f :K R, where K is a closed and bounded subset of R, be continuous at all points in K. Assume f is not uniformly continuous on K. Then there exists an ɛ > 0 and sequences x n K, p n K and δ n 0 with x n p n < δ n but f (x n ) f (p n ) ɛ. x n is bounded and so has a converging subsequence, x nk. Now p nk is bounded and so has a converging subsequence, p nkm. For all m, we have x nkm p nkm < δ nkm.

4.. INTERMEDIATE VALUE THEOREM 77 So the limits are same: lim m x n km = lim m p n km. By sequential continuity, lim m f (x nkm ) f (y nkm ) 0. So the difference cannot be bounded below by ɛ. Exercise 4.7 Is a linear combination of two uniformly continuous functions uniformly continuous? Explain. Exercise 4.8 What are the other analogous facts for continuous functions and uniformly continuous functions from Theorem 4.3? Are they true or not? 4. Intermediate Value Theorem Theorem 4.5 THE INTERMEDIATE VALUE THEOREM A function that is continuous on a closed, bounded interval [a, b] attains every value on the interval [f (a), f (b)]. Proof. If f (a) = f (b), we are done. So assume, without lose of generality, that f (a) < f (b) and let c be any number in [f (a), f (b)]. We will show that there exists two nested sequences of closed intervals, [a n, b n ] and [f (a n ), f (b n )] with c [f (a n ), f (b n )] such that the lengths of both go to zero. We will then use the extensions of the nested interval theorem to show that the unique number in all the [f (a n ), f (b n )] is f (c). We define the intervals inductively: Base case: Let a 0 = a and b 0 = b. c was chosen to be in [f (a n ), f (b n )]. Assume that [a n, b n ] and [f (a n ), f (b n )] are defined as required, proceed inductively: Let m be the midpoint of the interval [a n, b n ]. There are three cases:. If f (m) = c, we are done.. If f (m) < c < f (b n ), let a n+ = m and b n+ = b n. 3. If f (a n ) < c < f (m), let a n+ = a n and b n+ = m. In either case of the last two cases, f (a n+ ) < c < f (b n+ ). This new interval, [a n+, b n+ ] is half the length of the previous because m in the midpoint. Because the intervals are cut in half at each step, the lengths converge to 0 and the extension of the Nested Interval Theorem: there is a point, p, in all of the intervals and a n p and b n p. By sequential continuity f (a n ) f (p) and f (b n ) f (p). By the squeeze theorem, f (p) = c. Exercise 4.9 Show that there exists a real number c such that c 4 c = 3. Is c unique?

78 CHAPTER 4. FUNCTIONS Theorem 4.6 Let p : R R be a polynomial of odd degree. There exists a real number, c, such that p(c) = 0 Proof. EFS Exercise 4.0 Use the THE INTERMEDIATE VALUE THEOREM to show that there was a time in your life when your height in inches was equal to your weight in pounds. Exercise 4. Prove: If f : [a, b] R, g : [a, b] R, f (a) < g(a) and g(b) < f (b), there exists a real number, c (a, b), such that f (c) = g(c). Theorem 4.7 If a function,f : [a, b] R is strictly increasing on the interval, [a, b], then there exists an inverse function, f : [f (a), f (b)] [a, b]. f is increasing on the interval [f (a), f (b)]. Proof. Since f is increasing on the interval, f (a) is the minimum value of f and f (b) is the maximum value of f. We will define f (y) for each y [f (a), f (b)], and then show that f is indeed the inverse of f. For y f (a), f (b)], there is an unique x [a, b] such that f (x) = y. The THE INTERMEDIATE VALUE THEOREM (Theorem 4.5) guarantees there is at least one such x. There cannot be two because the function is strictly increasing. So define f (y) = x. Clearly, f f (y) = y. Which of the following statements are true? Explain. True or False 3 a) A decreasing function defined on [a, b] has an inverse defined on [f (b), f (a)]? b) An increasing function defined on (a, b) has an inverse defined on (f (a), f (b))? c) If a function has an inverse on an interval, it must be either increasing or decreasing on that interval. d) The function f : x x has an inverse. 4.3 Continuous images of sets Subsets of R that are both closed and bounded are also called compact. There is a more general definition for compact in other topological spaces but, for this book, we stick to closed and bounded. Compact sets are important in topology for reasons given in the next few theorems. Theorem 4.8 The continuous image of a closed bounded set is closed and bounded.

4.4. OPTIONAL: CONNECTED SETS 79 Proof. Setup: Let C be a closed bounded set and let f : C R be continuous. We will show that f (C) is also closed and bounded. First, f (C) is bounded: Assume the image of C is not bounded. Then there exists a sequence of points in f (C) that converge to + (or ). Now, the x n live back in C and so, by THE BOLZANO-WEIERSTRASS THEOREM(Theorem.5), have a convergent subsequence, say x nk x. Because C is closed x C. Now, f is continuous on C so f (x nk ) f (x). But a convergent sequence is bounded so f (x nk ) cannot be a subsequence of a sequence that converges to + (or ). This is a contradiction, so f (C) is bounded. f (C) is closed: Let y be a limit point of C. So y n = f (x n ) y. We will show that y f (C) which will prove that f (C) is closed. Because x n C and C is bounded, there is a subsequence x nk x (BW again). Since C is closed, x C. Since f is continuous on C, f (x nk ) f (x). So y = f (x) and y f (C) Theorem 4.9 The inverse image, under a continuous function, of an open set is open. Which of the following statements are true? Explain. True or False 4 a) The continuous image of an open set is open. b) The continuous image of an unbounded set is unbounded. c) The inverse image, under a continuous function, of an closed set is closed. d) The inverse image, under a continuous function, of a bounded set is bounded. 4.4 Optional: Connected Sets Theorem 4.0 The continuous image of a connect set is connected. An alternative proof of the intermediate value theorem: Let f : [a, b] R be continuous. The image of [a, b] is connected so it is an interval. It is bounded, so it is a finite interval. Finally it is closed, so it is a closed interval. So this interval must contain all of the interval [f (a), f (b)]. Hence every number in [f (a), f (b)] is in the image of f.

80 CHAPTER 4. FUNCTIONS 4.5 Existence of extrema Theorem 4. A continuous function defined on a closed, bounded set obtains a maximum (and a minimum value) on that set. Proof. Exercise 4. Find the maximum and minimum value of the function, f (x) = x bx+c on the closed interval, [0, ]. You will have to handle cases for different values of b and c. 4.6 Derivatives 4.6. Definitions Definition DERIVATIVE AT A POINT We say that a function,f : D R is differentiable at a point p D, whenever the following limit exists. lim x p f (x) f (p). (4.) x p Notation We call the limit 4. the derivative of f at p, and write f (p). f f (x) f (p) (p) = lim. (4.) x p x p Definition THE DERIVATIVE FUNCTION If the limit 4. exists for all p in a subset, E, of the domain of f, it defines a function which we write as f and we say that f is differentiable on E Theorem 4. If f : R R is constant on any open interval, then f exists on the interval and f (x) = 0 for all x in the interval. Exercise 4.3 Directly from the definition, find a formula for the derivative of the following functions at a point, p, in the domain of the function. a) x b) x c) x 4.6. Applications editor: Ask students to bring in examples from their own discipline

4.6. DERIVATIVES 8 practical significance The difference quotient represents an average rate especially useful when the domain is a time variable. The derivative at a point p, f (p) represents an instantaneous speed. geometric significance The derivative at a point p, f (p), represents the slope of the tangent line to the graph of f at the point (p, f (p)). [[insert picture]] 4.6.3 Basic Theorems Theorem 4.3 If f : D R is differentiable on D, then f is continuous on D. Theorem 4.4 Given two real-valued functions f and g defined on a domain, D R and c R.. c f + g is differentiable on D, and (c f + g) (x) = c f (x) + g (x). f g is differentiable on D, and (f g) (x) = f (x) g(x) + f (x) g (x) Exercise 4.4 Restate the following theorem to include a formula for the derivative of a polynomial. Prove the theorem. Theorem 4.5 Polynomials are differentiable. Exercise 4.5 If f (x) = x, then f is differentiable on (0, + ) and f (x) = x Exercise 4.6 Carefully state a theorem that describes the derivative of a composition of two functions. Prove your theorem. If f (x) > 0 on an interval (a, b) D, then f (x) is increasing on (a, b). True or False 5 4.6.4 Zero Derivative Theorem The following series of theorems aims to show the converse of Theorem 4.: If a function has a derivative that is zero on an open interval then the function is constant on that interval. Theorem 4.6 If a function, f, differentiable on (a, b) has a maximum value at x 0 (a, b), then f (x 0 ) = 0.

8 CHAPTER 4. FUNCTIONS Proof. Exercise 4.7 Give an example of a function that has a maximum value but the derivative at that point is not zero. Give one where the function is not differentiable and one where the interval is closed instead of open. Exercise 4.8 Give an example of a differentiable function, f, and a point, p, such that f (p) = 0, but f does not have a maximum or minimum value at p. Theorem 4.7 ROLLE S THEOREM f :[a, b] R, f continuous on [a, b], and f differentiable on (a, b). f (a) = f (b) = There exists x (a, b) with f (x ) = 0 Definition The mean value of a function, f, over the interval [a, b] is f (b) f (a) b a Note that this is the slope of the line connecting (a, f (a)) and (b, f (b)). This is an example of an existence theorem. The proof relies ultimately on BW which was constructive but unwinding that construction may be hard. In calculus, we find typically find those points where a function has maximum by solving f (x) = 0. Exercise 4.9 Write an equation for the straight line determined by the two points, (a, f (a)) and (b, f (b)). Use the point-slope formula for the equation of a line. Example 4. average speed Theorem 4.8 THE MEAN VALUE THEOREM f :[a, b] R, f continuous on [a, b], and f differentiable on (a, b). There exists x (a, b) with f (x ) = f (b) f (a) b a Exercise 4.30 Where on the interval [, ] does the derivative of f (x) = x 3 assume mean value of the function? Sketch a graph. Theorem 4.9 UNIQUENESS THEOREM If f (x) = 0 for all x (a, b), then f is constant on the interval. Proof. Let z and z be any two points in the interval, (a, b). By THE MEAN VALUE THEOREM there is a point, x (z, z ), such that f (x ) = f (z ) f (z ) z z.