Docsity

Continuity and Uniform Continuity, Lecture notes of Calculus

Toggle sidebar
bg1
Continuity and Uniform Continuity
521
May 12, 2010
1. Throughout Swill denote a subset of the real numbers Rand f:S→R
will be a real valued function defined on S. The set Smay be bounded like
S= (0,5) = {x∈R: 0 <x<5}
or infinite like
S= (0,∞) = {x∈R: 0 < x}.
It may even be all of R. The value f(x) of the function fat the point x∈S
will be defined by a formula (or formulas).
Definition 2. The function fis said to be continuous on Siff
∀x0∈S∀ε > 0∃δ > 0∀x∈S|x−x0|< δ =⇒ |f(x)−f(x0)|< ε.
Hence fis not continuous1on Siff
∃x0∈S∃ε > 0∀δ > 0∃x∈S|x−x0|< δ and |f(x)−f(x0)| ≥ ε.
Definition 3. The function fis said to be uniformly continuous on Siff
∀ε > 0∃δ > 0∀x0∈S∀x∈S|x−x0|< δ =⇒ |f(x)−f(x0)|< ε.
Hence fis not uniformly continuous on Siff
∃ε > 0∀δ > 0∃x0∈S∃x∈S|x−x0|< δ and |f(x)−f(x0)| ≥ ε.
1For an example of a function which is not continuous see Example 22 below.
1
pf3
pf4
pf5
pf8

Partial preview of the text

Download Continuity and Uniform Continuity and more Lecture notes Calculus in PDF only on Docsity!

Continuity and Uniform Continuity

May 12, 2010

  1. Throughout S will denote a subset of the real numbers R and f : S → R

will be a real valued function defined on S. The set S may be bounded like

S = (0, 5) = {x ∈ R : 0 < x < 5 }

or infinite like

S = (0, ∞) = {x ∈ R : 0 < x}.

It may even be all of R. The value f (x) of the function f at the point x ∈ S

will be defined by a formula (or formulas).

Definition 2. The function f is said to be continuous on S iff

∀x 0 ∈ S ∀ε > 0 ∃δ > 0 ∀x ∈ S

[

|x − x 0 | < δ =⇒ |f (x) − f (x 0 )| < ε

]

Hence f is not continuous 1 on S iff

∃x 0 ∈ S ∃ε > 0 ∀δ > 0 ∃x ∈ S

[

|x − x 0 | < δ and |f (x) − f (x 0 )| ≥ ε

]

Definition 3. The function f is said to be uniformly continuous on S iff

∀ε > 0 ∃δ > 0 ∀x 0 ∈ S ∀x ∈ S

[

|x − x 0 | < δ =⇒ |f (x) − f (x 0 )| < ε

]

Hence f is not uniformly continuous on S iff

∃ε > 0 ∀δ > 0 ∃x 0 ∈ S ∃x ∈ S

[

|x − x 0 | < δ and |f (x) − f (x 0 )| ≥ ε

]

(^1) For an example of a function which is not continuous see Example 22 below.

  1. The only difference between the two definitions is the order of the quan-

tifiers. When you prove f is continuous your proof will have the form

Choose x 0 ∈ S. Choose ε > 0. Let δ = δ(x 0 , ε). Choose x ∈ S.

Assume |x − x 0 | < δ. · · · Therefore |f (x) − f (x 0 )| < ε.

The expression for δ(x 0 , ε) can involve both x 0 and ε but must be independent

of x. The order of the quanifiers in the definition signals this; in the proof x

has not yet been chosen at the point where δ is defined so the definition of

δ must not involve x. (The · · · represent the proof that |f (x) − f (x 0 )| < ε

follows from the earlier steps in the proof.) When you prove f is uniformly

continuous your proof will have the form

Choose ε > 0. Let δ = δ(ε). Choose x 0 ∈ S. Choose x ∈ S.

Assume |x − x 0 | < δ. · · · Therefore |f (x) − f (x 0 )| < ε.

so the expression for δ can only involve ε and must not involve either x or

x 0.

It is obvious that a uniformly continuous function is continuous: if we can

find a δ which works for all x 0 , we can find one (the same one) which works

for any particular x 0. We will see below that there are continuous functions

which are not uniformly continuous.

Example 5. Let S = R and f (x) = 3x + 7. Then f is uniformly continuous

on S.

Proof. Choose ε > 0. Let δ = ε/3. Choose x 0 ∈ R. Choose x ∈ R. Assume

|x − x 0 | < δ. Then

|f (x) − f (x 0 )| = |(3x + 7) − (3x 0 + 7)| = 3|x − x 0 | < 3 δ = ε.

Example 6. Let S = {x ∈ R : 0 < x < 4 } and f (x) = x 2

. Then f is

uniformly continuous on S.

Proof. Choose ε > 0. Let δ = ε/8. Choose x 0 ∈ S. Choose x ∈ S. Thus

0 < x 0 < 4 and 0 < x < 4 so 0 < x + x 0 < 8. Assume|x − x 0 | < δ. Then

|f (x) − f (x 0 )| = |x

2 − x

2 0 |^ = (x^ +^ x^0 )|x^ −^ x^0 |^ <^ (4 + 4)δ^ =^ ε.

Choose x 0. Let a = x 0 + 1 and δ = min(1, ε/ 2 a). (Note that δ depends on

x 0 since a does.) Choose x ∈ S. Assume |x − x 0 | < δ. Then |x − x 0 | < 1 so

x < x 0 + 1 = a so x, x 0 < a so

|x

2 − x

2 0 |^ = (x^ +^ x^0 )|x^ −^ x^0 | ≤^2 a|x^ −^ x^0 |^ <^2 aδ^ ≤^2 a

ε

2 a

= ε

as required.

We show that f is not uniformly continuous on S, i.e.

∃ε > 0 ∀δ > 0 ∃x 0 ∈ S ∃x ∈ S

[

|x − x 0 | < δ and |x 2 − x 2 0 | ≥^ ε

]

Let ε = 1. Choose δ > 0. Let x 0 = 1/δ and x = x 0 + δ/2. Then |x − x 0 | =

δ/ 2 < δ but

|x

2 − x

2 0 |^ =

δ

δ

2

δ

δ 2

1 = ε

as required. (Note that x 0 is large when δ is small.)

  1. According to the Mean Value Theorem from calculus for a differentiable

function f we have

f (x 1 ) − f (x 2 ) = f

′ (c)(x 2 − x 1 ).

for some c between x 1 and x 2. (The slope (f (x 1 ) − f (x 2 ))/(x 1 − x 2 ) of the

secant line joining the two points (x 1 , f (x 1 )) and (x 2 , f (x 2 )) on the graph is

the same as the slope f ′ (c) of the tangent point at the intermediate point

(c, f (c)).) If x 1 and x 2 lie in some interval S and |f

′ (c)| ≤ M for all c ∈ S

we conclude that the Lipschitz inequality (1) holds on S. We don’t want to

use the Mean Value Theorem without first proving it, but we certainly can

use it to guess an appropriate value of M and then prove the inequality by

other means.

  1. For example, consider the function f (x) = x − 1 defined on the interval

S = (a, ∞) where a > 0. For x 1 , x 2 ∈ S the Mean Value Theorem says that

x

− 1 1 −^ x

− 1 2 =^ −c

− 2 (x 1 − x 2 ) where c is between x 1 and x 2. If x 1 , x 2 ∈ S then

c ∈ S (as c is between x 1 and x 2 ) and hence c > a so c − 2 < a − 2

. We can

prove the inequality

|x

− 1 1 −^ x

− 1 2 | ≤^ a

− 2 |x 2 − x 2 |

for x 1 , x 2 ≥ a as follows. First a

2 ≤ x 1 x 2 since a ≤ x 1 and a ≤ x 2. Then

|x

− 1 1 −^ x

− 1 2 |^ =^

|x 1 − x 2 |

x 1 x 2

|x 1 − x 2 |

a 2

where we have used the fact that α − 1 < β − 1 if 0 < α < β. It follows that

that the function f (x) is uniformly continuous on any interval (a, ∞) where

a > 0. Notice however that the Lipschitz constant M = a − 2 depends on

the interval. In fact, the function f (x) = x

− 1 does not satisfy a Lipshitz

inequality on the interval (0, ∞).

  1. We can discover a Lipscitz inequality for the square root function f (x) = √ x in much the same way. Consider the function f (x) =

x defined on the

interval S = (a, ∞) where a > 0. For x 1 , x 2 ∈ S the Mean Value Theorem

says that

x 1 −

x 2 = (x 1 − x 2 )/(

c) where c is between x 1 and x 2. If

x 1 , x 2 ∈ S then c ∈ S (as c is between x 1 and x 2 ) and hence c > a so

(

c)

− 1 < (

a)

− 1

. We can prove the inequality

x 1 −

x 2 | ≤

|x 1 − x 2 |

2

a

for x 1 , x 2 ≥ a as follows: Divide the equation

x 1 −

x 2 )(

x 1 +

x 2 ) = ((

x 1 )

2 − (

x 2 )

2 ) = x 1 − x 2

by (

x 1 +

x 2 ), take absolute values, and use (

x 1 +

x 2 ) ≥ 2

a. Again the

Lipschitz constant M = (

a) − 1 depends on the interval and the function

does not satisfy a Lipschitz inequality on the interval (0, ∞).

Example 14. The function f (x) = x − 1 is continuous but not uniformly

continuous on the interval S = (0, ∞).

Proof. We show f is continuous on S, i.e.

∀x 0 ∈ S ∀ε > 0 ∃δ > 0 ∀x ∈ S

[

|x − x 0 | < δ =⇒

x

x 0

< ε

]

Choose x 0. Let a = x 0 /2 and δ = min(x 0 − a, a 2 ε). Choose x ∈ S. Assume

|x − x 0 | < δ. Then x 0 − x ≤ |x − x 0 | < x 0 − a so −x < −a so a < x so

x, x 0 < a so by (2)

∣ ∣ ∣ ∣

x

x 0

|x 1 − x 2 |

a^2

δ

a^2

a

2 ε

a^2

= ε

Proof. (

a

b)

2 = (

a)

2 (

b)

2 = ab so

a

b =

a

b) 2 =

ab.

Lemma 19. Assume a < b. Then for any two numbers x and y at least one

of the four alternatives

(i) x < b & y < b, (ii) a ≤ x & a ≤ y,

(iii) x < a & b ≤ y, (iv) y < a & b ≤ x.

Proof. Exactly one of the three alternatives x < a, a ≤ x < b, b ≤ x holds

and exactly one of the three alternatives y < a, a ≤ y < b, b ≤ y holds.

There are thus nine cases which we can arrange in a table:

x < a a ≤ x < b b ≤ x

y < a (i) (i) (iv)

a ≤ y < b (i) (i), (ii) (ii)

b ≤ y (iii) (ii) (ii)

In each entry of the table we have indicated the alternative (i − iv) which

holds in the corresponding case.

Proof. Now we prove what is claimed in Example 15, viz. that the square

root function is uniformly continuous on the positive real numbers, i.e.

∀ε > 0 ∃δ > 0 ∀x, x 0 > 0

[

|x − x 0 | < δ =⇒ |

x −

x 0 | < ε

]

Choose ε > 0. Let δ = min(ε 2 / 2 ,

2 ε 2 ). Choose x, x 0 > 0. Assume |x−x 0 | <

δ. Read a = ε 2 /2 and b = ε 2 in Lemma 19: we need consider only four cases:

(i) x < ε 2 & x 0 < ε 2 , (ii) ε 2 / 2 ≤ x & ε 2 / 2 ≤ x 0 ,

(iii) x < ε

2 /2 & ε

2 ≤ x 0 , (iv) x 0 < ε

2 /2 & ε

2 ≤ x.

Cases (iii) and (iv) contradict the assumption that |x−x 0 | < δ ≤ ε 2 /2 = b−a

so we need only consider cases (i) and (ii). In case (i) we have

x < ε and √ x 0 < ε by Lemma 17 so |

x −

x 0 | ≤ max(

x,

x 0 ) < ε. In case (ii) we

use the inequality (3) and get

x −

x 0 | ≤

|x − x 0 |

ε^2 / 2

|x − x 0 | √ 2 ε

δ √ 2 ε

≤ ε.

Remark 20. Of course, min(ε

2 / 2 ,

2 ε

2 ) = ε

2 /2. The more complicated

formula is given to help the reader understand how the proof was discovered.

Remark 21. We can also prove that the square root function is uniformly

continuous by taking δ = ε 2 and using the inequality

√ a + b ≤

a +

b.

(To prove the inequality square both sides.) If |x − x 0 | < ε 2 then either

x 0 ≤ x < x 0 +ε 2 (which implies

x 0 ≤

x <

x 0 +ε) or else x ≤ x 0 < x+ε 2

(which implies

x ≤

x 0 <

x + ε). In either case |

x −

x 0 | < ε. This

proof is simpler than the one given but is harder to find since it uses a clever

inequality which the reader might not think of.

Example 22. The function f defined by

f (x) =

1 if x > 0

0 if x ≤ 0

is not continuous.

Proof. In other words,

∃x 0 ∈ R ∃ε > 0 ∀δ > 0 ∃x ∈ R

[

|x − x 0 | < δ and |f (x) − f (x 0 )| ≥ ε

]

Let x 0 = 0. (No other value of x 0 will work here.) Let ε = 1. Choose δ > 0.

Let x = δ/2. Then |x−x 0 | = δ/ 2 < δ but |f (x)−f (x 0 )| = | 1 − 0 | = 1 ≥ ε.