George Li's guide to slant asymptotes
A slant asymptote exists for a rational function when the top has degree exactly one more than the bottom. Divide the numerator by the denominator with long division. The quotient, a line, is the slant asymptote, and the remainder drops out because remainder over denominator shrinks to zero as x grows large.
For students and parents planning test prep or coursework: one hour with George Li, one to one by video, is $180, $200 or $160, by subject. You leave with a written plan within one working day.
Book your first sessionThe top is quadratic and the bottom is linear, so a slant asymptote exists. Find it, then confirm it with a limit.
- Divide 2x^2 + 3x - 5 by x - 2. The first term of the quotient is 2x, because 2x times x gives 2x^2.
- Multiply back: 2x(x - 2) = 2x^2 - 4x. Subtract from the numerator to get 7x - 5.
- The next term of the quotient is 7, because 7 times x gives 7x. Multiply back: 7(x - 2) = 7x - 14. Subtract to get a remainder of 9.
- Write the result as f(x) = 2x + 7 + 9/(x - 2).
- Check with a limit: f(x) - (2x + 7) = 9/(x - 2), and that goes to 0 as x goes to positive or negative infinity.
Answer the line y = 2x + 7 is the slant asymptote.
Original problem by George Li Tutoring; method as in OpenStax, Precalculus 2e and Calculus Volume 1
When does a rational function have a slant asymptote?
It has one exactly when the numerator's degree is one more than the denominator's. The degree test sorts every rational function into one of three cases, and you can run it before doing any algebra.
| Degree of numerator compared with denominator | End behavior | Example |
|---|---|---|
| Smaller | Horizontal asymptote y = 0 | 3x / (x^2 + 1) |
| Equal | Horizontal asymptote at the ratio of leading coefficients | (4x^2 + 1) / (2x^2 - 3) gives y = 2 |
| One more | Slant asymptote | (x^2 + 1) / (x - 1) |
| Two or more | No line; the graph follows a curve | x^3 / (x - 1) |
The last row is the one students miss. For x^3 / (x - 1), long division gives x^2 + x + 1 plus a small leftover, so the graph follows a parabola, not a line. A line only appears when the quotient has degree 1.
A rational function never has both a horizontal and a slant asymptote. Both describe where the graph goes as x gets large, and the quotient can only be one thing.
How do you find it by division?
Use long division and read off the quotient. Keep the quotient, throw away the remainder, and write y equals the quotient. If the denominator is not x minus a number, the same steps work, and you divide the leading terms each time.
Take a second function, g(x) = (x^3 + 1) / (x^2 - 1). The degrees are 3 and 2, so the test says a slant asymptote exists. Factor first: x^3 + 1 equals (x + 1)(x^2 - x + 1), and x^2 - 1 equals (x - 1)(x + 1). The factor x + 1 cancels, leaving (x^2 - x + 1) / (x - 1) for every x except -1.
Divide x^2 - x + 1 by x - 1. The quotient is x and the remainder is 1, so the asymptote is y = x. Cancelling first also exposes a missing point on the graph at x = -1, where the original function is undefined but the simplified one gives -3/2. A hole and an asymptote are different features, and the cancellation shows you both.
When the denominator has a leading coefficient other than 1, divide carefully. For (4x^2 - 5) / (2x + 1), the first quotient term is 2x, the second is -1, and the remainder is -4, so the asymptote is y = 2x - 1.
How do limits at infinity confirm it?
A line y = mx + b serves as the slant asymptote when the gap between the function and the line goes to zero as x goes to infinity. You can find m and b with two limits instead of long division, which is useful when the function is not a ratio of polynomials.
First compute m as the limit of f(x) / x. Then compute b as the limit of f(x) - mx. For f(x) = (2x^2 + 3x - 5) / (x - 2):
- f(x) / x equals (2x^2 + 3x - 5) / (x^2 - 2x), and its limit is 2, so m = 2.
- f(x) - 2x equals (7x - 5) / (x - 2), and its limit is 7, so b = 7.
Both routes give y = 2x + 7. Check the left side too: the same limits hold as x goes to negative infinity, so one line serves both ends. Some functions, such as ones containing an absolute value or a square root, have a different line at each end, which is why a limit check at both ends is worth doing.
Which side of the line is the graph on?
The remainder tells you. Since f(x) equals the quotient plus remainder over denominator, the gap between the graph and the line is exactly that fraction. Its sign shows whether the graph is above or below the line.
Take f(x) = (x^2 + 4x + 7) / (x + 2). Long division gives x + 2 with a remainder of 3, so f(x) = x + 2 + 3/(x + 2) and the line is y = x + 2. The extra term 3/(x + 2) is positive for x greater than -2 and negative for x less than -2. So the graph sits above the line on the right of the vertical asymptote and below it on the left.
Check with numbers. At x = 100, f is 10407/102, about 102.0294, and the line gives 102, so the gap is about 0.0294, which matches 3/102. At x = -100 the gap is about -0.0306, which matches 3/(-98). The gap shrinks as |x| grows, and its sign flips on either side of the vertical line x = -2. The numerator is 3 there and not 0, which is why x = -2 is a vertical asymptote and not a hole.
What is the shortcut when the denominator is x minus a number?
Synthetic division gives the quotient and remainder faster than long division. For (x^2 - 3x + 5) / (x - 1), write the coefficients 1, -3 and 5, and use c = 1. Bring down 1. Multiply by 1 and add to -3 to get -2. Multiply by 1 and add to 5 to get 3. The bottom row, 1, -2 and 3, says the quotient is x - 2 and the remainder is 3. So the line is y = x - 2, and the check is (x - 2)(x - 1) + 3 = x^2 - 3x + 5.
You can also read the slope without any division. It is the leading coefficient of the numerator divided by the leading coefficient of the denominator. For (4x^2 - 5) / (2x + 1) the slope is 4 / 2 = 2, matching the earlier answer. The intercept still needs the division, or the limit of f(x) - mx.
How do you sketch the graph with a slant asymptote?
Work in this order and the picture comes out right.
- Check the degree test. The numerator must be exactly one degree higher than the denominator.
- Cancel any common factor, and mark a hole where it cancels.
- Find the vertical asymptotes from the zeros of the denominator that remain.
- Divide to get the line, and draw it dashed.
- Find the intercepts: set x to 0 for the y-intercept and the numerator to 0 for the x-intercepts.
- Use the sign of the remainder to decide the side of the line on each side of each vertical asymptote.
- Plot a few points and join them without crossing the vertical asymptotes.
The graph may cross the slant line somewhere in the middle, and nothing forbids that. What it cannot do is stay a fixed distance from the line when |x| is large.
What mistakes are common?
| Mistake | Why it is wrong | Fix |
|---|---|---|
| Calling a degree difference of two a slant asymptote | The quotient has degree 2, so the graph follows a curve | Run the degree test first |
| Keeping the remainder in the line | Only the quotient is the line, since the remainder goes to 0 | Write y equals the quotient alone |
| Forgetting to cancel first | A common factor makes a hole and can change the quotient | Factor and cancel before dividing |
| Claiming both a horizontal and a slant asymptote | A rational function has only one end behavior | Use the degrees to pick exactly one |
| Dropping the sign check | The graph's side of the line is lost | Look at the sign of remainder over denominator |
Original practice
Try these five on your own, then check against the answers below. Each is an original problem by George Li Tutoring.
- Find the slant asymptote of (3x^2 - x + 4) / (x + 1).
- Decide whether (x^2 + 5) / (x^2 - 4) has a slant asymptote. If not, name the asymptote it does have.
- Find the slant asymptote of (4x^2 - 5) / (2x + 1) using the two limits from the last section.
- Find the slant asymptote of (x^2 - 3x + 5) / (x - 1) with synthetic division, and say which side of the line the graph is on to the right of x = 1. Answer: y = x - 2. The remainder term is 3/(x - 1), which is positive for x greater than 1, so the graph is above the line there.
- Does (x^2 - 1) / (x + 1) have a slant asymptote? Answer: No. It simplifies to x - 1 with a hole at x = -1, so the graph is the line y = x - 1 with one point missing, and there is no asymptote.
Answers: 1) y = 3x - 4, because the quotient is 3x - 4 with remainder 8. 2) No, the degrees are equal, so the horizontal asymptote is y = 1. 3) m is the limit of (4x^2 - 5) / (2x^2 + x), which is 2, and b is the limit of the difference, which is -1, so y = 2x - 1.
If you are working these for a course, the method is the point. We teach the steps and check your reasoning in a session. We do not complete graded work for you.
For the next idea in this strand, see how to find an inverse function. Calculus students can see how the course is taught on the college calculus page, and students aiming at the AP® calculus exam can look at high school and exam prep tutoring. To turn a calculus unit into a weekly schedule, use the study planner.
Common questions
Can a graph cross its slant asymptote?
Yes. A graph can cross a slant asymptote at finite values of x. What it cannot do is stay away from the line as x gets large, because the gap goes to zero.
Is a slant asymptote the same as an oblique asymptote?
Yes. The two names describe the same thing: a non-horizontal line that the graph approaches as x goes to positive or negative infinity.
What happens when the numerator's degree is two higher than the denominator's?
Then there is no slant asymptote. Long division gives a quotient of degree 2 or more, so the graph follows a curve, not a line.
How do I tell which side of the slant asymptote the graph is on?
Look at the sign of the remainder divided by the denominator. Where it is positive the graph is above the line, and where it is negative the graph is below it.
Does the remainder matter?
Not for the asymptote. The remainder divided by the denominator goes to zero at both ends, so only the quotient decides the line.
Sources
- OpenStax, Precalculus 2e, read
- OpenStax, Calculus Volume 1, read