The definition from my lecture notes of a random variable is as follows:
$\textbf{Definition} \hspace{2mm} \text{A random variable is a map X}:\Omega \rightarrow \mathbb{R} \text{ such that for any} A \in \mathscr{B}(\mathbb{R}),$ $$X^{-1}(A) = \{\omega \in \Omega:X(\omega)\in A\} \in \mathscr{F}.$$
Surely, for example, if we take X to be the number of even numbers in two rolls of a die and we take some arbitrary interval in the set of Borel $\sigma$-algebras of $\mathbb{R}$, such as $(-1,2)$, not every member of this set can be mapped back to a sample point? What would $X^{-1}(-1,2)$ represent?
Edit: Also, what is $X(\emptyset)$?