Consider the function .
The function is not an one-to-one function because it does not passes the horizontal line test .
The domain of the function is
.
Hence to find the inverse of such functions, restrict the domain of the function such that it passes horizontal line test.
\The function is an one-to-one function in the the domain , therefore the inverse of the function does exist.
To find the inverse of the function ,consider and solve
in terms of
.
.
Interchange and
.
Replace
.
The inverse of the function is in the domain
.
The inverse of the function is
in the domain
.