-2

I was given a question to find a bijection $f$ from $[0,1]$ into $(0,1)$.I have no idea of how to do this.Can any one please help me to solve this?

user26857
  • 52,094
Anupama
  • 73

1 Answers1

2

They're both uncountable.

To map $[0,1] \rightarrow (0,1)$, try mapping $0 \mapsto \frac12$, $\frac1n \mapsto \frac1{n+2}$ for $n \in \mathbb N$, and use the identity everywhere else.

djechlin
  • 5,386