Let $f(x) = \frac{1}{x}$ for $x > 0$ and take our set at which the function act on $(0,1]$. This function is continuous but not uniformly continuous on $A$.
To prove this consider $\epsilon = 10$,and suppose we have $\delta$, $0 < \delta < 1$. Taking $x = \delta$ and $p = \frac{\delta}{11}$, we get $|x - p| < \delta$ and $|f(x) - f(p)| = \frac{11}{\delta} - \frac{1}{\delta} > 10$.
In the following example from my book shows this is continuous but not uniform continuous but the example is missing correct ? since we also need to find counter example for $\delta \geq 1$ right ? If someone could present that example too that would be nice.
Also my question is different since the possible duplicate above shows very different question to the question I am asking here since I am asking why we must consider $\delta \geq 1$ so please read carefully my question.