7.1.2: Graphing a Rational Function

Learning Objectives

  • Graph the rational function f(x)=1/xf(x)=1/x
  • Describe the features of the rational function f(x)=1/xf(x)=1/x
    • Asymptotes
    • Symmetry
    • Domain and Range

The most basic rational function is f(x)=1xf(x)=1x. In this section we will take a close look at the graph of this function, then later we will use it as a parent function and use transformations to create other rational functions.

Graphing the Rational Function f(x)=1xf(x)=1x

We may create a table of values to sketch the graph of the parent rational function f(x)=1xf(x)=1x (Table 1). We choose both positive and negative values for xx to obtain a spread of function values. In addition, we will choose fractional values of xx that lie between negative one and one as these fractions are significant to graphing the function. The smaller these fractions are, in absolute value, the larger the function value will be.

xx f(x)=1xf(x)=1x
33 1313
22 1212
11 11
1212 22
1313 33
1414 44
1515 55
1515 55
1212 22
11 11
22 1212
33 1313
Table 1. Table of values for the function f(x)=1xf(x)=1x.

We can now plot the points and join the dots to create a smooth curve (Figure 1).

Figure 1. The graph of the function f(x)=1xf(x)=1x.

 

Features of Graph of f(x)=1xf(x)=1x

There are three notable features for the graph of the function f(x)=1xf(x)=1x (Figure 2). First the graph has two disconnected parts when x<0x<0 and x>0x>0. In other words, the graph is not continuous as there is a gap at x=0x=0. This is very different from the other types of functions we have studied that are continuous. Such continuous graphs include linear functions, quadratic functions, polynomial functions, exponential functions, and logarithmic functions. The second feature is that the disconnected parts of the graph are separated by the xx-axis and yy-axis, which happen to be the horizontal and vertical asymptotes. The third feature is that the graph is symmetric. Let’s look at the features of symmetry and asymptotes in more detail.

Symmetry

A symmetric graph is a graph that is separated into two parts by the line of symmetry, where the two parts are mirror images of each other. If we were to fold the graph along the line of symmetry, the graph would fold onto itself. There are two perspectives for understanding the symmetry of the graph in Figure 1. One perspective is based on the line of symmetry y=xy=x. Under this line of symmetry, each part of the graph is symmetric with respect to the line y=xy=x (Figure 2). The other perspective is based on the line of symmetry y=xy=x. Under this line of symmetry, the graph is symmetric with respect to the line of symmetry y=xy=x (Figure 3).

Figure 2. Symmetry across the line y=xy=x.

Figure 3. Symmetry across the line y=xy=x.

Asymptotes

A significant feature of the graph (Figure 2) of the function f(x)=1xf(x)=1x is that the graph has two asymptotes. One is the horizontal asymptote y=0y=0, i.e. the xx-axis, and the other one is the vertical asymptote x=0x=0, i.e. the yy-axis. The graph gets closer and closer to the line y=0y=0, i.e. the xx-axis, as the value of xx gets closer to positive infinity and negative infinity, but the graph never meets the xx-axis. Therefore the line y=0y=0 is a horizontal asymptote of the function. The graph also gets closer and closer to the line x=0x=0 as the yy-values get closer to positive infinity and negative infinity, but the graph never meets the yy-axis. Therefore, the line x=0x=0 is a vertical asymptote of the function (Figure 4).

Figure 4. The asymptotes of the functionf(x)=1xf(x)=1x.

If we lengthened our table of values (Table 1) we would discover why the graph never meets the xx-axis. As the value of xx gets larger and larger, the value of f(x)=1xf(x)=1x gets smaller and smaller, i.e. closer to y=0y=0:

f(10)=110=0.1f(100)=1100=0.01f(1000)=11000=0.001f(10,000)=110,000=0.0001f(10n)=110n=0.000...0001(n1) zeros after the pointf(10)=110=0.1f(100)=1100=0.01f(1000)=11000=0.001f(10,000)=110,000=0.0001f(10n)=110n=0.000...0001(n1) zeros after the point

As the value of xx gets closer to positive infinity, the value of the function yy gets closer to zero. The value of yy will never be zero (i.e., meet the xx-axis) because the function value will always be a positive fraction when the value of xx is close to positive infinity. Similarly, as the value of xx gets closer to negative infinity, the value of the function yy gets closer to zero. The value of yy will never be zero (i.e., meet the xx-axis) because the function value will always be a negative fraction when the value of xx is close to negative infinity.

We can look at xx-values close to zero to see why the graph never meets the yy-axis:

f(110)=10f(1100)=100f(11000)=1000f(110,000)=10,000f(110n)=10n=1000...000n zeros after the 1f(110)=10f(1100)=100f(11000)=1000f(110,000)=10,000f(110n)=10n=1000...000n zeros after the 1

As the value of x gets closer to zero from the positive side, the value of the function y gets closer to positive infinity. The value of x will never be zero (i.e., meet the y-axis) because the function is not defined at x=0 (i.e., division by 0 is undefined). Therefore, the value of x will always be a positive fraction that is close to zero, and the corresponding function value will get close to positive infinity. Similarly, as the the value of x gets close to zero from the negative side, the value of the function y gets closer to negative infinity. The value of x will never be zero (i.e., meet the y-axis) because the function is not defined at x=0. Therefore, the value of x will always be a negative fraction that is close to zero, and the corresponding function value will be close to negative infinity.

Domain and Range

The domain of the function f(x)=1x is all real numbers except the number zero because of the vertical asymptote x=0 (i.e., x cannot be zero). Therefore, the domain is {x|xR,x0}. The range of the function f(x)=1x is all real numbers except the number zero because of the horizontal asymptote y=0 (i.e., y will never be zero). Therefore, the range is {y|yR,y0}.