0

I am trying to prove the proposition indicated in the title. Will it work if i define $h:(0,1)\to[0,1]$ as follows $$h(x) = \begin{cases}x\text{ if }x\in(0,\frac{1}{4})\cup(\frac{1}{2},\frac{1}{4})\cup(\frac{1}{2},1)\\0\text{ if }x = \frac{1}{4}\\1\text{ if }x = \frac{1}{2}\end{cases}$$

ℋolo
  • 10,006

1 Answers1

5

Hint: The following trick goes half the way, namely gives a bijection $(0,1)\to (0,1]$:

$$h(x)=\begin{cases}\frac1{\frac1x-1}&\text{if }\frac1x\in\Bbb N\\x&\text{otherwise}\end{cases} $$