Surjective function · Exercise-SURJECTIVE-FUNCTION-009
Step-by-step solved exercise: Relations and functions
If \(\displaystyle f\colon A\to B\) and \(\displaystyle g\colon B\to C\) are surjective, is \(\displaystyle g\circ f\)?
Surjective function · Exercise-SURJECTIVE-FUNCTION-009
If \(\displaystyle f\colon A\to B\) and \(\displaystyle g\colon B\to C\) are surjective, is \(\displaystyle g\circ f\)?
Let \(\displaystyle c\in C\) be arbitrary.
Since \(\displaystyle g\) is surjective, there exists \(\displaystyle b\in B\) with \(\displaystyle g(b)=c\).
Since \(\displaystyle f\) is surjective, there exists \(\displaystyle a\in A\) with \(\displaystyle f(a)=b\).
Then \(\displaystyle (g\circ f)(a)=g(f(a))=g(b)=c\), so \(\displaystyle g\circ f\) is surjective.
Yes; the composition of surjective functions is surjective