Continuity vs Uniform Continuity? What's the difference?

For the discussion of math. Duh.

Moderators: gmalivuk, Moderators General, Prelates

Continuity vs Uniform Continuity? What's the difference?

Postby Quackers McDuck » Sun Jan 11, 2009 8:02 pm UTC

I know the definitions are different; these are the ones I'm using (based on sequences and straight from my book):

Continuity: A function f:D->R is said to be continuous at the point x0 in D provided that whenever {xn} is a sequence in D that converges to x0, the image sequence {f(xn)} converges to f(x0). The function f:D->R is said to be continuous provided that it is continuous at every point in D.

Uniform Continuity: A function f:D->R is said to be uniformly continuous provided that whenever {un} and {vn} are sequences in D such that if

limn->infin.[un - vn] = 0,

then
limn->infin.[f(un) - f(vn)] = 0.


And I've seen examples from the book of functions that are continuous but not uniformly continuous (eg f(x)=x2), but I can't figure out more intuitively what the difference is. It seems like wikipedia is actually wrong:

In mathematics, a function ƒ is uniformly continuous if, roughly speaking, it is possible to guarantee that ƒ(x) and ƒ(y) be as close to each other as we please by requiring only that x and y are sufficiently close to each other.


Wouldn't f(x)=x2 satisfy that? So it has to be more than that, right?
Quack quack!
User avatar
Quackers McDuck
 
Posts: 12
Joined: Sun Nov 18, 2007 7:52 pm UTC

Re: Continuity vs Uniform Continuity? What's the difference?

Postby gmalivuk » Sun Jan 11, 2009 8:21 pm UTC

Quackers McDuck wrote:It seems like wikipedia is actually wrong:
In mathematics, a function ƒ is uniformly continuous if, roughly speaking, it is possible to guarantee that ƒ(x) and ƒ(y) be as close to each other as we please by requiring only that x and y are sufficiently close to each other.

Wouldn't f(x)=x2 satisfy that? So it has to be more than that, right?

No, Wikipedia isn't really wrong, you're just misunderstanding what that statement means. Which is fair, because as with all natural language explanations of formal mathematical statements, there's a bit of ambiguity that crops in.

"As close to each other as we please" means we first set some D>0, and we want f(x) and f(y) to be closer to each other than D.
"x and y are sufficiently close to each other", in this case means that, from D and f alone, we can compute some H>0 such that, if x and y are closer to each other than H, then no matter how big or small x and y are, f(x) and f(y) will be within D of each other.

For simple continuity, the analogue of our H will also tend to depend on x, such as for example with f(t)=t2. In this case, our H will need to be smaller as |x| gets bigger, because f(x) and f(x+H) differ by |2H x + H2| = H |2x + H|. So regardless of how small a fixed H is, we can make x big enough to make this value bigger than whatever D we started with. The fact that, once we're told x, we can still find an H that works means it's still continuous, but the fact that we can't use this same H for *all* possible values of x means it's not uniformly continuous.

Edit: I've used a slightly different definition here than yours with sequences, because mine is more like what Wikipedia seems to be talking about.

With sequences, simple continuity requires that the sequences <un> and <vn> actually converge to some value x0. Uniform continuity is a stronger statement, because it only requires that <un> and <vn> get close to each other, even if they don't actually converge to some particular value. So while both still require |un-vn| to approach zero, simple continuity additionally requires |un-x0| and |vn-x0| to approach zero, but uniform continuity doesn't.

For example, un = n+1/n and vn = n-1/n would be applicable to check for uniform continuity, but not simple continuity. A function can be continuous even if we don't say anything at all about this particular pair of sequences. But for uniform continuity, we have to check them, along with all other sequences that approach each other without approaching any fixed value. So, again, uniform continuity is a stronger condition, because it has to work for a wider range of sequences than simple continuity has to work for.
User avatar
gmalivuk
Archduke Vendredi of Skellington the Third, Esquire
 
Posts: 11454
Joined: Wed Feb 28, 2007 6:02 pm UTC
Location: Here, There, Everywhere (near Boston, anyway)

Re: Continuity vs Uniform Continuity? What's the difference?

Postby Quackers McDuck » Sun Jan 11, 2009 8:32 pm UTC

Thanks, that helps a lot.

Would it be generalizing too much too say that any function with a derivative going off into positive or negative infinity would not be uniformly continuous, then?

And, if the above is true, are there non-uniform-continuous functions that are also continuous without a slope going to infinity?
Quack quack!
User avatar
Quackers McDuck
 
Posts: 12
Joined: Sun Nov 18, 2007 7:52 pm UTC

Re: Continuity vs Uniform Continuity? What's the difference?

Postby gmalivuk » Sun Jan 11, 2009 8:39 pm UTC

Quackers McDuck wrote:Would it be generalizing too much too say that any function with a derivative going off into positive or negative infinity would not be uniformly continuous, then?

Correct. Functions with unbounded derivatives are not uniformly continuous. The proof of this can be shown fairly easily from my x+h account of uniform continuity and the x+h definition of derivatives.

And, if the above is true, are there non-uniform-continuous functions that are also continuous without a slope going to infinity?

Yes, because there are functions which are continuous but nowhere differentiable. I don't remember offhand whether the Weierstrass function is uniformly continuous, but even if it is, we can easily use it to make a function that isn't, by adding it to x2. The slope doesn't go to infinity, because the slope isn't even defined anywhere, and yet this is still not uniformly continuous.
User avatar
gmalivuk
Archduke Vendredi of Skellington the Third, Esquire
 
Posts: 11454
Joined: Wed Feb 28, 2007 6:02 pm UTC
Location: Here, There, Everywhere (near Boston, anyway)

Re: Continuity vs Uniform Continuity? What's the difference?

Postby Harg » Sun Jan 11, 2009 9:32 pm UTC

I have a comment here. It is not true that functions with unbounded derivatives are not uniformly continuous. Consider f(x)=\sqrt{x} on the interval [0,1]. The derivative diverges towards infinity as one approaches zero, yet the function is uniformly continuous, since it is defined on a compact set.
However, should a function be everywhere differentiable and have a bounded derivative, then it is uniformly continuous (actually Lipschitz, but never mind).

edit: Oooh, wikipedia tells me that the compact, uniform thingy is called the Heine-Cantor theorem :D
User avatar
Harg
 
Posts: 108
Joined: Thu Jul 10, 2008 8:24 pm UTC

Re: Continuity vs Uniform Continuity? What's the difference?

Postby t0rajir0u » Sun Jan 11, 2009 9:39 pm UTC

Compactness is important to keep in mind. The distinction between continuity and uniform continuity only exists over non-compact sets (intuitively because there's a lot of "wiggle room" for bad behavior even out of a continuous function - consider f(x) = 1/x on (0, 1)). As such, uniform continuity is a requirement we impose so as to get lots of nice behavior (like preserving Cauchy sequences) that merely continuous functions don't have.
User avatar
t0rajir0u
 
Posts: 1047
Joined: Wed Apr 16, 2008 12:52 am UTC
Location: Cambridge, MA

Re: Continuity vs Uniform Continuity? What's the difference?

Postby gmalivuk » Sun Jan 11, 2009 9:45 pm UTC

Harg wrote:It is not true that functions with unbounded derivatives are not uniformly continuous. Consider f(x)=\sqrt{x} on the interval [0,1].

Ah indeed. I wasn't thinking about functions on bounded intervals.
User avatar
gmalivuk
Archduke Vendredi of Skellington the Third, Esquire
 
Posts: 11454
Joined: Wed Feb 28, 2007 6:02 pm UTC
Location: Here, There, Everywhere (near Boston, anyway)

Re: Continuity vs Uniform Continuity? What's the difference?

Postby MartianInvader » Sun Jan 11, 2009 11:07 pm UTC

Actually, having bounded intervals isn't that important. Take y = \sqrt{x} on all the positives, or y = x^{1/3} on all reals. Since the derivative is bounded away from zero, it's uniformly continuous even though it's a function with unbounded derivative whose domain and range is all reals.

If you want uniform continuity and unbounded derivatives as you go out to infinity, you can get examples by playing cut-and-paste with copies of y = x^{1/3} and y = -x^{1/3} on the interval [-1, 1] (paste them together infinitely many times going out to infinity).
"Holy topology of cosmology! A wormhole!" -Futurama
User avatar
MartianInvader
 
Posts: 358
Joined: Sat Oct 27, 2007 5:51 pm UTC

Re: Continuity vs Uniform Continuity? What's the difference?

Postby gmalivuk » Sun Jan 11, 2009 11:48 pm UTC

Yeah, you're right. My excuse would be that it's Sunday, and I don't think well on Sundays. Except that falls kind of flat considering the mathing I've been doing in the planet destroyer thread over in Science. So my excuse will instead have to be that I'm just stupid. :-)

The reason x^2 isn't uniformly continuous is that the actual vertical difference between two points a given horizontal distance apart (in the usual way of graphing it) can be made arbitrarily large. But if there's only a small region where the derivative goes above some absolute value, it can still be uniformly continuous there, because the function itself doesn't go to infinity and so the actual difference between f(x) and f(x+h) never gets too large for a given h, even if the derivative is infinite.
User avatar
gmalivuk
Archduke Vendredi of Skellington the Third, Esquire
 
Posts: 11454
Joined: Wed Feb 28, 2007 6:02 pm UTC
Location: Here, There, Everywhere (near Boston, anyway)

Re: Continuity vs Uniform Continuity? What's the difference?

Postby Yakk » Mon Jan 12, 2009 8:11 pm UTC

So you can talk about continuity using the concept of having a "modulus of continuity".

This function maps your epsilons to your deltas, and traditionally is called \mu.

A function f:A->B is said to be continuous at a point p if there is a function \mu_p:R+ -> R+, called the modulus of continuity at the point p, such that for all epsilon > 0 and x from A, | x - p | < \mu_p(epsilon) implies | f(x) - f(p) | < epsilon.

A function is said to be uniformly continuous if there exists a modulus of continuity that works at every point in A -- ie, there is a choice of modulus of continuity that is uniform.

Note that most epsilon-delta proofs end up implicitly creating a modulus of continuity -- this definition just makes it explicit.
GENERATION 1+i: The first time you see this, copy it into your sig on any forum. Find a number that when you square it, then add i, you get this value.
User avatar
Yakk
 
Posts: 5612
Joined: Sat Jan 27, 2007 7:27 pm UTC
Location: E pur si muove


Return to Mathematics

Who is online

Users browsing this forum: Google [Bot], scebert and 5 guests