Let $f:\mathbb{R}\to\mathbb{R}$ be a continuous function, and let $\{x_{n}\}$ be a sequence defined by $x_{0}=0$ and $$x_{n+1}=f(x_{n})\quad(n\ge0).$$ Prove that if $\{x_{n}\}$ is bounded, then there exists $c\in\mathbb{R}$ such that $f(c)=c$.
Is it possible to show using the Bolzano-Weierstrass theorem?
Give some advice or hint. Thank you!
Although I find the already given answers more interesting, I will add this proof for sake of completeness.
Yes, it is possible to use Bolzano-Weierstarss theorem.
If $(x_n)$ is a real valued and bounded sequence, then it has a convergent subsequence $(x_{n_j})$ and we denote $\lim\limits_{j\to\infty}x_{n_j}:=c$.
It follows from continuity that $c=\lim\limits_{j\to\infty}x_{n_j}=\lim\limits_{j\to\infty}f(x_{n_{j-1}})=f(\lim\limits_{j\to\infty}x_{n_{j-1}})=f(c)$. Hence, the sequence has a fixpoint.