Injective function · Exercise-INJECTIVE-FUNCTION-009
Step-by-step solved exercise: Relations and functions
Is every injective function also surjective?
Injective function · Exercise-INJECTIVE-FUNCTION-009
Is every injective function also surjective?
Take \(\displaystyle f(n)=n+1\) from \(\displaystyle \mathbb{N}\) to \(\displaystyle \mathbb{N}\), with \(\displaystyle \mathbb{N}=\{1,2,3,\dots\}\).
If \(\displaystyle n+1=n'+1\), subtracting \(\displaystyle 1\) gives \(\displaystyle n=n'\), so \(\displaystyle f\) is injective.
But \(\displaystyle 1\) is not the image of any \(\displaystyle n\) in \(\displaystyle \mathbb{N}\), because \(\displaystyle n+1\geq 2\).
No; \(\displaystyle n\mapsto n+1\) from \(\displaystyle \mathbb{N}\) to \(\displaystyle \mathbb{N}\) is injective and not surjective.
No; \(\displaystyle n\mapsto n+1\) from \(\displaystyle \mathbb{N}\) to \(\displaystyle \mathbb{N}\) is injective and not surjective