Injective function · Exercise-INJECTIVE-FUNCTION-007

Step-by-step solved exercise: Relations and functions

Let \(\displaystyle f\colon\mathbb{Z}\to\mathbb{Z}\), \(\displaystyle f(n)=2n\). Is \(\displaystyle f\) injective?

Step by step with comments, a check and common mistakes.

Step-by-step solution

  1. Assume \(\displaystyle f(a)=f(b)\) for integers \(\displaystyle a\) and \(\displaystyle b\).

    \[\displaystyle 2a=2b\]
  2. Divide both sides by \(\displaystyle 2\), which is nonzero.

    \[\displaystyle a=b\]
  3. Since equal images imply equal points, \(\displaystyle f\) is injective.

  4. Therefore, yes; \(\displaystyle 2a=2b\) implies \(\displaystyle a=b\).

    \[\displaystyle 2a=2b\Rightarrow a=b\]

Answer

Yes; \(\displaystyle 2a=2b\) implies \(\displaystyle a=b\)

🎯 Build my path to this exercise