The function provided is
For the function to be invertible, the function should be one-one and onto.
The equation to check whether the provided function is one-one is,
Therefore, every element in the domain has a unique image, and the function is a one-one function.
Now to check whether the function is onto:
Consider a function
So, for any
As the particular value of the function exist in the range provided, so the function is onto.
Thus, the
Therefore,
So the function
Thus, the inverse of the function is