Example. [00AM]

What about f : \mathbb {Q} \to \mathbb {Q} defined by f(x) = 3x+2? This looks similar to the previous example, but it is a different function! In fact this f is both one-to-one and onto; f^{-1}(s) = \frac {s-2}{3}.