Prove that the set of bounded continuous functions on $\Bbb R$ is complete in the sup norm.
I know the necessary definitions, but not how to combine them to get the appropriate result.
Prove that the set of bounded continuous functions on $\Bbb R$ is complete in the sup norm.
I know the necessary definitions, but not how to combine them to get the appropriate result.
A metric spaced X is said to be complete if every Cauchy sequence converges in X
Consider a Cauchy sequence of bounded continuous functions $(f_n)_{n\in\mathbb{N}}$ on $\mathbb{R}$,
let $x$ be a real number, one can note that the sequence $(f_n(x))_{n\in\mathbb{N}}$ is a Cauchy sequence in the complete metric space $\mathbb{R}$, and therefore converges towards a real that we shall note $f(x)$.
All we need to show is that $(f_n)$ converges towards $f$ and that $f$ is a bounded continuous function.
$f_n$ being a Cauchy sequence one has: $\forall \varepsilon>0, \exists N \in\mathbb{N}, \forall n,p \geq N, ||f_n-f_p||_{\infty}<\varepsilon$
i.e.$\forall \varepsilon>0, \exists N \in\mathbb{N}, \forall n,p \geq N, \forall x \in \mathbb{R}, |f_n(x)-f_p(x)|<\varepsilon$
With $x$ a real number, when $p\to\infty$,$|f_n(x)-f(x)|<\varepsilon$ and this is true for all $x$, so $||f_n-f||_{\infty}<\varepsilon$ Which implies:
1) that $f_n$ converges uniformly towards $f$ ($f$ is therefore continuous)
2) that $f_n-f$ is bounded and therefore $f$ is a bounded continuous function as $f_n$ converges uniformly towards $f$.