Bijection/Examples/2x+1 Function on Real Numbers

Example of Bijection
Let $f: \R \to \R$ be the mapping defined on the set of real numbers as:
 * $\forall x \in \R: \map f x = 2 x + 1$

Then $f$ is a bijection.

Proof
Let $x_1$ and $x_2$ be real numbers.

Then:

Hence by definition $f$ is an injection.

Let $y \in \R$.

Let $x = \dfrac {x - 1} 2$.

We have that:
 * $x \in \R$
 * $\map f x = y$

Hence by definition $f$ is a surjection.

Thus $f$ is both an injection and a surjection, and so a bijection