7.3: The Inverse of a Rational Function

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)=x1x+4f(x)=x1x+4. Therefore, their inverse is a function. Some rational functions are many-to-one functions such as f(x)=1x21f(x)=1x21 or f(x)=x34x2+2x21f(x)=x34x2+2x21. 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
graph of y=1/x graph of f(x)=1/(x^2-1)
graph of y=(x-1)/(x+4) f(x)y=\frac{x^3-4x^2+2}{x^2-1}
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)=x34x2+2x21f(x)=x34x2+2x21 (Figure 1), P(x)=x34x2+2P(x)=x34x2+2 and has degree 3, while Q(x)=x21Q(x)=x21 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
22 1212
11 11
1212 22
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
1212 22
11 11
22 1212
22 1212
11 11
1212 22
1313 33
Table 2. The inverse table for f1(x)=1xf1(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 f1(x)=1xf1(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 g1(x)g1(x):

x=1yxy=1yyMultiply both sides by y to clear the fractionsxy=1y=1xg1(x)=1xx=1yxy=1yyMultiply both sides by y to clear the fractionsxy=1y=1xg1(x)=1x

Therefore, the equation of the inverse function is g1(x)=1xg1(x)=1x.

Example 1

Determine the inverse function of the one-to-one rational function h(x)=x1x+4h(x)=x1x+4.

Solution

We start by writing y=h(x)y=h(x) then switchxx and yy to get the inverse:

y=x1x+4Write y for h(x)x=y1y+4Switch x and yx(y+4)=y1y+4(y+4)Multiply both sides by y+4 to clear the fractionsx(y+4)=y1xy+4x=y1Multiply the left side using the distributive propertyxyy=4x1Collect y terms on the left sidey(x1)=4x1Pull y out as a common factor on the left sidey=4x1x1Divide both sides by x1y=x1x+4Write y for h(x)x=y1y+4Switch x and yx(y+4)=y1y+4(y+4)Multiply both sides by y+4 to clear the fractionsx(y+4)=y1xy+4x=y1Multiply the left side using the distributive propertyxyy=4x1Collect y terms on the left sidey(x1)=4x1Pull y out as a common factor on the left sidey=4x1x1Divide both sides by x1

Now write the inverse in function notation, h1(x)=4x1x1h1(x)=4x1x1 or by pulling out 11 as a common factor on the numerator, h1(x)=4x+1x1h1(x)=4x+1x1.

Example 2

Determine the inverse function of the one-to-one rational function h(x)=x+5x1h(x)=x+5x1.

Solution

We start by writing y=h(x)y=h(x) then switch xx and yy to get the inverse:

y=x+5x1Write y for h(x)x=y+5y1Switch x and yx(y1)=y+5y1(y1)Multiply both sides by y1 to clear the fractionsx(y1)=y+5xyx=y+5Multiply the left side using the distributive propertyxyy=x+5Collect y terms on the left sidey(x1)=x+5Pull y out as a common factor on the left sidey=x+5x1Divide both sides by x1y=x+5x1Write y for h(x)x=y+5y1Switch x and yx(y1)=y+5y1(y1)Multiply both sides by y1 to clear the fractionsx(y1)=y+5xyx=y+5Multiply the left side using the distributive propertyxyy=x+5Collect y terms on the left sidey(x1)=x+5Pull y out as a common factor on the left sidey=x+5x1Divide both sides by x1

Now write the inverse in function notation, h1(x)=x+5x1h1(x)=x+5x1.

Try It 1

Determine the inverse function of the one-to-one rational function:

1. h(x)=x+4x6h(x)=x+4x6

2. g(x)=x+7x+4g(x)=x+7x+4

3. f(x)=2x+35x+4f(x)=2x+35x+4