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)=1xf(x)=1x or f(x)=x−1x+4f(x)=x−1x+4. Therefore, their inverse is a function. Some rational functions are many-to-one functions such as f(x)=1x2−1f(x)=1x2−1 or f(x)=x3−4x2+2x2−1f(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+by=mx+b that is neither vertical nor horizontal but that the graph gets closer and closer to as xx approaches positive and negative infinity. Slant asymptotes occur in the graph of a rational function f(x)=P(x)Q(x)f(x)=P(x)Q(x) when the degree of P(x)P(x) is one more than the degree of Q(x)Q(x). For example, in the function f(x)=x3−4x2+2x2−1f(x)=x3−4x2+2x2−1 (Figure 1), P(x)=x3−4x2+2P(x)=x3−4x2+2 and has degree 3, while Q(x)=x2−1Q(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)=1xf(x)=1x, we may graph the function by creating a table of values (Table 1).
xx | y=1xy=1x |
---|---|
–2–2 | −12−12 |
–1–1 | –1–1 |
−12−12 | –2–2 |
1212 | 22 |
11 | 11 |
22 | 1212 |
33 | 1313 |
Table 1. Table of values for f(x)=1xf(x)=1x |
The inverse of the function is found by switching the values of the xx and yy columns so that the inputs become the values of yy and the outputs become the values of xx. The table after switching the values of the xx and yy columns is the inverse table (Table 2).
xx | y=1xy=1x |
−12−12 | −2−2 |
−1−1 | −1−1 |
−2−2 | −12−12 |
22 | 1212 |
11 | 11 |
1212 | 22 |
1313 | 33 |
Table 2. The inverse table for f−1(x)=1xf−1(x)=1x |
Figure 2 shows the graph of the inverse of the function f(x)=1xf(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)=1xf(x)=1x. In other words, the function f(x)=1xf(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=xy=x.

Figure 2. The inverse of the function f(x)=1xf(x)=1x is f−1(x)=1xf−1(x)=1x.
Since the graph of the function f(x)=1xf(x)=1x is symmetric across the line y=xy=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)y=f(x), switch xx and yy, and then solve for yy.
For example, to determine the inverse function of the one-to-one rational function g(x)=1xg(x)=1x, we write y=g(x)y=g(x) then switch xx and yy:
g(x)=1xy=1xx=1yg(x)=1xy=1xx=1y
At this point, we have the inverse. We now need to solve for yy so we can write the inverse using function notation by replacing yy with g−1(x)g−1(x):
x=1yx⋅y=1y⋅yMultiply both sides by y to clear the fractionsxy=1y=1xg−1(x)=1xx=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)=1xg−1(x)=1x.
Example 1
Determine the inverse function of the one-to-one rational function h(x)=x−1x+4h(x)=x−1x+4.
Solution
We start by writing y=h(x)y=h(x) then switchxx and yy 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−1y=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−1h−1(x)=−4x−1x−1 or by pulling out −1−1 as a common factor on the numerator, h−1(x)=−4x+1x−1h−1(x)=−4x+1x−1.
Example 2
Determine the inverse function of the one-to-one rational function h(x)=x+5x−1h(x)=x+5x−1.
Solution
We start by writing y=h(x)y=h(x) then switch xx and yy 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−1y=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−1h−1(x)=x+5x−1.
Try It 1
Determine the inverse function of the one-to-one rational function:
1. h(x)=x+4x−6h(x)=x+4x−6
2. g(x)=x+7x+4g(x)=x+7x+4
3. f(x)=2x+35x+4f(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