Surjective function · Exercise-SURJECTIVE-FUNCTION-007

Step-by-step solved exercise: Relations and functions

Let \(\displaystyle f\colon\mathbb{Z}\to\mathbb{Z}\), \(\displaystyle f(n)=2n\). What is the image \(\displaystyle f(\mathbb{Z})\)?

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

Step-by-step solution

  1. For each integer \(\displaystyle n\), the value \(\displaystyle f(n)=2n\) is a multiple of \(\displaystyle 2\).

    \[\displaystyle 2n\in 2\mathbb{Z}\]
  2. Every even integer \(\displaystyle 2m\) is obtained by taking \(\displaystyle n=m\), since \(\displaystyle f(m)=2m\).

    \[\displaystyle f(m)=2m\]
  3. Therefore, the image of \(\displaystyle f\) is the set of all even integers.

    \[\displaystyle f(\mathbb{Z})=2\mathbb{Z}\]
  4. Odd numbers never appear, so the image of \(\displaystyle f\) is the set of even numbers.

    \[\displaystyle f(\mathbb{Z})=\{\dots,-2,0,2,\dots\}\]

    Comment: That is why \(\displaystyle f\) is not surjective.

Answer

The even numbers

🎯 Build my path to this exercise