3.1: Inverse Functions
Learning objectives
 Find the inverse of a function
 Determine if a function is invertible
 State the domain and range for a function and its inverse
 Graph functions and their inverses
 Use composition to verify if two functions are inverses.
Introduction
In chapters 1 and 2 we have examined properties and applications of several families of functions. In this chapter, we will focus on two related functions: exponential functions,and logarithmic functions. These two functions have a special relationship with one another: they are inverses of each other. In this first lesson we will develop the idea of inverses, both algebraically and graphically, as background for studying these two types of functions in depth. We will begin with a familiar, everyday example of two functions that are inverses.
Functions and inverses
In the United States, we measure temperature using the Fahrenheit scale. In other countries, people use the Celsius scale. The equation C = 5/9 (F  32) can be used to find C, the Celsius temperature, given F, the Fahrenheit temperature. If we write this equation using function notation, we have \begin{align*}t(x)=\frac{5}{9}(x32)\end{align*}. The input of the function is a Fahrenheit temperature, and the output is a Celsius temperature. For example, the freezing point on the Fahrenheit scale is 32 degrees. We can find the corresponding Celsius temperature using the function:

 \begin{align*}t(32) = \frac{5} {9} (32  32) = \frac{5} {9} \cdot 0 = 0\end{align*}
This function allows us to convert a Fahrenheit temperature into Celsius, but what if we want to convert from Celsius to Fahrenheit?
Consider again the equation above: \begin{align*}C = \frac{5} {9} (F  32)\end{align*}. We can solve this equation to isolate F:
\begin{align*}C = \frac{5} {9} (F  32)\end{align*}  

\begin{align*}\frac{9} {5} C = \frac{9} {5} \times \frac{5} {9} (F  32)\end{align*}  
\begin{align*}\frac{9} {5} C = F  32\end{align*}  
\begin{align*}\frac{9} {5} C + 32 = F\end{align*} 
If we write this equation using function notation, we get \begin{align*}f(x)=\frac{9}{5}x+32\end{align*}. For this function, the input is the Celsius temperature, and the output is the Fahrenheit temperature. For example, if \begin{align*}x=0,f(0)=\frac{9}{5}(0)+32=0+32=32\end{align*}.
Now consider the functions \begin{align*}t(x)=\frac{5}{9}(x32)\end{align*} and \begin{align*}f(x)=\frac{9}{5}x+32\end{align*} together. The input of one function is the output of the other. This is an informal way of saying that these functions are inverses. Formally, the inverse of a function is defined as follows:
Inverse functionsFunctions f(x) and g(x) are said to inverses if f(g(x)) = g(f(x)) = x Or, using the composite function notation of Chapter 1: f ◦ g = g ◦ f = x The following notation is used to indicate inverse functions:If f(x) and g(x) are inverse functions, then f(x) = g^{1}(x) and g(x) = f^{1}(x) The following notation is also used: f = g^{1} and g = f^{1}.Note that f^{1}(x) does not equal \begin{align*}\frac{1}{f(x)}\end{align*}. 

Informally, we define the inverse of a function as the relation we obtain by switching the domain and range of the function. Because of this definition, you can find an inverse by switching the roles of x and y in an equation. For example, consider the function g(x) = 2x. This is the line y = 2x. If we switch x and y, we get the equation x = 2y. Dividing both sides by 2, we get y = 1/2 x. Therefore the functions g(x) = 2x and y = 1/2 x are inverses. Using function notation, we can write y = 1/2 x as g^{1}(x) = 1/2 x.
Example 1: Find the inverse of each function
a. f(x) = 5x  8  b. f(x) = x^{3}. 

Solution:
a. First write the function using “ y =” notation, then interchange x and y:
f(x) = 5x  8 → y = 5x  8 → x = 5y  8
Then isolate y:




 \begin{align*}x = 5y  8\end{align*}







 \begin{align*}x + 8 = 5y\end{align*}







 \begin{align*}y = \frac{1} {5}x + \frac{8} {5}\end{align*}



b.
First write the function using “ y= ”:  f(x) = x^{3} 

y = x^{3}  
Now interchange x and y  x = y^{3} 
Now isolate y:  \begin{align*}y = \sqrt[3]{x}\end{align*} 
Because of the definition of inverse, the graphs of inverses are reflections across the line y = x. The graph below shows \begin{align*}t(x)=\frac{5}{9}(x32)\end{align*} and \begin{align*}f(x)=\frac{9}{5}x+32\end{align*} on the same graph, along with the reflection line y = x.
A note about graphing with software or a graphing calculator: if you look at the graph above, you can see that the lines are reflections over the line y = x. However, if you do not view the graph in a window that shows equal scales of the x and yaxes, the graph might not look like this.
Before continuing, there are two other important things to note about inverses. First, remember that the “' 1'” is not an exponent, but a symbol that represents an inverse. Second, not every function has an inverse that is a function. In the examples we have considered so far, we inverted a function, and the resulting relation was also a function. However, some functions are not invertible; that is, following the process of "inverting" them does not produce a relation that is a function. We will return to this issue below when we examine domain and range of functions and their inverses. First we will look at a set of functions that are invertible.
Inverses of 1to1 functions
Consider again example 1 above. We began with the function \begin{align*}f(x)=x^3\end{align*}, and we found the inverse \begin{align*}f^{1} (x) = \sqrt[3]{x}\end{align*}. The graphs of these functions are show below.
The function f(x) = x^{3} is an example of a onetoone function, which is defined as follows:
One to one A function is onetoone if and only if every element of its domain corresponds to exactly one element of its range. 

The linear functions we examined above are also onetoone. The function y = x^{2}, however, is not onetoone. The graph of this function is shown below.
You may recall that you can identify a relation as a function if you draw a vertical line through the graph, and the line touches only one point. Notice then that if we draw a horizontal line through y = x^{2}, the line touches more than one point. Therefore if we inverted the function, the resulting graph would be a reflection over the line y = x, and the inverse would not be a function. It fails the vertical line test.
The function y = x^{2} is therefore not a onetoone function. A function that is onetoone will be invertible. You can determine this graphically by drawing a horizontal line through the graph of the function. For example, if you draw a horizontal line through the graph of f(x) = x^{3}, the line will only touch one point on the graph, no matter where you draw the line.
Example 2: Graph the function \begin{align*}f(x) = \frac{1} {3}x+2\end{align*}. Use a horizontal line test to verify that the function is invertible.
Solution: The graph below shows that this function is invertible. We can draw a horizontal line at any y value, and the line will only cross \begin{align*}f(x) = \frac{1} {3}x + 2\end{align*} once.
In sum, a onetoone function is invertible. That is, if we invert a onetoone function, its inverse is also a function. Now that we have established what it means for a function to be invertible, we will focus on the domain and range of inverse functions.
Domain and range of functions and their inverses
Because of the definition of inverse, a function’s domain is its inverse’s range, and the inverse’s domain is the function’s range. This statement may seem confusing without a specific example.
Example 3: State the domain and range of the function and its inverse:
 Function: (1, 2), (2, 5), (3, 7)
Solution: the inverse of this function is the set of points (2, 1), (5, 2), (7, 3)
 The domain of the function is {1, 2, 3}. This is also the range of the inverse.
 The range of the function is {2, 5, 7}. This is also the domain of the inverse.
The linear functions we examined previously, as well as f(x) = x^{3}, all had domain and range both equal to the set of all real numbers. Therefore the inverses also had domain and range equal to the set of all real numbers. Because the domain and range were the same for these functions, switching them maintained that relationship.
Also, as we found above, the function y = x^{2} is not onetoone, and hence it is not invertible. That is, if we invert it, the resulting relation is not a function. We can change this situation if we define the domain of the function in a more limited way. Let f(x) be a function defined as follows: f(x) = x^{2}, with domain limited to real numbers ≥ 0. Then the inverse of the function is the square root function: \begin{align*}f^{1} (x) = \sqrt{x}\end{align*}
Example 4: Define the domain for the function f(x) = (x  2)^{2} so that f is invertible.
Solution: The graph of this function is a parabola. We need to limit the domain to one side of the parabola. Conventionally in cases like these we choose the positive side; therefore, the domain is limited to real numbers ≥ 2.
Inverse functions and composition
In the examples we have considered so far, we have taken a function and found its inverse. We can also analyze two functions and determine whether or not they are inverses. Recall the formal definition from above:
 Two functions f(x) and g(x) are inverses if and only if f(g(x)) = g(f(x)) = x.
This definition is perhaps easier to understand if we look at a specific example. Let’s use two functions that we have established as inverses: f(x) = 2x and g(x) = 1/2 x. Let’s also consider a specific x value. Let x = 8. Then we have f(g(8)) = f(1/2 × 8) = f(4) = 2(4) = 8. Similarly we could establish that g(f(8)) = 8. Notice that there is nothing special about x = 8. For any x value we input into f, the same value will be output by the composed functions:




 \begin{align*}f(g(x)) = f \left (\frac{1} {2}x\right ) = 2 \left (\frac{1} {2}x\right ) = x\end{align*}







 \begin{align*}g(f(x)) = g(2x) = \frac{1} {2} (2x) = x\end{align*}



Example 5: Use composition of functions to determine if f(x) = 2x + 3 and g(x) = 3x  2 are inverses.
Solution: The functions are not inverses.
 We only need to check one of the compositions:

 f(g(x)) = f(3x  2) = 2(3x  2) + 3 = 6x  4 + 3 = 6x  1 ≠ x
Lesson Summary
In this lesson we have defined the concept of inverse, and we have examined functions and their inverses, both algebraically and graphically. We established that functions that are onetoone are invertible, while other functions are not necessarily invertible. (However, we can redefine the domain of a function such that it is invertible.) In the remainder of the chapter we will examine two families of functions whose members are inverses.
Points to Consider
 Can a function be its own inverse? If so, how?
 Consider the other function families you learned about in chapter 1. What do their inverses look like?
 How is the rate of change of a function related to the rate of change of the function’s inverse?
Review Questions
 Find the inverse of the function \begin{align*}f(x) = \frac{1} {2}x 7\end{align*}.
 Use the horizontal line test to determine if the function \begin{align*}f(x) = x + \frac{1} {x}\end{align*} is invertible or not.
 Use composition of functions to determine if the functions are inverses: \begin{align*}g(x) = 2x  6\end{align*} and \begin{align*}h(x) = \frac{1} {2}x + 3\end{align*}.
 Use composition of functions to determine if the functions are inverses: \begin{align*}f(x) = x + 2\end{align*} and \begin{align*}p(x) = x  \frac{1} {2}\end{align*}.
 Given the function \begin{align*}f(x)=(x+1)^2\end{align*}, how should the domain be restricted so that the function is invertible?
 Consider the function \begin{align*}f(x) = \frac{3} {2}x + 4\end{align*}. a. Find the inverse of the function. b. State the slope of the function and its inverse. What do you notice?
 Given the function (0, 5), (1, 7), (2, 13), (3, 19) a. Find the inverse of the function. b. State the domain and range of the function. c. State the domain and range of the inverse.
 Consider the function a(x) =
 Consider the function f(x) = c, where c is a real number. What is the inverse? Is f invertible? Explain.
 A store sells fabric by the length. Red velvet goes on sale after Valentine’s day for $4.00 per foot. a. Write a function to model the cost of x feet of red velvet. b. What is the inverse of this function? c. What does the inverse represent?
Review Answers
 y = 2x + 14
 The function is not invertible.
 The functions are inverses. \begin{align*}g(h(x)) = g \left (\frac{1} {2}x + 3\right ) = 2 \left (\frac{1} {2}x + 3\right )  6 = x + 6  6 = x\end{align*} \begin{align*}h(g(x)) = h(2x  6) = \frac{1} {2} (2x  6) + 3 = x  3 + 3 = x\end{align*}
 The functions are not inverses. \begin{align*}f(p(x)) = (x  \frac{1} {2}) + 2 = x + \frac{3} {2} \neq x\end{align*}
 \begin{align*}x \ge 1\end{align*}
 a. \begin{align*}y = \frac{2} {3}x  \frac{8} {3}\end{align*} b. The slope of the function is 3/2 and the slope of the inverse is 2/3. The slopes are reciprocals.
 a. (5, 0), (7, 1), (13, 2), (19, 3) b. Domain: {0, 1, 2, 3} and Range: {5, 7, 13, 19} c. Domain: {5, 7, 13, 19} and Range: {0, 1, 2, 3
 }
 a. b. The function is not invertible. Several ways to justify: the inverse fails the vertical line test; the original function fails the horizontal line test.
 The function f is a horizontal line with equation y = c. The domain is the set of all real numbers, and the range is the single value c. Therefore the inverse would be a function whose domain is c and the range is all real numbers. This is the vertical line x = c. This is not a function. So f(x) = c is not invertible.
 a. \begin{align*}C(x) = 4x\end{align*} b. \begin{align*}C^{1}{x} = \frac{1} {4}x\end{align*} c. The inverse function tells you the number of feet you bought, given the amount of money you spent.
Vocabulary
 Inverse
 The inverse of a function is the relation obtained by interchanging the domain and range of a function.
 Invertible
 A function is invertible if its inverse is a function.
 Onetoone
 A function is onetoone if every element of its domain is paired with exactly one element of its range.
Notes/Highlights Having trouble? Report an issue.
Color  Highlighted Text  Notes  

Show More 