# 12.2: Graphs of Rational Functions

**At Grade**Created by: CK-12

## Learning Objectives

- Compare graphs of inverse variation equations.
- Graph rational functions.
- Solve real-world problems using rational functions.

## Introduction

In this section, you’ll learn how to graph rational functions. Graphs of rational functions are very distinctive, because they get closer and closer to certain values but never reach those values. This behavior is called asymptotic behavior, and we will see that rational functions can have **horizontal asymptotes, vertical asymptotes** or **oblique (or slant) asymptotes.**

## Compare Graphs of Inverse Variation Equations

Inverse variation problems are the simplest example of rational functions. We saw that an inverse variation has the general equation: . In most real-world problems, and take only positive values. Below, we will show graphs of three inverse variation functions.

**Example 1**

*On the same coordinate grid, graph inverse variation relationships with the proportionality constants and .*

**Solution**

We’ll skip the table of values for this problem, and just show the graphs of the three functions on the same coordinate axes. Notice that for larger constants of proportionality, the curve decreases at a slower rate than for smaller constants of proportionality. This makes sense because the value of is related directly to the proportionality constants, so we should expect larger values of for larger values of .

## Graph Rational Functions

Now we’ll extend the domain and range of rational equations to include negative values of and . First we’ll plot a few rational functions by using a table of values, and then we’ll talk about the distinguishing characteristics of rational functions that can help us make better graphs.

As we graph rational functions, we need to always pay attention to values of that will cause us to divide by 0. Remember that dividing by 0 doesn’t give us an actual number as a result.

**Example 2**

*Graph the function .*

**Solution**

Before we make a table of values, we should notice that the function is not defined for . This means that the graph of the function won’t have a value at that point. Since the value of is special, we should make sure to pick enough values close to in order to get a good idea how the graph behaves.

Let’s make two tables: one for values smaller than zero and one for values larger than zero.

0.1 | |||

-4 | 0.2 | ||

-3 | 0.3 | ||

-2 | 0.4 | ||

-1 | 0.5 | ||

-0.5 | 1 | ||

-0.4 | 2 | ||

-0.3 | 3 | ||

-0.2 | 4 | ||

-0.1 | 5 |

We can see that as we pick positive values of closer and closer to zero, gets larger, and as we pick negative values of closer and closer to zero, gets smaller (or more and more negative).

Notice on the graph that for values of near 0, the points on the graph get closer and closer to the vertical line . The line is called a **vertical asymptote** of the function .

We also notice that as the absolute values of get larger in the positive direction or in the negative direction, the value of gets closer and closer to but will never gain that value. Since , we can see that there are no values of that will give us the value . The horizontal line is called a **horizontal asymptote** of the function

Asymptotes are usually denoted as dashed lines on a graph. They are not part of the function; instead, they show values that the function approaches, but never gets to. A horizontal asymptote shows the value of that the function approaches (but never reaches) as the absolute value of gets larger and larger. A vertical asymptote shows that the absolute value of gets larger and larger as gets closer to a certain value which it can never actually reach.

Now we’ll show the graph of a rational function that has a vertical asymptote at a non-zero value of .

**Example 3**

*Graph the function .*

**Solution**

We can see that the function is not defined for , because that would make the denominator of the fraction equal zero. This tells us that there should be a vertical asymptote at , so we can start graphing the function by drawing the vertical asymptote.

Now let’s make a table of values.

0 | |

1 | |

1.5 | |

2 | |

2.5 | |

3 | |

4 |

Here’s the resulting graph:

Notice that we didn’t pick as many values for our table this time, because by now we have a pretty good idea what happens near the vertical asymptote.

We also know that for large values of , the value of could approach a constant value. In this case that value is : this is the horizontal asymptote.

A rational function doesn’t have to have a vertical or horizontal asymptote. The next example shows a rational function with no vertical asymptotes.

**Example 4**

*Graph the function .*

**Solution**

We can see that this function will have no vertical asymptotes because the denominator of the fraction will never be zero. Let’s make a table of values to see if the value of approaches a particular value for large values of , both positive and negative.

-2 | |

-1 | |

0 | |

1 | |

2 | |

3 |

Below is the graph of this function.

The function has no vertical asymptote. However, we can see that as the values of get larger, the value of gets closer and closer to 1, so the function has a horizontal asymptote at .

## Finding Horizontal Asymptotes

We said that a horizontal asymptote is the value of that the function approaches for large values of . When we plug in large values of in our function, higher powers of get larger much quickly than lower powers of . For example, consider:

If we plug in a large value of , say , we get:

We can see that the beginning terms in the numerator and denominator are much bigger than the other terms in each expression. One way to find the horizontal asymptote of a rational function is to ignore all terms in the numerator and denominator except for the highest powers.

In this example the horizontal asymptote is , which simplifies to .

In the function above, the highest power of was the same in the numerator as in the denominator. Now consider a function where the power in the numerator is less than the power in the denominator:

As before, we ignore all the terms except the highest power of in the numerator and the denominator. That gives us , which simplifies to .

For large values of , the value of gets closer and closer to zero. Therefore the horizontal asymptote is .

To summarize:

- Find vertical asymptotes by setting the denominator equal to zero and solving for .
- For horizontal asymptotes, we must consider several cases:
- If the highest power of in the numerator is less than the highest power of in the denominator, then the horizontal asymptote is at .
- If the highest power of in the numerator is the same as the highest power of in the denominator, then the horizontal asymptote is at .
- If the highest power of in the numerator is greater than the highest power of in the denominator, then we don’t have a horizontal asymptote; we could have what is called an oblique (slant) asymptote, or no asymptote at all.

**Example 5**

*Find the vertical and horizontal asymptotes for the following functions.*

a)

b)

c)

d)

**Solution**

a) **Vertical asymptotes:**

Set the denominator equal to zero. is the vertical asymptote.

**Horizontal asymptote:**

Keep only the highest powers of . is the horizontal asymptote.

b) **Vertical asymptotes:**

Set the denominator equal to zero. is the vertical asymptote.

**Horizontal asymptote:**

Keep only the highest powers of . is the horizontal asymptote.

c) **Vertical asymptotes:**

Set the denominator equal to zero: . Since there are no solutions to this equation, there is no vertical asymptote.

**Horizontal asymptote:**

Keep only the highest powers of . is the horizontal asymptote.

d) **Vertical asymptotes:**

Set the denominator equal to zero:

Factor:

Solve: and are the vertical asymptotes.

**Horizontal asymptote.** There is no horizontal asymptote because the power of the numerator is larger than the power of the denominator.

Notice the function in part *d* had more than one vertical asymptote. Here’s another function with two vertical asymptotes.

**Example 6**

*Graph the function .*

**Solution**

We find that the function is undefined for **and** , so we know that there are vertical asymptotes at these values of .

We can also find the horizontal asymptote by the method we outlined above. It’s at , or .

So, we start plotting the function by drawing the vertical and horizontal asymptotes on the graph.

Now, let’s make a table of values. Because our function has a lot of detail we must make sure that we pick enough values for our table to determine the behavior of the function accurately. We must make sure especially that we pick values close to the vertical asymptotes.

-4 | |

-3 | |

-2.5 | |

-1.5 | |

-1 | |

0 | |

1 | |

1.5 | |

2.5 | |

3 | |

4 | |

5 |

Here is the resulting graph.

To explore more graphs of rational functions, try the applets available at http://www.analyzemath.com/rational/rational1.html.

## Solve Real-World Problems Using Rational Functions

Electrical circuits are commonplace is everyday life—for example, they’re in all the electrical appliances in your home. The figure below shows an example of a simple electrical circuit. It consists of a battery which provides a voltage (, measured in Volts, ), a resistor (, measured in ohms, ) which resists the flow of electricity and an ammeter that measures the current (, measured in amperes, ) in the circuit.

**Ohm’s Law** gives a relationship between current, voltage and resistance. It states that

Your light bulbs, toaster and hairdryer are all basically simple resistors. In addition, resistors are used in an electrical circuit to control the amount of current flowing through a circuit and to regulate voltage levels. One important reason to do this is to prevent sensitive electrical components from burning out due to too much current or too high a voltage level. Resistors can be arranged in series or in parallel.

For resistors placed in a series:

the total resistance is just the sum of the resistances of the individual resistors:

For resistors placed in parallel:

the reciprocal of the total resistance is the sum of the reciprocals of the resistances of the individual resistors:

**Example 7**

*Find the quantity labeled in the following circuit.*

**Solution**

**Example 8**

*Find the quantity labeled in the following circuit.*

**Solution**

## Review Questions

Find all the vertical and horizontal asymptotes of the following rational functions.

Graph the following rational functions. Draw dashed vertical and horizontal lines on the graph to denote asymptotes.

Find the quantity labeled in each of the following circuits.

### Notes/Highlights Having trouble? Report an issue.

Color | Highlighted Text | Notes | |
---|---|---|---|

Please Sign In to create your own Highlights / Notes | |||

Show More |