The function is
.
A function
has an inverse
if and only if no horizontal line intersects its graph of the function in at most one point.
The Domain of
is
.
Observe the graph,
\The horizontal line intersects the function more than once, the function is not an one-to-one.
\Therefore the inverse of the function doesnot exist.
\To find the inverse of the function, restrict the domain of such that it obeys horizontal line test.
\Restricted Domain of
is
.
The function passes the horizontal line test, the function is an one-to-one in the interval
.
Hence the inverse of the function exist in the interval
.
.
To find the inverse of the function, consider
and solve
in terms of
.

Take square root on each side.
\
Now interchange
and
.

Replace
.
The inverse of
is
.
The inverse of
is
in the interval
.