Learning Objectives
- Graph the inverse of a rational function
- Find the equation of the inverse function of a one-to-one rational function
In chapter 3, we discussed that every function has an inverse, but only a one-to-one function has an inverse function. Some rational functions are one-to-one functions such as f(x)=1x or f(x)=x−1x+4. Therefore, their inverse is a function. Some rational functions are many-to-one functions such as f(x)=1x2−1 or f(x)=x3−4x2+2x2−1. Therefore, their inverse is not a function (Figure 1).
One-to-one rational functions that have an inverse function | Many-to-one rational functions that do not have an inverse function |
![]() |
![]() |
![]() |
![]() |
Figure 1. Graphs of rational functions |
Notice that three of the graphs in figure 1 have horizontal and vertical asymptotes but the 4th graph has two vertical asymptotes and a slant asymptote. A slant asymptote is a line of the form y=mx+b that is neither vertical nor horizontal but that the graph gets closer and closer to as x approaches positive and negative infinity. Slant asymptotes occur in the graph of a rational function f(x)=P(x)Q(x) when the degree of P(x) is one more than the degree of Q(x). For example, in the function f(x)=x3−4x2+2x2−1 (Figure 1), P(x)=x3−4x2+2 and has degree 3, while Q(x)=x2−1 which has degree 2. Since 3 is one more than 2, there is a slant asymptote.
Graphing the Inverse Function of a Rational Function
We may graph the inverse of a rational function by creating and using its inverse table. For example, given the function f(x)=1x, we may graph the function by creating a table of values (Table 1).
x | y=1x |
---|---|
–2 | −12 |
–1 | –1 |
−12 | –2 |
12 | 2 |
1 | 1 |
2 | 12 |
3 | 13 |
Table 1. Table of values for f(x)=1x |
The inverse of the function is found by switching the values of the x and y columns so that the inputs become the values of y and the outputs become the values of x. The table after switching the values of the x and y columns is the inverse table (Table 2).
x | y=1x |
−12 | −2 |
−1 | −1 |
−2 | −12 |
2 | 12 |
1 | 1 |
12 | 2 |
13 | 3 |
Table 2. The inverse table for f−1(x)=1x |
Figure 2 shows the graph of the inverse of the function f(x)=1x drawn from its inverse table. Notice that the graph of the inverse is exactly the same as the graph of the original function f(x)=1x. In other words, the function f(x)=1x is the inverse of the function itself. The inverse function is a reflection of the original function with respect to the line of symmetry y=x.

Figure 2. The inverse of the function f(x)=1x is f−1(x)=1x.
Since the graph of the function f(x)=1x is symmetric across the line y=x, the inverse function is identical to the original function.
Determining the Inverse Function of an One-to-One Rational Function
To determine the equation of the inverse function of a one-to-one rational function, we use the same idea of switching the input and output. We start by writing y=f(x), switch x and y, and then solve for y.
For example, to determine the inverse function of the one-to-one rational function g(x)=1x, we write y=g(x) then switch x and y:
g(x)=1xy=1xx=1y
At this point, we have the inverse. We now need to solve for y so we can write the inverse using function notation by replacing y with g−1(x):
x=1yx⋅y=1y⋅yMultiply both sides by y to clear the fractionsxy=1y=1xg−1(x)=1x
Therefore, the equation of the inverse function is g−1(x)=1x.
Example 1
Determine the inverse function of the one-to-one rational function h(x)=x−1x+4.
Solution
We start by writing y=h(x) then switchx and y to get the inverse:
y=x−1x+4Write y for h(x)x=y−1y+4Switch x and yx(y+4)=y−1y+4⋅(y+4)Multiply both sides by y+4 to clear the fractionsx(y+4)=y−1xy+4x=y−1Multiply the left side using the distributive propertyxy−y=−4x−1Collect y terms on the left sidey(x−1)=−4x−1Pull y out as a common factor on the left sidey=−4x−1x−1Divide both sides by x−1
Now write the inverse in function notation, h−1(x)=−4x−1x−1 or by pulling out −1 as a common factor on the numerator, h−1(x)=−4x+1x−1.
Example 2
Determine the inverse function of the one-to-one rational function h(x)=x+5x−1.
Solution
We start by writing y=h(x) then switch x and y to get the inverse:
y=x+5x−1Write y for h(x)x=y+5y−1Switch x and yx(y−1)=y+5y−1⋅(y−1)Multiply both sides by y−1 to clear the fractionsx(y−1)=y+5xy−x=y+5Multiply the left side using the distributive propertyxy−y=x+5Collect y terms on the left sidey(x−1)=x+5Pull y out as a common factor on the left sidey=x+5x−1Divide both sides by x−1
Now write the inverse in function notation, h−1(x)=x+5x−1.
Try It 1
Determine the inverse function of the one-to-one rational function:
1. h(x)=x+4x−6
2. g(x)=x+7x+4
3. f(x)=2x+35x+4
Candela Citations
- The Inverse of a Rational 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. Provided by: Utah Valley University. Located at: http://www.desmos.com/calculator. License: CC BY: Attribution
- Examples and Try Its: hjm547. Authored by: Hazel McKenna. Provided by: Utah Valley University. License: CC BY: Attribution