Composition and inverse · Exercise-COMPOSITION-AND-INVERSE-009

Step-by-step solved exercise: Relations and functions

Let \(\displaystyle f\colon A\to B\) and \(\displaystyle h\colon B\to A\) satisfy \(\displaystyle h\circ f=\mathrm{id}_A\). What can be said about \(\displaystyle f\)?

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

Step-by-step solution

  1. Suppose \(\displaystyle f(a)=f(a')\) with \(\displaystyle a,a'\in A\).

    \[\displaystyle f(a)=f(a')\]
  2. Apply \(\displaystyle h\) to both sides: \(\displaystyle h(f(a))=h(f(a'))\).

    \[\displaystyle h(f(a))=h(f(a'))\]
  3. By hypothesis \(\displaystyle h\circ f=\mathrm{id}_A\), so \(\displaystyle a=a'\).

    \[\displaystyle a=h(f(a))=h(f(a'))=a'\]
  4. Hence \(\displaystyle f\) is injective.

    Comment: Surjectivity does not follow: \(\displaystyle B\) may have more elements than \(\displaystyle A\).

Answer

\(\displaystyle f\) is injective

🎯 Build my path to this exercise