Calcoid

Asymptote Calculator

Find vertical, horizontal, and slant asymptotes of a rational function P(x) / Q(x). Enter coefficients up to degree 4 and see holes, domain, and degrees.

R(x) = P(x) / Q(x)

Enter coefficients of the numerator P(x) and denominator Q(x), highest power first. Both polynomials are limited to degree 4.

Degree 2

x^2 - 4

Degree 1

x - 2

Asymptote summary

Vertical asymptotes
None
Horizontal asymptote
None
Oblique asymptote
y = x + 2
Holes
x = 2

Numerator degree

2

Denominator degree

1

Domain restrictions

x != 2

Function Asymptote Examples

Numerator CoefficientsDenominator CoefficientsVertical AsymptoteHorizontal or Slant Asymptote
11, 0x = 0y = 0
2, 11, -3x = 3y = 2
1, 0, 01, -1x = 1y = x + 1
2, -71, -4x = 4y = 2
1, 11, 0, -4x = -2, 2y = 0

Frequently Asked Questions about the Asymptote Calculator

What is an asymptote of a rational function?
An asymptote is a line that describes limiting behavior as x approaches a value or grows without bound. A graph may cross a horizontal or slant asymptote, so an asymptote is not defined by never touching the curve. Rational functions can have vertical, horizontal, or polynomial asymptotes depending on their factors and degrees.
How do I find vertical asymptotes from coefficients?
Factor P(x) and Q(x), then cancel common factors with matching multiplicity. A denominator factor that remains creates a vertical asymptote at its real root. A factor that cancels completely creates a hole instead. Simply checking whether both polynomials equal zero is not enough when a root has different multiplicities.
When does a rational function have a horizontal asymptote?
Compare the degrees of P and Q. If deg(P) is less than deg(Q), the horizontal asymptote is y = 0. If the degrees are equal, the asymptote is y equal to the ratio of leading coefficients, for example (2x + 5) / (3x - 1) has y = 2 / 3. If deg(P) is greater than deg(Q), there is no horizontal asymptote, though there may be a slant one when the gap is exactly 1.
What is a slant or oblique asymptote?
A slant asymptote is a non-horizontal line y = mx + b that the curve approaches at infinity. It exists only when deg(P) = deg(Q) + 1. To find it, divide P(x) by Q(x) with polynomial long division; the quotient is the slant line and the remainder dies off as x grows. For x^2 / (x - 1), the quotient is x + 1, so the slant asymptote is y = x + 1.
What is the difference between a hole and a vertical asymptote?
Both start with a denominator root. Cancel common numerator and denominator factors one copy at a time. If the denominator factor cancels completely, the original function has a hole. If any copy remains in the denominator, the root is a vertical asymptote. The calculator compares root multiplicities before classifying each point.

Related Calculators

More calculators in "Math"

See all 202 calculators in "Math"