# I don't understand uniform continuity

1. May 3, 2012

### Arian.D

I don't understand uniform continuity :(

I don't understand what uniform continuity means precisely. I mean by definition it seems that in uniform continuity once they give me an epsilon, I could always find a good delta that it works for any point in the interval, but I don't understand the significance of this definition and I don't know how I could study if a function is uniformly continuous on an interval or not.
For some functions it's easy, for example I've already proved that the function f(x)=ax+b is uniformly continuous over R for any a,b, because I could always choose delta to be epsilon/a and it doesn't depend on the point that I'm writing down the definition of continuity for it.
I think I need to see more examples.

If someone writes down a lot of examples here and proves that some of them are uniformly continuous while the others aren't I'll be happy :). I need to see how the definition works in real-situation examples. I hope I'm not asking too much.

2. May 3, 2012

### SteveL27

Re: I don't understand uniform continuity :(

In plain old continuity, you give me an x and and epsilon; I'll give you back a delta. If you gave me a different x and the same epsilon, I'd give you a different delta. Given a fixed epsilon, delta is a function of x.

In uniform continuity, you give me an epsilon and I'll give you back a delta that does not depend on x.

In other words in continuity, the function can "stretch" in such a way that the delta that works for some epsilon at x, fails for a different x. But with uniform continuity, the same delta works for epsilon regardless of x.

Perhaps that helps.

(ps) Also it will make a lot more sense if you think about a particular function that's continuous but not uniformly continuous. f(x) = 1/x is a good example. Do you see why it fits the definition of continuity but not uniform continuity?

Last edited: May 3, 2012
3. May 3, 2012

### mathwonk

Re: I don't understand uniform continuity :(

try this

you asked about uniform continuity. it just means that if you want the values f(x) - f(y) to be smaller than e, you only need the distance between x and y to be smaller than another certain distance d.

#### Attached Files:

• ###### 2310H uniform and other continuity.pdf
File size:
587.2 KB
Views:
403
Last edited: May 3, 2012
4. May 4, 2012

### Arian.D

Re: I don't understand uniform continuity :(

That does help. Thank you.

No, I don't see why it fits the definition of continuity but not uniform continuity. I know that 1/x is continuous everywhere except at x=0, but in Calculus they taught us to study continuity only at one point, not on a whole interval. They defined we say f is continuous on [a,b] if it's continuous at every point within the interval but they never said anything about how to show that by definition.

The pdf you gave has errors in it. For instance, It's not true that |a+h| <= |a| - |h|. a=3 and h=1 is a counterexample to this, but it helped me a lot. Thanks.

well, I tried to prove that some elementary functions are uniformly continuous over R. Please check my proofs:

1) y=ax+b is uniformly continuous over R.
$\forall \epsilon > 0, \exists \delta >0 : |x-y|<\delta \implies |f(x)-f(y)|<\epsilon$
$\forall \epsilon > 0, \exists \delta >0 : |x-y|<\delta \implies |(ax+b) - (ay+b)| < \epsilon$
$|a(x-y)|<\epsilon \implies |a||x-y| < \epsilon \implies |x-y| < \frac{\epsilon}{|a|}$
Therefore if we set $\delta = \frac{\epsilon}{|a|}$ the definition works and it's obvious that delta is not dependent on y.

2) y=sin(x) is uniformly continuous over R.
We start with a tautology: $\forall x \in \mathbb{R} : |sinx| \leq |x|$. Since we have $|\sin(x)-\sin(y)|=|2 \sin(\frac{x-y}{2}) \cos(\frac{x+y}{2})|$ and we have $\forall x \in \mathbb{R} : |\cos(x)| \leq 1$ we conclude that:
$\forall x,y \in \mathbb{R} : |\sin(x)-\sin(y)| \leq 2|\frac{x-y}{2}| = |x-y| \implies |\sin(x)-\sin(x)|=|x-y|$

Now for any given $\epsilon$ if we set $\delta = \frac{\epsilon}{2}$ we'll have:
$\forall \epsilon>0, \exists\delta>0, \forall x,y \in \mathbb{R}: |x-y|<\delta \implies |sin(x)-sin(y)| \leq |x-y| < \delta=\frac{\epsilon}{2} < \epsilon$

3) y=cos(x) is uniformly continuous over R.
The proof is exactly the same, this time we use the fact that $|\cos(x)-\cos(y)| \leq |x-y|$.

4) y=√x is uniformly continuous over R≥0.
Suppose that x,y are two non-negative real numbers, without loss of generality we could assume that x≥y≥0.
Now if we set $x-y<\epsilon^2$ we'll have $x<\epsilon^2 + y$. Now we'll have:
$\sqrt{x} < \sqrt{\epsilon^2 + y} \leq \sqrt{\epsilon^2} + \sqrt{y} \implies \sqrt{x} - \sqrt{y} < \epsilon$
But $x - y \leq 0 \implies \sqrt{x} - \sqrt {y} \leq 0$ since √x is monotonically increasing. therefore we could write x-y=|x-y| (by hypothesis) and √x - √y = |√x - √y|. What we've shown so far is if we set $\delta = \epsilon^2$ we have:
$\forall\epsilon>0,\exists \delta>0, \forall x,y\geq0: |x-y|< \delta \implies |\sqrt{x} - \sqrt{y}|< \epsilon$

I've also concluded these results:

1) If f and g are uniformly continuous over [a,b], so is (f+g).
Proof:
$\forall \epsilon>0, \exists \delta>0: |x-y|<\delta \implies |f(x)-f(y)|<\epsilon$
$\forall \epsilon>0, \exists \delta'>0: |x-y|<\delta' \implies |g(x)-g(y)|<\epsilon$
Now if $\delta$ and $\delta'$ could be chosen independently from y, their minimum is also independently chosen. (obvious fact!). Therefore:
$\forall \epsilon>0 \exists d>0: |x-y|<d \implies |(f+g)(x)-(f+g)(y)| \leq |f(x)-f(y)|+|g(x)-g(y)| < 2\epsilon$.
That ends the proof.

2) If f and g are uniformly continuous over [a,b], (f.g) could be uniformly continuous or not.

Proof:
y=x is uniformly continuous over R, but x2 is not uniformly continuous over R.
y=√x is uniformly continuous over [0,∞), y=x is also uniformly continuous over [0,∞).
So both cases could happen.

3) If f and g are uniformly continuous over [a,b], so is (cf). (c is a constant).
The proof is very easy.

Now I got the following questions, I would be very glad if someone could answer them here or give me a hint to do it on my own:

1) Is ex uniformly continuous over R?
2) If f is uniformly continuous over [a,b], what could we say about its inverse?
3) Are sinh(x) and cosh(x) uniformly continuous over R?
4) Could we say if a function is uniformly continuous from its Taylor series?

Thanks.

Last edited: May 4, 2012
5. May 4, 2012

### mathwonk

Re: I don't understand uniform continuity :(

thanks for the correction. fortunately the incorrect statement is not used, and when it is used a few lines later it is used correctly.

those notes are not polished, they are just the actual classroom lecture notes that i wrote up at night and handed out everyday. as such i am glad they helped.

Last edited: May 4, 2012
6. May 4, 2012

### micromass

Staff Emeritus
Re: I don't understand uniform continuity :(

You might want to prove the following two nice theorems:

1) If $f:[a,b]\rightarrow \mathbb{R}$ is continuous, then it is uniformly continuous. This theorem can be extended by taking instead of [a,b] any compact domain.

2) f is uniformly continuous if and only if for every two sequence $(x_n)_n$ and $(y_n)_n$ hold that $|x_n-y_n|\rightarrow 0$ implies $|f(x_n)-f(y_n)|\rightarrow 0$

This last one can be used to show that $f(x)=e^x$ is not uniformly continuous on $\mathbb{R}$. For example, take $x_n=n$ and $y_n=n+\frac{1}{n}$

Important is also:

3) If f is uniformly continuous and if $(x_n)_n$ is a Cauchy sequence, then $(f(x_n))_n$ is a Cauchy sequence.

Another nice obeservation:

4) If f is differentiable and if $f^\prime$ is bounded, then f is uniformly continuous.

7. May 4, 2012

### mathwonk

Re: I don't understand uniform continuity :(

as to e^x being uniformly continuous over all of R, that seems unlikely doesn't it? look at

e^(x+h). Is there some small value of h that will insure this is always within, say 1, of e^x, for all x?

i.e. fix h, and try to find x so that e^(x+h) is a good bit bigger than e^x.

try to notice the links between micromass's proposed theorems and some of your questions.

8. May 4, 2012

### Arian.D

Re: I don't understand uniform continuity :(

Wow. These theorems are very useful. I'm not sure if I could prove them on my own because I'm not so much into Analysis, but I guess some of them are proved in a good (but devilish) analysis book like baby Rudin perhaps.
The fourth one is very useful I think, it somehow answers my second question.

Theorem: If f is differentiable on [a,b] and bounded and is not zero in the interval, f-1 is uniformly continuous. (I guess).
My proof: well, suppose we have y=f(x), if the inverse exists, we have x=f-1(y), by implicit differentiation we get: $1 = y' . (f^{-1})^\prime(y)$.
Therefore:
$$(f^{-1})^\prime(y) = \frac{1}{f^\prime(y)}$$
So if f is differentiable and f' is bounded and is not zero in the interval, the inverse function is uniformly continuous.
Right?

I don't understand what you're trying to get at. Would you explain more please?

9. May 4, 2012

### micromass

Staff Emeritus
Re: I don't understand uniform continuity :(

No. It's not because something is uniformly continuous and has an inverse that it is differentiable!! You can't use derivatives here.

I don't think it's true by the way, look at $\sqrt{x}$ which is uniformly continuous and $x^2$ which is not.

10. May 4, 2012

### Arian.D

Re: I don't understand uniform continuity :(

You're very quick to check the replies. I corrected the statement, check it again please.

11. May 4, 2012

### micromass

Staff Emeritus
Re: I don't understand uniform continuity :(

That seems alright, but it can be generalized.

It is true that:

Theorem: if f is a continuous bijection on [a,b], then the inverse function is uniformly continuous

The proof depends on some other results:

Theorem: A continuous bijection with domain [a,b] has a continuous inverse.

Theorem: A continuous function maps a closed interval to a closed interval.

Theorem: A continuous map on [a,b] is uniformly continuous.

12. May 4, 2012

### Arian.D

Re: I don't understand uniform continuity :(

so, by this theorem, ex is uniformly continuous because lnx is a continuous bijection on (0,∞). (I don't know what you mean by a continuous bijection though, I guessed you mean a map which is continuous and bijective).

13. May 4, 2012

### micromass

Staff Emeritus
Re: I don't understand uniform continuity :(

No. I specifically said: a continuous bijection on [a,b]. Things like (0,∞) or $\mathbb{R}$ are not closed intervals. The theorems I listed are all false for functions whose domains are not closed intervals.

And yes, a continuous bijection is something that is continuous and bijective.

14. May 4, 2012

### Arian.D

Re: I don't understand uniform continuity :(

well, right, I think you're interested in compact sets which are closed intervals in $\mathbb{R}$. One another reason that analysis is not my field of interest.

Okay. Why uniform continuity is interesting? Does it have any interesting results that convince us to distinguish it from simple continuity?

15. May 4, 2012

### micromass

Staff Emeritus
Re: I don't understand uniform continuity :(

One of the interesting results is:

If $f:A\rightarrow \mathbb{R}$ is uniformly continuous, then it has a continuous extension $f:\overline{A}\rightarrow \mathbb{R}$.

This is a very useful theorem as it allows you to do nice things. For example, it can be used to define integrals.

16. May 4, 2012

### Arian.D

Re: I don't understand uniform continuity :(

Sounds nice.

Were my proofs correct? Does the set of all uniformly continuous functions form a vector space? (I tried to show that its closed under function addiction and scalar multiplication).

After all these nice theorems, I'm still wondering whether ex is uniformly continuous or not. Mathwonk said something, but I didn't quite understand him/her :(.

17. May 4, 2012

### micromass

Staff Emeritus
Re: I don't understand uniform continuity :(

That is correct.

It is not. Mathwonk and I gave you proofs.

18. May 4, 2012

### Arian.D

Re: I don't understand uniform continuity :(

Where did you propose a proof?
I didn't understand what Mathwonk said unfortunately :( It was a bit over the top for my brain I think. I kinda guessed what he was trying to get at, but I didn't understand it precisely.

19. May 4, 2012

### micromass

Staff Emeritus
Re: I don't understand uniform continuity :(

Here:

20. May 4, 2012

### mathwonk

Re: I don't understand uniform continuity :(

I wAS JUST THINKING you would expand e^(x+h) as e^x.e^h. Then subtracting we get

e^(x+h) - e^x = e^x.e^h - e^x = e^x(e^h - 1).

now uniform contimnuity would say you can always make this as small as you want,

just by making h small. I.e., some small h would have to make this small for all x.

but any h > 0 at all will have e^h - 1 > 0. Then with h chosen, for big enough x, the product

e^x(e^h - 1) will be really big.

If you still don't get it, you still need to think hard about what uniform continuity means.