Learning Objectives
- Verify inverse functions.
- Determine the domain and range of an inverse function, and restrict the domain of a function to make it one-to-one.
- Find or evaluate the inverse of a function.
- Use the graph of a one-to-one function to graph its inverse function on the same axes.
A reversible heat pump is a climate-control system that is an air conditioner and a heater in a single device. Operated in one direction, it pumps heat out of a house to provide cooling. Operating in reverse, it pumps heat into the building from the outside, even in cool weather, to provide heating. As a heater, a heat pump is several times more efficient than conventional electrical resistance heating.
If some physical machines can run in two directions, we might ask whether some of the function “machines” we have been studying can also run backwards. Figure 1 provides a visual representation of this question. In this section, we will consider the reverse nature of functions.
Verifying That Two Functions Are Inverse Functions
Suppose a fashion designer traveling to Milan for a fashion show wants to know what the temperature will be. He is not familiar with the Celsius scale. To get an idea of how temperature measurements are related, he asks his assistant, Betty, to convert 75 degrees Fahrenheit to degrees Celsius. She finds the formula
and substitutes 75 for$\text{\hspace{0.17em}}F\text{\hspace{0.17em}}$to calculate
Knowing that a comfortable 75 degrees Fahrenheit is about 24 degrees Celsius, he sends his assistant the week’s weather forecast from Figure 2 for Milan, and asks her to convert all of the temperatures to degrees Fahrenheit.
At first, Betty considers using the formula she has already found to complete the conversions. After all, she knows her algebra, and can easily solve the equation for$\text{\hspace{0.17em}}F\text{\hspace{0.17em}}$after substituting a value for$\text{\hspace{0.17em}}C.\text{\hspace{0.17em}}$For example, to convert 26 degrees Celsius, she could write
After considering this option for a moment, however, she realizes that solving the equation for each of the temperatures will be awfully tedious. She realizes that since evaluation is easier than solving, it would be much more convenient to have a different formula, one that takes the Celsius temperature and outputs the Fahrenheit temperature.
The formula for which Betty is searching corresponds to the idea of an inverse function, which is a function for which the input of the original function becomes the output of the inverse function and the output of the original function becomes the input of the inverse function.
Given a function$\text{\hspace{0.17em}}f(x),\text{\hspace{0.17em}}$we represent its inverse as$\text{\hspace{0.17em}}{f}^{-1}(x),\text{\hspace{0.17em}}$read as$\text{\hspace{0.17em}}\u201cf\text{\hspace{0.17em}}$inverse of$\text{\hspace{0.17em}}x.\text{\u201d}\text{\hspace{0.17em}}$The raised$\text{\hspace{0.17em}}\mathrm{-1}\text{\hspace{0.17em}}$is part of the notation. It is not an exponent; it does not imply a power of$\text{\hspace{0.17em}}\mathrm{-1}\text{\hspace{0.17em}}$. In other words,$\text{\hspace{0.17em}}{f}^{-1}(x)\text{\hspace{0.17em}}$does not mean$\text{\hspace{0.17em}}\frac{1}{f(x)}\text{\hspace{0.17em}}$because$\text{\hspace{0.17em}}\frac{1}{f(x)}\text{\hspace{0.17em}}$is the reciprocal of$\text{\hspace{0.17em}}f\text{\hspace{0.17em}}$and not the inverse.
The “exponent-like” notation comes from an analogy between function composition and multiplication: just as$\text{\hspace{0.17em}}{a}^{-1}a=1\text{\hspace{0.17em}}$(1 is the identity element for multiplication) for any nonzero number$\text{\hspace{0.17em}}a,\text{\hspace{0.17em}}$so$\text{\hspace{0.17em}}{f}^{-1}\circ f\text{\hspace{0.17em}}$equals the identity function, that is,
This holds for all$\text{\hspace{0.17em}}x\text{\hspace{0.17em}}$in the domain of$\text{\hspace{0.17em}}f.\text{\hspace{0.17em}}$Informally, this means that inverse functions “undo” each other. However, just as zero does not have a reciprocal, some functions do not have inverses.
Given a function$\text{\hspace{0.17em}}f(x),\text{\hspace{0.17em}}$we can verify whether some other function$\text{\hspace{0.17em}}g(x)\text{\hspace{0.17em}}$is the inverse of$\text{\hspace{0.17em}}f(x)\text{\hspace{0.17em}}$by checking whether either$\text{\hspace{0.17em}}g(f(x))=x\text{\hspace{0.17em}}$or$\text{\hspace{0.17em}}f(g(x))=x\text{\hspace{0.17em}}$is true. We can test whichever equation is more convenient to work with because they are logically equivalent (that is, if one is true, then so is the other.)
For example,$\text{\hspace{0.17em}}y=4x\text{\hspace{0.17em}}$and$\text{\hspace{0.17em}}y=\frac{1}{4}x\text{\hspace{0.17em}}$are inverse functions.
and
A few coordinate pairs from the graph of the function$\text{\hspace{0.17em}}y=4x\text{\hspace{0.17em}}$are (−2, −8), (0, 0), and (2, 8). A few coordinate pairs from the graph of the function$\text{\hspace{0.17em}}y=\frac{1}{4}x\text{\hspace{0.17em}}$are (−8, −2), (0, 0), and (8, 2). If we interchange the input and output of each coordinate pair of a function, the interchanged coordinate pairs would appear on the graph of the inverse function.
Inverse Function
For any one-to-one function$\text{\hspace{0.17em}}f(x)=y,\text{\hspace{0.17em}}$a function$\text{\hspace{0.17em}}{f}^{-1}\left(x\right)\text{\hspace{0.17em}}$is an inverse function of$\text{\hspace{0.17em}}f\text{\hspace{0.17em}}$if$\text{\hspace{0.17em}}{f}^{-1}(y)=x.\text{\hspace{0.17em}}$This can also be written as$\text{\hspace{0.17em}}{f}^{-1}(f(x))=x\text{\hspace{0.17em}}$for all$\text{\hspace{0.17em}}x\text{\hspace{0.17em}}$in the domain of$\text{\hspace{0.17em}}f.\text{\hspace{0.17em}}$It also follows that$\text{\hspace{0.17em}}f({f}^{-1}(x))=x\text{\hspace{0.17em}}$for all$\text{\hspace{0.17em}}x\text{\hspace{0.17em}}$in the domain of$\text{\hspace{0.17em}}{f}^{-1}\text{\hspace{0.17em}}$if$\text{\hspace{0.17em}}{f}^{-1}\text{\hspace{0.17em}}$is the inverse of$\text{\hspace{0.17em}}f.\text{\hspace{0.17em}}$
The notation ${f}^{-1}$ is read $\text{\u201c}f$ inverse.” Like any other function, we can use any variable name as the input for ${f}^{-1},$ so we will often write$\text{\hspace{0.17em}}{f}^{-1}(x),$ which we read as $\u201cf$ inverse of $x.\u201d$ Keep in mind that
and not all functions have inverses.
Example 1
Identifying an Inverse Function for a Given Input-Output Pair
If for a particular one-to-one function$\text{\hspace{0.17em}}f(2)=4\text{\hspace{0.17em}}$and$\text{\hspace{0.17em}}f(5)=12,\text{\hspace{0.17em}}$what are the corresponding input and output values for the inverse function?
Solution
The inverse function reverses the input and output quantities, so if
Alternatively, if we want to name the inverse function$\text{\hspace{0.17em}}g,\text{\hspace{0.17em}}$then$\text{\hspace{0.17em}}g(4)=2\text{\hspace{0.17em}}$and$\text{\hspace{0.17em}}g(12)=5.$
Analysis
Notice that if we show the coordinate pairs in a table form, the input and output are clearly reversed. See Table 1.
$\left(x,f(x)\right)$ | $\left(x,g(x)\right)$ |
---|---|
$\left(2,4\right)$ | $\left(4,2\right)$ |
$\left(5,12\right)$ | $\left(12,5\right)$ |
Given that$\text{\hspace{0.17em}}{h}^{-1}(6)=2,\text{\hspace{0.17em}}$what are the corresponding input and output values of the original function$\text{\hspace{0.17em}}h?\text{\hspace{0.17em}}$
How To
Given two functions$\text{\hspace{0.17em}}\text{\hspace{0.17em}}f(x)\text{\hspace{0.17em}}\text{\hspace{0.17em}}$and$\text{\hspace{0.17em}}g(x),\text{\hspace{0.17em}}$test whether the functions are inverses of each other.
- Determine whether$\text{\hspace{0.17em}}f(g(x))=x\text{\hspace{0.17em}}$or$\text{\hspace{0.17em}}g(f(x))=x.$
- If either statement is true, then both are true, and$\text{\hspace{0.17em}}g={f}^{-1}\text{\hspace{0.17em}}$and$\text{\hspace{0.17em}}f={g}^{-1}.\text{\hspace{0.17em}}$If either statement is false, then both are false, and$\text{\hspace{0.17em}}g\ne {f}^{-1}\text{\hspace{0.17em}}$and$\text{\hspace{0.17em}}f\ne {g}^{-1}.$
Example 2
Testing Inverse Relationships Algebraically
If$\text{\hspace{0.17em}}f\left(x\right)=\frac{1}{x+2}\text{\hspace{0.17em}}$and$\text{\hspace{0.17em}}g\left(x\right)=\frac{1}{x}-2,\text{\hspace{0.17em}}$is$\text{\hspace{0.17em}}g={f}^{-1}?$
Solution
so
This is enough to answer yes to the question, but we can also verify the other formula.
Analysis
Notice the inverse operations are in reverse order of the operations from the original function.
If$\text{\hspace{0.17em}}f\left(x\right)={x}^{3}-4\text{\hspace{0.17em}}$and$\text{\hspace{0.17em}}g\left(x\right)=\sqrt[\text{\hspace{0.17em}}3]{x+4},\text{\hspace{0.17em}}$is$\text{\hspace{0.17em}}g={f}^{-1}?$
Example 3
Determining Inverse Relationships for Power Functions
If$\text{\hspace{0.17em}}f(x)={x}^{3}\text{\hspace{0.17em}}$(the cube function) and$\text{\hspace{0.17em}}g(x)=\frac{1}{3}x,\text{\hspace{0.17em}}$is$\text{\hspace{0.17em}}g={f}^{-1}?$
Solution
No, the functions are not inverses.
Analysis
The correct inverse to the cube is, of course, the cube root$\text{\hspace{0.17em}}\sqrt[3]{x}={x}^{\frac{1}{3}},\text{\hspace{0.17em}}$that is, the one-third is an exponent, not a multiplier.
If$\text{\hspace{0.17em}}f\left(x\right)={\left(x-1\right)}^{3}\text{\hspace{0.17em}}\text{and}\text{\hspace{0.17em}}g\left(x\right)=\sqrt[3]{x}+1,\text{\hspace{0.17em}}$is$\text{\hspace{0.17em}}g={f}^{-1}?$
Finding Domain and Range of Inverse Functions
The outputs of the function$\text{\hspace{0.17em}}f\text{\hspace{0.17em}}$are the inputs to$\text{\hspace{0.17em}}{f}^{-1},\text{\hspace{0.17em}}$so the range of$\text{\hspace{0.17em}}f\text{\hspace{0.17em}}$is also the domain of$\text{\hspace{0.17em}}{f}^{-1}.\text{\hspace{0.17em}}$Likewise, because the inputs to$\text{\hspace{0.17em}}f\text{\hspace{0.17em}}$are the outputs of$\text{\hspace{0.17em}}{f}^{-1},\text{\hspace{0.17em}}$the domain of$\text{\hspace{0.17em}}f\text{\hspace{0.17em}}$is the range of$\text{\hspace{0.17em}}{f}^{-1}.\text{\hspace{0.17em}}$We can visualize the situation as in Figure 3.
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$\text{\hspace{0.17em}}f(x)=\sqrt{x}\text{\hspace{0.17em}}$is$\text{\hspace{0.17em}}{f}^{-1}(x)={x}^{2},\text{\hspace{0.17em}}$because a square “undoes” a square root; but the square is only the inverse of the square root on the domain$\text{\hspace{0.17em}}\left[0,\infty \right),\text{\hspace{0.17em}}$since that is the range of$\text{\hspace{0.17em}}f(x)=\sqrt{x}.$
We can look at this problem from the other side, starting with the square (toolkit quadratic) function$\text{\hspace{0.17em}}f(x)={x}^{2}.\text{\hspace{0.17em}}$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$\text{\hspace{0.17em}}f(x)={x}^{2}\text{\hspace{0.17em}}$with its domain limited to$\text{\hspace{0.17em}}\left[0,\infty \right),\text{\hspace{0.17em}}$which is a one-to-one function (it passes the horizontal line test) and which has an inverse (the square-root function).
If$\text{\hspace{0.17em}}f(x)={\left(x-1\right)}^{2}\text{\hspace{0.17em}}$on$\text{\hspace{0.17em}}\left[1,\infty \right),\text{\hspace{0.17em}}$then the inverse function is$\text{\hspace{0.17em}}{f}^{-1}(x)=\sqrt{x}+1.$
- The domain of$\text{\hspace{0.17em}}f\text{\hspace{0.17em}}$= range of$\text{\hspace{0.17em}}{f}^{-1}\text{\hspace{0.17em}}$=$\text{\hspace{0.17em}}\left[1,\infty \right).$
- The domain of$\text{\hspace{0.17em}}{f}^{-1}\text{\hspace{0.17em}}$= range of$\text{\hspace{0.17em}}f\text{\hspace{0.17em}}$=$\text{\hspace{0.17em}}\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,$\text{\hspace{0.17em}}g\text{\hspace{0.17em}}$and$\text{\hspace{0.17em}}h,\text{\hspace{0.17em}}$both meet the definition of being inverses of another function$\text{\hspace{0.17em}}f,\text{\hspace{0.17em}}$then you can prove that$\text{\hspace{0.17em}}g=h.\text{\hspace{0.17em}}$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.
Domain and Range of Inverse Functions
The range of a function$\text{\hspace{0.17em}}f(x)\text{\hspace{0.17em}}$is the domain of the inverse function$\text{\hspace{0.17em}}{f}^{-1}(x).$
The domain of$\text{\hspace{0.17em}}f(x)\text{\hspace{0.17em}}$is the range of$\text{\hspace{0.17em}}{f}^{-1}(x).$
How To
Given a function, find the domain and range of its inverse.
- 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.
- 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 in Table 2. We restrict the domain in such a fashion that the function assumes all y-values exactly once.
Constant | Identity | Quadratic | Cubic | Reciprocal |
---|---|---|---|---|
$f(x)=c$ | $f(x)=x$ | $f(x)={x}^{2}$ | $f(x)={x}^{3}$ | $f(x)=\frac{1}{x}$ |
Reciprocal squared | Cube root | Square root | Absolute value | |
$f(x)=\frac{1}{{x}^{2}}$ | $f(x)=\sqrt[3]{x}$ | $f(x)=\sqrt{x}$ | $f(x)=\left|x\right|$ |
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 inverse.
The absolute value function can be restricted to the domain$\text{\hspace{0.17em}}\left[0,\infty \right),$where it is equal to the identity function.
The reciprocal-squared function can be restricted to the domain$\text{\hspace{0.17em}}\left(0,\infty \right).$
Analysis
We can see that these functions (if unrestricted) are not one-to-one by looking at their graphs, shown in Figure 4. 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.
The domain of function$\text{\hspace{0.17em}}f\text{\hspace{0.17em}}$is$\text{\hspace{0.17em}}(1,\infty )\text{\hspace{0.17em}}$and the range of function$\text{\hspace{0.17em}}f\text{\hspace{0.17em}}$is$\text{\hspace{0.17em}}(\mathrm{-\infty},\mathrm{-2}).\text{\hspace{0.17em}}$Find the domain and range of the inverse function.
Finding and Evaluating Inverse Functions
Once we have a one-to-one function, we can evaluate its inverse at specific inverse function inputs or construct a complete representation of the inverse function in many cases.
Inverting Tabular Functions
Suppose we want to find the inverse of a function represented in table form. Remember that the domain of a function is the range of the inverse and the range of the function is the domain of the inverse. So we need to interchange the domain and range.
Each row (or column) of inputs becomes the row (or column) of outputs for the inverse function. Similarly, each row (or column) of outputs becomes the row (or column) of inputs for the inverse function.
Example 5
Interpreting the Inverse of a Tabular Function
A function$\text{\hspace{0.17em}}f(t)\text{\hspace{0.17em}}$is given in Table 3, showing distance in miles that a car has traveled in$\text{\hspace{0.17em}}t\text{\hspace{0.17em}}$minutes. Find and interpret$\text{\hspace{0.17em}}{f}^{-1}(70).$
$t\text{(minutes)}$ | 30 | 50 | 70 | 90 |
$f\left(t\right)\text{(miles)}$ | 20 | 40 | 60 | 70 |
Solution
The inverse function takes an output of$\text{\hspace{0.17em}}f\text{\hspace{0.17em}}$and returns an input for$\text{\hspace{0.17em}}f.\text{\hspace{0.17em}}$So in the expression$\text{\hspace{0.17em}}{f}^{-1}(70),\text{\hspace{0.17em}}$70 is an output value of the original function, representing 70 miles. The inverse will return the corresponding input of the original function$\text{\hspace{0.17em}}f,\text{\hspace{0.17em}}$90 minutes, so$\text{\hspace{0.17em}}{f}^{-1}(70)=90.\text{\hspace{0.17em}}$The interpretation of this is that, to drive 70 miles, it took 90 minutes.
Alternatively, recall that the definition of the inverse was that if$\text{\hspace{0.17em}}f(a)=b,\text{\hspace{0.17em}}$then$\text{\hspace{0.17em}}{f}^{-1}(b)=a.\text{\hspace{0.17em}}$By this definition, if we are given$\text{\hspace{0.17em}}{f}^{-1}(70)=a,\text{\hspace{0.17em}}$then we are looking for a value$\text{\hspace{0.17em}}a\text{\hspace{0.17em}}$so that$\text{\hspace{0.17em}}f(a)=70.\text{\hspace{0.17em}}$In this case, we are looking for a$\text{\hspace{0.17em}}t\text{\hspace{0.17em}}$so that$\text{\hspace{0.17em}}f(t)=70,\text{\hspace{0.17em}}$which is when$\text{\hspace{0.17em}}t=90.$
Try It #5
Using Table 4, find and interpret (a)$\text{}f(60),$and (b)$\text{}{f}^{-1}(60).$
$t\text{(minutes)}$ | 30 | 50 | 60 | 70 | 90 |
$f\left(t\right)\text{(miles)}$ | 20 | 40 | 50 | 60 | 70 |
Evaluating the Inverse of a Function, Given a Graph of the Original Function
We saw in Functions and Function Notation that the domain of a function can be read by observing the horizontal extent of its graph. We find the domain of the inverse function by observing the vertical extent of the graph of the original function, because this corresponds to the horizontal extent of the inverse function. Similarly, we find the range of the inverse function by observing the horizontal extent of the graph of the original function, as this is the vertical extent of the inverse function. If we want to evaluate an inverse function, we find its input within its domain, which is all or part of the vertical axis of the original function’s graph.
How To
Given the graph of a function, evaluate its inverse at specific points.
- Find the desired input on the y-axis of the given graph.
- Read the inverse function’s output from the x-axis of the given graph.
Example 6
Evaluating a Function and Its Inverse from a Graph at Specific Points
A function$\text{\hspace{0.17em}}g(x)\text{\hspace{0.17em}}$is given in Figure 5. Find$\text{\hspace{0.17em}}g(3)\text{\hspace{0.17em}}$and$\text{\hspace{0.17em}}{g}^{-1}(3).$
Solution
To evaluate $g(3),\text{\hspace{0.17em}}$we find 3 on the x-axis and find the corresponding output value on the y-axis. The point $\text{\hspace{0.17em}}\left(3,1\right)\text{\hspace{0.17em}}$tells us that$\text{\hspace{0.17em}}g(3)=1.$
To evaluate$\text{\hspace{0.17em}}{g}^{-1}(3),\text{\hspace{0.17em}}$recall that by definition$\text{\hspace{0.17em}}{g}^{-1}(3)\text{\hspace{0.17em}}$means the value of x for which$\text{\hspace{0.17em}}g(x)=3.\text{\hspace{0.17em}}$By looking for the output value 3 on the vertical axis, we find the point$\text{\hspace{0.17em}}\left(5,3\right)\text{\hspace{0.17em}}$on the graph, which means$\text{\hspace{0.17em}}g(5)=3,\text{\hspace{0.17em}}$so by definition,$\text{\hspace{0.17em}}{g}^{-1}(3)=5.\text{\hspace{0.17em}}$See Figure 6.
Try It #6
Using the graph in Figure 6, (a) find$\text{\hspace{0.17em}}{g}^{-1}(1),$and (b) estimate$\text{\hspace{0.17em}}{g}^{-1}(4).$
Finding Inverses of Functions Represented by Formulas
Sometimes we will need to know an inverse function for all elements of its domain, not just a few. If the original function is given as a formula—for example,$\text{\hspace{0.17em}}y\text{\hspace{0.17em}}$as a function of$\text{\hspace{0.17em}}x\text{\u2014}$we can often find the inverse function by solving to obtain$\text{\hspace{0.17em}}x\text{\hspace{0.17em}}$as a function of$\text{\hspace{0.17em}}y.$
How To
Given a function represented by a formula, find the inverse.
- Make sure$\text{\hspace{0.17em}}f\text{\hspace{0.17em}}$is a one-to-one function.
- Solve for$\text{\hspace{0.17em}}x.$
- Interchange$\text{\hspace{0.17em}}x\text{\hspace{0.17em}}$and$\text{\hspace{0.17em}}y.$
Example 7
Inverting the Fahrenheit-to-Celsius Function
Find a formula for the inverse function that gives Fahrenheit temperature as a function of Celsius temperature.
Solution
By solving in general, we have uncovered the inverse function. If
then
In this case, we introduced a function$\text{\hspace{0.17em}}h\text{\hspace{0.17em}}$to represent the conversion because the input and output variables are descriptive, and writing$\text{\hspace{0.17em}}{C}^{-1}\text{\hspace{0.17em}}$could get confusing.
Try It #7
Solve for$\text{\hspace{0.17em}}x\text{\hspace{0.17em}}$in terms of$\text{\hspace{0.17em}}y\text{\hspace{0.17em}}$given$\text{\hspace{0.17em}}y=\frac{1}{3}(x-5)\mathrm{.}$
Example 8
Solving to Find an Inverse Function
Find the inverse of the function$\text{\hspace{0.17em}}f\left(x\right)=\frac{2}{x-3}+4.$
Solution
So$\text{\hspace{0.17em}}{f}^{-1}\left(y\right)=\frac{2}{y-4}+3\text{\hspace{0.17em}}$or$\text{\hspace{0.17em}}{f}^{-1}\left(x\right)=\frac{2}{x-4}+3.$
Analysis
The domain and range of$\text{\hspace{0.17em}}f\text{\hspace{0.17em}}$exclude the values 3 and 4, respectively.$\text{\hspace{0.17em}}f\text{\hspace{0.17em}}$ and $\text{\hspace{0.17em}}{f}^{-1}\text{\hspace{0.17em}}$are equal at two points but are not the same function, as we can see by creating Table 5.
$x$ | 1 | 2 | 5 | ${f}^{-1}(y)$ |
$f(x)$ | 3 | 2 | 5 | $y$ |
Example 9
Solving to Find an Inverse with Radicals
Find the inverse of the function$\text{\hspace{0.17em}}f(x)=2+\sqrt{x-4}.$
Solution
So$\text{\hspace{0.17em}}{f}^{-1}\left(x\right)={\left(x-2\right)}^{2}+4.$
The domain of$\text{\hspace{0.17em}}f\text{\hspace{0.17em}}$is$\text{\hspace{0.17em}}[4,\infty ).\text{\hspace{0.17em}}$Notice that the range of$\text{\hspace{0.17em}}f\text{\hspace{0.17em}}$is$\text{\hspace{0.17em}}[2,\infty ),\text{\hspace{0.17em}}$so this means that the domain of the inverse function$\text{\hspace{0.17em}}{f}^{-1}\text{\hspace{0.17em}}$is also$\text{\hspace{0.17em}}[2,\infty ).$
Analysis
The formula we found for$\text{\hspace{0.17em}}{f}^{-1}\left(x\right)\text{\hspace{0.17em}}$looks like it would be valid for all real$\text{\hspace{0.17em}}x.\text{\hspace{0.17em}}$However,$\text{\hspace{0.17em}}{f}^{-1}\text{\hspace{0.17em}}$itself must have an inverse (namely,$\text{\hspace{0.17em}}f\text{\hspace{0.17em}}$) so we have to restrict the domain of$\text{\hspace{0.17em}}{f}^{-1}\text{\hspace{0.17em}}$to$\text{\hspace{0.17em}}[2,\infty )\text{\hspace{0.17em}}$in order to make$\text{\hspace{0.17em}}{f}^{-1}\text{\hspace{0.17em}}$a one-to-one function. This domain of$\text{\hspace{0.17em}}{f}^{-1}\text{\hspace{0.17em}}$is exactly the range of$\text{\hspace{0.17em}}f.$
Try It #8
What is the inverse of the function$\text{\hspace{0.17em}}f(x)=2-\sqrt{x}?$State the domains of both the function and the inverse function.
Finding Inverse Functions and Their Graphs
Now that we can find the inverse of a function, we will explore the graphs of functions and their inverses. Let us return to the quadratic function$\text{\hspace{0.17em}}f(x)={x}^{2}\text{\hspace{0.17em}}$restricted to the domain$\text{\hspace{0.17em}}[0,\infty )\text{,}$ on which this function is one-to-one, and graph it as in Figure 7.
Restricting the domain to$\text{\hspace{0.17em}}[0,\infty )\text{\hspace{0.17em}}$makes the function one-to-one (it will obviously pass the horizontal line test), so it has an inverse on this restricted domain.
We already know that the inverse of the toolkit quadratic function is the square root function, that is, ${f}^{-1}(x)=\sqrt{x}.$ What happens if we graph both $f\text{}$ and ${f}^{-1}$ on the same set of axes, using the $x\text{-}$axis for the input to both $f\text{and}{f}^{-1}?$
We notice a distinct relationship: The graph of$\text{\hspace{0.17em}}{f}^{-1}(x)\text{\hspace{0.17em}}$is the graph of$\text{\hspace{0.17em}}f(x)\text{\hspace{0.17em}}$reflected about the diagonal line$\text{\hspace{0.17em}}y=x,\text{\hspace{0.17em}}$which we will call the identity line, shown in Figure 8.
This relationship will be observed for all one-to-one functions, because it is a result of the function and its inverse swapping inputs and outputs. This is equivalent to interchanging the roles of the vertical and horizontal axes.
Example 10
Finding the Inverse of a Function Using Reflection about the Identity Line
Given the graph of$\text{\hspace{0.17em}}f(x)\text{\hspace{0.17em}}$in Figure 9, sketch a graph of$\text{\hspace{0.17em}}{f}^{-1}(x).$
Solution
This is a one-to-one function, so we will be able to sketch an inverse. Note that the graph shown has an apparent domain of$\text{\hspace{0.17em}}\left(0,\infty \right)\text{\hspace{0.17em}}$and range of$\text{\hspace{0.17em}}\left(-\infty ,\infty \right),\text{\hspace{0.17em}}$so the inverse will have a domain of$\text{\hspace{0.17em}}\left(-\infty ,\infty \right)\text{\hspace{0.17em}}$and range of$\text{\hspace{0.17em}}\left(0,\infty \right).$
If we reflect this graph over the line$\text{\hspace{0.17em}}y=x,\text{\hspace{0.17em}}$the point$\text{\hspace{0.17em}}\left(1,0\right)\text{\hspace{0.17em}}$reflects to$\text{\hspace{0.17em}}\left(0,1\right)\text{\hspace{0.17em}}$and the point$\text{\hspace{0.17em}}\left(4,2\right)\text{\hspace{0.17em}}$reflects to$\text{\hspace{0.17em}}\left(2,4\right).\text{\hspace{0.17em}}$Sketching the inverse on the same axes as the original graph gives Figure 10.
Draw graphs of the functions$\text{\hspace{0.17em}}f\text{}$and$\text{}{f}^{-1}$from Example 8.
Q&A
Is there any function that is equal to its own inverse?
Yes. If$\text{\hspace{0.17em}}f={f}^{-1},\text{\hspace{0.17em}}$then$\text{\hspace{0.17em}}f\left(f\left(x\right)\right)=x,\text{\hspace{0.17em}}$and we can think of several functions that have this property. The identity function does, and so does the reciprocal function, because
Any function$\text{\hspace{0.17em}}f\left(x\right)=c-x,\text{\hspace{0.17em}}$where$\text{\hspace{0.17em}}c\text{\hspace{0.17em}}$is a constant, is also equal to its own inverse.
Media
Access these online resources for additional instruction and practice with inverse functions.
3.7 Section Exercises
Verbal
Describe why the horizontal line test is an effective way to determine whether a function is one-to-one?
Why do we restrict the domain of the function$\text{\hspace{0.17em}}f(x)={x}^{2}\text{\hspace{0.17em}}$to find the function’s inverse?
Are one-to-one functions either always increasing or always decreasing? Why or why not?
Algebraic
Show that the function$\text{\hspace{0.17em}}f(x)=a-x\text{\hspace{0.17em}}$is its own inverse for all real numbers$\text{\hspace{0.17em}}a.\text{\hspace{0.17em}}$
For the following exercises, find$\text{\hspace{0.17em}}{f}^{-1}(x)\text{\hspace{0.17em}}$for each function.
$f(x)=x+5$
$f(x)=3-x$
$f(x)=\frac{2x+3}{5x+4}$
For the following exercises, find a domain on which each function$\text{\hspace{0.17em}}f\text{\hspace{0.17em}}$is one-to-one and non-decreasing. Write the domain in interval notation. Then find the inverse of$\text{\hspace{0.17em}}f\text{\hspace{0.17em}}$restricted to that domain.
$f(x)={(x-6)}^{2}$
Given$\text{\hspace{0.17em}}f\left(x\right)=\frac{x}{2+x}\text{\hspace{0.17em}}$and$\text{\hspace{0.17em}}g(x)=\frac{2x}{1-x}:$
- Find$\text{\hspace{0.17em}}f(g(x))\text{\hspace{0.17em}}$and$\text{\hspace{0.17em}}g(f(x)).$
- What does the answer tell us about the relationship between$\text{\hspace{0.17em}}f(x)\text{\hspace{0.17em}}$and$\text{\hspace{0.17em}}g(x)?$
For the following exercises, use function composition to verify that$\text{\hspace{0.17em}}f(x)\text{\hspace{0.17em}}$and$\text{\hspace{0.17em}}g(x)\text{\hspace{0.17em}}$are inverse functions.
$f(x)=-3x+5\text{\hspace{0.17em}}$and$\text{\hspace{0.17em}}g(x)=\frac{x-5}{-3}$
Graphical
For the following exercises, use a graphing utility to determine whether each function is one-to-one.
$f(x)=\sqrt[3]{3x+1}$
$f(x)={x}^{3}-27$
For the following exercises, determine whether the graph represents a one-to-one function.
For the following exercises, use the graph of$\text{\hspace{0.17em}}f\text{\hspace{0.17em}}$shown in Figure 11.
Solve$\text{\hspace{0.17em}}f(x)=0.$
Solve$\text{\hspace{0.17em}}{f}^{-1}\left(x\right)=0.$
For the following exercises, use the graph of the one-to-one function shown in Figure 12.
Find$\text{\hspace{0.17em}}f(6)\text{and}{f}^{-1}(2).$
If the complete graph of$\text{\hspace{0.17em}}f\text{\hspace{0.17em}}$is shown, find the domain of$\text{\hspace{0.17em}}f.\text{\hspace{0.17em}}$
If the complete graph of$\text{\hspace{0.17em}}f\text{\hspace{0.17em}}$is shown, find the range of$\text{\hspace{0.17em}}f.$
Numeric
For the following exercises, evaluate or solve, assuming that the function$\text{\hspace{0.17em}}f\text{\hspace{0.17em}}$is one-to-one.
If$\text{\hspace{0.17em}}f(6)=7,\text{\hspace{0.17em}}$find$\text{\hspace{0.17em}}\text{\hspace{0.17em}}{f}^{-1}(7).$
If$\text{\hspace{0.17em}}f(3)=2,\text{\hspace{0.17em}}$find$\text{\hspace{0.17em}}{f}^{-1}(2).$
If$\text{\hspace{0.17em}}{f}^{-1}\left(-4\right)=-8,\text{\hspace{0.17em}}$find$\text{\hspace{0.17em}}f(-8).$
If$\text{\hspace{0.17em}}{f}^{-1}\left(-2\right)=-1,\text{\hspace{0.17em}}$find$\text{\hspace{0.17em}}f(-1).$
For the following exercises, use the values listed in Table 6 to evaluate or solve.
$x$ | $f(x)$ |
---|---|
0 | 8 |
1 | 0 |
2 | 7 |
3 | 4 |
4 | 2 |
5 | 6 |
6 | 5 |
7 | 3 |
8 | 9 |
9 | 1 |
Solve$\text{\hspace{0.17em}}f(x)=3.$
Solve$\text{\hspace{0.17em}}{f}^{-1}\left(x\right)=7.$
Technology
For the following exercises, find the inverse function. Then, graph the function and its inverse.
$f(x)=\frac{3}{x-2}$
Find the inverse function of$\text{\hspace{0.17em}}f(x)=\frac{1}{x-1}.\text{\hspace{0.17em}}$Use a graphing utility to find its domain and range. Write the domain and range in interval notation.
Real-World Applications
To convert from$\text{\hspace{0.17em}}x\text{\hspace{0.17em}}$degrees Celsius to$\text{\hspace{0.17em}}y\text{\hspace{0.17em}}$degrees Fahrenheit, we use the formula$\text{\hspace{0.17em}}f(x)=\frac{9}{5}x+32.\text{\hspace{0.17em}}$Find the inverse function, if it exists, and explain its meaning.
The circumference$\text{\hspace{0.17em}}C\text{\hspace{0.17em}}$of a circle is a function of its radius given by$\text{\hspace{0.17em}}C(r)=2\pi r.\text{\hspace{0.17em}}$Express the radius of a circle as a function of its circumference. Call this function$\text{\hspace{0.17em}}r(C).\text{\hspace{0.17em}}$Find$\text{\hspace{0.17em}}r(36\pi )\text{\hspace{0.17em}}$and interpret its meaning.
A car travels at a constant speed of 50 miles per hour. The distance the car travels in miles is a function of time,$\text{\hspace{0.17em}}t,\text{\hspace{0.17em}}$in hours given by$\text{\hspace{0.17em}}d(t)=50t.\text{\hspace{0.17em}}$Find the inverse function by expressing the time of travel in terms of the distance traveled. Call this function$\text{\hspace{0.17em}}t(d).\text{\hspace{0.17em}}$Find$\text{\hspace{0.17em}}t(180)\text{\hspace{0.17em}}$and interpret its meaning.