CHAPTER 6. Limits of Functions. 1. Basic Definitions

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

Continuity. Chapter 4

Continuity. Chapter 4

Part 2 Continuous functions and their properties

5.4 Continuity: Preliminary Notions

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

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

CHAPTER 3. Sequences. 1. Basic Properties

Some Background Material

REVIEW OF ESSENTIAL MATH 346 TOPICS

Logical Connectives and Quantifiers

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

Analysis Finite and Infinite Sets The Real Numbers The Cantor Set

MAT 570 REAL ANALYSIS LECTURE NOTES. Contents. 1. Sets Functions Countability Axiom of choice Equivalence relations 9

CHAPTER 4. Series. 1. What is a Series?

Math 117: Topology of the Real Numbers

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

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

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

MATH NEW HOMEWORK AND SOLUTIONS TO PREVIOUS HOMEWORKS AND EXAMS

MATH 409 Advanced Calculus I Lecture 10: Continuity. Properties of continuous functions.

Definitions & Theorems

MATH 131A: REAL ANALYSIS (BIG IDEAS)

Real Analysis Notes. Thomas Goller

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

Chapter 2: Functions, Limits and Continuity

MT804 Analysis Homework II

Iowa State University. Instructor: Alex Roitershtein Summer Homework #5. Solutions

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

(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

A LITTLE REAL ANALYSIS AND TOPOLOGY

Immerse Metric Space Homework

Economics 204 Fall 2012 Problem Set 3 Suggested Solutions

Problems for Chapter 3.

MAS221 Analysis, Semester 1,

van Rooij, Schikhof: A Second Course on Real Functions

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.

MATH 23b, SPRING 2005 THEORETICAL LINEAR ALGEBRA AND MULTIVARIABLE CALCULUS Midterm (part 1) Solutions March 21, 2005

Principle of Mathematical Induction

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

Continuity. MATH 161 Calculus I. J. Robert Buchanan. Fall Department of Mathematics

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

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

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

Summer Jump-Start Program for Analysis, 2012 Song-Ying Li

van Rooij, Schikhof: A Second Course on Real Functions

MATH 140B - HW 5 SOLUTIONS

THE LIMIT PROCESS (AN INTUITIVE INTRODUCTION)

P-adic Functions - Part 1

HW 4 SOLUTIONS. , x + x x 1 ) 2

MATH 54 - TOPOLOGY SUMMER 2015 FINAL EXAMINATION. Problem 1

1 Topology Definition of a topology Basis (Base) of a topology The subspace topology & the product topology on X Y 3

Math 600 Day 2: Review of advanced Calculus

3 (Due ). Let A X consist of points (x, y) such that either x or y is a rational number. Is A measurable? What is its Lebesgue measure?

MATH 409 Advanced Calculus I Lecture 12: Uniform continuity. Exponential functions.

Chapter 1 The Real Numbers

2.4 The Precise Definition of a Limit

Continuity. To handle complicated functions, particularly those for which we have a reasonable formula or formulas, we need a more precise definition.

Thus, X is connected by Problem 4. Case 3: X = (a, b]. This case is analogous to Case 2. Case 4: X = (a, b). Choose ε < b a

NAME: Mathematics 205A, Fall 2008, Final Examination. Answer Key

Proof. We indicate by α, β (finite or not) the end-points of I and call

5 Set Operations, Functions, and Counting

2 Sequences, Continuity, and Limits

Continuity. Matt Rosenzweig

Supplementary Notes for W. Rudin: Principles of Mathematical Analysis

Chapter 2 Metric Spaces

Math 140A - Fall Final Exam

Undergraduate Notes in Mathematics. Arkansas Tech University Department of Mathematics

Solutions Final Exam May. 14, 2014

Problem Set 2: Solutions Math 201A: Fall 2016

Calculus I Exam 1 Review Fall 2016

Real Analysis - Notes and After Notes Fall 2008

Chapter 3 Continuous Functions

Existence of a Limit on a Dense Set, and. Construction of Continuous Functions on Special Sets

Analysis III. Exam 1

Economics 204 Summer/Fall 2011 Lecture 5 Friday July 29, 2011

2 Topology of a Metric Space

Math LM (24543) Lectures 02

Exercises from other sources REAL NUMBERS 2,...,

Math 117: Continuity of Functions

2.1 Convergence of Sequences

That is, there is an element

Functions. Definition 1 Let A and B be sets. A relation between A and B is any subset of A B.

Topological properties

2.31 Definition By an open cover of a set E in a metric space X we mean a collection {G α } of open subsets of X such that E α G α.

REAL AND COMPLEX ANALYSIS

Lecture 2: A crash course in Real Analysis

Summer Jump-Start Program for Analysis, 2012 Song-Ying Li. 1 Lecture 7: Equicontinuity and Series of functions

1.2 Functions What is a Function? 1.2. FUNCTIONS 11

Measure Theory and Lebesgue Integration. Joshua H. Lifton

FINAL EXAM Math 25 Temple-F06

Math 421, Homework #9 Solutions

4 Countability axioms

Math LM (24543) Lectures 01

CHAPTER 1 Limits and Their Properties

MH 7500 THEOREMS. (iii) A = A; (iv) A B = A B. Theorem 5. If {A α : α Λ} is any collection of subsets of a space X, then

Lecture 4: Completion of a Metric Space

Introduction to Topology

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

Foundations of Mathematical Analysis

Transcription:

CHAPTER 6 Limits of Functions 1. Basic Definitions DEFINITION 6.1. Let D Ω R, x 0 be a limit point of D and f : D! R. The limit of f (x) at x 0 is L, if for each " > 0 there is a ± > 0 such that when x 2 D with 0 < x x 0 <±, then f (x) L <". When this is the case, we write lim x!x0 f (x) = L. It should be noted that the limit of f at x 0 is determined by the values of f near x 0 and not at x 0. In fact, f need not even be defined at x 0. FIGURE 6.1. This figure shows a way to think about the limit. The graph of f must not leave the top or bottom of the box (x 0 ±, x 0 + ±) (L ",L + "), except possibly the point (x 0, f (x 0 )). A useful way of rewording the definition is to say that lim x!x0 f (x) = L iff for every " > 0 there is a ± > 0 such that x 2 (x 0 ±, x 0 + ±) \ D \{x 0 } implies f (x) 2 (L ",L + "). This can also be succinctly stated as 8" > 09± > 0 f ((x 0 ±, x 0 + ±) \ D \{x 0 }) Ω (L ",L + "). EXAMPLE 6.1. If f (x) = c is a constant function and x 0 2 R, then for any positive numbers " and ±, x 2 (x 0 ±, x 0 + ±) \ D \{x 0 } ) f (x) c = c c =0 < ". This shows the limit of every constant function exists at every point, and the limit is just the value of the function. 1 Lee Larson (Lee.Larson@Louisville.edu) 6-1

6-2 CHAPTER 6. LIMITS OF FUNCTIONS 8 4-2 2 FIGURE 6.2. The function from Example 6.3. Note that the graph is a line with one hole in it. EXAMPLE 6.2. Let f (x) = x, x 0 2 R, and " = ± > 0. Then x 2 (x 0 ±, x 0 + ±) \ D \{x 0 } ) f (x) x 0 = x x 0 <± = ". This shows that the identity function has a limit at every point and its limit is just the value of the function at that point. EXAMPLE 6.3. Let f (x) = 2x2 8 x 2. In this case, the implied domain of f is D = R \ {2}. We claim that lim x!2 f (x) = 8. To see this, let " > 0 and choose ± 2 (0,"/2). If 0 < x 2 <±, then f (x) 8 = 2x 2 8 Ø x 2 8 Ø = 2(x + 2) 8 =2 x 2 <". EXAMPLE 6.4. Let f (x) = p x + 1. Then the implied domain of f is D = [ 1,1). We claim that lim x! 1 f (x) = 0. To see this, let " > 0 and choose ± 2 (0," 2 ). If 0 < x ( 1) = x + 1 < ±, then f (x) 0 = p x + 1 < p p ± < " 2 = ". FIGURE 6.3. The function f (x) = x /x from Example 6.5. EXAMPLE 6.5. If f (x) = x /x for x 6= 0, then lim x!0 f (x) does not exist. (See Figure 6.3.) To see this, suppose lim x!0 f (x) = L, " = 1 and ± > 0. If L 0 and ± < x < 0, then f (x) = 1 < L ". IfL < 0 and 0 < x < ±, then f (x) = 1 > L + ". These inequalities show for any L and every ± > 0, there is an x with 0 < x <± such that f (x) L >".

1. BASIC DEFINITIONS 6-3 1.0 0.5 0.2 0.4 0.6 0.8 1.0-0.5-1.0 FIGURE 6.4. This is the function from Example 6.6. The graph shown here is on the interval [0.03,1]. There are an infinite number of oscillations from 1 to 1 on any open interval containing the origin. There is an obvious similarity between the definition of limit of a sequence and limit of a function. The following theorem makes this similarity explicit, and gives another way to prove facts about limits of functions. THEOREM 6.2. Let f : D! R and x 0 be a limit point of D. lim x!x0 f (x) = L iff whenever x n is a sequence from D \{x 0 } such that x n! x 0, then f (x n )! L. PROOF. ()) Suppose lim x!x0 f (x) = L and x n is a sequence from D \{x 0 } such that x n! x 0. Let " > 0. There exists a ± > 0 such that f (x) L <" whenever x 2 (x 0 ±, x 0 + ±) \ D \{x 0 }. Since x n! x 0, there is an N 2 N such that n N implies 0 < x n x 0 <±. In this case, f (x n ) L <", showing f (x n )! L. (() Suppose whenever x n is a sequence from D \{x 0 } such that x n! x 0, then f (x n )! L, but lim x!x0 f (x) 6= L. Then there exists an " > 0 such that for all ± > 0 there is an x 2 (x 0 ±, x 0 +±)\D\{x 0 } such that f (x) L ". In particular, for each n 2 N, there must exist x n 2 (x 0 1/n, x 0 + 1/n) \ D \{x 0 } such that f (x n ) L ". Since x n! x 0, this is a contradiction. Therefore, lim x!x0 f (x) = L. Theorem 6.2 is often used to show a limit doesn t exist. Suppose we want to show lim x!x0 f (x) doesn t exist. There are two strategies: find a sequence x n! x 0 such that f (x n ) has no limit; or, find two sequences y n! x 0 and z n! x 0 such that f (y n ) and f (z n ) converge to different limits. Either way, the theorem shows lim x!x0 fails to exist. In Example 6.5, we could choose x n = ( 1) n /n so f (x n ) oscillates between 1 and 1. Or, we could choose y n = 1/n = z n so f (x n )! 1 and f (z n )! 1. EXAMPLE 6.6. Let f (x) = sin(1/x), a n = 1 nº and b 2 n = (4n+1)º. Then a n # 0, b n # 0, f (a n ) = 0 and f (b n ) = 1 for all n 2 N. An application of Theorem 6.2 shows lim x!0 f (x) does not exist. (See Figure 6.4.) THEOREM 6.3 (Squeeze Theorem). Suppose f, g and h are all functions defined on D Ω R with f (x) g (x) h(x) for all x 2 D. Ifx 0 is a limit point of D and lim x!x0 f (x) = lim x!x0 h(x) = L, then lim x!x0 g (x) = L. PROOF. Let x n be any sequence from D \{x 0 } such that x n! x 0. According to Theorem 6.2, both f (x n )! L and h(x n )! L. Since f (x n ) g (x n ) h(x n ),

6-4 CHAPTER 6. LIMITS OF FUNCTIONS 0.10 0.05 0.02 0.04 0.06 0.08 0.10-0.05-0.10 FIGURE 6.5. This is the function from Example 6.7. The bounding lines y = x and y = x are also shown. There are an infinite number of oscillations between x and x on any open interval containing the origin. an application of the Sandwich Theorem for sequences shows g (x n )! L. Now, another use of Theorem 6.2 shows lim x!x0 g (x) = L. EXAMPLE 6.7. Let f (x) = x sin(1/x). Since 1 sin(1/x) 1 when x 6= 0, we see that x x sin(1/x) x for x 6= 0. Since lim x!0 x =0, Theorem 6.3 implies lim x!0 x sin(1/x) = 0. (See Figure 6.5.) THEOREM 6.4. Suppose f : D! R and g : D! R and x 0 is a limit point of D. If lim x!x0 f (x) = L and lim x!x0 g (x) = M, then (a) lim x!x0 (f + g )(x) = L + M, (b) lim x!x0 (af)(x) = al, 8a 2 R, (c) lim x!x0 (fg)(x) = LM, and (d) lim x!x0 (1/f )(x) = 1/L, as long as L 6= 0. PROOF. Suppose a n is a sequence from D \{x 0 } converging to x 0. Then Theorem 6.2 implies f (a n )! L and g (a n )! M. (a)-(d) follow at once from the corresponding properties for sequences. EXAMPLE 6.8. Let f (x) = 3x + 2. If g 1 (x) = 3, g 2 (x) = x and g 3 (x) = 2, then f (x) = g 1 (x)g 2 (x) + g 3 (x). Examples 6.1 and 6.2 along with parts (a) and (c) of Theorem 6.4 immediately show that for every x 2 R, lim x!x0 f (x) = f (x 0 ). In the same manner as Example 6.8, it can be shown for every rational function f (x), that lim x!x0 f (x) = f (x 0 ) whenever f (x 0 ) exists.

Section 3: Continuity 6-5 2. Unilateral Limits DEFINITION 6.5. Let f : D! R and x 0 be a limit point of ( 1, x 0 )\D. f has L as its left-hand limit at x 0 if for all " > 0 there is a ± > 0 such that f ((x 0 ±, x 0 )\D) Ω (L ",L + "). In this case, we write lim x"x0 f (x) = L. Let f : D! R and x 0 be a limit point of D \ (x 0,1). f has L as its right-hand limit at x 0 if for all " > 0 there is a ± > 0 such that f (D \(x 0, x 0 +±)) Ω (L ",L +"). In this case, we write lim x#x0 f (x) = L. 2 These are called the unilateral or one-sided limits of f at x 0. When they are different, the graph of f is often said to have a jump at x 0, as in the following example. EXAMPLE 6.9. As in Example 6.5, let f (x) = x /x. Then lim x#0 f (x) = 1 and lim x"0 f (x) = 1. (See Figure 6.3.) In parallel with Theorem 6.2, the one-sided limits can also be reformulated in terms of sequences. THEOREM 6.6. Let f : D! R and x 0. (a) Let x 0 be a limit point of D \(x 0,1). lim x#x0 f (x) = L iff whenever x n is a sequence from D \ (x 0,1) such that x n! x 0, then f (x n )! L. (b) Let x 0 be a limit point of ( 1, x 0 )\D. lim x"x0 f (x) = L iff whenever x n is a sequence from ( 1, x 0 ) \ D such that x n! x 0, then f (x n )! L. The proof of Theorem 6.6 is similar to that of Theorem 6.2 and is left to the reader. THEOREM 6.7. Let f : D! R and x 0 be a limit point of D. lim f (x) = L () lim f (x) = L = lim f (x) x!x 0 x"x0 x#x0 PROOF. This proof is left as an exercise. THEOREM 6.8. If f :(a,b)! R is monotone, then both unilateral limits of f exist at every point of (a,b). PROOF. To be specific, suppose f is increasing and x 0 2 (a,b). Let " > 0 and L = lub{f (x):a < x < x 0 }. According to Corollary 2.20, there must exist an x 2 (a, x 0 ) such that L " < f (x) L. Define ± = x 0 x. Ify 2 (x 0 ±, x 0 ), then L " < f (x) f (y) L. This shows lim x"x0 f (x) = L. The proof that lim x#x0 f (x) exists is similar. To handle the case when f is decreasing, consider f instead of f. 3. Continuity DEFINITION 6.9. Let f : D! R and x 0 2 D. f is continuous at x 0 if for every " > 0 there exists a ± > 0 such that when x 2 D with x x 0 <±, then f (x) f (x 0 ) <". The set of all points at which f is continuous is denoted C(f ).

6-6 CHAPTER 6. LIMITS OF FUNCTIONS FIGURE 6.6. The function f is continuous at x 0, if given any " > 0 there is a ± > 0 such that the graph of f does not cross the top or bottom of the dashed rectangle (x 0 ±, x 0 + d) (f (x 0 ) ", f (x 0 ) + "). Several useful ways of rephrasing this are contained in the following theorem. They are analogous to the similar statements made about limits. Proofs are left to the reader. THEOREM 6.10. Let f : D! R and x 0 2 D. The following statements are equivalent. (a) x 0 2 C(f ), (b) For all " > 0 there is a ± > 0 such that x 2 (x 0 ±, x 0 + ±) \ D ) f (x) 2 (f (x 0 ) ", f (x 0 ) + "), (c) For all " > 0 there is a ± > 0 such that EXAMPLE 6.10. Define f ((x 0 ±, x 0 + ±) \ D) Ω (f (x 0 ) ", f (x 0 ) + "). f (x) = It follows from Example 6.3 that 2 2 C(f ). ( 2x 2 8 x 2, x 6= 2 8, x = 2. There is a subtle difference between the treatment of the domain of the function in the definitions of limit and continuity. In the definition of limit, the target point, x 0 is required to be a limit point of the domain, but not actually be an element of the domain. In the definition of continuity, x 0 must be in the domain of the function, but does not have to be a limit point. To see a consequence of this difference, consider the following example. EXAMPLE 6.11. If f : Z! R is an arbitrary function, then C(f ) = Z. To see this, let n 0 2 Z, " > 0 and ± = 1. If x 2 Z with x n 0 <±, then x = n 0. It follows that f (x) f (n 0 ) =0 < ", so f is continuous at n 0. 2 Calculus books often use the notation limx"x0 f (x) = lim x!x0 f (x) and lim x#x0 f (x) = lim x!x0 + f (x).

Section 3: Continuity 6-7 This leads to the following theorem. THEOREM 6.11. Let f : D! R and x 0 2 D. Ifx 0 is a limit point of D, then x 0 2 C(f ) iff lim x!x0 f (x) = f (x 0 ).Ifx 0 is an isolated point of D, then x 0 2 C(f ). PROOF. If x 0 is isolated in D, then there is an ± > 0 such that (x 0 ±, x 0 + ±) \ D = {x 0 }. For any " > 0, the definition of continuity is satisfied with this ±. Next, suppose x 0 2 D 0. The definition of continuity says that f is continuous at x 0 iff for all " > 0 there is a ± > 0 such that when x 2 (x 0 ±, x 0 + ±) \ D, then f (x) 2 (f (x 0 ) ", f (x 0 ) + "). The definition of limit says that lim x!x0 f (x) = f (x 0 ) iff for all " > 0 there is a ± > 0 such that when x 2 (x 0 ±, x 0 +±)\D \{x 0 }, then f (x) 2 (f (x 0 ) ", f (x 0 )+"). Comparing these two definitions, it is clear that x 0 2 C(f ) implies lim f (x) = f (x 0 ). x!x 0 On the other hand, suppose lim x!x0 f (x) = f (x 0 ) and " > 0. Choose ± according to the definition of limit. When x 2 (x 0 ±, x 0 + ±) \ D \{x 0 }, then f (x) 2 (f (x 0 ) ", f (x 0 ) + "). It follows from this that when x = x 0, then f (x) f (x 0 ) = f (x 0 ) f (x 0 ) = 0 < ". Therefore, when x 2 (x 0 ±, x 0 +±)\D, then f (x) 2 (f (x 0 ) ", f (x 0 ) + "), and x 0 2 C(f ), as desired. EXAMPLE 6.12. If f (x) = c, for some c 2 R, then Example 6.1 and Theorem 6.11 show that f is continuous at every point. EXAMPLE 6.13. If f (x) = x, then Example 6.2 and Theorem 6.11 show that f is continuous at every point. COROLLARY 6.12. Let f : D! R and x 0 2 D. x 0 2 C(f ) iff whenever x n is a sequence from D with x n! x 0, then f (x n )! f (x 0 ). PROOF. Combining Theorem 6.11 with Theorem 6.2 shows this to be true. EXAMPLE 6.14 (Dirichlet Function). Suppose ( 1, x 2 Q f (x) = 0, x Q. For each x 2 Q, there is a sequence of irrational numbers converging to x, and for each y 2 Q c there is a sequence of rational numbers converging to y. Corollary 6.12 shows C(f ) =;. EXAMPLE 6.15 (Salt and Pepper Function). Since Q is a countable set, it can be written as a sequence, Q = {q n : n 2 N}. Define ( 1/n, x = qn, f (x) = 0, x 2 Q c. If x 2 Q, then x = q n, for some n and f (x) = 1/n > 0. There is a sequence x n from Q c such that x n! x and f (x n ) = 0 6! f (x) = 1/n. Therefore C(f ) \ Q =;.

6-8 CHAPTER 6. LIMITS OF FUNCTIONS On the other hand, let x 2 Q c and " > 0. Choose N 2 N large enough so that 1/N < " and let ± = min{ x q n :1 n N}. If x y <±, there are two cases to consider. If y 2 Q c, then f (y) f (x) = 0 0 =0 < ". Ify 2 Q, then the choice of ± guarantees y = q n for some n > N. In this case, f (y) f (x) =f (y) = f (q n ) = 1/n < 1/N < ". Therefore, x 2 C(f ). This shows that C(f ) = Q c. It is a consequence of the Baire category theorem that there is no function f such that C(f ) = Q. Proving this would take us too far afield. The following theorem is an almost immediate consequence of Theorem 6.4. THEOREM 6.13. Let f : D! R and g : D! R. Ifx 0 2 C(f ) \C(g ), then (a) x 0 2 C(f + g ), (b) x 0 2 C(Æf ), 8Æ 2 R, (c) x 0 2 C(f g), and (d) x 0 2 C(f /g ) when g (x 0 ) 6= 0. COROLLARY 6.14. If f is a rational function, then f is continuous at each point of its domain. PROOF. This is a consequence of Examples 6.12 and 6.13 used with Theorem 6.13. THEOREM 6.15. Suppose f : D f! R and g : D g! R such that f (D f ) Ω D g.if there is an x 0 2 C(f ) such that f (x 0 ) 2 C(g ), then x 0 2 C(g ± f ). PROOF. Let " > 0 and choose ± 1 > 0 such that g ((f (x 0 ) ± 1, f (x 0 ) + ± 1 ) \ D g ) Ω (g ± f (x 0 ) ", g ± f (x 0 ) + "). Choose ± 2 > 0 such that Then f ((x 0 ± 2, x 0 + ± 2 ) \ D f ) Ω (f (x 0 ) ± 1, f (x 0 ) + ± 1 ). g ± f ((x 0 ± 2, x 0 + ± 2 ) \ D f ) Ω g ((f (x 0 ) ± 1, f (x 0 ) + ± 1 ) \ D g ) Ω (g ± f (x 0 ) ", g ± f (x 0 ) + "). Since this shows Theorem 6.10(c) is satisfied at x 0 with the function g ± f, it follows that x 0 2 C(g ± f ). EXAMPLE 6.16. If f (x) = p x for x 0, then according to Problem 6.8, C(f ) = [0,1). Theorem 6.15 shows f ± f (x) = 4p x is continuous on [0,1). In similar way, it can be shown by induction that f (x) = x m/2n is continuous on [0,1) for all m,n 2 Z. 4. Unilateral Continuity DEFINITION 6.16. Let f : D! R and x 0 2 D. f is left-continuous at x 0 if for every " > 0 there is a ± > 0 such that f ((x 0 ±, x 0 ] \ D) Ω (f (x 0 ) ", f (x 0 ) + "). Let f : D! R and x 0 2 D. f is right-continuous at x 0 if for every " > 0 there is a ± > 0 such that f ([x 0, x 0 + ±) \ D) Ω (f (x 0 ) ", f (x 0 ) + ").

Section 4: Unilateral Continuity 6-9 EXAMPLE 6.17. Let the floor function be and the ceiling function be bxc=max{n 2 Z : n x} dxe=min{n 2 Z : n x}. The floor function is right-continuous, but not left-continuous at each integer, and the ceiling function is left-continuous, but not right-continuous at each integer. THEOREM 6.17. Let f : D! R and x 0 2 D. x 0 2 C(f ) iff f is both right and left-continuous at x 0. PROOF. The proof of this theorem is left as an exercise. According to Theorem 6.7, when f is monotone on an interval (a,b), the unilateral limits of f exist at every point. In order for such a function to be continuous at x 0 2 (a,b), it must be the case that lim f (x) = f (x 0 ) = lim f (x). x"x 0 x#x0 If either of the two equalities is violated, the function is not continuous at x 0. In the case, when lim x"x0 f (x) 6= lim x#x0 f (x), it is said that a jump discontinuity occurs at x 0. EXAMPLE 6.18. The function f (x) = has a jump discontinuity at x = 0. ( x /x, x 6= 0 0, x = 0. In the case when lim x"x0 f (x) = lim x#x0 f (x) 6= f (x 0 ), it is said that f has a removable discontinuity at x 0. The discontinuity is called removable because in this case, the function can be made continuous at x 0 by merely redefining its value at the single point, x 0, to be the value of the two one-sided limits. EXAMPLE 6.19. The function f (x) = x2 4 x 2 is not continuous at x = 2 because 2 is not in the domain of f. Since lim x!2 f (x) = 4, if the domain of f is extended to include 2 by setting f (2) = 4, then this extended f is continuous everywhere. (See Figure 6.7.) THEOREM 6.18. If f :(a,b)! R is monotone, then (a,b)\c(f ) is countable. PROOF. In light of the discussion above and Theorem 6.7, it is apparent that the only types of discontinuities f can have are jump discontinuities. To be specific, suppose f is increasing and x 0, y 0 2 (a,b) \C(f ) with x 0 < y 0. In this case, the fact that f is increasing implies lim f (x) < lim f (x) lim f (x) < lim f (x). x"x 0 x#x0 x"y0 x#y0 This implies that for any two x 0, y 0 2 (a,b)\c(f ), there are disjoint open intervals, I x0 = (lim x"x0 f (x),lim x#x0 f (x)) and I y0 = (lim x"y0 f (x),lim x#y0 f (x)). For each

6-10 CHAPTER 6. LIMITS OF FUNCTIONS 7 6 5 4 3 2 1 f(x) = x2 4 x 2 1 2 3 4 FIGURE 6.7. The function from Example 6.19. Note that the graph is a line with one hole in it. Plugging up the hole removes the discontinuity. x 2 (a,b) \C(f ), choose q x 2 I x \ Q. Because of the pairwise disjointness of the intervals {I x : x 2 (a,b) \C(f )}, this defines an bijection between (a,b) \C(f ) and a subset of Q. Therefore, (a,b)\c(f ) must be countable. A similar argument holds for a decreasing function. Theorem 6.18 implies that a monotone function is continuous at nearly every point in its domain. Characterizing the points of discontinuity as countable is the best that can be hoped for, as seen in the following example. EXAMPLE 6.20. Let D = {d n : n 2 N} be a countable set and define J x = {n : d n < x}. The function ( 0, Jx =; (6.1) f (x) = 1 Pn2J x 2 J n x 6= ;. is increasing and C(f ) = D c. The proof of this statement is left as Exercise 6.9. 5. Continuous Functions Up until now, continuity has been considered as a property of a function at a point. There is much that can be said about functions continuous everywhere. DEFINITION 6.19. Let f : D! R and A Ω D. We say f is continuous on A if A Ω C(f ). If D = C(f ), then f is continuous. Continuity at a point is, in a sense, a metric property of a function because it measures relative distances between points in the domain and image sets. Continuity on a set becomes more of a topological property, as shown by the next few theorems. THEOREM 6.20. f : D! R is continuous iff whenever G is open in R, then f 1 (G) is relatively open in D.

Section 5: Continuous Functions 6-11 PROOF. ()) Assume f is continuous on D and let G be open in R. Let x 2 f 1 (G) and choose " > 0 such that (f (x) ", f (x) + ") Ω G. Using the continuity of f at x, we can find a ± > 0 such that f ((x ±, x + ±) \ D) Ω G. This implies that (x ±, x + ±) \ D Ω f 1 (G). Because x was an arbitrary element of f 1 (G), it follows that f 1 (G) is open. (() Choose x 2 D and let " > 0. By assumption, the set f 1 ((f (x) ", f (x)+")) is relatively open in D. This implies the existence of a ± > 0 such that (x ±, x + ±) \ D Ω f 1 ((f (x) ", f (x) + "). It follows from this that f ((x ±, x + ±) \ D) Ω (f (x) ", f (x) + "), and x 2 C(f ). A function as simple as any constant function demonstrates that f (G) need not be open when G is open. Defining f : [0,1)! R by f (x) = sin x tan 1 x shows that the image of a closed set need not be closed because f ([0,1)) = ( º/2,º/2). THEOREM 6.21. If f is continuous on a compact set K, then f (K ) is compact. PROOF. Let O be an open cover of f (K ) and I = {f 1 (G):G 2 O}. By Theorem 6.20, I is a collection of sets which are relatively open in K. Since I covers K, I is an open cover of K. Using the fact that K is compact, we can choose a finite subcover of K from I, say {G 1,G 2,...,G n }. There are {H 1, H 2,...,H n } Ω O such that f 1 (H k ) = G k for 1 k n. Then! [ f (K ) Ω f G k = [ H k. 1 k n 1 k n Thus, {H 1, H 2,...,H 3 } is a subcover of f (K ) from O. Several of the standard calculus theorems giving properties of continuous functions are consequences of Corollary 6.21. In a calculus course, K is usually a compact interval, [a, b]. COROLLARY 6.22. If f : K! R is continuous and K is compact, then f is bounded. PROOF. By Theorem 6.21, f (K ) is compact. Now, use the Bolzano-Weierstrass theorem to conclude f is bounded. COROLLARY 6.23 (Maximum Value Theorem). If f : K! R is continuous and K is compact, then there are m, M 2 K such that f (m) f (x) f (M) for all x 2 K. PROOF. According to Theorem 6.21 and the Bolzano-Weierstrass theorem, f (K ) is closed and bounded. Because of this, glb f (K ) 2 f (K ) and lub f (K ) 2 f (K ). It suffices to choose m 2 f 1 (glb f (K )) and M 2 f 1 (lub f (K )). COROLLARY 6.24. If f : K! R is continuous and invertible and K is compact, then f 1 : f (K )! K is continuous. PROOF. Let G be open in K. According to Theorem 6.20, it suffices to show f (G) is open in f (K ). To do this, note that K \G is compact, so by Theorem 6.21, f (K \G) is compact, and therefore closed. Because f is injective, f (G) = f (K ) \ f (K \G). This shows f (G) is open in f (K ).

6-12 CHAPTER 6. LIMITS OF FUNCTIONS THEOREM 6.25. If f is continuous on an interval I, then f (I ) is an interval. PROOF. If f (I) is not connected, there must exist two disjoint open sets, U and V, such that f (I ) Ω U [V and f (I ) \U 6= ; 6= f (I ) \V. In this case, Theorem 6.20 implies f 1 (U) and f 1 (V ) are both open. They are clearly disjoint and f 1 (U) \ I 6= ; 6= f 1 (V ) \ I. But, this implies f 1 (U) and f 1 (V ) disconnect I, which is a contradiction. Therefore, f (I ) is connected. COROLLARY 6.26 (Intermediate Value Theorem). If f :[a,b]! R is continuous and Æ is between f (a) and f (b), then there is a c 2 [a,b] such that f (c) = Æ. PROOF. This is an easy consequence of Theorem 6.25 and Theorem 5.14. DEFINITION 6.27. A function f : D! R has the Darboux property if whenever a,b 2 D and is between f (a) and f (b), then there is a c between a and b such that f (c) =. Calculus texts usually call the Darboux property the intermediate value property. Corollary 6.26 shows that a function continuous on an interval has the Darboux property. The next example shows continuity is not necessary for the Darboux property to hold. EXAMPLE 6.21. The function f (x) = ( sin1/x, x 6= 0 0, x = 0 is not continuous, but does have the Darboux property. (See Figure 6.4.) It can be seen from Example 6.6 that 0 C(f ). To see f has the Darboux property, choose two numbers a < b. If a > 0 or b < 0, then f is continuous on [a,b] and Corollary 6.26 suffices to finish the proof. On the other hand, if 0 2 [a,b], then there must exist an n 2 Z such that both 2 (4n+1)º, 2 (4n+3)º 2 [a,b]. Since f ( 2 (4n+1)º ) = 1, f ( 2 (4n+3)º) = 1 and f is continuous on the interval between them, we see f ([a,b]) = [ 1,1], which is the entire range of f. The claim now follows. 6. Uniform Continuity Most of the ideas contained in this section will not be needed until we begin developing the properties of the integral in Chapter 8. DEFINITION 6.28. A function f : D! R is uniformly continuous if for all " > 0 there is a ± > 0 such that when x, y 2 D with x y <±, then f (x) f (y) <". The idea here is that in the ordinary definition of continuity, the ± in the definition depends on both " and the x at which continuity is being tested; i.e., ± is really a function of both " and x. With uniform continuity, ± only depends on "; i.e., ± is only a function of ", and the same ± works across the whole domain. THEOREM 6.29. If f : D! R is uniformly continuous, then it is continuous.

Section 6: Uniform Continuity 6-13 PROOF. This proof is left as Exercise 6.32. The converse is not true. EXAMPLE 6.22. Let f (x) = 1/x on D = (0,1) and " > 0. It s clear that f is continuous on D. Let ± > 0 and choose m,n 2 N such that m > 1/± and n m > ". If x = 1/m and y = 1/n, then 0 < y < x < ± and f (y) f (x) = n m > ". Therefore, f is not uniformly continuous. THEOREM 6.30. If f : D! R is continuous and D is compact, then f is uniformly continuous. PROOF. Suppose f is not uniformly continuous. Then there is an " > 0 such that for every n 2 N there are x n, y n 2 D with x n y n <1/n and f (x n ) f (y n ) ". An application of the Bolzano-Weierstrass theorem yields a subsequence x nk of x n such that x nk! x 0 2 D. Since f is continuous at x 0, there is a ± > 0 such that whenever x 2 (x 0 ±, x 0 + ±) \ D, then f (x) f (x 0 ) <"/2. Choose n k 2 N such that 1/n k < ±/2 and x nk 2 (x 0 ±/2, x 0 + ±/2). Then both x nk, y nk 2 (x 0 ±, x 0 + ±) and " f (x nk ) f (y nk ) = f (x nk ) f (x 0 ) + f (x 0 ) f (y nk ) f (x nk ) f (x 0 ) + f (x 0 ) f (y nk ) <"/2 + "/2 = ", which is a contradiction. Therefore, f must be uniformly continuous. The following corollary is an immediate consequence of Theorem 6.30. COROLLARY 6.31. If f :[a,b]! R is continuous, then f is uniformly continuous. THEOREM 6.32. Let D Ω R and f : D! R. Iff is uniformly continuous and x n is a Cauchy sequence from D, then f (x n ) is a Cauchy sequence.. PROOF. The proof is left as Exercise 6.39. Uniform continuity is necessary in Theorem 6.32. To see this, let f : (0,1)! R be f (x) = 1/x and x n = 1/n. Then x n is a Cauchy sequence, but f (x n ) = n is not. This idea is explored in Exercise 6.34. It s instructive to think about the converse to Theorem 6.32. Let f (x) = x 2, defined on all of R. Since f is continuous everywhere, Corollary 6.12 shows f maps Cauchy sequences to Cauchy sequences. On the other hand, in Exercise 6.38, it is shown that f is not uniformly continuous. Therefore, the converse to Theorem 6.32 is false. Those functions mapping Cauchy sequences to Cauchy sequences are sometimes said to be Cauchy continuous. The converse to Theorem 6.32 can be tweaked to get a true statement. THEOREM 6.33. Let f : D! R where D is bounded. If f is Cauchy continuous, then f is uniformly continuous.

6-14 CHAPTER 6. LIMITS OF FUNCTIONS PROOF. Suppose f is not uniformly continuous. Then there is an " > 0 and sequences x n and y n from D such that x n y n <1/n and f (x n ) f (y n ) ". Since D is bounded, the sequence x n is bounded and the Bolzano-Weierstrass theorem gives a Cauchy subsequence, x nk. The new sequence ( xn(k+1)/2 k odd z k = k even y nk/2 is easily shown to be a Cauchy sequence. But, f (z k ) is not a Cauchy sequence, since f (z k ) f (z k+1 ) " for all odd k. This contradicts the fact that f is Cauchy continuous. We re forced to conclude the assumption that f is not uniformly continuous is false. 7. Exercises 6.1. Prove lim x! 2 (x 2 + 3x) = 2. 6.2. Give examples of functions f and g such that neither function has a limit at a, but f + g does. Do the same for fg. 6.3. Let f : D! R and a 2 D 0. lim x!a f (x) = L () lim f (x) = lim f (x) = L x"a x#a 6.4. Find two functions defined on R such that 0 = lim x!0 f (x) + g (x) 6= lim x!0 f (x) + lim x!0 g (x). 6.5. If lim x!a f (x) = L > 0, then there is a ± > 0 such that f (x) > 0 when 0 < x a < ±. 6.6. If Q = {q n : n 2 N} is an enumeration of the rational numbers and ( 1/n, x = qn f (x) = 0, x 2 Q c then lim x!a f (x) = 0, for all a 2 Q c. 6.7. Use the definition of continuity to show f (x) = x 2 is continuous everywhere on R. 6.8. Prove that f (x) = p x is continuous on [0,1). 6.9. If f is defined as in (6.1), then D = C(f ) c. 6.10. If f : R! R is monotone, then there is a countable set D such that the values of f can be altered on D in such a way that the altered function is left-continuous at every point of R.

7. EXERCISES 6-15 6.11. Does there exist an increasing function f : R! R such that C(f ) = Q? 6.12. If f : R! R and there is an Æ > 0 such that f (x) f (y) Æ x y for all x, y 2 R, then show that f is continuous. 6.13. Suppose f and g are each defined on an open interval I, a 2 I and a 2 C(f ) \C(g ). If f (a) > g (a), then there is an open interval J such that f (x) > g (x) for all x 2 J. 6.14. If f, g :(a,b)! R are continuous, then G = {x : f (x) < g (x)} is open. 6.15. If f : R! R and a 2 C(f ) with f (a) > 0, then there is a neighborhood G of a such that f (G) Ω (0,1). 6.16. Let f and g be two functions which are continuous on a set D Ω R. Prove or give a counter example: {x 2 D : f (x) > g (x)} is relatively open in D. 6.17. If f, g : R! R are functions such that f (x) = g (x) for all x 2 Q and C(f ) = C(g ) = R, then f = g. 6.18. Let I = [a,b]. If f : I! I is continuous, then there is a c 2 I such that f (c) = c. 6.19. Find an example to show the conclusion of Problem 6.18 fails if I = (a,b). 6.20. If f and g are both continuous on [a,b], then {x : f (x) g (x)} is compact. 6.21. If f :[a,b]! R is continuous, not constant, then f ([a,b]) = [m, M]. m = glb{f (x):a x b} and M = lub{f (x):a x b}, 6.22. Suppose f : R! R is a function such that every interval has points at which f is negative and points at which f is positive. Prove that every interval has points where f is not continuous. 6.23. Let Q = {p n /q n : p n 2 Z and q n 2 N} where each pair p n and q n are relatively prime. If ( x, x 2 Q c f (x) = p n sin 1 p q n, n q n 2 Q, then determine C(f ). 6.24. If f :[a,b]! R has a limit at every point, then f is bounded. Is this true for f :(a,b)! R? 6.25. Give an example of a bounded function f : R! R with a limit at no point.

6-16 CHAPTER 6. LIMITS OF FUNCTIONS 6.26. If f : R! R is continuous and periodic, then there are x m, x M 2 R such that f (x m ) f (x) f (x M )forallx 2 R. (A function f is periodic, if there is a p > 0 such that f (x + p) = f (x) for all x 2 R. The least such p is called the period of f. 6.27. A set S Ω R is disconnected iff there is a continuous f : S! R such that f (S) = {0,1}. 6.28. If f : R! R satisfies f (x + y) = f (x)+ f (y)forallx and y and 0 2 C(f ), then f is continuous. 6.29. Assume that f : R! R is such that f (x + y) = f (x)f (y)forallx, y 2 R. Iff has a limit at zero, prove that either lim x!0 f (x) = 1orf (x) = 0 for all x 2 R \ {0}. 6.30. If F Ω R is closed, then there is an f : R! R such that F = C(f ) c. 6.31. If F Ω R is closed and f : F! R is continuous, then there is a continuous function g : R! R such that f = g on F. 6.32. If f :[a,b]! R is uniformly continuous, then f is continuous. 6.33. A function f : R! R is periodic with period p > 0, if f (x +p) = f (x) for all x. If f : R! R is periodic with period p and continuous on [0, p], then f is uniformly continuous. 6.34. Prove that an unbounded function on a bounded open interval cannot be uniformly continuous. 6.35. If f : D! R is uniformly continuous on a bounded set D, then f is bounded. 6.36. Prove Theorem 6.29. 6.37. Every polynomial of odd degree has a root. 6.38. Show f (x) = x 2, with domain R, is not uniformly continuous. 6.39. Prove Theorem 6.32.