Asymptotes

Topic guide · Updated 2026-11-26

Quick answer

An asymptote is a line that a graph approaches but does not reach as x or y grows without bound. Vertical asymptotes occur where a function blows up, usually where a denominator is zero. Horizontal asymptotes describe the value a function approaches as x → ±∞. A slant asymptote appears when the numerator’s degree is exactly one more than the denominator’s.

−8−6−4−22468101214−4−22468
  • y=(2x+1)/(x-3)
Open in graphing calculator

Vertical asymptotes

Factor the numerator and denominator and cancel common factors. Each remaining zero of the denominator gives a vertical asymptote x = a. A cancelled factor gives a hole instead. For y = (2x + 1)/(x − 3), the asymptote is x = 3.

Horizontal asymptotes of rational functions

Compare the degree n of the numerator with the degree d of the denominator:

n < dy = 0
n = dy = (leading coefficient of top) / (leading coefficient of bottom)
n = d + 1No horizontal asymptote; a slant asymptote found by polynomial division
n > d + 1No horizontal or slant asymptote

Asymptotes of other functions

  • eˣ has the horizontal asymptote y = 0 as x → −∞.
  • ln x has the vertical asymptote x = 0.
  • tan x has vertical asymptotes at x = π/2 + kπ.
  • arctan x levels off at y = ±π/2.

A graph can cross a horizontal asymptote in the middle; the asymptote only describes end behavior.

Frequently asked questions

Can a graph cross its asymptote?

It can cross a horizontal or slant asymptote, but never a vertical asymptote, because the function is undefined there.

How do I draw an asymptote on a graphing calculator?

Type the line as its own expression, such as x = 3 or y = 2. The calculator draws it alongside the function.