- Find the and intercepts of a rational function
- Find the horizontal, vertical, and oblique asymptotes
- Graph a rational function using and intercepts and asymptotes
Standard Form of Rational Functions and the Domain of Rational Functions
Any function that has the form
where and are polynomials and , is called a rational function. The domain of any rational function includes all real numbers that do not make the denominator zero.
What is the domain of ?
Notice that the only input that can make the denominator equal to zero is . Thus we say that the domain of is all real numbers except . When looking at the graph of (Figure 13), you will notice that as approaches 0 from the left, decreases. But when approaches 0 from the right, increases. Because of this behavior, the axis and axis play the role of horizontal and vertical asymptotes, respectively.
Graph Simple Rational Functions
Graph the function .
Solution: We know that the domain of is all real numbers excluding . The vertical line is called a vertical asymptote. For and for . Plotting a few sample points should indicate the shape of .
What is the domain of ?
The domain is all real numbers except at the points that cause the denominator to equal zero, namely, at and at . We will discuss this function in more detail in the next section. Below is a sketch of the graph of .
Vertical and Horizontal Asymptotes
An asymptote is a line or curve to which a function's graph draws closer without touching it. Functions cannot cross a vertical asymptote, and they usually approach horizontal asymptotes in their end behavior (i.e. as ). In the example above, the graph of gets closer and closer to both axes, as becomes large or small , but it does not touch the axes. This behavior is typical for most rational functions.
There are three types of asymptotes: horizontal, vertical and oblique. We will analyze each one below.
Looking at the graph of from the previous example, you will notice that it has two vertical asymptotes (the vertical dotted lines), one is at and the other is at .
We can find vertical asymptotes by simply equating the denominator to zero and then solving for . In other words, if
Then setting , will give the vertical asymptote(s).
gives the vertical asymptotes at and .
The horizontal asymptote a line parallel to the axis which the function approaches but does not reach as and . To find the horizontal asymptote, we follow the procedure below:
How to Find the Horizontal Asymptote
- Put the rational function in a standard form. That is, expand the numerator and denominator if they are written in a factored form.
- Remove all terms except the terms that contain the largest exponents of in the numerator and the denominator.
- There are three possibilities:
- If the degree of the numerator is smaller than the degree of the denominator, then the horizontal asymptote crosses the axis at . That is, it is the axis itself.
- If the degree of the denominator and the numerator are the same, then the horizontal asymptote equals to the ratio of the leading coefficients.
- If the degree of the numerator is larger than the degree of the denominator, then there is no horizontal asymptote.
Find the vertical and horizontal asymptotes of
To find the vertical asymptote(s), set the denominator to zero and then solve for .
Thus the graph has a vertical asymptote at .
To find the horizontal asymptote, we follow the procedure above. Both the numerator and denominator are already written in standard form. Next, remove all terms except the largest exponents of that are found in the numerator and the denominator):
Notice that the degree of the numerator and the denominator are the same and therefore the horizontal asymptote is the ratio of the coefficients,
So the horizontal asymptote is at .
Find the asymptotes of
Remove all terms except the leading terms,
Notice that the degree of the numerator is less than the degree of the denominator. Therefore, the horizontal asymptote is at , i.e., the axis plays the role of the horizontal asymptote. To find the vertical asymptote, set the denominator equal to zero and solve:
Another example, consider the rational function
Removing all terms except the leading terms of the numerator and denominator,
Here, the degree of the numerator is larger than the degree of the denominator. Thus there is no horizontal asymptote.
Once you have found the asymptotes, it is relatively easy to graph rational functions. We will illustrate how to graph rational functions with two examples.
Note that the domain of is the set of all real numbers except 1, that is . This tells us that the line is a vertical asymptote of . To graph , there are four important items that you need to find: The intercept, the intercept, the vertical asymptote and the horizontal asymptote.
The intercept can be found by finding .
Thus the intercept is at point (0, -1).
The intercept can be found by setting .
Note that a fraction if and only if , so we can set the numerator of solve
Notice that we could have just set the numerator to zero and found the intercept. In general, set to find the intercept for any rational function. BUT, you must make sure that the value you find is still defined for the function. If both and for some value of then the graph has a hole in it.
Next, the vertical asymptote. Set :
And the horizontal asymptote:
Therefore, the vertical asymptote is at and the horizontal asymptote is at . From this information, we can make the graph shown in Figure 15.
The domain of is the set of all real numbers except 0 and , that is . The intercept is
this tells us that there is no intercept. The intercept can be found by setting the numerator to zero,
Notice that this equation has no real solution and therefore, there is no intercept either.
The vertical asymptote can be found by setting the denominator to zero,
The two solutions are and , and these are the vertical asymptotes.
Finally, the horizontal asymptote is found by analyzing the leading terms:
That is, is a horizontal asymptote. Again after substituting in some points, we can sketch the graph of below.
Thus far, we have restricted our discussion of rational functions to those where the degree of the numerator is less than or equal to the degree of the denominator. As our final analysis of graphing rational functions, we will consider the case when the degree of the numerator is greater than the degree of the denominator by one.
First observe that the vertical asymptote is at . Notice that the degree of the numerator is greater than the degree of the denominator. We can change the form of the rational expression by long division. You may recall from algebra that polynomials can be divided (just like real numbers), and any rational functions can be written as
Doing the long division here,
So in this case, the function can be rewritten as
The above equation tells us that as , the graph of gets closer and closer to the line . Why? Suppose we let be a big number, i.e. . Then the remainder of this rational function becomes and we are left with . We call this line an oblique asymptote and it is indicated by the dashed line in Figure 17.
The vertical asymptote here is . Factoring the numerator and get
Notice that the intercepts are at and . By polynomial division, we get
which indicates an oblique asymptote at . Plotting few additional points, we finally obtain the graph shown below.
Graph Rational Functions Using Transformation
Just like polynomials, rational functions can be graphed using transformations. The main point to remember for graphing rational functions by transformations is that some transformations change the asymptotes while others do not.
is a vertical shift which moves each horizontal asymptote up units (or down if ).
is a horizontal shift which moves each vertical asymptote right units (or left if ).
is a vertical stretch which moves horizontal asymptotes by a multiple of (so this moves the horizontal asymptote closer to the axis if .
is a horizontal compression which moves the vertical asymptotes closer to axis by a factor of .
is a reflection about the axis. All vertical asymptotes are also reflected.
is a reflection about the axis. All horizontal asymptotes are also reflected.
A rational function is shown in the figure below. Use the graph of to sketch a graph of: a) , b) , c) .
a) The horizontal asymptote moves down by three units
b) The function is reflected about the axis so the horizontal asymptote is also reflected:
c) . First graph , and then shift that graph three units to the right to get . The new vertical asymptote is .
For each of the rational functions below, determine the domain, the asymptotes, the and intercepts and then sketch the graph.
- In physics, Boyle's law states that the product of the pressure and the volume of a container is always a constant. That is, Suppose the constant is equal to (Pascals. square meters). So where the pressure is measured in Pascals and the volume is in meters-squared. Sketch the graph of the equation for .