Loading…

Horizontal and Vertical Asymptote Finder

Math Algebra • Polynomial and Rational Functions

View all topics

Enter polynomials in \(x\). Use ^ for powers and * for multiplication (implicit like 2x is accepted). Press Calculate to reduce \(\frac{P}{Q}\), detect vertical asymptotes (zeros of reduced \(Q\)), and compute horizontal/slant/polynomial asymptotes by degree comparison / division.

Graph window

Probe (evaluate at \(x_0\))

x0 = 0
Ready
Enter \(P(x)\) and \(Q(x)\), then press Calculate. The tool will:
  • Reduce \(\dfrac{P(x)}{Q(x)}\) by cancelling a polynomial GCD.
  • Report holes (cancelled roots) and vertical asymptotes (zeros of reduced \(Q\)).
  • Determine horizontal asymptote by degree comparison; show slant/polynomial asymptote if enabled.
  • Draw the graph with dashed asymptote lines and optional hole markers.

Drag to pan. Mouse wheel zooms (cursor-centered). Shift = y-zoom, Ctrl = gentler zoom. Double-click resets view. Dashed vertical lines are vertical asymptotes; dashed horizontal line is the horizontal asymptote; dashed slant/polynomial line appears if enabled.

Rate this calculator

0.0 /5 (0 ratings)
Be the first to rate.
Your rating
You can update your rating any time.

Frequently Asked Questions

How does the calculator find vertical asymptotes of a rational function?

It first cancels any common polynomial factors of P(x) and Q(x). Vertical asymptotes occur at real x-values where the reduced denominator Q_red(x) = 0.

What is the difference between a hole and a vertical asymptote?

A hole (removable discontinuity) happens when a factor cancels between numerator and denominator, so the original function is undefined at that x even though the reduced function has a finite value. A vertical asymptote happens when the reduced denominator is zero, causing the function to diverge near that x-value.

How is the horizontal asymptote determined for P(x)/Q(x)?

Let m = deg(P_red) and n = deg(Q_red). If m < n, the horizontal asymptote is y = 0; if m = n, the horizontal asymptote is y = (leading coefficient of P_red) / (leading coefficient of Q_red); if m > n, there is no horizontal asymptote.

When does a slant or polynomial asymptote appear instead of a horizontal asymptote?

When the numerator degree is at least the denominator degree, the calculator can use long division to write P_red/Q_red = S(x) + R(x)/Q_red(x). If deg(R) < deg(Q_red), then y = S(x) is the slant asymptote (deg(S)=1) or a polynomial asymptote (deg(S) >= 2).