Home/Guides/Horizontal and slant asymptotes
Precalculus

Horizontal and Slant Asymptote Rules (With Examples)

One comparison — the degrees of the top and bottom — tells you which asymptote a rational function has. Here are the rules, why they work, and the one case that needs long division.

Short answer

Compare the degree of the numerator (n) with the degree of the denominator (m). If n < m, the horizontal asymptote is y = 0. If n = m, it's y = (ratio of leading coefficients). If n = m + 1, there's no horizontal asymptote but a slant asymptote, found by polynomial long division. If n > m + 1, there's neither.

The three degree rules

For a rational function, let n be the degree of the numerator and m the degree of the denominator.

DegreesEnd behaviourAsymptote
n < mBottom grows fasterHorizontal: y = 0
n = mLeading terms balanceHorizontal: y = a/b (leading coefficients)
n = m + 1Top wins by one degreeSlant: y = quotient from long division
n > m + 1Top wins by moreNone (curves off like a polynomial)

Why it works: as x grows huge, only the highest-power term on top and bottom matters. Dividing every term by the highest power in the denominator — the method from limits at infinity — makes everything else vanish.

Horizontal asymptote examples

Top degree smaller: y = 0

f(x) = 3x + 1x² + 4  →  y = 0

Degree 1 over degree 2. The bottom outgrows the top, so f(x) shrinks toward zero.

Equal degrees: ratio of leading coefficients

f(x) = 4x² − 12x² + x  →  y = 42 = 2

Only the leading coefficients matter — the −1 and +x are irrelevant for large x.

Slant (oblique) asymptotes

When the top's degree is exactly one more than the bottom's, divide. The quotient (ignoring the remainder) is the slant asymptote.

Example 1

f(x) = x² + 3x + 1x + 1

Long division gives x² + 3x + 1 = (x + 1)(x + 2) − 1, so

f(x) = x + 2 − 1x + 1  →  slant asymptote y = x + 2

The remainder term −1/(x+1) shrinks to zero for large x, so the graph hugs the line y = x + 2. You can check the division by multiplying back: (x+1)(x+2) = x² + 3x + 2, and subtracting 1 recovers the numerator.

Example 2

f(x) = 2x³ − x + 3x² − 1 = 2x + x + 3x² − 1  →  y = 2x

Degree 3 over degree 2, so one degree apart. Note this function also has vertical asymptotes at x = ±1 — a graph can have both kinds at once. (For finding those, see vertical asymptotes vs holes.)

Can a graph cross a horizontal asymptote?

Yes — this surprises a lot of students. A horizontal asymptote only describes behaviour as x → ±∞; the graph is free to cross it in the middle.

f(x) = 2x² + xx² + 1  has horizontal asymptote y = 2

Set f(x) = 2: then 2x² + x = 2x² + 2, so x = 2. The graph crosses its asymptote at (2, 2) and then approaches it again from the other side. To find any crossing, set the function equal to the asymptote's value and solve. What a graph can never cross is a vertical asymptote.

Beyond rational functions

Exponential functions can have a horizontal asymptote on one side only. y = ex approaches y = 0 as x → −∞, but grows without bound as x → +∞. Always check both directions separately when the function isn't rational.

Common mistakes

Practice problems

Find the horizontal or slant asymptote. Tap to reveal.

  1. f(x) = (5x² − 3)/(2x² + x)
    Show answer

    Horizontal asymptote y = 5/2

  2. f(x) = (x + 4)/(x³ − 1)
    Show answer

    Horizontal asymptote y = 0

  3. f(x) = (x² − 1)/(x + 3)
    Show answer

    Slant asymptote y = x − 3 (remainder 8)

  4. f(x) = (3x³ + 2)/x²
    Show answer

    Slant asymptote y = 3x

  5. f(x) = (x4 + 1)/(x + 1)
    Show answer

    Neither — the degrees differ by 3

  6. Where does f(x) = (x² + 2x)/(x² + 1) cross its horizontal asymptote?
    Show answer

    Asymptote y = 1; it crosses at x = 1/2

Questions students ask

Can a function have both a horizontal and a slant asymptote?

Not a rational function — the degree comparison gives one or the other. Some non-rational functions can behave differently as x → +∞ and x → −∞, though.

Is a slant asymptote the same as an oblique asymptote?

Yes, they're two names for the same thing: a non-horizontal straight line the graph approaches as x grows.

Do I need long division, or can I use synthetic division?

Synthetic division works when the denominator is linear, like x + 1. For a quadratic denominator, use long division.

Want to check your asymptotes?

Scan the function with Aheadia for the full working, from degree comparison to long division.

Download free on iOS