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\)?

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

Step-by-step solution

  1. Let \(\displaystyle c\in C\) be arbitrary.

    \[\displaystyle c\in C\]
  2. Since \(\displaystyle g\) is surjective, there exists \(\displaystyle b\in B\) with \(\displaystyle g(b)=c\).

    \[\displaystyle \exists b\in B\;(g(b)=c)\]
  3. Since \(\displaystyle f\) is surjective, there exists \(\displaystyle a\in A\) with \(\displaystyle f(a)=b\).

    \[\displaystyle \exists a\in A\;(f(a)=b)\]
  4. Then \(\displaystyle (g\circ f)(a)=g(f(a))=g(b)=c\), so \(\displaystyle g\circ f\) is surjective.

    \[\displaystyle (g\circ f)(a)=c\]

Answer

Yes; the composition of surjective functions is surjective

🎯 Build my path to this exercise