Asymptote Calculator

Enter the numerator and the denominator of a rational function.

Use one variable, brackets and whole powers.

Use the same variable as the numerator. It cannot be 0.

Try

Result

You enteredy=2x+1x−3y = \frac{2x + 1}{x - 3}

Vertical x=3, horizontal y=2\displaystyle \text{Vertical } x = 3,\ \text{horizontal } y = 2

Holes

none\displaystyle \text{none}
Show the work
  1. Holes: cancelled factors

    A factor that appears in both the numerator and the denominator cancels and leaves a hole, not an asymptote. These two have no common factor that contains the variable, so there are no holes.

    2x+1x−3\frac{2x + 1}{x - 3}
  2. Vertical asymptotes: zeros of the denominator

    After cancelling, the numerator is not 0 where the denominator is, so the fraction grows without bound there. Set the denominator x−3x - 3 equal to 0; each real solution is a vertical asymptote.

    x−3=0⇒x=3\begin{gathered} x - 3 = 0 \\ \Rightarrow \\ x = 3 \end{gathered}
  3. Horizontal asymptote: compare the degrees

    The numerator and the denominator both have degree 1, so for large xx only the leading terms matter. The fraction approaches the ratio of the leading coefficients.

    y=21=2\begin{aligned} y &= \frac{2}{1} \\ &= 2 \end{aligned}
  4. Result

    So the graph of y=2x+1x−3y = \frac{2x + 1}{x - 3} has: vertical x = 3, horizontal y = 2.

Worked examples