Answer:
The function f has an inverse because it is one-to-one.
Explanation:
The condition for a function to have an inverse is that every x coordinate maps to a single y - coordinate. As illustrated by the diagram attached in the second picture, every x value maps to one y value therefore satisfying the condition making the function have an inverse.