Example. [00AJ]

Let f : \Z \to \Z be defined by f(x) = x+1. Is f invertible?

  • Check: is it one-to-one? Yes; for any x, y \in \Z , if x+1 = y+1 then x = y.
  • Onto? Yes, for any y \in \Z , y-1 \in \Z and f(y-1) = y.
Hence f is invertible, and in fact, f^{-1}(x) = x-1.