Graphing Rational Functions
Graphing Rational Functions
A rational function is defined here as a function that is equal to a ratio of two polynomials
p(x)/q(x) such that the degree of q(x) is at least 1.
Examples:
y =[(x + 2)(x-2)]/(x-2)
which may be reduced to
y = x + 2 after canceling common factors of (x-2). So the equation simplifies to a linear
equation! However, since x=2 results in division by zero in the original function, we are
missing the point at x=2. The graphs of both y=x+2 and our rational function are shown
below.
From MathMotivation.com – Permission Granted For Use and Modification For Non-Profit Purposes
The Simplest Rational Function: y = 1/x
If you graph the simplest rational function y = 1/x, you get the solution points and graph
shown (in blue) below:
As pointed out, the graph “takes off” vertically for x-values near x=0 and gets closer and
closer to the vertical line x=0. We call x=0 the Vertical Asymptote.
Also, the graph “levels out” to the horizontal line y=0 for very large positive and negative
values of x. We call y=0 the Horizontal Asymptote.
Assuming a rational function has a horizontal asymptote (not all do), the
horizontal asymptote may always be approximated by inputting very large
positive or negative values of x. If the y-values obtained get closer and closer to
some fixed value, then the horizontal asymptote will be given by the horizontal
line equal to that value.
For rational functions where the degree of the denominator is greater than the degree of
the numerator, y = 0 will be the horizontal asymptote.
From MathMotivation.com – Permission Granted For Use and Modification For Non-Profit Purposes
For rational functions of the form where the degree of the numerator equals the degree
of the denominator, the horizontal asymptote will consist of the horizontal line equal to
the ratio of the leading coefficients.
Slant Asymptotes: The slant asymptote of a rational function consists of a slanted line
of the standard linear form y=mx + b, m≠0, where the graph of f(x) approaches this linear
function as x approaches positive or negative infinity.
The slant asymptote only occurs if the numerator is of degree one more than the degree
of the denominator. The slant asymptote may be found by dividing the numerator of the
rational function by the denominator and rewriting the rational function as this result.
The slant asymptote will be equal to the non-fractional part of this result.
4. Use that fact that the graph “takes off” near each vertical asymptote and “levels
out” to each horizontal or slant asymptote to complete the graph.
From MathMotivation.com – Permission Granted For Use and Modification For Non-Profit Purposes
First, make sure this is reduced. The factored form is
Now, find and plot all asymptotes. The vertical asymptotes will be x=2 and x= -2 since
these result in division by zero.
Since the degree of the numerator is 1 and the degree of the denominator is 2, y=0 will
be the horizontal asymptote. There is no slant asymptote.
Now, find and plot a few points on each side of x=2 and x= -2.
We get the points as shown in the table below by simply inputting values of x into the
function and finding the y-values. Then plot these to get
From MathMotivation.com – Permission Granted For Use and Modification For Non-Profit Purposes
Now, think!
The graph must “take off” near the vertical asymptotes x=2 and x=-2 and “level out” to
the horizontal asymptote y=0. Using the points plotted, we can continue the “trends” to
get the graph
Now, find asymptotes. The vertical asymptote will be x=1 since x=1 results in division by
zero. There is no horizontal asymptote since the degree of the numerator is neither
equal to or less than the degree of the denominator. And, in this case, since the degree
of the numerator is one more than the denominator, we know that there will be a slant
asymptote. To find this slant asymptote, we long divide x2 by (x-1) and using the
quotient as our slant asymptote.
From MathMotivation.com – Permission Granted For Use and Modification For Non-Profit Purposes
Long division results in a slant asymptote of y = x + 1.
Complete the graph by “leveling out the graph” to the slant asymptotes and having the
graph “take off” straight up or down near the vertical asymptote to get
From MathMotivation.com – Permission Granted For Use and Modification For Non-Profit Purposes
Here is the actual graph, plotted using a computer program:
For rational functions with horizontal asymptote y=0, our numerator has degree less than
the denominator and thus increases at a lower rate than the denominator. And as the x-
values get larger and larger, the ratio gets closer and closer to zero.
For horizontal asymptotes that are equal to the ratio of leading coefficients, the
numerator and denominator have the same degree and thus grow at the same rate. And,
if we divide out the numerator by the denominator, we get a constant plus a fraction that
approaches zero as x gets large.
For example, for y = (3x2 –1)/ (2x2 + 1), long division results in
The same rational applies to slant asymptotes. The remainder, upon long dividing,
approaches zero for large values of x, leaving the linear function.
From MathMotivation.com – Permission Granted For Use and Modification For Non-Profit Purposes