calculator.onl
Categories50

Rational asymptote and hole calculator

Find real poles, retained domain holes and end behavior for P(x)/Q(x), with numerator degree ≤4 and denominator degree ≤2.

A worked example

Keep the denominator x − 1 and change the sign in the numerator. Follow the hole or pole at x = 1. Real vertical asymptotes · 0 → 1 / Removable holes · 1 → 0.

Real vertical asymptotes1Removable holes1End behavior asymptotey = 1Reduced rational function(x + 1)/(x)
Enter P(x) as an expanded or factored polynomial, for example x^2−1 or (x−1)*(x+1). Use decimal dots and constant rational coefficients such as 1/3. Its degree may not exceed 4.

Enter Q(x), with degree at most 2, for example x^2−x. Its original real zeros stay excluded even after common factors cancel. A nonzero constant denominator is allowed.

Updates as you type

Check the active inputs and their stated limits.

YOUR RESULT

Real vertical asymptotes

1

Calculated from your inputs

Removable holes1
End behavior asymptotey = 1
Reduced rational function(x + 1)/(x)
Domain and derivative conditionsx ∈ ℝ; x ≠ 0; x ≠ 1
The numbers, at a glance

Calculations run in your browser.
UNDERSTAND THE RESULT

A little context. A clearer answer.

↑ Back to calculator

When this calculator is useful

Distinguish a cancelled denominator zero from a remaining vertical asymptote, and inspect the original domain and one-sided limits. For a related calculation, try Partial fraction decomposition calculator.

What to enter

InputWhat it meansExample value
Numerator polynomial P(x), degree at most 4Enter P(x) as an expanded or factored polynomial, for example x^2−1 or (x−1)*(x+1). Use decimal dots and constant rational coefficients such as 1/3. Its degree may not exceed 4.x^2-1
Denominator polynomial Q(x), degree at most 2Enter Q(x), with degree at most 2, for example x^2−x. Its original real zeros stay excluded even after common factors cancel. A nonzero constant denominator is allowed.x^2-x

How the calculation works

  1. Compute the exact polynomial greatest common divisor and cancel it, while keeping the original denominator’s real zeros.
  2. Remaining real denominator zeros are vertical asymptotes. Original zeros with finite reduced values are holes; use the remaining multiplicity to determine one-sided infinite limits.
  3. Divide the reduced numerator by the reduced denominator. The quotient gives the horizontal, oblique or polynomial end behavior because the proper remainder term tends to zero.
The formulaP/Q = p/q; p = Hq + R; f(x) − H(x) → 0 as x → ±∞

A worked example

For (x^2−1)/(x^2−x), cancel x−1 to obtain (x+1)/x but retain x ≠ 0,1. There is a pole at x = 0, with left limit −∞ and right limit +∞; a hole is at (1,2), and the horizontal asymptote is y = 1. For (x^2+1)/(x−1), division gives the oblique asymptote y = x+1.

Example you can load

What to enter
Result for this example · Real vertical asymptotes1

This is a fixed example; changing the form above does not change these numbers.

Assumptions & limits

This is a bounded rational-polynomial tool: numerator degree at most 4 and denominator degree at most 2. Expanded or factored polynomials with exact decimal or rational coefficients are accepted; final coefficient magnitudes are at most 10¹². No transcendental functions, other variables, variable denominators inside P or Q, or negative powers. The denominator cannot be the zero polynomial. Exact polynomial cancellation precedes analytic linear/quadratic real-root analysis. Irrational roots and plot coordinates have numerical approximations; exact radical root labels are retained. Graphs are cropped to a finite window and may omit remote features.

Frequently asked questions

Is every cancelled factor a hole?

No. A hole occurs only when the reduced denominator is nonzero at that original excluded point. If the denominator had more copies of the factor than the numerator, a pole remains.

What if the function becomes a polynomial after cancellation?

The original excluded points remain holes. The quotient is reported as the end behavior polynomial; it can coincide with the reduced function everywhere in its original domain, since their difference is zero.

Why are no real vertical asymptotes shown for x^2+1 in the denominator?

That quadratic has no real zeros. Its complex roots do not exclude points on the real graph. This calculator reports real-domain features only.