Rational functions for AP Precalculus: asymptotes, holes, and sign charts
Updated
A rational function is one polynomial divided by another. Almost every question about one comes down to two moves: factor the top and bottom, and compare their degrees.
This guide shows how to tell a vertical asymptote from a hole, how to read end behavior from the degrees, where the zeros are, and how to solve a rational inequality with a sign chart. Each part has a worked example with new numbers.
Vertical asymptotes or holes: factor first
A rational function is undefined wherever . At each of those inputs, the graph has either a vertical asymptote or a hole. You can't tell which until you factor both the numerator and the denominator.
- Vertical asymptote: a factor is still in the denominator after you cancel. Near , the outputs grow without bound in size.
- Hole: every copy of in the denominator cancels with a copy on top. The graph is an ordinary curve with one point missing.
- Height of a hole: cancel the common factors, then plug into what's left. If a copy of is left on top, the hole sits on the -axis.
- Zero: a factor of the numerator that is left after cancelling. The graph crosses or touches the -axis there.
To find which way the graph goes on each side of an asymptote, pick an input just to one side and check the sign of each factor. Limit notation records the result: means the outputs increase without bound as approaches from the right.
Sorting out every feature
Factor both parts: . The denominator is at and .
The factor appears once on top and once on the bottom, so it cancels. That gives a hole at . The simplified form is , which equals at . The hole is at .
The factor stays in the denominator, so is a vertical asymptote. The factor stays on top, so is a zero.
Just right of , is about and is a tiny positive number, so . Just left of , is a tiny negative number, so .
Answer: Hole at , vertical asymptote with and , and a zero at
End behavior: compare the degrees
As or , a rational function acts like the ratio of the leading terms of its numerator and denominator. Compare the degrees.
- Top degree less than bottom: the horizontal asymptote is .
- Degrees equal: the horizontal asymptote is , the ratio of the leading coefficients.
- Top degree one more than bottom: there's a slant asymptote. Divide to find it.
- Top degree two or more higher: no horizontal or slant asymptote. The ends act like a polynomial, so acts like and goes to at both ends.
In the first example, both degrees are and both leading coefficients are , so the horizontal asymptote is . That means and . A graph can cross a horizontal asymptote at some finite . It can never cross a vertical one.
A slant asymptote by long division
Start with . Subtract to leave .
Next, . Subtract to leave .
So . Check by multiplying back: .
As grows in size, approaches , so the graph approaches the line . For large positive , is negative, so the graph is just below the line.
Answer: The slant asymptote is , and for large positive the graph is just below it
Which one levels off at 3
- A.
- B.
- C.
- D.
In the first choice the degrees are equal, and the leading coefficients are and , so the asymptote is . The second has a lower top degree, so its asymptote is . The third has a higher top degree, so it has no horizontal asymptote. The fourth has equal degrees but leading coefficients and , so its asymptote is .
Answer: A
Solving a rational inequality with a sign chart
A rational function can only change sign at a zero or at an input where it is undefined. Between those inputs, its sign stays the same. That makes a sign chart the fastest way to solve an inequality like .
- 1Get on one side, then factor the numerator and denominator completely.
- 2Mark every zero of the numerator and of the denominator on a number line. Note any factor that cancels, because that input is still excluded.
- 3Test one input in each interval, or count the negative factors there. An even count means positive and an odd count means negative.
- 4Choose the intervals that match the inequality. Include the zeros for or . Never include an input where the function is undefined.
Three factors, four intervals
Factor: . The key inputs are and , where the expression is , and , where it is undefined.
- At : , negative.
- At : , positive.
- At : , negative.
- At : , positive.
The expression is positive on and . Add the zeros and , since the inequality allows . Leave out .
Answer:
A sign chart with a hole in it
Factor: . For this equals , so the sign only changes at and .
is negative between and , and at . So the solution would be , except the original expression is undefined at . Remove it.
Answer:
Checking your work in Desmos
On the calculator parts of the exam, Desmos is built into Bluebook. It's a fast check on everything above, as long as you know its one blind spot.
- Holes don't show. Desmos draws as an unbroken curve through . Find holes from the factors, then evaluate the function very close to them. In the first example, , which confirms the height .
- Zeros: click where the graph crosses the -axis to see the coordinates of each zero.
- End behavior: zoom out, or evaluate at a large input. Here , close to the asymptote .
- Inequalities: graph and read off where it is above or below the -axis. Then go back to the factors to decide which endpoints to include.
For more calculator moves, see how to use Desmos on the AP Precalculus exam. Rational functions can also appear on free response, where you explain your reasoning in words.
Keep going
Practice on exam-style questions
Intersect Prep has 120 multiple-choice questions for Unit 1, with a full solution for each one. Create a free account to try a full lesson with the calculator. One payment of $29 unlocks the course for 3 months, or $39 for 6 months.
Questions
- How do I tell a hole from a vertical asymptote?
- Factor the numerator and denominator and cancel common factors. If the factor is gone from the denominator, there's a hole. If it's still there, there's a vertical asymptote.
- Can a graph cross its horizontal asymptote?
- Yes. A horizontal asymptote only describes the ends of the graph, so the graph can cross it at a finite input. A graph never crosses a vertical asymptote, because the function is undefined there.
- When does a rational function have a slant asymptote?
- When the numerator's degree is exactly one more than the denominator's. Divide, and the quotient is the line the graph approaches.
- Why can't I multiply both sides of a rational inequality by the denominator?
- The denominator is positive for some inputs and negative for others, and multiplying by a negative flips the inequality. A sign chart handles both cases at once.