$a_n$ is a sequence, $f$ is a uniformly continuous function in $R$.
I need to prove that $lim_{n\to\infty}(a_{n+1}-a_n) = 0 \implies lim_{n\to\infty}(f(a_{n+1})-f(a_n)) = 0$.
Here's what I thought of doing:
- $lim_{n\to\infty}(a_{n+1}-a_n) = 0 \implies lim_{n\to\infty}(a_{n+1}) = lim_{n\to\infty}(a_{n}) = L \in R$
- Since $f$ is continuous than for every sequence $(X_{n=1}^{\infty})$ that converges to $L \in R$ the following holds: $f(X_n)_{n\to \infty} \to f(L)$, and so $f(a_n)_{n\to \infty} \to f(L), f(a_{n+1})_{n\to \infty} \to f(L)$. This leads to $lim_{n\to\infty}(f(a_{n+1})-f(a_n))= lim_{n\to\infty}f(a_{n+1})-lim_{n\to\infty}f(a_{n}) = L - L = 0$
I guess this solution is wrong somehow, because I didn't use the fact that $f$ is uniformly continuous.
Is this solution wrong? If it is, what's wrong about it? And could you provide a valid solution?
Moreover, If $f$ was continuous in R but not Uniformly continuous in R, would that statement still be true?