Real Analysis – Prove $\lim \sup f (x_n) = f(\lim \sup (x_n)) $ and $\lim \inf f (x_n) = f(\lim \inf (x_n))$

compactnesscontinuitylimsup-and-liminfmonotone-functionsreal-analysis

Prove: Let $A \subset \mathbb{R}$ compact, $f: A \rightarrow \mathbb{R}$ continuous, increasing monotone and $(x_n) \subset A$. Consider. Show that $\lim \sup f (x_n) = f(\lim \sup (x_n))$ and $\lim \inf f (x_n) = f(\lim \inf (x_n))$.

My attempt: Firstly, the image $f(A)$ is a compact set because A is compact and f is continuous. Being so, the numbers $y_o = \inf f(A)$ and $y_1 = \sup f(A)$ belong to $f(A)$. Also, $f:A \rightarrow \mathbb{R}$ is increasing monotone, meaning $x<y \Rightarrow f(x) < f(y)$. Now, since $(x_n) \subset A$ and f continuous, for all $a \in A$, $xn \rightarrow a \Rightarrow f(x_n) \rightarrow f(a).$ That way, letting $m_0 =\lim \inf f (x_n)$, it follows that $x_n \rightarrow m_0 \Rightarrow f(x_n) \rightarrow f(m_0)$, and a similar result for the $sup$.

I got stuck at this point, and would like some hints on what I should do next, or a different approach that not by the definition of continuity. How do I use the fact that $f$ is an increasing monotone function?

Best Answer

By intermediate value theorem, since $f$ is increasing, continuous and $A$ compact, $$\sup f(A)=f(\sup A).$$ The continuity allowed you to conclude. It's easy to adapt the proof to a set $\{x_n\}_{n\in\mathbb N}\subset A$.