Proof that $f : \mathbb{R} \rightarrow [0,1]$ with $f(x) = x−\lfloor x\rfloor$ is bijective

54 Views Asked by At

Prove that $f : \mathbb{R} \rightarrow [0,1]$ with $f(x) = x−\lfloor x\rfloor$ is bijective

$\lfloor x\rfloor$ is the floor function of $x$. I don't know how to work with floor functions first of all. I also don't know how to start proving surjectivity and injectivity

2

There are 2 best solutions below

0
On

$$f(1)=0$$

and

$$f(2)=0$$

Can you conclude whether it is a bijection?

0
On

It's hard to prove a false statement. ;-)

The function is not injective, because $f(n)=0$ for every integer $n$.

The function is not surjective, because $f(x)<1$, for every real $x$.