Prove that g is not uniformly continuous

analysiscontinuityuniform-continuity

Let the function $g : ]0,1] \rightarrow\mathbb{R}$ be given by

$$
g(t) = \frac{1}{t}
$$

I then have to show that g is continuous but not uniformly continous. To prove that g is continuous I have done the following:

Let $a \in ]0,1]$. Then we have that $|g(a) – g(t)| = |\frac{1}{a} – \frac{1}{t}| = |\frac{t-a}{at}| = |t-a| \cdot \frac{1}{at}$. Setting $ \delta = \min\{\frac{a}{2},\epsilon \frac{a^2}{2}\}$ we have $|t-a| \cdot \frac{1}{at} \leq \epsilon \frac{a^2}{2} < \delta $ and we are done. Is this correct?

And how do I prove that g is not uniformly continuous? Thanks for your help.

Best Answer

You can prove it by contradiction. Suppose you have a universal $\delta$ for some fixed $\epsilon>0$. From your calculations you know that $$ |g(t)-g(a)|=|t-a|/at $$ If you choose $a<\min\{\delta,1/2\epsilon\}$ and $t=a/2$ (thus $|t-a|<\delta$), you get $$ |g(t)-g(a)|=1/a>2\epsilon, $$ a contradiction