I'm given that $S$ consists of real numbers meaning there exists x$_n$ such that either lim(x$_n$)=+∞ or lim(x$_n$)=-∞ and I'm supposed to prove that there exists an unbounded continuous function on $S$
The best that I can find is f(x)=x and that if this exists in $S$ and $S$ is unbounded, then f(x) is unbounded for all x$_n$ in $S$ and continuous because f(x)=x is continuous. I found that solution online but it doesn't feel right. Is this enough for a proof? What can I do better?