$f:(2,4)→(1,3)$ where $f(x)=x-[x/2]$ (where $[.]$ is the greatest integer function/floor function),then what will be $f^{-1}(x)$.

Let $f:(2,4)→(1,3)$ where $f(x)=x-[x/2]$ (where $[.]$ is the greatest integer function/floor function),then what will be $f^{-1}(x)$? I can't understand how to manipulate the floor function.Help please.

Hint: For $x \in (2, 4)$, we have $\lfloor x/2\rfloor = 1$.

• Oh I wonder why I did'nt spot it.Thanks a ton :-) – user227000 Apr 22 '15 at 15:52