Precalculus (6th Edition)

A function has an inverse function if it is one-to-one. The function $f$ is many -to-one since the first coordinates 2, 3, and 4 are all paired with the same second coordinate $5$. This means it has no inverse function. Thus, the given functions are not inverses of each other.