### Home > PC > Chapter 1 > Lesson 1.1.3 > Problem 1-38

In the previous problem it appears that *g*(*x*) and *h*(*x*) are inverses of each other. Test this idea by completing the following compositions.

Yes, output and input are the same: -1. Show all of your work!

No, the output is 2 while the input was -2. Show all of your work!

Did you get the same output as your original input in all of the problems? What happened in part (c)?

It does not have the same output in part(c) because the inverse of the h function is NOT a function.

If you use

as the inverse for , it may seem to resolve this problem. The relationis not a function. Why is this expression not a function? There are two outputs for a given input of x. A function can only have one output.

It is sometimes necessary to place domain restrictions on the original function in order to make the inverse a function. We will look at this idea in more detail in Chapter 3. At this point, you just need to be aware that any inverse you find may only work for certain values in the domain of the original function.