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=x2+1x−1y = \frac{x^{2} + 1}{x - 1}

Vertical x=1, slant y=x+1\displaystyle \text{Vertical } x = 1,\ \text{slant } y = x + 1

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.

    x2+1x−1\frac{x^{2} + 1}{x - 1}
  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−1x - 1 equal to 0; each real solution is a vertical asymptote.

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

    The numerator has degree 2, exactly one more than the denominator's degree 1. The fraction grows without levelling off, so there is no horizontal asymptote; it follows a slant line instead.

    deg⁡N=2deg⁡D=1\begin{gathered} \deg N = 2 \\ \deg D = 1 \end{gathered}
  4. Slant asymptote: divide

    Divide the numerator by the denominator. The quotient is the line the graph follows; the remainder fraction shrinks to 0 as xx gets large, so it can be ignored.

    x2+1x−1=x+1+2x−1⇒y=x+1\begin{gathered} \frac{x^{2} + 1}{x - 1} = x + 1 + \frac{2}{x - 1} \\ \Rightarrow \\ y = x + 1 \end{gathered}
  5. Result

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

Worked examples