<meta http-equiv="refresh" content="1; url=/nojavascript/">

# 12.2: Graphs of Rational Functions

Difficulty Level: At Grade Created by: CK-12
0%
Progress
Practice Graphs of Rational Functions
Progress
0%

What if you had a function like y=x+1x24\begin{align*}y= \frac {x + 1}{x^2 - 4}\end{align*}? How could you graph it and find its asymptotes? After completing this Concept, you’ll be able to graph rational functions like this one.

### Guidance

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.

Now we’ll extend the domain and range of rational equations to include negative values of x\begin{align*}x\end{align*} and y\begin{align*}y\end{align*}. 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 x\begin{align*}x\end{align*} that will cause us to divide by 0. Remember that dividing by 0 doesn’t give us an actual number as a result.

#### Example A

Graph the function y=1x\begin{align*}y = \frac{1}{x}\end{align*}.

Solution

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

Let’s make two tables: one for x\begin{align*}x-\end{align*}values smaller than zero and one for x\begin{align*}x-\end{align*}values larger than zero.

x\begin{align*}x\end{align*} y=1x\begin{align*}y=\frac {1}{x}\end{align*} x\begin{align*}x\end{align*} y=1x\begin{align*}y=\frac {1}{x}\end{align*}
5\begin{align*}-5\end{align*} y=15=0.2\begin{align*}y =\frac {1}{-5}=-0.2\end{align*} 0.1 y=10.1=10\begin{align*}y=\frac {1}{0.1}=10\end{align*}
-4 y=14=0.25\begin{align*}y =\frac {1}{-4}=-0.25\end{align*} 0.2 y=10.2=5\begin{align*}y =\frac {1}{0.2}=5\end{align*}
-3 y=13=0.33\begin{align*}y=\frac {1}{-3}=-0.33\end{align*} 0.3 y=10.3=3.3\begin{align*}y=\frac {1}{0.3}=3.3\end{align*}
-2 y=12=0.5\begin{align*}y=\frac {1}{-2}=-0.5\end{align*} 0.4 y=10.4=2.5\begin{align*}y =\frac {1}{0.4}=2.5\end{align*}
-1 y=11=1\begin{align*}y=\frac {1}{-1}=-1\end{align*} 0.5 y=10.5=2\begin{align*}y=\frac {1}{0.5}=2\end{align*}
-0.5 y=10.5=2\begin{align*}y =\frac {1}{-0.5}=-2\end{align*} 1 y=11=1\begin{align*}y=\frac {1}{1}=1\end{align*}
-0.4 y=10.4=2.5\begin{align*}y =\frac {1}{-0.4}=-2.5\end{align*} 2 y=12=0.5\begin{align*}y =\frac {1}{2}=0.5\end{align*}
-0.3 y=10.3=3.3\begin{align*}y=\frac {1}{-0.3}=-3.3\end{align*} 3 y=13=0.33\begin{align*}y=\frac {1}{3}=0.33\end{align*}
-0.2 y=10.2=5\begin{align*}y =\frac {1}{-0.2}=-5\end{align*} 4 y=14=0.25\begin{align*}y=\frac {1}{4}=0.25\end{align*}
-0.1 y=10.1=10\begin{align*}y =\frac {1}{-0.1}=-10\end{align*} 5 y=15=0.2\begin{align*}y =\frac {1}{5}=0.2\end{align*}

We can see that as we pick positive values of x\begin{align*}x\end{align*} closer and closer to zero, y\begin{align*}y\end{align*} gets larger, and as we pick negative values of x\begin{align*}x\end{align*} closer and closer to zero, y\begin{align*}y\end{align*} gets smaller (or more and more negative).

Notice on the graph that for values of x\begin{align*}x\end{align*} near 0, the points on the graph get closer and closer to the vertical line x=0\begin{align*}x = 0\end{align*}. The line x=0\begin{align*}x = 0\end{align*} is called a vertical asymptote of the function y=1x\begin{align*}y = \frac{1}{x}\end{align*}.

We also notice that as the absolute values of x\begin{align*}x\end{align*} get larger in the positive direction or in the negative direction, the value of y\begin{align*}y\end{align*} gets closer and closer to y=0\begin{align*}y = 0\end{align*} but will never gain that value. Since y=1x\begin{align*}y = \frac{1}{x}\end{align*}, we can see that there are no values of x\begin{align*}x\end{align*} that will give us the value y=0\begin{align*}y = 0\end{align*}. The horizontal line y=0\begin{align*}y = 0\end{align*} is called a horizontal asymptote of the function y=1x\begin{align*}y = \frac{1}{x}\end{align*}

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 y\begin{align*}y\end{align*} that the function approaches (but never reaches) as the absolute value of x\begin{align*}x\end{align*} gets larger and larger. A vertical asymptote shows that the absolute value of y\begin{align*}y\end{align*} gets larger and larger as x\begin{align*}x\end{align*} 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 x\begin{align*}x\end{align*}.

#### Example B

Graph the function y=1(x2)2\begin{align*}y = \frac{1}{(x - 2)^2}\end{align*}.

Solution

We can see that the function is not defined for x=2\begin{align*}x = 2\end{align*}, because that would make the denominator of the fraction equal zero. This tells us that there should be a vertical asymptote at x=2\begin{align*}x = 2\end{align*}, so we can start graphing the function by drawing the vertical asymptote.

Now let’s make a table of values.

x\begin{align*}x\end{align*} y=1(x2)2\begin{align*}y = \frac {1}{(x-2)^2}\end{align*}
0 y=1(02)2=14\begin{align*}y= \frac {1}{(0-2)^2} = \frac {1}{4}\end{align*}
1 y=1(12)2=1\begin{align*}y= \frac {1}{(1-2)^2} = 1\end{align*}
1.5 y=1(1.52)2=4\begin{align*}y= \frac {1}{(1.5-2)^2} = 4\end{align*}
2 undefined\begin{align*}\text{undefined}\end{align*}
2.5 y=1(2.52)2=4\begin{align*}y = \frac {1}{(2.5-2)^2} = 4\end{align*}
3 y=1(32)2=1\begin{align*}y= \frac {1}{(3-2)^2} = 1\end{align*}
4 y=1(42)2=14\begin{align*}y= \frac {1}{(4-2)^2} = \frac {1}{4}\end{align*}

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 |x|\begin{align*}|x|\end{align*}, the value of y\begin{align*}y\end{align*} could approach a constant value. In this case that value is y=0\begin{align*}y = 0\end{align*}: 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 C

Graph the function y=x2x2+1\begin{align*}y= \frac{x^2}{x^2 + 1}\end{align*}.

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 y\begin{align*}y\end{align*} approaches a particular value for large values of x\begin{align*}x\end{align*}, both positive and negative.

x\begin{align*}x\end{align*} y=x2x2+1\begin{align*}y= \frac {x^2}{x^2+1}\end{align*}
3\begin{align*}-3\end{align*} y=(3)2(3)2+1=910=0.9\begin{align*}y= \frac {(-3)^2}{(-3)^2+1} = \frac {9}{10} = 0.9\end{align*}
-2 y=(2)2(2)2+1=45=0.8\begin{align*}y= \frac {(-2)^2}{(-2)^2+1} = \frac {4}{5} = 0.8\end{align*}
-1 y=(1)2(1)2+1=12=0.5\begin{align*}y= \frac {(-1)^2}{(-1)^2+1} = \frac {1}{2} = 0.5\end{align*}
0 y=(0)2(0)2+1=01=0\begin{align*}y= \frac {(0)^2}{(0)^2+1} = \frac {0}{1} = 0\end{align*}
1 y=(1)2(1)2+1=12=0.5\begin{align*}y= \frac {(1)^2}{(1)^2+1} = \frac {1}{2} = 0.5\end{align*}
2 y=(2)2(2)2+1=45=0.8\begin{align*}y= \frac {(2)^2}{(2)^2+1} = \frac {4}{5} = 0.8\end{align*}
3 y=(3)2(3)2+1=910=0.9\begin{align*}y= \frac {(3)^2}{(3)^2+1} = \frac {9}{10} = 0.9\end{align*}

Below is the graph of this function.

The function has no vertical asymptote. However, we can see that as the values of |x|\begin{align*}|x|\end{align*} get larger, the value of y\begin{align*}y\end{align*} gets closer and closer to 1, so the function has a horizontal asymptote at y=1\begin{align*}y = 1\end{align*}.

Watch this video for help with the Examples above.

### Vocabulary

• 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.

### Guided Practice

Graph the function y=3x1\begin{align*}y=\frac{3}{x-1}\end{align*}.

Solution

Start by making a table of values:

x\begin{align*}x\end{align*} y=3x1\begin{align*}y= \frac {3}{x-1}\end{align*}
2\begin{align*}-2\end{align*} y=321=33=1\begin{align*}y= \frac {3}{-2-1} = \frac {3}{-3} = -1\end{align*}
-1 y=311=32=1.5\begin{align*}y= \frac {3}{-1-1} = \frac {3}{-2} = -1.5\end{align*}
0 y=301=31=3\begin{align*}y= \frac {3}{0-1} = \frac {3}{-1} = -3\end{align*}
1 undefined
2 y=321=31=3\begin{align*}y= \frac {3}{2-1} = \frac {3}{1} = 3\end{align*}
3 y=331=32=1.5\begin{align*}y= \frac {3}{3-1}= \frac {3}{2} = 1.5\end{align*}
4 y=341=33=1\begin{align*}y= \frac {3}{4-1}= \frac {3}{3} = 1\end{align*}

Next, graph the points. Recall that the function y=1x\begin{align*}y=\frac{1}{x}\end{align*} has two curves, that are on either side of the vertical asymptote, which is where the function is undefined. The same is true for this function.

### Explore More

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

1. y=2x3\begin{align*}y=\frac {2}{x-3}\end{align*}
2. y=3x2\begin{align*}y=\frac {3}{x^2}\end{align*}
3. y=xx1\begin{align*}y=\frac {x}{x-1}\end{align*}
4. y=2xx+1\begin{align*}y=\frac {2x}{x+1}\end{align*}
5. y=1x2+2\begin{align*}y=\frac {-1}{x^2+2}\end{align*}
6. y=xx2+9\begin{align*}y=\frac {x}{x^2+9}\end{align*}
7. y=x2x2+1\begin{align*}y=\frac {x^2}{x^2+1}\end{align*}
8. y=1x21\begin{align*}y=\frac {1}{x^2-1}\end{align*}
9. y=2xx29\begin{align*}y=\frac {2x}{x^2-9}\end{align*}
10. y=x2x216\begin{align*}y=\frac {x^2}{x^2-16}\end{align*}
11. y=3x24x+4\begin{align*}y=\frac {3}{x^2-4x+4}\end{align*}
12. y=xx2x6\begin{align*}y=\frac {x}{x^2-x-6}\end{align*}

### Vocabulary Language: English

compression

compression

A stretch or compression is a function transformation that makes a graph narrower or wider, without translating it horizontally or vertically.
Function

Function

A function is a relation where there is only one output for every input. In other words, for every value of $x$, there is only one value for $y$.
Horizontal Asymptote

Horizontal Asymptote

A horizontal asymptote is a horizontal line that indicates where a function flattens out as the independent variable gets very large or very small. A function may touch or pass through a horizontal asymptote.
Oblique Asymptote

Oblique Asymptote

An oblique asymptote is a diagonal line marking a specific range of values toward which the graph of a function may approach, but generally never reach. An oblique asymptote exists when the numerator of the function is exactly one degree greater than the denominator. An oblique asymptote may be found through long division.
Polynomial Function

Polynomial Function

A polynomial function is a function defined by an expression with at least one algebraic term.
Reflection

Reflection

Reflections are transformations that result in a "mirror image" of a parent function. They are caused by differing signs between parent and child functions.
shift

shift

A shift, also known as a translation or a slide, is a transformation applied to the graph of a function that does not change the shape or orientation of the graph, only the location of the graph.
shifts

shifts

A shift, also known as a translation or a slide, is a transformation applied to the graph of a function that does not change the shape or orientation of the graph, only the location of the graph.
Slant Asymptote

Slant Asymptote

A slant asymptote is a diagonal line marking a specific range of values toward which the graph of a function may approach, but will never reach. A slant asymptote exists when the numerator of the function is exactly one degree greater than the denominator. A slant asymptote may be found through long division.
stretch

stretch

A stretch or compression is a function transformation that makes a graph narrower or wider.
Transformations

Transformations

Transformations are used to change the graph of a parent function into the graph of a more complex function.
Vertical Asymptote

Vertical Asymptote

A vertical asymptote is a vertical line marking a specific value toward which the graph of a function may approach, but will never reach.

## Date Created:

Oct 01, 2012

Aug 20, 2015
You can only attach files to Modality which belong to you
If you would like to associate files with this Modality, please make a copy first.