I have a problem I’m working on that I know the answer to, but I still need some help understanding some things. The problem is as follows:
Show that $S = \{ x \in \mathbb{R} \space | \space 0 < x < 1\}$ has the same cardinality as $\mathbb{R}$.
Alright so I know I must provide a bijective function and a possible solution is $tan(\pi(x - \frac{1}{2}))$. This solution makes sense when I look at the graph of the function because it obviously maps the interval $(0,1) \rightarrow \mathbb{R}$ but how would I go about extending this to say the open interval $(a, b)$ where $ a < b$.
I’ve been trying to think of a way to stretch and compress the tan function to get a general formula but have failed. Can anyone help me with this problem? Also if you have any other tips for finding bijective maps that would be great. Should I just start to become familiar with as many types of graphs as possible?