Composition and inverse · Exercise-COMPOSITION-AND-INVERSE-011
Step-by-step solved exercise: Relations and functions
If \(\displaystyle g:M\to N\) and \(\displaystyle f:N\to P\), what does \(\displaystyle (f\circ g)(x)\) mean?
Composition and inverse · Exercise-COMPOSITION-AND-INVERSE-011
If \(\displaystyle g:M\to N\) and \(\displaystyle f:N\to P\), what does \(\displaystyle (f\circ g)(x)\) mean?
In \(\displaystyle (f\circ g)(x)\), the innermost map is \(\displaystyle g\), which acts first on \(\displaystyle x\).
\(\displaystyle g\) takes \(\displaystyle x\in M\) and outputs \(\displaystyle g(x)\in N\).
Then \(\displaystyle f\) takes that value in \(\displaystyle N\) and returns \(\displaystyle f(g(x))\in P\).
Therefore \(\displaystyle g\) is applied first, then \(\displaystyle f\).
Applying first \(\displaystyle g\) and then \(\displaystyle f\): \(\displaystyle f(g(x))\)