Let $f(x):\mathbb{R} \rightarrow \mathbb{R}$ be a continuous functionsuch that $|f(x)| < 1/|x|$ for all $|x|>1$. How can we show that $f(x)$ is uniformly continuous?
For $f(x)$ to be uniformly continuous, for every $\epsilon>0$, there exists a $\delta>0$ such that $|f(x)-f(y)|< \epsilon$ for every $x,y$ such that $|x-y|< \delta$.
The triangle inequality and the above information imply $|f(x)-f(y)| \leq |f(x)| + |f(y)| \leq 1/|x| + 1/|y|$.
Here, I am stuck, as I cannot relate $1/|x|$ or $1/|y|$ to $|x-y|<\delta$.
Could you please give me a hint on this problem?