Injective function · Exercise-INJECTIVE-FUNCTION-008

Step-by-step solved exercise: Relations and functions

If \(\displaystyle f\colon A\to B\) and \(\displaystyle g\colon B\to C\) are injective, is \(\displaystyle g\circ f\)?

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

Step-by-step solution

  1. Take \(\displaystyle a_1,a_2\) in \(\displaystyle A\) with \(\displaystyle (g\circ f)(a_1)=(g\circ f)(a_2)\).

    \[\displaystyle g(f(a_1))=g(f(a_2))\]
  2. Since \(\displaystyle g\) is injective, \(\displaystyle f(a_1)=f(a_2)\).

    \[\displaystyle f(a_1)=f(a_2)\]
  3. Since \(\displaystyle f\) is injective, \(\displaystyle a_1=a_2\).

    \[\displaystyle a_1=a_2\]
  4. So yes; the composition of injective functions is injective.

Answer

Yes; the composition of injective functions is injective

🎯 Build my path to this exercise