Let
\(f=\{ (-1,5), (0,0), (2,6) \}\text{.}\) Find
\(f^{-1}\text{,}\) \(\text{ }f^{-1}(5) \text{ }\) and
\(\text{ }(f^{-1} \circ f)(2)\text{.}\)
Solution: Β Interchange the coordinates in each pair.
\begin{equation*}
f^{-1}=\{ (5,-1), (0,0), (6,2) \}
\end{equation*}
\(f^{-1}(5)\) is the second coordinate when the first coordinate is
\(5\text{.}\) So,
\(f^{-1}(5)=-1\text{.}\)
Use the definition of function composition to find
\(\text{ }(f^{-1} \circ f)(2)\text{.}\)
\begin{align*}
(f^{-1} \circ f)(2) \amp = f^{-1}(f(2)) \\
\amp =f^{-1}(6) \quad \quad \quad \text{ since $(2,6)$ is in $f$} \\
\amp = 2 \quad \quad \quad \quad \quad \text{since $(6,2)$ is in $f^{-1}$}
\end{align*}