Asymptotes and the Long-Run Behavior of Functions
Find vertical, horizontal and slant asymptotes with limits, tell them apart from holes, and read what a function does far away.
Key takeaways
- A vertical line x = a is an asymptote when at least one one-sided limit at a is ∞ or −∞.
- A horizontal line y = L is an asymptote when f(x) → L as x → ∞ or as x → −∞, and the two ends can differ.
- A slant line y = mx + b is an asymptote when the difference f(x) − (mx + b) approaches 0 at one end.
- A zero in a denominator does not always give an asymptote, because a canceling factor may leave only a hole.
- A graph may cross a horizontal or slant asymptote, even infinitely many times.
An asymptote is a line (or sometimes a curve) that a graph approaches more and more closely as you travel far along the graph. A vertical asymptote marks a place where the function grows without bound. A horizontal or slant asymptote describes what the function looks like when the input becomes very large.
Each kind is defined by a limit. Once you know which limit to compute, you can locate the asymptotes of most functions without plotting a single point.
Vertical asymptotes
The line x = a is a vertical asymptote of f if f(x) tends to ∞ or −∞ as x approaches a from at least one side.
The function 1/(x − 2) is the standard example. To the right of 2 it shoots upward, and to the left it plunges downward. The function ln x (natural logarithm) has a vertical asymptote at x = 0, approached only from the right, where it tends to −∞. The tangent function has infinitely many, at π/2 plus every whole multiple of π.
For a quotient, the candidates are the zeros of the denominator. Then you must test each. If the numerator is not zero there, the quotient does blow up. To find the direction on each side, track the signs.
For (x + 1)/(x − 3), the numerator is near 4 close to 3. The denominator is positive just to the right and negative just to the left. So the graph rises without bound on the right side and falls without bound on the left.
Holes that look like asymptotes
Consider the following quotient:
f(x) = (x − 2) / [(x − 2)(x + 1)]
= 1 / (x + 1) for x ≠ 2 The original denominator is zero at x = 2 and at x = −1. At −1 the numerator is −3, and there is a vertical asymptote. At 2 the common factor cancels, and f(x) approaches 1/3. The graph simply has a missing point at (2, 1/3).
Always factor and cancel before you declare asymptotes. Cancellation does not always remove the asymptote, though: (x − 2)/(x − 2)² reduces to 1/(x − 2), which still blows up at 2. These two cases are the removable and infinite types described in kinds of discontinuity.
Horizontal asymptotes
The line y = L is a horizontal asymptote if f(x) → L as x → ∞ or as x → −∞. Finding them means computing two limits at infinity.
For ratios of polynomials, compare degrees (highest powers):
| Case | Example | Horizontal asymptote |
|---|---|---|
| Numerator degree lower | 5x/(x² + 1) | y = 0 |
| Degrees equal | (4x² − 1)/(2x² + x) | y = 2 |
| Numerator degree higher | x³/(x² + 1) | none |
Other functions can have two different horizontal asymptotes. The inverse tangent levels off at π/2 to the right and −π/2 to the left. The function x/√(x² + 1) approaches 1 to the right and −1 to the left. The exponential eˣ has y = 0 on the left only, and grows without bound on the right.
So a function can have at most two horizontal asymptotes, one per direction, while it may have any number of vertical ones.
Crossing is allowed
A common belief says a graph can never touch its asymptote. That is false for horizontal and slant asymptotes. The definition concerns the far end of the graph and says nothing about the middle.
The function sin x / x has asymptote y = 0 and crosses it at every nonzero multiple of π. The crossings continue forever, with shrinking swings.
The rational function x/(x² + 1) crosses y = 0 at the origin and then returns to it from above on the right.
Vertical asymptotes are different. A rational function is undefined where it has one, so its graph never meets that line. A function defined in pieces could assign a value at x = a, which puts a single point of the graph on the line.
Slant asymptotes by division
When the degree of the numerator is exactly one more than that of the denominator, polynomial division reveals a line.
(2x² + 3x + 1)/(x − 1) = 2x + 5 + 6/(x − 1)
check: (2x + 5)(x − 1) + 6 = 2x² + 3x + 1 The last term approaches 0 as x grows in either direction. So the graph approaches the line y = 2x + 5. For large positive x the term 6/(x − 1) is positive, and the graph sits slightly above the line. For large negative x it sits slightly below.
At x = 101, the function equals 207 + 0.06, and the line gives 207. The same function also has a vertical asymptote at x = 1.
If the numerator's degree exceeds the denominator's by two or more, division leaves a polynomial of higher degree. For (x³ + 1)/x = x² + 1/x, the graph approaches the parabola y = x², sometimes called a curvilinear asymptote.
Slant asymptotes by limits
For expressions that are not rational, compute the slope and then the intercept:
m = lim f(x)/x
b = lim [f(x) − mx] both toward the same end Apply this to f(x) = √(x² + 2x) as x → ∞. First, f(x)/x = √(1 + 2/x) → 1, so m = 1. Next, multiply by the conjugate: √(x² + 2x) − x = 2x/(√(x² + 2x) + x), which approaches 1. The asymptote is y = x + 1.
Toward −∞, the root behaves like −x, and the same method gives y = −x − 1. If either limit fails to exist or m is infinite, there is no line asymptote in that direction. Note that ln x has m = 0 but no finite b, so it grows forever without approaching any line.
The hyperbola x²/a² − y²/b² = 1 has the two slant asymptotes y = (b/a)x and y = −(b/a)x, for positive a and b.
A complete example
Find every asymptote of f(x) = (x² − 4)/(x² − x − 2).
x² − 4 = (x − 2)(x + 2)
x² − x − 2 = (x − 2)(x + 1)
f(x) = (x + 2)/(x + 1) for x ≠ 2 and x ≠ −1 Hole. The factor x − 2 cancels. As x → 2 the simplified form gives 4/3, so there is a missing point at (2, 4/3).
Vertical asymptote. At x = −1 the simplified numerator equals 1, which is not zero. Just right of −1, the denominator is small and positive, so f tends to ∞. Just left of −1, it tends to −∞.
Horizontal asymptote. The degrees are equal with leading coefficients 1 and 1, so f(x) → 1 at both ends.
Position relative to the line. Write f(x) = 1 + 1/(x + 1). For large positive x the extra term is positive, so the graph lies above y = 1. For large negative x it lies below. Since 1/(x + 1) is never zero, this graph never crosses its horizontal asymptote.
Intercepts. The graph meets the vertical axis at f(0) = 2 and the horizontal axis at x = −2.
With one hole, two lines, two intercepts and the side information, you can sketch the curve confidently. It has two branches, one on each side of x = −1, and both fall as you move from left to right.
Rewriting a quotient as "constant plus remainder over denominator" is often the most informative step. It shows the asymptote, the direction of approach and any crossings at once.
Long-run behavior beyond lines
For large inputs, a polynomial is governed by its leading term. In 2x³ − 50x² + 7, the cubic term eventually dominates, even though the squared term is larger at x = 10.
Exponentials eventually overtake every polynomial, and logarithms eventually fall behind every positive power. These rankings let you predict the far behavior of combinations at a glance. In (x² + eˣ)/(3eˣ + x), only the exponentials matter to the right, giving 1/3.
Asymptotes in models
Suppose making n items costs a fixed 5,000 dollars plus 12 dollars per item. The average cost per item is (5,000 + 12n)/n = 12 + 5,000/n. The horizontal asymptote y = 12 says that the average approaches the per-item cost but stays above it.
Cooling, charging a capacitor and crowd-limited population growth are often modeled with curves that level off. The asymptote is then the long-run value predicted by the model, which is only as reliable as the model's assumptions.
Mistakes that cost marks
- Announcing an asymptote at every zero denominator. Cancel first, then test.
- Checking only one end. Roots, exponentials and inverse tangents often behave differently to the left and to the right.
- Writing an asymptote as a number. An asymptote is a line, so write y = 2 or x = −1.
- Trusting a graphing screen. Software may join the two sides of a vertical asymptote with a steep false segment, or may hide a hole entirely.
- Confusing the leading coefficient rule with other functions. Comparing degrees applies to ratios of polynomials. For anything else, compute the limit.
When a plot and a limit disagree, examine the limit again and then zoom the plot. The algebra describes the whole function, while the screen shows a finite window of sampled points.
A routine for sketching
- Find the domain.
- Cancel common factors and mark any holes.
- Test the remaining denominator zeros and boundary points for vertical asymptotes, with signs on each side.
- Compute the limits at both ends for horizontal or slant behavior.
- Check where the graph meets the asymptote.
These steps give the skeleton of a graph. Derivatives then supply the rises, falls and bends, as described in curve sketching with calculus.