Let $a$ and $b$ be numbers with $a<b$ and set $I=(a,b)$. Suppose that the function $f:I\rightarrow\mathbb{R}$ is monotonically increasing and bounded. Prove that the $\lim_{x\rightarrow a}f(x)$ exists.
Observe that $a=\inf(I)$ where $a\notin(a,b)$, and since $f(I)$ is bounded, there exists an $\alpha=\inf f(I)$. Now, let $\{x_n\}$ be sequence of $I$ that converges to $a$, then there exists a subsequence $\{x_{n_k}\}$ that also converges to $a$. Since $f:I\rightarrow\mathbb{R}$ is monotonically increasing and bounded, we have $f(\{x_{n_k}\})$ is monotone bounded decreasing that converges to $\alpha$ by the monotone convergent theorem. Now, let $\epsilon>0$, there exists a $K\in\mathbb{N}$ such that $\alpha\leq f(x_{n_k})<\alpha+\epsilon$. Since $\{x_n\}$ converges to $a$, there exists a $N\in\mathbb{N}$ such that $a\leq\{x_n\}<\{x_{n_k}\}$ for all $n\geq N$. Then we have $\alpha\leq f(x_n)\leq f(x_{n_k})<\alpha+\epsilon$; thus we $\lim_{x\rightarrow a}f(x)=\alpha$
Can someone check this solution right or not? I am still struggling with sequences. Thanks in advanced.