Asymptotes

An asymptote is a line that a curve approaches but does not (necessarily) reach. The three types, vertical, horizontal, and oblique, are all defined using limits and describe the global and local behavior of a function's graph.

Type Description How to find
Vertical ( x = a ) Graph blows up as x a Find where denominator is $0$ (or ln domain boundary, etc.)
Horizontal ( y = b ) Graph flattens to b as x ± Compute lim x ± f ( x )
Oblique ( y = m x + b ) Graph approaches a line with slope m 0 Divide numerator by denominator; check remainder 0

Vertical Asymptotes

The line x = a is a vertical asymptote of the graph of f if f ( x ) + or f ( x ) as x approaches a from the left or right.

Diagrams showing four configurations of vertical asymptotes where the curve approaches ±∞ from one or both sides

There are three main sources of vertical asymptotes:

  1. Rational functions: f ( x ) = g ( x ) / h ( x ) where lim x a h ( x ) = 0 . If additionally lim x a g ( x ) 0 , then x = a is definitely a vertical asymptote. If both numerator and denominator vanish at a , the asymptote may or may not exist after simplification.
  2. Logarithmic functions: For example, lim x 0 + ln x = , so x = 0 is a vertical asymptote of y = ln x .
  3. Trigonometric functions: For example, tan x has vertical asymptotes at every x = π 2 + k π .

Horizontal Asymptotes

A line y = b is a horizontal asymptote of the curve y = f ( x ) if f ( x ) b as x + or x .

Diagrams showing a curve approaching horizontal asymptote y=b from both directions

Find the horizontal asymptote(s) of f ( x ) = 1 1 + e x .

Solution Since lim x + e x = 0 : lim x + 1 1 + e x = 1 1 + 0 = 1. So y = 1 is a horizontal asymptote. Since lim x e x = + : lim x 1 1 + e x = 1 1 + = 0. So y = 0 is another horizontal asymptote. The graph has **two** horizontal asymptotes: y = 0 and y = 1 .
Graph of f(x)=1/(1+e^(-x)) with horizontal asymptotes y=0 and y=1

Oblique (Slant) Asymptotes

A line y = m x + b ( m 0 ) is an oblique asymptote of f if either

lim x + [ f ( x ) ( m x + b ) ] = 0 or lim x [ f ( x ) ( m x + b ) ] = 0.
Diagram showing a curve approaching an oblique asymptote as x approaches ±∞
  • If f ( x ) = P 1 ( x ) / P 2 ( x ) and deg P 1 = deg P 2 + 1 (numerator degree is exactly one more than denominator degree), then f has an oblique asymptote equal to the quotient of dividing P 1 by P 2 .

Find the oblique asymptote of f ( x ) = 3 x 2 + 5 x 3 x + 1 .

Solution The numerator has degree 2 and the denominator has degree 1, so an oblique asymptote exists. Perform polynomial division: 3 x 2 + 5 x 3 x + 1 = 3 x + 2 5 x + 1 . Since | f ( x ) ( 3 x + 2 ) | = | 5 x + 1 | 0 as x ± , the line y = 3 x + 2 is the oblique asymptote. The graph also has a vertical asymptote at x = 1 (denominator is zero there, numerator is not).
Graph of f(x)=(3x^2+5x-3)/(x+1) with oblique asymptote y=3x+2 and vertical asymptote x=-1

Find the horizontal asymptote(s) of f ( x ) = 2 x 2 3 x 2 + 1 .

Solution Using the leading-term technique: lim x ± 2 x 2 3 x 2 + 1 = lim x ± 2 x 2 x 2 = 2. So y = 2 is a horizontal asymptote (the same in both directions). There is no vertical asymptote since x 2 + 1 > 0 for all real x .

Find the vertical asymptotes (if any) of:

  1. f ( x ) = 4 2 x 2 x 2 + x 1
  2. g ( x ) = x 2 + 4 x + 3 x 2 + 7 x + 12
  3. h ( x ) = x + 7 x 2 + 1
Solution **(a)** Factor the denominator: 2 x 2 + x 1 = ( 2 x 1 ) ( x + 1 ) . The denominator is zero at x = 1 / 2 and x = 1 . Check the numerator: 4 2 ( 1 / 2 ) = 3 0 and 4 2 ( 1 ) = 6 0 . So both x = 1 / 2 and x = 1 are vertical asymptotes. **(b)** Factor: x 2 + 4 x + 3 = ( x + 1 ) ( x + 3 ) and x 2 + 7 x + 12 = ( x + 3 ) ( x + 4 ) . So g(x) = \frac{(x+1)\cancel{(x+3)}}{\cancel{(x+3)}(x+4)} = \frac{x+1}{x+4} \quad (x \neq -3). The denominator of the simplified form is zero at x = 4 (and 4 3 ), so x = 4 is a vertical asymptote. At x = 3 there is a **removable discontinuity** (hole), not an asymptote. **(c)** The denominator x 2 + 1 1 > 0 for all real x , so there are **no vertical asymptotes**.

Frequently Asked Questions

Can a curve cross its own asymptote? Yes. A horizontal or oblique asymptote describes end behavior as x ± ; the curve can cross it at finite values of x . A vertical asymptote, however, is never crossed: the function grows without bound there.

How do I find oblique asymptotes when polynomial division is messy? Use the formulas: if y = m x + b is an oblique asymptote as x + , then m = lim x + f ( x ) / x and b = lim x + [ f ( x ) m x ] . These formulas work for any function, not just rational ones.

A rational function has equal degrees in numerator and denominator. What kind of asymptote does it have? A horizontal asymptote at y = a n / b m (the ratio of leading coefficients). For example, f ( x ) = ( 3 x 2 + 1 ) / ( x 2 2 ) has horizontal asymptote y = 3 .