Seeing uniform continuity from continuity

real-analysis

Let us introduce the definitions with which I am working.

Definition 1 (Continuity) Let $f:A\to\mathbb{R}$. Then $f$ is continuous on $A$ if for all $y\in A$ we have that for all $\epsilon>0$ there exists $\delta>0$ such that for all $x\in A$ with $|x-y|<\delta$, we have $|f(x)-f(y)|<\epsilon$.

Definition 2 (Uniform Continuity) Let $f:A\to\mathbb{R}$. Then $f$ is uniformly continuous on $A$ if for all $\epsilon>0$ there exists $\delta>0$ such that for all $x,y\in A$ with $|x-y|<\delta$ we have $|f(x)-f(y)|<\epsilon$.

I notice that these definitions are very similar. However I must clarify I know that continuity does not imply uniform continuity.

My question is this: suppose I have in front of me some proof that some $f$ is continuous. Uniform continuity cannot allow the choice of $\delta$ to be dependent on the points $x,y$. I wondered whether if I could see that in the proof that $f$ is continuous, that the choice of $\delta$ has no dependence on $x,y$, that in fact I have uniform continuity as well.

In other words, if I have $\delta$ dependent only on $\epsilon$ in some continuity proof, do I automatically have that $f$ is also uniformly continuous, or does a separate proof need to be written?

Best Answer

If in your proof the value of $\delta$ doesn't depend on your choice of $x$, but uniquely on $\varepsilon$, then you could have fixed $x$ after fixing $\varepsilon$ and determining $\delta$, therefore proving absolute continuity of the function, hence you can basically use the same proof, except for fixing $x$ and $y$ after determining $\delta$.