All calculators

Education

Asymptote Calculator

Last updated: May 31, 2026

Written by Blake Boege

An asymptote calculator analyzes rational functions to identify the lines that the graph of the function approaches. It determines vertical asymptotes by finding real roots of the denominator where the numerator is non-zero, classifies common roots as holes (removable discontinuities), finds horizontal asymptotes by comparing numerator and denominator degrees, and determines oblique (slant) asymptotes via polynomial long division.

Analyze rational functions to find vertical asymptotes, horizontal asymptotes, slant (oblique) asymptotes, and removable discontinuities (holes).

Quick Answer

Find the vertical, horizontal, and oblique (slant) asymptotes of any rational function by analyzing the degrees and roots of the numerator and denominator.

Use a division slash (/) to separate numerator and denominator. Supports expressions in x.
Asymptotes Analysis

Primary Asymptotes

x = 1, -1

VA: x = 1, x = -1 | HA: y = 3 | OA: None

Parsed Numerator P(x)3x² -2x
Parsed Denominator Q(x)x² -1
Numerator Degree (n)2
Denominator Degree (m)2

1. Vertical Asymptotes & Holes:

Vertical asymptotes occur at roots of the denominator where the numerator is non-zero: x = 1, x = -1.

2. Horizontal Asymptotes:

Since degree of numerator = degree of denominator (n = m), the horizontal asymptote is the ratio of leading coefficients: y = 3 / 1 = 3.

3. Oblique (Slant) Asymptote:

A slant asymptote only exists when the degree of the numerator is exactly one greater than the degree of the denominator (n = m + 1).

Was this helpful?

How it works

Understanding Rational Function Asymptotes

Asymptotes describe the end behavior of a function—either as it grows extremely large (infinitely far to the left or right) or as it approaches a point of division-by-zero.

1. Vertical Asymptotes

Vertical asymptotes are vertical lines of the form x = k where the function goes to positive or negative infinity. To find them:

  1. Set the denominator polynomial Q(x) to zero and solve for x.
  2. For each root, plug it into the numerator polynomial P(x).
  3. If P(root) ≠ 0, then x = root is a vertical asymptote.
  4. If P(root) = 0, the factor cancels out, and it represents a removable discontinuity (hole) at that point.

2. Horizontal Asymptotes

Horizontal asymptotes are horizontal lines of the form y = L representing the behavior of the graph as x approaches ±infinity. They are determined by the degrees of P(x) and Q(x):

  • Degree of Numerator < Degree of Denominator: The asymptote is y = 0.
  • Degree of Numerator = Degree of Denominator: The asymptote is y = a/b (where a and b are the leading coefficients).
  • Degree of Numerator > Degree of Denominator: There is no horizontal asymptote.

3. Oblique (Slant) Asymptotes

A slant asymptote is a diagonal line of the form y = ax + b. It exists only when the degree of the numerator is exactly one greater than the degree of the denominator.

To find the equation, divide the numerator by the denominator using polynomial long division. The quotient is ax + b, and the slant asymptote is y = ax + b (we ignore the remaining fractional term since it approaches zero as x approaches infinity).

Related Calculators

More tools from Education

Frequently asked questions

An asymptote is a line that a curve approaches arbitrarily closely as it heads towards infinity. There are three types of asymptotes: vertical (where the function grows without bound), horizontal (which shows the limit of the function as x approaches positive or negative infinity), and oblique or slant (a linear path the function approaches).

For a rational function in simplest form (common factors cancelled), vertical asymptotes occur at the x-values that make the denominator equal to zero. If a value makes both the numerator and denominator zero, it is a hole rather than a vertical asymptote.

Compare the degree of the numerator (n) and the degree of the denominator (m): 1. If n < m, the horizontal asymptote is y = 0. 2. If n = m, the horizontal asymptote is y = a/b, where a and b are the leading coefficients. 3. If n > m, there is no horizontal asymptote.

No, a rational function cannot have both a horizontal asymptote and an oblique (slant) asymptote. A horizontal asymptote exists when the degrees are equal or the denominator's degree is larger. A slant asymptote only exists when the numerator's degree is exactly one greater than the denominator's degree.

If the degree of the numerator is exactly one greater than the degree of the denominator, perform polynomial long division of the numerator by the denominator. The linear quotient (discarding the remainder) is the equation of the slant asymptote: y = ax + b.

Both are types of discontinuities. A hole (removable discontinuity) occurs when a value of x makes both the numerator and denominator zero, meaning the factor (x − r) can be simplified out of the expression. A vertical asymptote occurs when the denominator is zero but the numerator is non-zero, causing the function's value to approach infinity.