Horizontal line test:
\A function  has an inverse
 has an inverse  if and only if no horizontal line intersects its graph of the function in at most one point.
 if and only if no horizontal line intersects its graph of the function in at most one point.
The function  is a one-to-one function.Therefore the inverse of the function does exist.
 is a one-to-one function.Therefore the inverse of the function does exist.
Let us consider table  of  and
 and  .
.
Observe the Table.
\Domain of the function  is
 is  .
.
Range of the function  is
 is  .
.
If the function is one-to-one, then range of inverse function is domain of the function and domain of inverse function is range of the function.
\Domain of the inverse function  is
 is  .
.
Range of the inverse function  is
 is  .
.
The table of inverse function  .
.
| \ | 8\ | 7\ | 6\ | 5\ | 4\ | 3\ | 
| \ | -10\ | -9\ | -8\ | -7\ | -6\ | -5\ |