Surjective function · Exercise-SURJECTIVE-FUNCTION-001
Step-by-step solved exercise: Relations and functions
What does it mean for \(\displaystyle f\colon A\to B\) to be surjective?
Surjective function · Exercise-SURJECTIVE-FUNCTION-001
What does it mean for \(\displaystyle f\colon A\to B\) to be surjective?
The image of \(\displaystyle f\) is the set of all values \(\displaystyle f(a)\) with \(\displaystyle a\) in \(\displaystyle A\).
Being surjective requires the image to equal the codomain, so no \(\displaystyle b\) is left unreached.
Equivalently, for every \(\displaystyle b\) in \(\displaystyle B\) there is at least one \(\displaystyle a\) in \(\displaystyle A\) with \(\displaystyle f(a)=b\).
This matches the statement that every element of \(\displaystyle B\) is the image of some element of \(\displaystyle A\).
Every element of \(\displaystyle B\) is the image of some element of \(\displaystyle A\)