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?
Injective function · Exercise-INJECTIVE-FUNCTION-007
Let \(\displaystyle f\colon\mathbb{Z}\to\mathbb{Z}\), \(\displaystyle f(n)=2n\). Is \(\displaystyle f\) injective?
Assume \(\displaystyle f(a)=f(b)\) for integers \(\displaystyle a\) and \(\displaystyle b\).
Divide both sides by \(\displaystyle 2\), which is nonzero.
Since equal images imply equal points, \(\displaystyle f\) is injective.
Therefore, yes; \(\displaystyle 2a=2b\) implies \(\displaystyle a=b\).
Yes; \(\displaystyle 2a=2b\) implies \(\displaystyle a=b\)