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

Step-by-step solved exercise: Relations and functions

Which law of composition always holds?

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

Step-by-step solution

  1. Evaluate both sides of associativity at a point \(\displaystyle x\): both give \(\displaystyle h(g(f(x)))\).

    \[\displaystyle h\big(g(f(x))\big)\]
  2. Any grouping yields the same rule: \(\displaystyle (h\circ g)(f(x))=h(g(f(x)))\).

    \[\displaystyle (h\circ g)\circ f=h\circ(g\circ f)\]
  3. Hence composition is associative in general.

Answer

It is associative: \(\displaystyle h\circ(g\circ f)=(h\circ g)\circ f\)

🎯 Build my path to this exercise