Knowledge Hub · Article 407 · Maths

Horizontal asymptote rules: how to find the horizontal, vertical and oblique (slant) asymptotes of a rational function from the degrees of the numerator and denominator (the three cases), why the rules work, the holes that are not asymptotes, the asymptotes of exponential and logarithmic functions, ten worked examples and a printable sheet

0min read0students taught0countries
Article 407 · Maths

An asymptote is a line a graph gets closer and closer to without reaching it (or, for a horizontal one, without staying away from it). For a rational function, a polynomial over a polynomial, three rules decide the horizontal asymptote from nothing but the degrees of the top and bottom, and one factoring step finds the vertical ones. The rules are below with the reason for each, which is what turns a memorised list into marks on the harder questions.

Download the asymptote rules sheet (PDF) (the rules with the reasons and the worked examples on page 1, the practice set with answers on page 2; two pages, free).

The horizontal asymptote rules

For f(x) = p(x)/q(x), let n be the degree of the numerator p and m the degree of the denominator q, with leading coefficients a and b.

Case Horizontal asymptote Example
n < m (bottom-heavy) y = 0 (3x + 1)/(x² − 4) → y = 0
n = m (equal degrees) y = a/b (2x² − x)/(5x² + 3) → y = 2/5
n > m (top-heavy) none (x³ + 1)/(x − 2) → none
n = m + 1 exactly no horizontal, but an oblique asymptote y = mx + c from dividing (x² + 1)/(x − 1) → y = x + 1

Why. For very large x, only the highest power in each polynomial matters: p(x) behaves like ax^n and q(x) like bx^m, so f(x) behaves like (a/b)·x^(n − m). If n < m the power is negative and the value shrinks to 0. If n = m the power is zero and the value settles at a/b. If n > m the power is positive and the value grows without limit, so there is no horizontal line it approaches; when the difference is exactly 1 it grows like a straight line, the oblique asymptote.

A graph can cross its horizontal asymptote in the middle; the asymptote only describes the far left and far right. (x)/(x² + 1) has y = 0 and crosses it at the origin.

How to find vertical asymptotes

  1. Factor the numerator and the denominator fully.
  2. Cancel any factor that appears in both. A cancelled factor (x − c) marks a hole at x = c, a single missing point, not an asymptote.
  3. Set what remains of the denominator equal to zero. Each solution x = c is a vertical asymptote.
  4. Check the side behaviour if the question asks: plug in a value just left and just right of c to see whether the graph goes up or down on each side.

Example: f(x) = (x² − 1)/(x² − 3x + 2) = (x − 1)(x + 1)/((x − 1)(x − 2)). Cancel (x − 1): hole at x = 1 (at height (1 + 1)/(1 − 2) = −2). Vertical asymptote at x = 2. Degrees equal, so the horizontal asymptote is y = 1/1 = 1.

Oblique (slant) asymptotes

When the top's degree is exactly one more than the bottom's, divide. For (x² + 1)/(x − 1): long division gives x + 1 with remainder 2, so f(x) = x + 1 + 2/(x − 1). As x grows the remainder term vanishes and the graph hugs y = x + 1. If the degrees differ by 2 or more, the graph follows a curve (a parabola for a difference of 2), which is not called an asymptote in school courses.

Asymptotes of other functions

Function Vertical asymptote Horizontal asymptote
y = a·b^x + c (exponential) none y = c
y = log_b(x − h) + k x = h none
y = tan x x = π/2 + nπ none
y = 1/x x = 0 y = 0
y = (ax + b)/(cx + d) x = −d/c y = a/c

The last row is the Algebra 2 workhorse: a linear over a linear always has one vertical asymptote where the bottom is zero and a horizontal one at the ratio of the x coefficients.

Ten worked examples

  1. (5x + 2)/(x² + 1): n = 1 < m = 2, so y = 0; denominator never zero, so no vertical asymptote.
  2. (3x² + x)/(x² − 9): equal degrees, y = 3; x² − 9 = (x − 3)(x + 3), so x = 3 and x = −3.
  3. (x³ − 1)/(x + 2): n = 3 > m = 1 by two, so no horizontal or oblique asymptote; vertical at x = −2.
  4. (2x² + 3x)/(x − 1): degrees 2 and 1, divide: 2x + 5 remainder 5, so oblique y = 2x + 5; vertical x = 1.
  5. (x − 2)/(x² − 4) = (x − 2)/((x − 2)(x + 2)) = 1/(x + 2): hole at x = 2, vertical x = −2, horizontal y = 0.
  6. (4x³)/(2x³ + x): equal degrees, y = 4/2 = 2; bottom x(2x² + 1) = 0 only at x = 0.
  7. y = 3·2^x − 4: horizontal y = −4, no vertical.
  8. y = ln(x + 5): vertical x = −5, no horizontal.
  9. (x² + 2x + 1)/(x + 1) = (x + 1)²/(x + 1) = x + 1: a hole at x = −1, no asymptotes at all; the graph is the line y = x + 1 with one point missing.
  10. (−x² + 3)/(2x² + 1): equal degrees, y = −1/2; denominator never zero, no vertical asymptote.

The mistakes that lose marks

  • Setting the denominator to zero before cancelling: a cancelled factor is a hole, not an asymptote (example 5).
  • Reading "no horizontal asymptote" as "no asymptote": a top-heavy function still has its vertical ones, and may have an oblique one.
  • Using the constant terms instead of the leading coefficients in the equal-degree case: (2x² − x)/(5x² + 3) has y = 2/5, not y = −1/3.
  • Claiming a graph cannot cross a horizontal asymptote. It can; it cannot cross a vertical one.
  • Forgetting that y = a·b^x + c has its asymptote at y = c, not y = 0, once the curve is shifted.

Where to get help

If the method is not sticking from a page, a 1-on-1 online class fixes it faster than another worksheet: one tutor with a master's degree, one child, on a shared whiteboard, in your time zone (7 am before school, after 4 pm and weekend mornings, US time; after-school slots for the UK, Canada, Australia and the UAE), for about US$10 to $13 an hour. The first 30-minute class is free: how 1-on-1 online tutoring works.

Questions parents ask

1What are the horizontal asymptote rules?
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 is y = a/b, the ratio of the leading coefficients. If n > m, there is no horizontal asymptote; when n = m + 1 there is an oblique (slant) asymptote found by polynomial division.
2How do you find a vertical asymptote?
Factor the top and bottom, cancel any common factors, then set the remaining denominator equal to zero. Each solution x = c is a vertical asymptote. A factor that cancelled gives a hole in the graph at that x, not an asymptote.
3Can a graph cross a horizontal asymptote?
Yes. A horizontal asymptote describes what happens as x goes to plus or minus infinity; the graph may cross it any number of times in the middle. A graph never crosses a vertical asymptote, because the function is undefined there.
4What is the horizontal asymptote of an exponential function?
y = c for y = a·b^x + c: the horizontal shift of the curve. For y = 2^x it is y = 0, for y = 3·2^x + 5 it is y = 5. Exponential functions have no vertical asymptote; logarithmic functions have a vertical one at the edge of their domain and no horizontal one.
5What is an oblique asymptote?
A slanted line y = mx + c that the graph approaches when the numerator's degree is exactly one more than the denominator's. Divide the top by the bottom; the quotient (ignoring the remainder) is the asymptote.

See how we teach this, 1-on-1 online →

written by

Shobha

Founder and lead tutor, Science with Shobha

Teaching maths, science and English to children online since 2018. 500+ students, 20+ tutors, families in nine countries.

About the team →

Keep reading

Related articles

🧮
No. 346 · Maths

Exponential growth and decay: the formula y = a(1 + r)ᵗ for growth and y = a(1 − r)ᵗ for decay, the growth and decay factor b = 1 ± r, how to read a, r and b from an equation or a table, doubling time and half-life (y = a(2)^(t/T) and y = a(½)^(t/T)), compound interest, the continuous form y = aeᵏᵗ, eight worked examples, the graphs, the mistakes, and a printable formula sheet with practice

Exponential growth and decay describe quantities that change by the same percentage each period: y = a(1 + r)ᵗ for growth and y = a(1 − r)ᵗ for decay, with a the starting

8 min readRead →
🧮
No. 344 · Maths

Graphing linear equations: the four methods (a table of values, slope-intercept y = mx + b, the two intercepts from Ax + By = C, and point-slope), worked examples of each, horizontal and vertical lines, how to read slope and intercept from a graph, parallel and perpendicular lines, the mistakes, and a printable sheet with blank grids and practice

Every linear equation in two variables graphs as a straight line, and two points fix it. The four ways to find those points: a table of values (pick three x, compute y),

7 min readRead →
🧮
No. 340 · Maths

Square root function: the graph of y = √x and its table, domain and range, why it is half a sideways parabola (the inverse of y = x²), the transformations y = a√(x − h) + k with examples, how to sketch any square root function in four steps, solving square root equations, the mistakes, and a printable sheet with practice

The square root function f(x) = √x starts at the origin and curves up and to the right, slowly: through (0, 0), (1, 1), (4, 2), (9, 3), (16, 4). Its domain is x ≥ 0 and i

8 min readRead →

← All articles in the Knowledge Hub