Is there is a bijection from $[0,1)$ to $\mathbb{R}$?
I thought of an instance, $$\frac{\sqrt{x(1-x)}}{x-1}.$$
Is there is a bijection from $[0,1)$ to $\mathbb{R}$?
I thought of an instance, $$\frac{\sqrt{x(1-x)}}{x-1}.$$
Define $f:[0,1)=\{0\}\cup\bigcup_{n\ge 1}[\frac1{n+1},\frac1n)\to\mathbb R$ by $f(0)=0$, if $x\in [\frac1{2k+1},\frac1{2k})$, $f(x)=-2k(2k+1)x+3k$, and if $x\in [\frac1{2k+2},\frac1{2k+1})$, $f(x)=(2k+1)(2k+2)x-3k-2$.
A simpler example: $g:[0,1)\to\mathbb R$, if $x\in[0,\frac13]$ then $g(x)=6x-1$, if $x\in (\frac13,\frac23)$ then $g(x)=\frac{1}{2-3x}$, and if $x\in(\frac23,1)$ then $g(x)=\frac{1}{3x-3}$.
$(0,1) \subset [0,1) \subset \mathbb R$ so $|(0, 1)| \le |[0,1)| \le |\mathbb R|$.
And $f: (0,1)\to (-\frac \pi 2, \frac \pi 2)$ via $x \mapsto \pi x-\frac \pi 2$ is a bijection so $|(0,1)| = |(0,\pi)|$.
And $\tan: (-\frac \pi 2, \frac \pi 2) = \mathbb R$ is a bijection.
So $|\mathbb R|= | (-\frac \pi 2, \frac \pi 2)| = |(0,1)| \le |[0,1)| \le |\mathbb R|$.
So $|[0,1)| = |\mathbb R|$.
So, yes, a bijection between $[0,1)\to \mathbb R$ exist.
But is there any reason we need to actually find one? Isn't enough to to just know there is one?
We can map $(0,1) \to \mathbb R$ by considering $x \mapsto \tan (\pi\cdot x-\frac \pi 2)$. but we haven't got $0$ maping to anything.
We can kludge $[0,1) \to (0,1)$ by mapping $0\mapsto \frac 12$ then $\frac 12 \mapsto \frac 14$ and $\frac 1{2^k} \mapsto \frac 1{2^{k+1}}$ and $x \mapsto x$ if $x \ne \frac 1{2^m}$ for any natural $m$. That is a bijection.
So if we compose the two $[0,1) \to (0,1) \to \mathbb R$ via for every $\frac 1{2^k} \mapsto \tan(\frac 1{2^{k+1}}\pi)$ and for every other $x \mapsto \tan(\pi\cdot x)$.
That's a valid bijection. But there are many others.
It's worth noting a continuous bijection, $f$, can't exist. We need to map $0$ somewhere. But then the values immediately to the left and right of $f(x)$ will be "ripped" apart.
Just use usual protocol:
Now the range of $f$ is the set of values that $f$ maps to from the domain. Now, we need to show that
$$\Bbb R\subset \text{Range}(f)\subset\Bbb R$$
for clear perspective use DESMOS graph calculator you can clearly observe in the graph that given function is not onto.