Exercise 2.3.12 from Grimmet Stirzaker's Probability and Random processes asks the following. I'd like, if you guys can help verify my solution.
Let $X$ be a random variable and $g:\mathbb{R} \to \mathbb{R}$ be continuous and strictly increasing. Show that $Y = g(X)$ is a random variable.
My Solution.
As $g$ is a monotonically increasing function, it is injective(one-to-one). That is, if $x_1 < x_2$, then $g(x_1) < g(x_2)$. Therefore, $x_1 \ne x_2 \implies g(x_1) \ne g(x_2)$.
I am not sure how to deduce, that $g$ is surjective (onto).
If $g$ is bijective, the inverse function $g^{-1}$ exists and is well-defined.
Hence, the set
\begin{align*} &\{ \omega : g(X(\omega)) \le x \}\\ =&\{ \omega : (X(\omega) \le g^{-1}(x) \} \in \mathcal{F} \end{align*}
since $X$ is a random variable. Consequently, $g(X)$ is a random variable.