- Graph the inverse function of a logarithmic function
- Find the equation of the inverse function of a logarithmic function
- Use compositions of function to show equivalency:
Graphing the Inverse Function
One way to graph the inverse of a logarithmic function is by creating and using its inverse table. For example, to graph the inverse function of , we start by creating a table of values for the function (Table 1).
Table 1. Table of values for |
To create an inverse table, we switch the values in the and columns so that the inputs become the values of and the outputs become the values of . The table after switching the values of the and columns is the inverse table (Table 2). Since is a one-to-one function, its inverse will also be a one-to-one function.
Table 2. Inverse table |
Looking at the values in table 2, notice that as increases by 1, the inverse function value increases by a multiple of 2. This means that the inverse of a logarithmic function is an exponential function. In this case, the inverse of is .
Figure 1 shows the graphs of the function (the blue curve) and its inverse (the green curve) graphed usings the values in Tables 1 and 2. Notice that the graph of the inverse function is a reflection of the graph of the original function with respect to the line (the red line).

Figure 1. The graphs of the function and its inverse function.
Notice that the inverse is also a function because it passes the vertical line test. The inverse is a one-to-one mapping. Therefore, the inverse is a function.
Example 1
Use Desmos to graph , then use reflection to graph its inverse function.
Solution
Copying and pasting the function into Desmos yields:
Now we draw in the line and reflect every point on the graph of across the line to get the inverse. Every point is reflected to . The vertical asymptote reflects to a horizontal asymptote .
Try It 1
Use Desmos to graph , then use reflection to graph its inverse function.
The Inverse Function Equation
We already know that to find the equation of an inverse function for a given function, we set , switch and , then solve for . For example, given the logarithmic function , we first set :
Then we switch and to get the inverse:
Now we solve for by writing this logarithmic equation as an equivalent exponential equation. Based on the definition of logarithm, the base of the logarithm, 2, becomes the base of the exponential:
Therefore, the inverse function of the logarithmic function is:
Example 2
Determine the inverse function of .
Solution
First set :
Switch and to get the inverse:
Use the definition of logarithm to solve for :
Write in function notation:
Try It 2
Determine the inverse function of .
Example 3
Determine the inverse function of the logarithmic function .
Solution
First set :
Switch and to get the inverse:
Use the definition of logarithm to solve for :
Solve for by subtracting 5 from both sides:
Write in function notation:
Try It 3
Determine the inverse function of the logarithmic function .
For a logarithmic function that is in the form , we must first isolate the logarithm, before using the definition of a logarithm to solve for .
Example 4
Determine the inverse function of the logarithmic function .
Solution
First set :
Switch and to get the inverse:
Isolate the logarithm by dividing both sides by 4:
Use the definition of logarithm to solve for :
Solve for by subtracting 2 from both sides:
Write in function notation:
Try It 4
Determine the inverse function of the logarithmic function .
Example 5
Determine the inverse function of the logarithmic function .
Solution
First set :
Switch and to get the inverse:
Isolate the logarithm by subtracting 2 from both sides:
Use the definition of logarithm to solve for :
Solve for by adding 3 to both sides:
Write in function notation:
Example 6
Determine the inverse function of the logarithmic function .
Solution
First set :
Switch and to get the inverse:
Isolate the logarithm by adding 4 to both sides:
Isolate the logarithm by multiplying both sides by :
Use the definition of logarithm to solve for :
Solve for by dividing both sides by 8:
Write in function notation:
Try It 5
Determine the inverse function of the logarithmic function:
Composition of Inverse Functions
It is important to remember that an inverse function ‘undoes’ what was ‘done’ by the original function. Logarithmic functions and inverse functions are inverses of one another, so if we apply one function then apply its inverse, we should get back to where we started.
Consider the function and its inverse function . Now let’s perform a composition of functions:
To simplify , let’s set . Then using the definition of logarithms, we can write an equivalent exponential equation:
Since the bases are identical, the exponents must be equal:
Consequently, and, therefore, .
If we perform the composition in the opposite direction we get:
To simplify , let’s set . Then using the definition of logarithms, we can write an equivalent exponential equation:
Since logarithms are one-to-one functions, .
Consequently, and, therefore, .
Example 7
Use composition of functions to show that and are inverse functions.
Solution
It doesn’t matter the order in which we compose the functions.
To simplify , let , then using the definition of logarithms:
Consequently,
To simplify , let , then using the definition of logarithms:
Hence,
Consequently,
Therefore, and are inverse functions.
Try It 6
Use composition of functions to show that and are inverse functions.
Candela Citations
- The Inverse of a Logarithmic Function. Authored by: Leo Chang and Hazel McKenna. Provided by: Utah Valley University. License: CC BY: Attribution
- All graphs created using desmos graphing calculator. Authored by: Leo Chang and Hazel McKenna. Provided by: Utah Valley University. Located at: http://www.desmos.com/calculator. License: CC BY: Attribution
- All examples and Try Its: hjm417; hjm985; hjm926; hjm291; hjm118; hjm562. Authored by: Hazel McKenna. Provided by: Utah Valley University. License: CC BY: Attribution
- Composition of Inverse Functions. Authored by: Hazel McKenna. Provided by: Utah Vally University. License: CC BY: Attribution