A bijection is a function that is both one-to-one and onto.
I need to find such a function that maps $\{ -2, -1 \} \cup [0, 1] \rightarrow (0, 1)$ or equivalently, $ (0, 1) \rightarrow \{-2, -1 \} \cup [0, 1]$.
This problem is very confusing because if I exclude any function output for $x \in [0, 1]$ (output occupied by $\{ -1, -2 \}$) I have to find another function output in $(0, 1)$ that associates with $x$, even though all numbers in $(0, 1)$ have already been covered.
Help needed.