Solution
First, note that both numerator and denominator are already factored. The function has one restriction, x = 3. Next, note that x = −2 makes the numerator of equation (9) zero and is not a restriction. Hence, x = −2 is a zero of the function. Recall that a function is zero where its graph crosses the horizontal axis. Hence, the graph of f will cross the x-axis at (−2, 0), as shown in Figure \(\PageIndex{4}\).
Note that the rational function (9) is already reduced to lowest terms. Hence, the restriction at x = 3 will place a vertical asymptote at x = 3, which is also shown in Figure \(\PageIndex{4}\).

Figure \(\PageIndex{4}\). Plot and label the x-intercept and vertical asymptote.
At this point, we know two things:
- The graph will cross the x-axis at (−2, 0).
- On each side of the vertical asymptote at x = 3, one of two things can happen. Either the graph will rise to positive infinity or the graph will fall to negative infinity.
To discover the behavior near the vertical asymptote, let’s plot one point on each side of the vertical asymptote, as shown in Figure \(\PageIndex{5}\).

Figure \(\PageIndex{5}\). Additional points help determine the behavior near the vertical asymptote.
Consider the right side of the vertical asymptote and the plotted point (4, 6) through which our graph must pass. As the graph approaches the vertical asymptote at x = 3, only one of two things can happen. Either the graph rises to positive infinity or the graph falls to negative infinity. However, in order for the latter to happen, the graph must first pass through the point (4, 6), then cross the x-axis between x = 3 and x = 4 on its descent to minus infinity. But we already know that the only x-intercept is at the point (2, 0), so this cannot happen. Hence, on the right, the graph must pass through the point (4, 6), then rise to positive infinity, as shown in Figure \(\PageIndex{6}\).

Figure \(\PageIndex{6}\). Behavior near the vertical asymptote.
A similar argument holds on the left of the vertical asymptote at x = 3. The graph cannot pass through the point (2, −4) and rise to positive infinity as it approaches the vertical asymptote, because to do so would require that it cross the x-axis between x = 2 and x = 3. However, there is no x-intercept in this region available for this purpose. Hence, on the left, the graph must pass through the point (2, −4) and fall to negative infinity as it approaches the vertical asymptote at x = 3. This behavior is shown in Figure \(\PageIndex{6}\).
Finally, what about the end-behavior of the rational function? What happens to the graph of the rational function as x increases without bound? What happens when x decreases without bound? One simple way to answer these questions is to use a table to investigate the behavior numerically. The graphing calculator facilitates this task.
First, enter your function as shown in Figure \(\PageIndex{7}\)(a), then press 2nd TBLSET to open the window shown in Figure \(\PageIndex{7}\)(b). For what we are about to do, all of the settings in this window are irrelevant, save one. Make sure you use the arrow keys to highlight ASK for the Indpnt (independent) variable and press ENTER to select this option. Finally, select 2nd TABLE, then enter the x-values 10, 100, 1000, and 10000, pressing ENTER after each one.

Figure \(\PageIndex{7}\). Using the table feature of the graphing calculator to investigate the end-behavior as x approaches positive infinity.
Note the resulting y-values in the second column of the table (the Y1 column) in Figure \(\PageIndex{7}\)(c). As x is increasing without bound, the y-values are greater than 1, yet appear to be approaching the number 1. Therefore, as our graph moves to the extreme right, it must approach the horizontal asymptote at y = 1, as shown in Figure \(\PageIndex{9}\).
A similar effort predicts the end-behavior as x decreases without bound, as shown in the sequence of pictures in Figure \(\PageIndex{8}\). As x decreases without bound, the y-values are less than 1, but again approach the number 1, as shown in Figure \(\PageIndex{8}\)(c).

Figure \(\PageIndex{8}\). Using the table feature of the graphing calculator to investigate the end-behavior as x approaches negative infinity.
The evidence in Figure \(\PageIndex{8}\)(c) indicates that as our graph moves to the extreme left, it must approach the horizontal asymptote at y = 1, as shown in Figure \(\PageIndex{9}\).

Figure \(\PageIndex{9}\). The graph approaches the horizontal asymptote y = 1 at the extreme right- and left-ends.
What kind of job will the graphing calculator do with the graph of this rational function? In Figure \(\PageIndex{10}\)(a), we enter the function, adjust the window parameters as shown in Figure \(\PageIndex{10}\)(b), then push the GRAPH button to produce the result in Figure \(\PageIndex{10}\)(c).

Figure \(\PageIndex{10}\). Drawing the graph of the rational function with the graphing calculator.
As was discussed in the first section, the graphing calculator manages the graphs of “continuous” functions extremely well, but has difficulty drawing graphs with discontinuities. In the case of the present rational function, the graph “jumps” from negative
infinity to positive infinity across the vertical asymptote x = 3. The calculator knows only one thing: plot a point, then connect it to the previously plotted point with a line segment. Consequently, it does what it is told, and “connects” infinities when it shouldn’t.
However, if we have prepared in advance, identifying zeros and vertical asymptotes, then we can interpret what we see on the screen in Figure \(\PageIndex{10}\)(c), and use that information to produce the correct graph that is shown in Figure \(\PageIndex{9}\). We can even add the horizontal asymptote to our graph, as shown in the sequence in Figure \(\PageIndex{11}\).

Figure \(\PageIndex{11}\). Adding a suspected horizontal asymptote.