I want to prove that if $f:\mathbb R \rightarrow \mathbb R$ is continuous and $x_n$ a bounded sequence, then $\liminf_{n\rightarrow \infty}f(x_n) < f(\liminf_{n\rightarrow \infty}x_n)$.
Suppose $\liminf_{n\rightarrow \infty}x_n=a$
$$f\text{ continuous }\Rightarrow \forall \varepsilon>0,\ \exists \delta>0,\quad |x_n - a|<\delta \Rightarrow |f(x_n)-f(a)|<\varepsilon. \tag{1}$$
It follows from the definition of limit inferior that there is a sequence $x_{n_k}$ for which $x_{n_k}\rightarrow a$. In other words, $\exists k_0 \in \mathbb N$, such that $\forall k>k_0$, $|x_{n_k}-a|<\delta$. Now, by (1) we get $|x_{n_k} -a|<\delta \Rightarrow |f(x_{n_k} - f(a)|<\varepsilon$, $\forall k>k_0$.
My question is: May I infer from all this that $\liminf_{n\rightarrow \infty}f(x_n) \leq f(\liminf_{n\rightarrow \infty}x_n)$? Why?