Dirchlet s Function and Limit and Continuity Arguments

Similar documents
Dirchlet s Function and Limit and Continuity Arguments

Proofs Not Based On POMI

Proofs Not Based On POMI

Convergence of Sequences

Convergence of Sequences

The Limit Inferior and Limit Superior of a Sequence

Math 104: Homework 7 solutions

Bolzano Weierstrass Theorems I

The Existence of the Riemann Integral

Uniform Convergence Examples

Derivatives and the Product Rule

MATH 301 INTRO TO ANALYSIS FALL 2016

Uniform Convergence Examples

Hölder s and Minkowski s Inequality

More On Exponential Functions, Inverse Functions and Derivative Consequences

Fourier Sin and Cos Series and Least Squares Convergence

Differentiating Series of Functions

Geometric Series and the Ratio and Root Test

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

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

Consequences of Continuity

Homework 3 Solutions, Math 55

Upper and Lower Bounds

Lecture 4: Completion of a Metric Space

M17 MAT25-21 HOMEWORK 6

Pigeonhole Principle and Ramsey Theory

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.

Lower semicontinuous and Convex Functions

Sin, Cos and All That

Project One: C Bump functions

Geometric Series and the Ratio and Root Test

Convergence of Fourier Series

Solutions to Homework Assignment 2

Lecture 6: The Pigeonhole Principle and Probability Spaces

Proof worksheet solutions

General Power Series

Matrices and Vectors

Integration and Differentiation Limit Interchange Theorems

Uniform Convergence and Series of Functions

2 = = 0 Thus, the number which is largest in magnitude is equal to the number which is smallest in magnitude.

Math 104: Homework 1 solutions

Extreme Values and Positive/ Negative Definite Matrix Conditions

Research Methods in Mathematics Homework 4 solutions

Thus f is continuous at x 0. Matthew Straughn Math 402 Homework 6

Week 2: Sequences and Series

Antiderivatives! Outline. James K. Peterson. January 28, Antiderivatives. Simple Fractional Power Antiderivatives

INTRODUCTION TO REAL ANALYSIS II MATH 4332 BLECHER NOTES

Math 320-2: Midterm 2 Practice Solutions Northwestern University, Winter 2015

Consequences of Continuity

n n P} is a bounded subset Proof. Let A be a nonempty subset of Z, bounded above. Define the set

Antiderivatives! James K. Peterson. January 28, Department of Biological Sciences and Department of Mathematical Sciences Clemson University

Homework 1 Solutions

Linear Systems of ODE: Nullclines, Eigenvector lines and trajectories

Mathematics 242 Principles of Analysis Solutions for Problem Set 5 Due: March 15, 2013

MATH 117 LECTURE NOTES

2.1 Convergence of Sequences

Counting Methods. CSE 191, Class Note 05: Counting Methods Computer Sci & Eng Dept SUNY Buffalo

Math 220A Complex Analysis Solutions to Homework #2 Prof: Lei Ni TA: Kevin McGown

Linear Systems of ODE: Nullclines, Eigenvector lines and trajectories

Matrix Solutions to Linear Systems of ODEs

Solutions Manual for Homework Sets Math 401. Dr Vignon S. Oussa

10.7 Polynomial and Rational Inequalities

Math 535: Topology Homework 1. Mueen Nawaz

1 Continued Fractions

Midterm Review Math 311, Spring 2016

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.

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 320: Real Analysis MWF 1pm, Campion Hall 302 Homework 8 Solutions Please write neatly, and in complete sentences when possible.

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

Real Analysis - Notes and After Notes Fall 2008

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

One-to-one functions and onto functions

Riemann Integration. James K. Peterson. February 2, Department of Biological Sciences and Department of Mathematical Sciences Clemson University

Integration and Differentiation Limit Interchange Theorems

THE REAL NUMBERS Chapter #4

Riemann Integration. Outline. James K. Peterson. February 2, Riemann Sums. Riemann Sums In MatLab. Graphing Riemann Sums

MATH 140B - HW 5 SOLUTIONS

Mathematical Induction Again

Solutions Final Exam May. 14, 2014

Solutions for Homework Assignment 2

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

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

Mathematical Induction Again

CS 173: Induction. Madhusudan Parthasarathy University of Illinois at Urbana-Champaign. February 7, 2016

Measure Theory and Lebesgue Integration. Joshua H. Lifton

Predator - Prey Model Trajectories are periodic

Basics of Proofs. 1 The Basics. 2 Proof Strategies. 2.1 Understand What s Going On

Problem Set 2: Solutions Math 201A: Fall 2016

Constrained Optimization in Two Variables

Limits and Continuity

On approximation of real, complex, and p-adic numbers by algebraic numbers of bounded degree. by K. I. Tsishchanka

Defining Exponential Functions and Exponential Derivatives and Integrals

Main topics for the First Midterm Exam

Notes: Pythagorean Triples

Properties of Rational and Irrational Numbers

Functional Limits and Continuity

Continuity. Chapter 4

Fourier Sin and Cos Series and Least Squares Convergence

Math 110 (S & E) Textbook: Calculus Early Transcendentals by James Stewart, 7 th Edition

Taylor Polynomials. James K. Peterson. Department of Biological Sciences and Department of Mathematical Sciences Clemson University

Transcription:

Dirchlet s Function and Limit and Continuity Arguments James K. Peterson Department of Biological Sciences and Department of Mathematical Sciences Clemson University February 23, 2018

Outline 1 Dirichlet s Function 2

Dirichlet s Function Dirichlet s Function is defined like this: f : [0, 1] R by 0, x = 0 1 f (x) = q, x = p q, (p, q) = 1, p, q N 0, x IR So f (9/12) = 1/4 as 9/12 = 3/4 when common terms are removed. This is a very strange function and we can prove f is continuous at each x IR [0, 1] and is not continuous at each x Q [01, ]. Proof (Case x 0 IR): We will show f is continuous at these x values. Choose ɛ > 0 arbitrarily. Consider f (x) f (x 0 ) = { 0 0, x IR [0, 1] 1/q 0, x = p/q, (p, q) = 1

Dirichlet s Function Proof Let S n = {x : 0 < x < 1, x = p/q, (p, q) = 1 with 1/q 1/n} = {0 < p/q < 1, (p, q) = 1, with n q} How many elements are in S n? Consider that table below: 1/1 {1/2 1/3......... 1/n} 2/1 2/2 {2/3 2/4...... 2/n} 3/1 3/2 3/3 {3/4...... 3/n}.... j/1 j/2 j/j {j/(j + 1)...... j/n}. (n 1)/n (n 1)/2 (n 1)/(n 1) {(n 1)/n} n/1 n/2 (n 1)/n n/n The fractions in the braces in red are the ones in (0, 1) although they are not necessarily in lowest terms. The first row has n 1 elements, the second n 2 and so one until we get to the n 1 row which just has one red element. So the size of S n = S n n 1 j=1 j = (n 1)n/2.

Dirichlet s Function Proof The important thing is that S n contains only a finite number of fractions in lowest terms. Now choose N > 1/ɛ. Then S N N(N 1)/2. Label the elements of S N as follows: S N = {r 1,..., r p } where p N(N 1)/2. Each fraction r i = p i /q i in lowest terms with q i N. One of these fractions is closest to x 0. Call this one r min = p min /q min and choose δ = (1/2) r min x 0. Note if r = p/q, (p, q) = 1 is any rational number in (x 0 δ, x 0 + δ), r < r min and so can t be in S N!! (See the picture in the handwritten notes). Since r S N, the denominator of r = p/q must satisfy N < q; i.e. 1/q < 1/N < ɛ. Combining, we see we have found a δ > 0 so that { 0 < ɛ, x IR 0 < x x 0 < δ = f (x) f (x 0 ) = 1/q 0 < 1/N < ɛ, x Q

Dirichlet s Function Proof This shows f is continuous at any irrational number x 0 in [0, 1]. (Case x 0 Q [0, 1]): Then x 0 = p 0 /q 0, (p 0, q 0 ) = 1. Consider f (x) f (x 0 ) = = { 0 1/q0, x IR [0, 1] 1/q 1/q 0, x = p/q, (p, q) = 1 { 0 1/q0, x IR [0, 1] q0 q q q 0, x = p/q, (p, q) = 1 Let ɛ 0 = (1/2)(1/q 0 ). We only have to look at the top part. The top says f (x) f (x 0 ) = 1/q 0 > (1/2)(1/q 0 ) = ɛ 0. Thus f (x) = 1/q 0 > ɛ 0 for all x IR. Hence, no matter how small δ > 0 we choose, we can always find irrational numbers x δ in ˆB δ (x 0 ) with f (x δ ) f (x 0 ) = 1/q 0 > ɛ 2. This shows f can not be continuous at any x 0 in Q. This is a very interesting function! Again, these ideas of continuity and limit are pointwise concepts!!

Example Let f (x) = x + 1, x > 1 3, x = 1 3x, x < 1 We can study this function s behavior a number of ways. (Case: ɛ δ approach): Let s look at the point x = 1 first. Maybe the limiting value here is 2. We check x + 1 2, x > 1 f (x) 2 = 3 2, x = 1 3x 2, x < 1 = x 1, x > 1 1, x = 1 3(x 1)) 5, x < 1 where we are writing all the terms we have in terms of x 1 factors.

Example (Continued) Now by the backwards triangle inequality, 3(x 1) 5 5 3 x 1. So f (x) 2 = x 1, x > 1 f (x) 2 = 1, x = 1 f (x) 2 5 3 x 1, x < 1 If we make the top term small by restricting our attention to x in (1 δ, 1) (1, 1 + δ), then we have { f (x) 2 < δ, x (1, 1 + δ) f (x) 2 5 3δ, x (1 δ, 1) where we have dropped what happens at x = 1 itself as it is not important for the existence of the limit.

Example (Continued) So no matter what ɛ we pick, for any 0 < δ < ɛ, we have { f (x) 2 < ɛ, x (1, 1 + δ) f (x) 2 5 3ɛ, x (1 δ, 1) and although the top piece is small the bottom piece is not! So the lim x 1 f (x) can not be 2. Maybe the limiting value here is 3. We check x + 1 + 3, x > 1 f (x) ( 3) = 3 + 3, x = 1 3x + 3, x < 1 = (x 1) + 5, x > 1 6, x = 1 3(x 1), x < 1 where again we are writing all the terms we have in terms of x 1 factors.

Example (Continued) Now by the backwards triangle inequality, (x 1) 5 5 x 1. So f (x) ( 3) 5 x 1, x > 1 f (x) ( 3) = 6, x = 1 f (x) ( 3) = 3 x 1, x < 1 If we make the top term small by restricting our attention to x in (1 δ, 1) (1, 1 + δ), then we have { f (x) ( 3) 5 δ, x (1, 1 + δ) f (x) ( 3) 3δ, x (1 δ, 1) where we have dropped what happens at x = 1 itself as it is not important for the existence of the limit.

Example (Continued) So no matter what ɛ we pick, for any 0 < δ < ɛ/3, we have { f (x) + 3 5 ɛ/3, x (1, 1 + δ) f (x) + 3 < ɛ, x (1 δ, 1) and although the bottom piece is small the top piece is not! So the lim x 1 f (x) can not be 3. Maybe the limiting value here is a 2, 3. We check x + 1 a, x > 1 f (x) a = 3 a, x = 1 3x a, x < 1 where we are writing all the terms we have in terms of x 1 factors.

Example (Continued) In terms of x 1 factors, this becomes x 1 + 2 a, x > 1 f (x) a = 3 a, x = 1 3(x 1)) (3 + a), x < 1 Now by the backwards triangle inequality, (x 1) + (2 a) = (x 1) (a 2) 2 a x 1 and 3(x 1) (3 + a) 3 + a 3 x 1. Now the distance from a to 2 is a 2 which we call d 1. The distance from a to 3 is a ( 3) = a + 3 which we call d 2. Using these estimates, we find f (x) a d 1 x 1, x > 1 f (x) a = 3 a, x = 1 f (x) a d 2 3 x 1, x < 1

Example (Continued) If we make the top term small by restricting our attention to x in (1 δ, 1) (1, 1 + δ), then we have { f (x) a d1 δ, x (1, 1 + δ) f (x) a d 2 3δ, x (1 δ, 1) where yet again we have dropped what happens at x = 1 itself as it is not important for the existence of the limit. If we pick any positive ɛ < (1/2) min{d 1, d 2 /3} and for any δ > 0, we have { f (x) a d1 d 1 /2 = d 1 /2 > ɛ, x (1, 1 + δ) f (x) a d 2 3d 2 /6 = d 2 /2 > ɛ, x (1 δ, 1) and both the top piece and the bottom piece are never small! So the lim x 1 f (x) can not be a 2, 3 either. Thus, lim x 1 f (x) does not exist and f can not be continuous at 1.

Example (Continued) The method just done is tedious! Let s try using the lim x 1 f (x) and lim x 1 f (x) approach instead. Any sequence (x n ) with x n 1 1 from the left of 1 uses the bottom part of the definition of f. It is easy to see 3x n 3 here so 3 is a cluster point of f at 1. Any sequence (x n ) with x n 1 1 from the right of 1 uses the top part of the definition of f. It is easy to see x n + 1 2 here so 2 is a cluster point of f at 1. Any sequence (x n ) with x n 1 1 containing an infinite number of points both to the left of 1 and to the right of 1, has a subsequence (x 1 n ) converging to 3 and a subsequence (x 2 n ) converging to 2 as

Example (Continued) f (x k ) = { x 2 k + 1, xk 2 (x n), xk 2 > 1 3xk 1, x k 1 (x n), xk 1 < 1 The top converges to 2 and the bottom converges to 3 and hence this type of subsequence (x n ) can not converge. We conclude S(1) = { 3, 2} and so lim xn 1 f (x) = 3 and lim x n 1 f (x) = 2. Since these are not equal, we know lim x 1 f (x) does not exist. Thus, f is not continuous at 1. It should be easy for you to see that the existence of the limit to the left of 1 and to the right of 1 is straightforward to establish. For example, at the point x = 4, f (x) = x + 1 and f (4) = 5. We have f (x) 5 = x + 1 5 = x 4. Given ɛ > 0, if we choose δ = ɛ, we have x 4 < δ f (x) 5 = x 4 < ɛ. This shows f is continuous at x = 4. Similar arguments work for all points x 1. So this f is continuous at all x except 1.

Another approach is to use right and left sided limits and continuity. Definition Let f be locally defined near p. We say the right hand limit of f as x approaches p exists and equals b if ɛ > 0 δ > 0 p < x < p + δ f (x) b < ɛ We denote the value b by the symbol lim x p + f (x) = b. We say the left hand limit of f as x approaches p exists and equals a if ɛ > 0 δ > 0 p δ < x < p f (x) a < ɛ We denote the value a by the symbol lim x p f (x) = a.

Theorem Let A be a real number. Then we have lim f (x) = A (x n), x n p, x n p, lim f (x n) = A. x p n Proof ( ): We assume lim x p f (x) = A. Pick any (x n ), x n p, x n p. Then for an arbitrary ɛ > 0, we know there is a positive δ so that x ˆB δ (p) f (x) A < ɛ. Since x n p, there is a N so that n > N x n p < δ. Combining, we see n > N x n p < δ f (x n ) A < ɛ. Thus, f (x n ) A too. ( ): We assume (x n ), x n p, x n p, lim n f (x n ) = A. Let s do this by contradiction. We know f is locally defined in some ˆB r (p). Assume lim x p f (x) does not equal A. Pick a sequence {1/N, 1/(N + 1),...} so that (p 1/n, p + 1/n) B r (p) for all n > N.

Proof Then we know there is a positive ɛ 0 so that for each n > N, there is an x n p in (p 1/n, p + 1/n) with f (x n ) A > ɛ 0. This defines a sequence (x n ) which converges to p and each x n p. Thus, by assumption, we know f (x n ) A which contradicts the construction we just did. So our assumption is wrong and lim x p f (x) = A. Theorem Let A be a real number. Then { } lim f (x) = A lim f (x) = lim f (x) = A x p x p + x p

Proof ( ) We assume lim x p f (x) = A. Let (x n ) be any sequence with x n p that converges to p from below p. We then know by the previous theorem ( lim x p f (x) = A (x n ), x n p, x n p, lim n f (x n ) = A) that lim n f (x n ) = A also. Since this is true for all such sequences, we apply the previous theorem again ( lim x p f (x) = A (x n ), x n p, x n p, lim n f (x n ) = A) to the left hand limit of f at p to see lim x p f (x) = A. A similar argument shows lim x p + f (x) = A. ( ) We assume lim x p + f (x) = lim x p f (x) = A. We know f is locally defined in some ˆB r (p). Assume lim x p f (x) does not equal A. Again pick a sequence {1/N, 1/(N + 1),...} so that (p 1/n, p + 1/n) B r (p) for all n > N. Then we know there is a positive ɛ 0 so that for each n > N, there is an x n p in (p 1/n, p + 1/n) with f (x n ) A > ɛ 0.

Proof This defines a sequence (x n ) which converges to p and each x n p. This sequence contains infinitely many x nk to the left of p and/ or to the right of p. Hence, we can find a subsequence (x nk ) with converges to p from either below or above. For this subsequence, we then know f (x nk ) A as both the right hand and left hand limits exist and equal A. But f (x nk ) A > ɛ 0 for all k. This is not possible, so our assumption was wrong and lim x p f (x) = A.

Definition Let f be locally defined at p. We say f is continuous from the right at p if lim x p + f (x) = f (p). We say f is continuous from the left at p if lim x p f (x) = f (p). Example Let s look at our a new version of our old friend: x + 1, x > 1 f (x) = 2, x = 1 3x x < 1 It is easy to see lim x 1 f (x) = 3 f (1) = 2 and lim x 1 + f (x) = 2 = f (1). So f is right continuous at 1 but f is not left continuous at 1.

Homework 15 15.1 This is the tedious way. f (x) = 3x + 1, x > 2 4, x = 2 2x 5 x < 2 Do a proper ɛ δ argument to show f is not continous at 2 but it is continuous at any other x. Your estimates here are done in terms of x 2 factors. 15.2 This is the easier way. f (x) = 3x + 1, x > 2 4, x = 2 2x 5 x < 2 Use the limit inferior and limit superior ideas to show f is not continous at 2 but it is continuous at any other x.

Homework 15 15.3 This is even easier. f (x) = 3x + 1, x > 2 4, x = 2 2x 5 x < 2 Use the right and left limit ideas to show f is not continous at 2 but it is continuous at any other x. Determine if f is right or left continuous at 2.