Ganesh Ujwal
New member
- Joined
- Aug 10, 2014
- Messages
- 32
How do I define a bijection between \(\displaystyle (0,1)\) and \(\displaystyle (0,1]\)?
Or any other open and closed intervals?
If the intervals are both open like \(\displaystyle (-1,2)\text{ and }(-5,4)\) I do a cheap trick (don't know if that's how you're supposed to do it):
I make a function \(\displaystyle f : (-1, 2)\rightarrow (-5, 4)\) of the form \(\displaystyle f(x)=mx+b\) by
\(\displaystyle \begin{align*}
-5 = f(-1) &= m(-1)+b \\
4 = f(2) &= m(2) + b
\end{align*}\)
Solving for \(\displaystyle m\) and \(\displaystyle b\) I find \(\displaystyle m=3\text{ and }b=-2\) so then \(\displaystyle f(x)=3x-2.\)
Then I show that \(\displaystyle f\) is a bijection by showing that it is injective and surjective.
Or any other open and closed intervals?
If the intervals are both open like \(\displaystyle (-1,2)\text{ and }(-5,4)\) I do a cheap trick (don't know if that's how you're supposed to do it):
I make a function \(\displaystyle f : (-1, 2)\rightarrow (-5, 4)\) of the form \(\displaystyle f(x)=mx+b\) by
\(\displaystyle \begin{align*}
-5 = f(-1) &= m(-1)+b \\
4 = f(2) &= m(2) + b
\end{align*}\)
Solving for \(\displaystyle m\) and \(\displaystyle b\) I find \(\displaystyle m=3\text{ and }b=-2\) so then \(\displaystyle f(x)=3x-2.\)
Then I show that \(\displaystyle f\) is a bijection by showing that it is injective and surjective.