This is a question I've stumbled upon and the question asks me to prove something which I don't think is true.

**Question**:

Let $f(x)$ be a continuous function in $\mathbb{R}$, and let $(a\_n)$ be a Cauchy sequence. Prove that $f(a\_n)$ is a Cauchy sequence. 

**Attempt**:

Since the reals covers $[-\infty,\infty]$, I thought I might as well look for a simple interval to prove that it isn't true. Let $f(x) : (0,1) \to \mathbb{R}$. Since they asked for a continuous function, let $f(x)=\frac{1}{(x)}$, which is continuous. Looking at a Cauchy sequence $(\frac{1}{(n)})$, I see that 

$f(\frac{1}{(n)})=n$, which is not Cauchy. 

Am I doing something wrong or is the question improperly stated?

**Attempt #2**: 

Let $f(x)$ be a continuous function $\in \mathbb{R}$. (As Chris said) I'll lock $(a\_n)$ to a compact interval and then I can work with $f$ there. Let $\epsilon>0$ be given. Since $f$ is continuous on a compact set, it is also uniformly continuous. Since $f$ is uniformly continuous there exists $\delta>0$ such that for all $x,y\in \mathbb{R}$ such that $|x-y|<\delta$, $|f(x)-f(y)|<\epsilon$. And since $(a\_n)$ is Cauchy and $\delta>0$, there exists a $N\in \mathbb{N}$ such that for all $n,m \geq N$ we have $|x\_n - x\_m|<\delta$. Thus
$|f(x)-f(y)|<\epsilon$, $\epsilon>0$. Thus $f((x\_n))$ is Cauchy.