# 2.4: Analyzing Rational Functions

## Learning Objectives

- Apply properties of rational functions to find roots and asymptotes
- Graph rational functions using roots, asymptotes, and behavior of the function around vertical asymptotes

## Summarize Analysis of Rational Functions

Recall that *rational functions* are defined as where and are polynomials. Rational functions can be slightly more complicated to analyze than polynomials, mostly due to the fact that anything divided by zero is undefined. In this section we review major points about analyzing rational functions, and show how a graphing calculator or other computer tool can be used to analyze rational functions.

## Finding Vertical Asymptotes and Breaks in the Graph of a Rational Function

To find vertical asymptotes and breaks in the domain of a rational function, set the denominator equal to zero and solve for . Given , set and solve for .

Note, however, that some rational functions do not have vertical asymptotes and they are well-defined for all real numbers . Other rational functions have a break in the function, but no vertical asymptote. This usually happens when one term in the numerator cancels with one term in the denominator. Below we illustrate examples of each of these cases.

**Example 1**

Consider the following rational function. Find all restrictions on the domain and asymptotes

Solution

Factoring the numerator

Canceling

Notice that there is no asymptote in this function, but rather a break in the graph at .

**Example 2**

Find the restrictions on the domain of

Solution

Setting the denominator equal to 0,

Thus, the domain of is the set all all real numbers with the restriction . has two vertical asymptotes, one at and one at .

**Example 3**

Find the vertical asymptotes of

Solution

Setting the denominator equal to zero,

There are no real solutions, so there are no vertical asymptotes and no restrictions on the domain of this function.

**Example 4**

What are the vertical asymptotes of the function

Solution

Setting the denominator equal to zero,

Again there are no real solutions. The horizontal asymptote is .

## End Behavior of Rational Function

Previously you have analyzed the end behavior of polynomials. You may recall that, as a general rule, as you “zoom out,” the graph of a polynomial looks like the graph of the power function made of the leading term of the polynomial. For instance, looks like the function if you choose a sufficiently large range for and .

There is a similar rule for rational functions. The *End Behavior* of a rational function can often be identified by the horizontal asymptote. That is, as the values of get very large or very small, the graph of the rational function will approach (but not reach) the horizontal asymptote. In Example 4, we could write as and as . This can be shortened by writing as .

## Finding Oblique Asymptotes

Not all asymptotes of rational functions are vertical or horizontal. If we look at the graph of the rational function in Example 3 from above, , we can see that there is no horizontal asymptote of this function.

There is no horizontal asymptote in this function because the degree of the numerator is greater than the degree of the denominator.

As a reminder, the following guidelines can help identify the asymptotes of a rational function :

- If the degree of the denominator is greater than the degree of the numerator, then the line is a horizontal asymptote.
- If the degree of the numerator and the denominator are equal, then the line is a horizontal asymptote, where is the leading coefficient of , the numerator, and is the leading coefficient of , the denominator.
- If the degree of the numerator is larger than the degree of the denominator, then the quotient function, , found by dividing the numerator and denominator of the rational function is an oblique asymptote. Recall that for any rational function , you can use polynomial division to re-write that function in the form where is the quotient and is the remainder.

To illustrate this last point, look at . By polynomial division we have,

So . This tells us that the line is an oblique asymptote of .

Notice that the oblique asymptotes of a rational function also describe the *end behavior* of the function. That is, as you “zoom out” from the graph of a rational function it looks like a line or the function defined by in .

**Example 5**

Find the oblique asymptote of . Sketch a graph of .

Solution

Using polynomial long division, . Thus, the line is an oblique asymptote of .

To sketch the graph we can find the vertical asymptotes by setting the denominator equal to zero,

So the two vertical asymptotes are and .

is undefined, so there is no intercept. Also, there is no simple way to solve for the roots (setting the numerator equal to zero), but we can see by inspection that . To get an idea of the shape of the graph we will make a table of a few test points. We used a calculator to evaluate decimal values of in .

Finally we use all of this information to make a sketch of the graph of :

## Applications, Technological Tools

The last example illustrates the difficulty of graphing any rational function by hand. A graphing calculator can be a valuable tool to help with graphing and analyzing rational functions, provided you know how to use the calculator effectively. Below we illustrate a few of the benefits and potential pitfalls of graphing rational functions using TI-83/84 Calculators.

Most of the calculator analysis tools that we have reviewed for quadratic and polynomial functions also work with rational functions. You can use the and **GRAPH** menus to view the graph of a rational function. Once you have graphed a rational function you can use the **CALC** menu to find the roots and the min/max values of the function.

**Potential Pitfalls of Graphing Rational Functions**

There are two common pitfalls when using a calculator to graph a rational function:

- When graphing a rational function by entering the function in the screen, remember that you need to use parenthesis to group the numerator and denominator of the rational function. Also, the independent variable of a rational function is always in the TI-83/84. Thus, for example, you would enter the function by typing “” in the slot.
- Vertical asymptotes are sometimes graphed as vertical lines.
- Graphs of rational functions can be difficult to interpret if the window settings are not chosen carefully.

The following example illustrates the second and third problems.

**Example 6**

Graph on the window . (This means and )

Solution

((insert screen shot of the graph of showing that vertical line at ))

is undefined and has a vertical asymptote at , but the way the graphing calculator draws the graph, it shows a vertical line at . One way to “fix” this problem is to press **MODE** and select the option “Dot” rather than “Connected”. However, dot graphs can be hard to interpret as well.

**Using the Table to Examine Behavior of a Rational Function**

Despite the potential pitfalls of using a graphing calculator to graph rational functions, the **TABLE** function of the graphing calculator is one very effective tool for analyzing the behavior of a rational function near its vertical asymptotes. Let's consider the function from Example 5 above, . The vertical asymptotes of are and . To analyze the behavior of near these asymptotes, first enter the equation of in the menu. Next, press **2ND WINDOW** to go to the **TABLSET** menu. There, change the setting of Independent to **ASK**.

((Calculator Image: Show **TABLE SETUP** menu))

Press **2ND GRAPH** to enter the **TABLE** screen.

In the table you can enter values in the first column, and the second column will display corresponding values.

To analyze the behavior of near , enter several values for getting progressively closer to 0.

It looks like as from the left that becomes large. (In calculus you will use more rigorous language to describe this situation). Let's look at values larger than zero, that is look at how behaves as from the right.

This shows that as from the right, .

Likewise, you can use the table to show that as from the left, , and as from the right, .

While using the table to sketch a graph by hand may be redundant (after all, you have a graphing calculator!), this information helps you interpret the output of the graphing tool, which is an important skill to develop as you learn to use a graphing calculator.

## Exercises

For each function in questions 1-5, describe the behavior of the rational function.

a) What are its asymptotes?

b) What is the end behavior of the function?

c) How does the function behave as approaches each vertical asymptote form the left and from the right?

d) Sketch a graph of the function an an appropriate domain

## Answers

- Notice that .
- Vertical asymptotes at . Horizontal asymptote . is undefined at , but there is not an asymptote there.
- As .
- As from the left and as from the right, . As from the left, and as from the right, .

- Vertical asymptote at . Horizontal asymptote .
- As .
- As from the left and as from the right, .

- Vertical asymptotes at . Horizontal asymptote is .
- As .
- As from the left and as from the right, . As from the left and as from the right, .

- Vertical asymptotes at and . Oblique asymptote .
- As . As , .
- As from the left and as from the right, . As from the left and as from the right,

- No vertical asymptotes. horizontal asymptote at .
- As .
- N/A: there are no vertical asymptotes.