4

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.

sillyme
  • 289
  • 2
    $\frac{1}{x}$ is not continuous on all of $\mathbb{R}$ (it has a discontinuity at $0$). As a hint, observe that any Cauchy sequence lies in a compact set and that any continuous function on a compact set is uniformly continuous. For this problem it matters a lot that the domain is all of $\mathbb{R}$. – Chris Janjigian Dec 08 '13 at 02:59
  • $\frac{1}{x}$ is just a counterexample I used. I'm trying to show that for a subset of $\mathbb{R}$ it doesn't hold, so it won't hold for all of $\mathbb{R}$. – sillyme Dec 08 '13 at 03:02
  • The result is true as stated. It matters that $f$ is assumed to be continuous on all of $\mathbb{R}$. – Chris Janjigian Dec 08 '13 at 03:04
  • 1
    @sillyme: Right. And what Chris is trying to point out is that there is no way to transform a function on a subset of $\mathbb{R}$ that fails this theorem to a function on all of $\mathbb{R}$ that fails it as well. – Eric Stucky Dec 08 '13 at 03:05
  • 2
    @sillyme $\mathbb{R}$ is not compact. – Chris Janjigian Dec 08 '13 at 03:14
  • I gave it a second shot, trying to not explicitly state any function (-Chris-) and I made the mistake in $\mathbb{R}$ not being compact. – sillyme Dec 08 '13 at 03:14
  • @sillyme: Note that Cauchy sequence in $\mathbb R$ converges. –  Dec 08 '13 at 03:19
  • Is $e^x$ uniformly continuous on $\mathbb{R}$? – Mhenni Benghorbal Dec 08 '13 at 03:20
  • @MhenniBenghorbal: Chris is saying that a function continuous on $\mathbb{R}$ is uniformly continuous on a compact interval of type $[a, b]$ and not on whole of $\mathbb{R}$. Hence the example of $e^{x}$ on whole of $\mathbb{R}$ does not seem to be appropriate here. In the question by OP, the continuity on $\mathbb{R}$ is assumed because the limit of $a_{n}$ can be any real number. If this limit was assumed to lie in some interval $(a, b)$ then we only need continuity of $f$ in $[a, b]$. – Paramanand Singh Dec 08 '13 at 04:46
  • @ParamanandSingh: I read what he wrote in his question. – Mhenni Benghorbal Dec 08 '13 at 04:55

2 Answers2

4

Do you have to do it as an epsilon-delta proof? I would have just used the fact that, since $f(x)$ is continuous and ${a_n}$ converges, $f(a_n)$ converges. And since any convergent sequence is Cauchy (in the reals), you're done.

Tyler
  • 293
  • 2
  • 9
1
  1. The first attempt fails because -though are homeomorphic,- the metric is deformed so much between $\Bbb R$ and $(0,1)$ such that sequences which tend to either infinity (which are not Cauchy sequences) correspond to sequences convergent to either $0$ or $1$.
  2. You're almost there, but $\Bbb R$ is not compact. However, as Chris suggested in a comment, we can enclose our Cauchy sequence to a compact interval and restrict $f$ there.
Berci
  • 92,013