The functions are
with domain
and
.
Find
.


To find the inverse of the function, consider
and solve
in terms of
.


Now interchange
and
.
.
Replace
.
.

To find the inverse of the function, consider
and solve
in terms of
.


Square on each side.
\
Now interchange
and
.

Replace
.
.
and 



for all
.
for all
.