4.1 Introduction to Rational Functions
If we add, subtract or multiply polynomial functions according to the function arithmetic rules defined in Section, we will produce another polynomial function. If, on the other hand, we divide two polynomial functions, the result may not be a polynomial. In this chapter we study rational functions - functions which are ratios of polynomials.
As we recall from Section, we have domain issues anytime the denominator of a fraction is zero. In the example below, we review this concept as well as some of the arithmetic of rational expressions.
A few remarks about Example Example 1 are in order. Note that the expressions for , and work out to be the same. However, only two of these functions are actually equal. Recall that functions are ultimately sets of ordered pairs,2 so for two functions to be equal, they need, among other things, to have the same domain. Since and and have the same domain, they are equal functions. Even though the formula is the same as , the domain of is different than the domain of , and thus they are different functions.
We now turn our attention to the graphs of rational functions. Consider the function from Example Example 1. Using a graphing calculator, we obtain

Two behaviors of the graph are worthy of further discussion. First, note that the graph appears to `break' at . We know from our last example that is not in the domain of which means is undefined. When we make a table of values to study the behavior of near we see that we can get `near' from two directions. We can choose values a little less than , for example , , , and so on. These values are said to `approach from the left.' Similarly, the values , , , etc., are said to `approach from the right.' If we make two tables, we find that the numerical results confirm what we see graphically.
As the values approach from the left, the function values become larger and larger positive numbers.3 We express this symbolically by stating as , . Similarly, using analogous notation, we conclude from the table that as , . For this type of unbounded behavior, we say the graph of has a vertical asymptote of . Roughly speaking, this means that near , the graph looks very much like the vertical line .
The other feature worthy of note about the graph of is that it seems to `level off' on the left and right hand sides of the screen. This is a statement about the end behavior of the function. As we discussed in Section, the end behavior of a function is its behavior as attains larger4 and larger negative values without bound, , and as becomes large without bound, . Making tables of values, we find
From the tables, we see that as , and as , . Here the `' means `from above' and the `' means `from below'. In this case, we say the graph of has a horizontal asymptote of . This means that the end behavior of resembles the horizontal line , which explains the `leveling off' behavior we see in the calculator's graph. We formalize the concepts of vertical and horizontal asymptotes in the following definitions.
Note that in Definition, we write (not or ) because we are unconcerned from which direction the values approach the value , just as long as they do so.5
In our discussion following Example Example 1, we determined that, despite the fact that the formula for reduced to the same formula as , the functions and are different, since is in the domain of , but is not in the domain of . If we graph using a graphing calculator, we are surprised to find that the graph looks identical to the graph of . There is a vertical asymptote at , but near , everything seem fine. Tables of values provide numerical evidence which supports the graphical observation.
We see that as , and as , . In other words, the points on the graph of are approaching , but since is not in the domain of , it would be inaccurate to fill in a point at . As we've done in past sections when something like this occurs,6 we put an open circle (also called a hole in this case7) at . Below is a detailed graph of , with the vertical and horizontal asymptotes as dashed lines.
Neither nor are in the domain of , yet the behavior of the graph of is drastically different near these -values. The reason for this lies in the second to last step when we simplified the formula for in Example Example 1, where we had . The reason is not in the domain of is because the factor appears in the denominator of ; similarly, is not in the domain of because of the factor in the denominator of . The major difference between these two factors is that cancels with a factor in the numerator whereas does not. Loosely speaking, the trouble caused by in the denominator is canceled away while the factor remains to cause mischief. This is why the graph of has a vertical asymptote at but only a hole at . These observations are generalized and summarized in the theorem below, whose proof is found in Calculus.
In English, Theorem says that if is not in the domain of but, when we simplify , it no longer makes the denominator , then we have a hole at . Otherwise, the line is a vertical asymptote of the graph of .
Our next example gives us a physical interpretation of a vertical asymptote. This type of model arises from a family of equations cheerily named `doomsday' equations.10
Like Theorem, Theorem is proved using Calculus. Nevertheless, we can understand the idea behind it using our example . If we interpret as a division problem, , we find that the quotient is with a remainder of . Using what we know about polynomial division, specifically Theorem, we get . Dividing both sides by gives . (You may remember this as the formula for in Example Example 1.) As becomes unbounded in either direction, the quantity gets closer and closer to so that the values of become closer and closer12 to . In symbols, as , , and we have the result.13 Notice that the graph gets close to the same value as or . This means that the graph can have only one horizontal asymptote if it is going to have one at all. Thus we were justified in using `the' in the previous theorem.
Alternatively, we can use what we know about end behavior of polynomials to help us understand this theorem. From Theorem, we know the end behavior of a polynomial is determined by its leading term. Applying this to the numerator and denominator of , we get that as , . This last approach is useful in Calculus, and, indeed, is made rigorous there. (Keep this in mind for the remainder of this paragraph.) Applying this reasoning to the general case, suppose where is the leading coefficient of and is the leading coefficient of . As , , where and are the degrees of and , respectively. If the degree of and the degree of are the same, then so that , which means is the horizontal asymptote in this case. If the degree of is less than the degree of , then , so is a positive number, and hence, as . If the degree of is greater than the degree of , then , and hence is a positive number and , which becomes unbounded as . As we said before, if a rational function has a horizontal asymptote, then it will have only one. (This is not true for other types of functions we shall see in later chapters.)
Example 4
List the horizontal asymptotes, if any, of the graphs of the following functions. Verify your answers using a graphing calculator, and describe the behavior of the graph near them using proper notation.
- The numerator of is , which has degree . The denominator of is , which has degree . Applying Theorem, is the horizontal asymptote. Sure enough, we see from the graph that as , and as , .
- The numerator of , , has degree , but the degree of the denominator, , has degree . By Theorem, there is no horizontal asymptote. From the graph, we see that the graph of doesn't appear to level off to a constant value, so there is no horizontal asymptote.14
The degrees of the numerator and denominator of are both three, so Theorem tells us is the horizontal asymptote. We see from the calculator's graph that as , , and as , .

Figure 4.7 
Figure 4.8 
Figure 4.9 The graph of
The graph of
The graph of
Our next example of the section gives us a real-world application of a horizontal asymptote.15
Example 5
The number of students at local college who have had the flu months after the semester begins can be modeled by the formula for .
- Find and interpret .
- How long will it take until students will have had the flu?
- Determine the behavior of as . Interpret this result graphically and within the context of the problem.
- . This means that at the beginning of the semester, students have had the flu.
- We set to get and solve. Isolating the fraction gives . Clearing denominators gives . Finally, we get . This means it will take months, or about 13 days, for students to have had the flu.
To determine the behavior of as , we can use a table.
The table suggests that as , . (More specifically, .) This means as time goes by, only a total of 500 students will have ever had the flu.
We close this section with a discussion of the third (and final!) kind of asymptote which can be associated with the graphs of rational functions. Let us return to the function in Example Example 4. Performing long division,16 we get . Since the term as , it stands to reason that as becomes unbounded, the function values . Geometrically, this means that the graph of should resemble the line as . We see this play out both numerically and graphically below.


and
and
as
as
The way we symbolize the relationship between the end behavior of with that of the line is to write `as , .' In this case, we say the line is a slant asymptote 17 to the graph of . Informally, the graph of a rational function has a slant asymptote if, as or as , the graph resembles a non-horizontal, or `slanted' line. Formally, we define a slant asymptote as follows.
Definition
The line where is called a slant asymptote of the graph of a function if as or as , .
A few remarks are in order. First, note that the stipulation in Definition is what makes the `slant' asymptote `slanted' as opposed to the case when in which case we'd have a horizontal asymptote. Secondly, while we have motivated what me mean intuitively by the notation `,' like so many ideas in this section, the formal definition requires Calculus. Another way to express this sentiment, however, is to rephrase `' as `.' In other words, the graph of has the slant asymptote if and only if the graph of has a horizontal asymptote .
Our next task is to determine the conditions under which the graph of a rational function has a slant asymptote, and if it does, how to find it. In the case of , the degree of the numerator is , which is exactly one more than the degree if its denominator which is . This results in a linear quotient polynomial, and it is this quotient polynomial which is the slant asymptote. Generalizing this situation gives us the following theorem.18
Theorem
Determination of Slant Asymptotes: Suppose is a rational function and , where the degree of is exactly one more than the degree of . Then the graph of has the slant asymptote where is the quotient obtained by dividing by .
In the same way that Theorem gives us an easy way to see if the graph of a rational function has a horizontal asymptote by comparing the degrees of the numerator and denominator, Theorem gives us an easy way to check for slant asymptotes. Unlike Theorem, which gives us a quick way to find the horizontal asymptotes (if any exist), Theorem gives us no such `short-cut'. If a slant asymptote exists, we have no recourse but to use long division to find it.19
Example 6
Find the slant asymptotes of the graphs of the following functions if they exist. Verify your answers using a graphing calculator and describe the behavior of the graph near them using proper notation.
- The degree of the numerator is and the degree of the denominator is , so Theorem guarantees us a slant asymptote. To find it, we divide into and get a quotient of , so our slant asymptote is . We confirm this graphically, and we see that as , the graph of approaches the asymptote from below, and as , the graph of approaches the asymptote from above.20
As with the previous example, the degree of the numerator is and the degree of the denominator is , so Theorem applies. In this case,
so we have that the slant asymptote is identical to the graph of except at (where the latter has a `hole' at .) The calculator supports this claim.21
For , the degree of the numerator is and the degree of the denominator is so again, we are guaranteed the existence of a slant asymptote. The long division gives a quotient of just , so our slant asymptote is the line . The calculator confirms this, and we find that as , the graph of approaches the asymptote from below, and as , the graph of approaches the asymptote from above.

Figure 4.12 
Figure 4.13 
Figure 4.14 The graph of
The graph of
The graph of
The reader may be a bit disappointed with the authors at this point owing to the fact that in Examples Example 2, Example 4, and Example 6, we used the calculator to determine function behavior near asymptotes. We rectify that in the next section where we, in excruciating detail, demonstrate the usefulness of `number sense' to reveal this behavior analytically.
Exercises
In Exercises -, for the given rational function :
- Find the domain of .
- Identify any vertical asymptotes of the graph of .
- Identify any holes in the graph.
- Find the horizontal asymptote, if it exists.
- Find the slant asymptote, if it exists.
- Graph the function using a graphing utility and describe the behavior near the asymptotes.
The cost in dollars to remove % of the invasive species of Ippizuti fish from Sasquatch Pond is given by
- Find and interpret and .
- What does the vertical asymptote at mean within the context of the problem?
- What percentage of the Ippizuti fish can you remove for $40000?
In Exercise in Section, the population of Sasquatch in Portage County was modeled by the function
where represents the year 1803. Find the horizontal asymptote of the graph of and explain what it means.
Recall from Example that the cost (in dollars) to make dOpi media players is , .
- Find a formula for the average cost . Recall: .
- Find and interpret and .
- How many dOpis need to be produced so that the average cost per dOpi is ?
- Interpret the behavior of as . (HINT: You may want to find the fixed cost to help in your interpretation.)
- Interpret the behavior of as . (HINT: You may want to find the variable cost (defined in Example in Section ) to help in your interpretation.)
In Exercise in Section, we fit a few polynomial models to the following electric circuit data. (The circuit was built with a variable resistor. For each of the following resistance values (measured in kilo-ohms, ), the corresponding power to the load (measured in milliwatts, ) is given in the table below.)22
Table 4.4 Resistance: () 1.012 2.199 3.275 4.676 6.805 9.975 Power: () 1.063 1.496 1.610 1.613 1.505 1.314 Using some fundamental laws of circuit analysis mixed with a healthy dose of algebra, we can derive the actual formula relating power to resistance. For this circuit, it is , where is the resistance value, .
- Graph the data along with the function on your calculator.
- Use your calculator to approximate the maximum power that can be delivered to the load. What is the corresponding resistance value?
- Find and interpret the end behavior of as .
- In his now famous 1919 dissertation The Learning Curve Equation, Louis Leon Thurstone presents a rational function which models the number of words a person can type in four minutes as a function of the number of pages of practice one has completed. (This paper, which is now in the public domain and can be found here , is from a bygone era when students at business schools took typing classes on manual typewriters.) Using his original notation and original language, we have where is the predicted practice limit in terms of speed units, is pages written, is writing speed in terms of words in four minutes, is equivalent previous practice in terms of pages and is the rate of learning. In Figure 5 of the paper, he graphs a scatter plot and the curve . Discuss this equation with your classmates. How would you update the notation? Explain what the horizontal asymptote of the graph means. You should take some time to look at the original paper. Skip over the computations you don't understand yet and try to get a sense of the time and place in which the study was conducted.
Answers
- Domain: Vertical asymptote: As As No holes in the graph Horizontal asymptote: As As
- Domain: Vertical asymptote: As As No holes in the graph Horizontal asymptote: As As
- Domain: Vertical asymptotes: As As As As No holes in the graph Horizontal asymptote: As As
- Domain: No vertical asymptotes No holes in the graph Horizontal asymptote: As As
- Domain: Vertical asymptote: As As No holes in the graph Horizontal asymptote: 23As As
- Domain: Vertical asymptote: As As Hole at Slant asymptote: As , the graph is below As , the graph is above
- Domain: No vertical asymptotes No holes in the graph Horizontal asymptote: As As
- Domain: Vertical asymptotes: As As As As No holes in the graph Horizontal asymptote: As As
- Domain: Vertical asymptote: As As Hole at Horizontal asymptote: As As
- Domain: Vertical asymptotes: As As As As No holes in the graph Horizontal asymptote: As As
- Domain: Vertical asymptote: As As Hole at Slant asymptote: As , the graph is below As , the graph is above
- Domain: No vertical asymptotes No holes in the graph Slant asymptote: As , the graph is above As , the graph is below
- Domain: Vertical asymptote: As As No holes in the graph Slant asymptote: As , the graph is above As , the graph is below
- Domain: Vertical asymptotes: , As As As As No holes in the graph Slant asymptote: As , the graph is above As , the graph is below
- Domain: Vertical asymptotes: As As No holes in the graph Slant asymptote: As , the graph is above As , the graph is below
- Domain: Vertical asymptote: As As No holes in the graph No horizontal or slant asymptote As , As ,
- Domain: No vertical asymptotes Holes in the graph at and Horizontal asymptote As ,
- Domain: No vertical asymptotes No holes in the graph Slant asymptote: everywhere.
- means it costs $590 to remove 25% of the fish and and means it would cost $33630 to remove 95% of the fish from the pond.
- The vertical asymptote at means that as we try to remove 100% of the fish from the pond, the cost increases without bound; i.e., it's impossible to remove all of the fish.
- For $40000 you could remove about 95.76% of the fish.
- The horizontal asymptote of the graph of is and it means that the model predicts the population of Sasquatch in Portage County will never exceed 150.
- , .
- and . When just dOpi is produced, the cost per dOpi is , but when dOpis are produced, the cost per dOpi is .
- when . So to get the cost per dOpi to , dOpis need to be produced.
- As , . This means that as fewer and fewer dOpis are produced, the cost per dOpi becomes unbounded. In this situation, there is a fixed cost of (), we are trying to spread that over fewer and fewer dOpis.
- As , . This means that as more and more dOpis are produced, the cost per dOpi approaches , but is always a little more than . Since is the variable cost per dOpi (), it means that no matter how many dOpis are produced, the average cost per dOpi will always be a bit higher than the variable cost to produce a dOpi. As before, we can attribute this to the fixed cost, which factors into the average cost per dOpi no matter how many dOpis are produced.

Figure 4.15 - The maximum power is approximately which corresponds to .
- As which means as the resistance increases without bound, the power diminishes to zero.
- According to this definition, all polynomial functions are also rational functions. (Take ). ↩
- You should review Sections and if this statement caught you off guard. ↩
- We would need Calculus to confirm this analytically. ↩
- Here, the word `larger' means larger in absolute value. ↩
- As we shall see in the next section, the graphs of rational functions may, in fact, cross their horizontal asymptotes. If this happens, however, it does so only a finite number of times, and so for each choice of and , will approach from either below (in the case ) or above (in the case .) We leave generic in our definition, however, to allow this concept to apply to less tame specimens in the Precalculus zoo, such as Exercise in Section . ↩
- For instance, graphing piecewise defined functions in Section . ↩
- In Calculus, we will see how these `holes' can be `plugged' when embarking on a more advanced study of continuity. ↩
- Or, `How to tell your asymptote from a hole in the graph.' ↩
- In other words, is in lowest terms. ↩
- These functions arise in Differential Equations. The unfortunate name will make sense shortly. ↩
- The use of the definite article will be justified momentarily. ↩
- As seen in the tables immediately preceding Definition . ↩
- More specifically, as , , and as , . ↩
- Sit tight! We'll revisit this function and its end behavior shortly. ↩
- Though the population below is more accurately modeled with the functions in Chapter , we approximate it (using Calculus, of course!) using a rational function. ↩
- See the remarks following Theorem . ↩
- Also called an `oblique' asymptote in some, ostensibly higher class (and more expensive), texts. ↩
- Once again, this theorem is brought to you courtesy of Theorem and Calculus. ↩
- That's OK, though. In the next section, we'll use long division to analyze end behavior and it's worth the effort! ↩
- Note that we are purposefully avoiding notation like `as , . While it is possible to define these notions formally with Calculus, it is not standard to do so. Besides, with the introduction of the symbol `‽' in the next section, the authors feel we are in enough trouble already. ↩
- While the word `asymptote' has the connotation of `approaching but not equaling,' Definitions and invite the same kind of pathologies we saw with Definitions in Section . ↩
- The authors wish to thank Don Anthan and Ken White of Lakeland Community College for devising this problem and generating the accompanying data set. ↩
- This is hard to see on the calculator, but trust me, the graph is below the -axis to the left of . ↩
Adapted from Precalculus, 3rd corrected edition, by Carl Stitz and Jeff Zeager (stitz-zeager.com), licensed under CC BY-NC-SA 3.0. Changes were made: reformatted as an accessible XYZ web edition. License: CC-BY-NC-SA-3.0.