## Determine the domain and range of an inverse function

The outputs of the function $f$ are the inputs to ${f}^{-1}$, so the range of $f$ is also the domain of ${f}^{-1}$. Likewise, because the inputs to $f$ are the outputs of ${f}^{-1}$, the domain of $f$ is the range of ${f}^{-1}$. We can visualize the situation.

Figure 3. Domain and range of a function and its inverse

When a function has no inverse function, it is possible to create a new function where that new function on a limited domain does have an inverse function. For example, the inverse of $f\left(x\right)=\sqrt{x}$ is ${f}^{-1}\left(x\right)={x}^{2}$, because a square “undoes” a square root; but the square is only the inverse of the square root on the domain $\left[0,\infty \right)$, since that is the range of $f\left(x\right)=\sqrt{x}$.

We can look at this problem from the other side, starting with the square (toolkit quadratic) function $f\left(x\right)={x}^{2}$. If we want to construct an inverse to this function, we run into a problem, because for every given output of the quadratic function, there are two corresponding inputs (except when the input is 0). For example, the output 9 from the quadratic function corresponds to the inputs 3 and –3. But an output from a function is an input to its inverse; if this inverse input corresponds to more than one inverse output (input of the original function), then the “inverse” is not a function at all! To put it differently, the quadratic function is not a one-to-one function; it fails the horizontal line test, so it does not have an inverse function. In order for a function to have an inverse, it must be a one-to-one function.

In many cases, if a function is not one-to-one, we can still restrict the function to a part of its domain on which it is one-to-one. For example, we can make a restricted version of the square function $f\left(x\right)={x}^{2}$ with its range limited to $\left[0,\infty \right)$, which is a one-to-one function (it passes the horizontal line test) and which has an inverse (the square-root function).

If $f\left(x\right)={\left(x - 1\right)}^{2}$ on $\left[1,\infty \right)$, then the inverse function is ${f}^{-1}\left(x\right)=\sqrt{x}+1$.

• The domain of $f$ = range of ${f}^{-1}$ = $\left[1,\infty \right)$.
• The domain of ${f}^{-1}$ = range of $f$ = $\left[0,\infty \right)$.

Q & A

Is it possible for a function to have more than one inverse?

No. If two supposedly different functions, say, $g$ and $h$, both meet the definition of being inverses of another function $f$, then you can prove that $g=h$. We have just seen that some functions only have inverses if we restrict the domain of the original function. In these cases, there may be more than one way to restrict the domain, leading to different inverses. However, on any one domain, the original function still has only one unique inverse.

### A General Note: Domain and Range of Inverse Functions

The range of a function $f\left(x\right)$ is the domain of the inverse function ${f}^{-1}\left(x\right)$.

The domain of $f\left(x\right)$ is the range of ${f}^{-1}\left(x\right)$.

### How To: Given a function, find the domain and range of its inverse.

1. If the function is one-to-one, write the range of the original function as the domain of the inverse, and write the domain of the original function as the range of the inverse.
2. If the domain of the original function needs to be restricted to make it one-to-one, then this restricted domain becomes the range of the inverse function.

### Example 4: Finding the Inverses of Toolkit Functions

Identify which of the toolkit functions besides the quadratic function are not one-to-one, and find a restricted domain on which each function is one-to-one, if any. The toolkit functions are reviewed below. We restrict the domain in such a fashion that the function assumes all y-values exactly once.

 Constant Identity Quadratic Cubic Reciprocal $f\left(x\right)=c$ $f\left(x\right)=x$ $f\left(x\right)={x}^{2}$ $f\left(x\right)={x}^{3}$ $f\left(x\right)=\frac{1}{x}$ Reciprocal squared Cube root Square root Absolute value $f\left(x\right)=\frac{1}{{x}^{2}}$ $f\left(x\right)=\sqrt[3]{x}$ $f\left(x\right)=\sqrt{x}$ $f\left(x\right)=|x|$

### Solution

The constant function is not one-to-one, and there is no domain (except a single point) on which it could be one-to-one, so the constant function has no meaningful inverse.

The absolute value function can be restricted to the domain $\left[0,\infty \right)$, where it is equal to the identity function.

The reciprocal-squared function can be restricted to the domain $\left(0,\infty \right)$.

### Analysis of the Solution

We can see that these functions (if unrestricted) are not one-to-one by looking at their graphs. They both would fail the horizontal line test. However, if a function is restricted to a certain domain so that it passes the horizontal line test, then in that restricted domain, it can have an inverse.

Figure 4. (a) Absolute value (b) Reciprocal squared

### Try It 4

The domain of function $f$ is $\left(1,\infty \right)$ and the range of function $f$ is $\left(\mathrm{-\infty },-2\right)$. Find the domain and range of the inverse function.

Solution