End Behavior, Horizontal and Slant Asymptotes
A rational function's end behavior is fixed by comparing the degree of the numerator to the degree of the denominator — that single comparison tells you whether the graph settles onto a horizontal asymptote, a slant asymptote, or neither.
By the end you'll be able to compare numerator and denominator degrees to find a rational function's horizontal or slant asymptote, and know which rule applies when.
Predict: with deg(numerator) < deg(denominator) selected below, what do you think the horizontal asymptote is? Set a to any value on the slider and check whether the dashed asymptote line ever moves.
Pick a degree comparison, then drag the leading-coefficient sliders. The dashed asymptote updates to match the rule for that comparison. Hover the curve for exact readouts.
f(x) = a/(x²+1); horizontal asymptote y = 0
Far from the origin, a rational function's shape is decided entirely by comparing the degree of its numerator to the degree of its denominator — no graphing needed.
Zoom way out on any rational function's graph and the two arms flatten onto a straight line (or, rarely, a curve) — that line is the end-behavior asymptote you saw tracking the toggle above. Unlike a vertical asymptote, the graph is allowed to cross this line near the middle — the asymptote only constrains what happens far out.
For f(x) = P(x)/Q(x) with deg(P) = n and deg(Q) = m, compare n to m:
- n < m: horizontal asymptote y = 0 — the denominator outgrows the numerator, no matter the leading coefficients.
- n = m: horizontal asymptote y = a/b, the ratio of the leading coefficients — both grow at the same rate, so the quotient levels off.
- n = m + 1: a slant asymptote y = mx + b, found by polynomial long division — the quotient (dropping the remainder) is the asymptote's equation.
- n > m + 1: no straight-line asymptote; the graph follows the polynomial quotient's own end behavior instead.
A cost-per-unit function like average cost = (fixed cost + variable cost·x)/x has numerator and denominator degree 1 — equal degrees — so as production x grows huge, average cost levels off at the variable cost per unit, the ratio of leading coefficients, no matter how large the fixed cost was.
For f(x) = (3x² + 1)/(x² − 4): both degrees are 2, so compare leading coefficients: y = 3/1 = 3. As x → ±∞, f(x) → 3.
For g(x) = (x² + 1)/(x − 1): numerator degree (2) is one more than denominator degree (1), so divide: x² + 1 = (x − 1)(x + 1) + 2, so g(x) = (x + 1) + 2/(x − 1). The remainder 2/(x−1) → 0, leaving slant asymptote y = x + 1.
For j(x) = (2x² − 5)/(x − 2): the numerator's degree is 2 and the denominator's is 1 — one more — so expect a slant asymptote. Divide: 2x² − 5 = (x − 2)(2x + 4) + 3, so j(x) = (2x + 4) + 3/(x − 2). As x → ±∞ the remainder term vanishes, leaving slant asymptote y = ____
Reveal the answer
y = 2x + 4 — the quotient, with the remainder dropped. Select the slant case above, set a = 2, and check the dashed line's slope against this.
More info — what happens when n > m + 1?
When the numerator's degree is more than one greater than the denominator's, long division still works, but the quotient is itself a polynomial of degree 2 or higher instead of a line — so there's no horizontal or slant asymptote to name. Instead, the graph hugs that quotient polynomial's own shape far out, and the polynomial end-behavior fact (degree parity and leading-coefficient sign) tells you which way it opens. See the Purplemath links in Dive deeper for worked long-division examples that stretch beyond the linear cases.
Check your understanding
For \(f(x) = \dfrac{2x^3 - x}{5x^3 + 1}\), what is the horizontal asymptote?
For \(g(x) = \dfrac{x^2 - 4}{x + 1}\), find the slant asymptote.
For \(h(x) = \dfrac{x + 5}{x^2 + 1}\), what is the horizontal asymptote?
For \(f(x) = \dfrac{2x^4 + x}{x^2 + 1}\), the numerator's degree (4) is more than one greater than the denominator's degree (2), so there's no horizontal or slant asymptote. Which fact tells you the shape the graph follows instead, and what is that shape?
Recap
- Compare deg(numerator) = n to deg(denominator) = m to find the end-behavior asymptote.
- n < m: horizontal asymptote y = 0, regardless of the leading coefficients.
- n = m: horizontal asymptote y = a/b, the ratio of the leading coefficients.
- n = m + 1: slant asymptote y = (quotient from polynomial long division), with the remainder dropped.
- n > m + 1: no straight-line asymptote — the graph follows the quotient polynomial's own end behavior instead.
- A graph may cross its horizontal or slant asymptote near the middle; the asymptote only governs the far-out behavior.
Dive deeper
- Purplemath — Horizontal Asymptotes Find horizontal asymptotes by comparing numerator and denominator degrees.
- Purplemath — Slant (Oblique) Asymptotes Find a slant asymptote by polynomial long division.
Sources
- End Behavior, Horizontal and Slant Asymptotes