Is the function $f(x) = x^2 + x$ uniformly continuous on $(0, \infty)?$ Justify your answer.
Attempt: Let $x,y \in (0,\infty).$ Let $\varepsilon>0.$ Then, if $|x-y|<\delta,$
$$|x^2+x-y^2-y| \le |x^2-y^2|+|x-y| = |x-y||x+y|+|x-y|<\delta|x+y|+\delta$$
Here I don't know how to deal with $|x+y|$. Could you give some hint?
I am also wondering if the theorem (if $f$ is continuous on the closed interval, $f$ is uniformly continuous on that interval) is still applicable on $[0, \infty).$
Thank you in advance.
No, the theorem is not still applicable on $[0,+\infty)$.
If $n\in\mathbb N$, then$$\lim_{x\to\infty}f\left(x+\frac1n\right)-f(x)=\lim_{x\to\infty}\frac{2x}n+\frac1n+\frac1{n^2}=+\infty$$Can you take it from here?