Composition and inverse · Exercise-COMPOSITION-AND-INVERSE-004
Step-by-step solved exercise: Relations and functions
Let \(\displaystyle f=\{(1,b),(2,c),(3,a)\}\) be a bijection from \(\displaystyle \{1,2,3\}\) onto \(\displaystyle \{a,b,c\}\). What is \(\displaystyle f^{-1}(a)\)?
Step by step with comments, a check and common mistakes.
Step-by-step solution
The inverse undoes \(\displaystyle f\): if \(\displaystyle f(p)=q\), then \(\displaystyle f^{-1}(q)=p\).
\[\displaystyle f(p)=q \Rightarrow f^{-1}(q)=p\]
In the list of pairs, the one whose second component is \(\displaystyle a\) is \(\displaystyle (3,a)\).
So \(\displaystyle f(3)=a\), and therefore \(\displaystyle f^{-1}(a)=3\).