I have been trying to understand how uniformly continuous functions differ from functions that are continuous but not uniformly continuous. Based on some examples and counter-examples, my feeling is that uniformly continuous functions cannot change "rapidly". Hopefully, the following examples will make it clear what I mean by that:
- $f(x) = 1/x$ is not uniformly continuous on $(0,1)$ because it "blows up" at $0$, that is, its slope becomes infinite very quickly. Similar functions would be $\log x$ on $(0,1)$ and $\tan x$ on $(0,\pi/2)$.
- $f(x) = x^2$ is not uniformly continuous on $(0,\infty)$ because it goes to infinity "rapidly" in the sense that the function's rate of change is greater than that of linear functions, for sufficiently large $x$.
- $f(x) = x^{1/3}$ is uniformly continuous on $(-1,1)$, because even though the slope does become infinite at $0$, it does not happen "rapidly" as in the previous two examples.
- $f(x) = \sin (1/x)$ is not uniformly continuous on $(0,1)$ because it oscillates "rapidly" as $x$ approaches $0$.
- $f(x) = x\sin(1/x)$ is uniformly continuous on $(-1,1)$ because, although the frequency of oscillation remains the same, the amplitude is "small enough" to make the function uniformly continuous; in some sense, the function is not changing rapidly enough for it to fail to be uniformly continuous.
This is admittedly a very naive way of looking at uniform continuity, but does it have any merit? Is there a way to describe uniform continuity by rigorously formulating the notion of rate of change of the function?
Some difficulties I already see are:
- There are continuous functions that are not differentiable, so the natural idea of rate of change is not applicable to them.
- There even exist continuous but nowhere differentiable functions on $\mathbb{R}$, and we know that any continuous function on a compact subset of $\mathbb{R}$ is uniformly continuous. So, the Weierstrass function restricted to $[0,1]$ is a uniformly continuous function. Surely, the function changes "rapidly" all over the place, but somehow it doesn't do so "rapidly enough"?
I have tagged this as a soft question because I know there is a lot of ambiguity in this post. It would be very helpful if anyone can give me insights about why this method of thinking of uniformly continuous functions (at least in the real one-variable case) can or cannot be fruitful.
Also, this is a related post that I found useful, especially the most upvoted answer: Why did mathematicians introduce the concept of uniform continuity?