Lesson 6.2 · Rational Functions
Graphing rational functions
A rational function is a fraction whose numerator and denominator are both polynomials, like . Its graph can break apart, shoot off toward infinity, and level off near a line it never quite reaches. Once you know where to look for these features, you can sketch any rational function quickly.
Definition
Rational function
A rational function has the form , where and are polynomials and is not the zero polynomial. Its domain is every real number except the zeros of .
Transformations of
The simplest rational function is the parent function , the inverse variation graph from the last lesson. It has a vertical asymptote at and a horizontal asymptote at .
The transformations you know from other parent functions work here too. In
the graph of is stretched by (and reflected if ), shifted right units and up units. The asymptotes move with it: the vertical asymptote becomes and the horizontal asymptote becomes .
Worked example: A shifted hyperbola
Graph .
Here , and . Draw the asymptotes first: and . Then plot a couple of points on each side of :
| 1 | 2 | 4 | 5 | |
|---|---|---|---|---|
| 0 | 3 | 2 |
Since , the branches sit in the upper right and lower left of the new "center" .
Features of a general rational function
Most rational functions aren't written in shifted form. To graph , factor both polynomials and then find these features.
Holes. If a factor appears in both the numerator and the denominator, it cancels. The graph looks just like the simplified function but with a single missing point (a hole) at . To find the -coordinate of the hole, plug into the simplified function.
Vertical asymptotes. After canceling, any remaining zero of the denominator gives a vertical asymptote. Near it, the function values grow without bound in the positive or negative direction.
-intercepts. After canceling, the zeros of the numerator are the -intercepts.
-intercept. Evaluate , if is in the domain.
Horizontal asymptote. This describes what happens as gets very large or very negative. It depends only on the leading terms, so compare the degree of the numerator () with the degree of the denominator ().
Horizontal asymptote rules
For :
| degrees | horizontal asymptote |
|---|---|
| , the ratio of leading coefficients | |
| none |
Why? For huge , the leading terms swamp everything else. If , the fraction behaves like . If , the denominator grows faster and the fraction shrinks toward . If , the numerator wins and the function keeps growing. (When , polynomial division shows the graph approaches a slanted line, called a slant asymptote.)
Worked example: Finding every feature
Graph .
- Nothing cancels, since shares no factor with .
- Vertical asymptote: , so .
- -intercept: , so .
- -intercept: .
- Horizontal asymptote: both degrees are , so .
Worked example: A hole and an asymptote
Find the holes, asymptotes and intercepts of .
Factor:
The factor cancels, so there is a hole at . The simplified function is , and , so the hole is at .
- Vertical asymptote: (the remaining zero of the denominator).
- -intercept: .
- -intercept: .
- Horizontal asymptote: degrees are equal (both ) with leading coefficients and , so .
Common mistake
Don't find vertical asymptotes from the unfactored denominator. In above, makes the denominator zero, but it is a hole, not an asymptote, because the factor cancels. Always factor and cancel first, then read off the asymptotes.
Worked example: Comparing degrees
Find the horizontal asymptote, if any.
- : degree over degree , so .
- : equal degrees, so .
- : degree over degree , so there is no horizontal asymptote. (Dividing gives , so the graph follows the slant line .)
Tip
A graph can cross its horizontal asymptote in the middle; the asymptote only describes the far left and far right. For instance, passes through , right on its asymptote . A graph can never cross a vertical asymptote, because the function is undefined there.
Practice
For , the vertical asymptote is . What is ?
Enter a number. Fractions like 3/4 and sqrt(2) are OK.
For , the horizontal asymptote is . What is ?
Enter a number. Fractions like 3/4 and sqrt(2) are OK.
The graph of has horizontal asymptote . What is ?
Enter a number. Fractions like 3/4 and sqrt(2) are OK.
What is the -intercept of ? Give the -value.
Enter a number. Fractions like 3/4 and sqrt(2) are OK.
Find all vertical asymptotes of . Enter the -values.
Separate answers with commas, e.g. 2, -5
What is the horizontal asymptote of ?
The graph of is a line with one hole. Give the coordinates of the hole as an ordered pair.
Enter a point like (2, -3)
Which statement about is true?