mathleaks.com mathleaks.com Start chapters home Start History history History expand_more Community
Community expand_more
{{ filterOption.label }}
{{ item.displayTitle }}
{{ item.subject.displayTitle }}
arrow_forward
{{ searchError }}
search
{{ courseTrack.displayTitle }}
{{ printedBook.courseTrack.name }} {{ printedBook.name }} Graphing Rational Functions

A rational function is a function that contains a rational expression. That is, any function that can be written in the form
where p and q are polynomial functions. For any values of x where q(x)=0, the rational function is undefined. One example of a simple rational function is

Rational Functions and Asymptotes

An asymptote of a function is a line that the function's graph approaches as the distance to the origin approaches infinity. It is very common for rational functions to have at least one asymptote. These can arise when x extends to the right or left infinitely, and around x-values making the denominator equal to zero. The rational function
has two asymptotes, the x-axis and the y-axis. The shape of this function's graph is called a hyperbola, which means that it consists of two mirror images with bow-like appearances. As and as the function value approaches 0. Thus, the x-axis, y=0, is a horizontal asymptote of f. Similarly, as the function value approaches either positive or negative infinity. This means that the y-axis, x=0, is a vertical asymptote of f.

Simple Rational Function

Rational functions of the form
can be called simple rational functions, as their parent function is
When x is equal to h, the denominator becomes 0. Thus, these functions have a vertical asymptote at x=h. As and the fraction tends toward 0. This gives the horizontal asymptote y=k.

Graphing Simple Rational Functions

The identifiable asymptotes of simple rational functions can be used to simplify the process of graphing them. As an example, consider the function

1

Draw the asymptotes

Comparing the function rule to the general form of a simple rational function makes it possible to identify the asymptotes x=h and y=k. For f, these are x=3 and y=2. These can be drawn in a coordinate plane. 2

Plot points around the vertical asymptote

Plot some points both to the left and the right of the vertical asymptote. For the example, it would be appropriate to use, for instance, the x-values 1, 2, 2.5, 3.5, 4, and 5.

x f(x)
1 2.5
2 3
2.5 4
3.5 0
4 1
5 1.5

The points (x,f(x)) can be added to the coordinate plane to begin to see the behavior of f. 3

Draw the graph

The graph can now be drawn by connecting the points with a smooth curve. It must approach both the horizontal and vertical asymptotes. Another Form of Rational Functions

Another common form of rational functions is
where p(x)=ax+b and q(x)=cx+d are linear functions with different x-intercepts. Just like simple rational functions, these are hyperbolas and have horizontal and vertical asymptotes. The horizontal asymptote is the line
That is, the quotient of the leading coefficients of p and q. The vertical asymptote is the line
which is the x-value that makes the denominator 0.
fullscreen
Exercise
Identify the asymptotes of the given rational function. Then, rewrite it in the form, and draw its graph.
Show Solution
Solution
The function is currently written in the form
The horizontal asymptote can be identified as the quotient of the leading coefficients.
The vertical asymptote is located at the x-value for which the denominator equals 0.
There is more than one viable strategy to rewrite the expression. Two of which are long division and synthetic division. However, here, we'll use inspection. Notice that, if the numerator was 4x+4 the quotient would be 4. Let's manipulate the expression to make that happen.

The fraction can now be split into two, where one numerator is 4x+4 and the other is -2.

As a last step in writing the function in the form we need to rewrite the denominator.
We have now written the function in the desired form. The asymptotes y=4 and x=-1 can be confirmed here as well. To graph this function, we start by drawing the asymptotes in a coordinate plane. Next, we can make a table to find points around the vertical asymptote.

x f(x)
-3 5
-2 6
0 2
1 3

Plotting the points gives the graph. We can connect the points with two curves that tend toward the asymptote as x and y extend in both directions. fullscreen
Exercise

Below, two rational functions are graphed. Match the graphs with their corresponding function rule.
Show Solution
Solution
We match the graphs with their corresponding rule by identifying the asymptotes. Observing the first graph, it looks as though the asymptotes are
For the second graph,
Let's now identify the asymptotes of the given rules. For rational functions in the form
the vertical asymptote is and the horizontal asymptote is For the ones written as
their vertical asymptote is x=h and the horizontal asymptote is y=k.
Function Vertical asymptote Horizontal asymptote
f
g x=1 y=-1
h x=-1 y=-1
t
The function g has the same asymptotes as Graph I, and t has the same asymptotes as Graph II. Thus, the graphs' corresponding function rules are