Give an example of each of the following, or state that such a request is impossible. For any that are impossible, supply a short explanation (perhaps referencing the appropriate theorem(s)) for why this is the case.
a continuous function $f \colon [0, 1] \to \mathbb{R}$ and a Cauchy sequence $(x_{n})$ such that $f(x_{n})$ is not a Cauchy sequence.
My solution: This is impossible. A Cauchy sequence $(x_{n})$ in $[0, 1]$ must have a limit in $[0, 1]$ because this is a closed set. If $x = \lim (x_{n})$, then by continuity $f(x) =\lim f(x_{n})$. Because $f(x_{n})$ converges, it is a Cauchy sequence as well.
Does this proof hold when the interval isn't closed but $f$ is uniformly continuous? As in, is there a uniformly continuous function $f \colon (0, 1) → \mathbb{R}$ and a Cauchy sequence $(x_{n})$ such that $f(x_{n})$ is not a Cauchy sequence?
The proof does hold for $(0,1)$ as long as $f$ is uniformly continuous. It need not be true if uniform continuity does not hold. For example, consider $f:(0,1)\to\Bbb R$ given by $f(x)=1/x$.