We say a line is an asymptote of a curve if the distance between the line and the curve approaches zero as the curve (specifically the x or y coordinates of the points on the curve) goes to or . We study three types of asymptotes: (1) vertical, (2) horizontal, and (3) oblique (or inclined or slant).
Quick Reference
| Asymptote Type | Equation | Defining Condition | Typical Occurrence |
|---|---|---|---|
| Vertical | or | Denominator equals with non-zero numerator; logarithmic/trig functions. | |
| Horizontal | or | Degree of numerator degree of denominator; exponential functions. | |
| Oblique (Slant) | () | or | Rational functions with . |
Vertical Asymptotes
The line is a vertical asymptote of the graph of if or as approaches from the left or right.
See the following figures.

When do we have vertical asymptotes? There are a few cases that we need to pay attention to:
- There is a fraction: If , then: and thus is a vertical asymptote. However, if , then may or may not approach or .
- Logarithmic functions. For example, because , the vertical line is a vertical asymptote of the graph of .
- Trigonometric functions like , , , and , where the denominator becomes zero.
Horizontal Asymptotes
A line is a horizontal asymptote of the curve if as or .
See the following figures.

Find horizontal asymptote(s) of the graph of .
Solution
To this end, we need to find the limits of as and . Since , we have:
\begin{aligned} \lim_{x\to +\infty} \frac{1}{1 + e^{-x}} &= \frac{\displaystyle \lim_{x\to +\infty} 1}{\displaystyle \lim_{x\to +\infty} 1 + \lim_{x\to +\infty} e^{-x}} \\ &= \frac{1}{1 + 0} \\ &= 1. \end{aligned}Therefore, is a horizontal asymptote of the graph of f.
Since , we have:
Therefore, is another horizontal asymptote of the graph of f.

Oblique (Also Known as Inclined or Slant) Asymptotes
A line with equation () is an oblique asymptote (of the graph) of if either:
or
See the following figures.

- If where and are two polynomials without any factors in common such that , then has an oblique asymptote, which is the quotient of dividing by .
Find the oblique asymptote of the graph of .
Solution
Let's divide the numerator by the denominator:
\begin{aligned} \frac{3x^2 + 5x - 3}{x + 1} &= \frac{(x + 1)(3x + 2) - 5}{x + 1} \\ &= 3x + 2 - \frac{5}{x + 1}. \end{aligned}Because:
the line is the oblique asymptote of the graph of f, and as shown below, the distance between and this line approaches zero as approaches or . Also, notice that the graph of f has a vertical asymptote at because the denominator is zero at but the numerator is not.

Exercises
Find the vertical asymptotes (if any) of the following functions:
Answer
(a) and (b) (c) None
Solution
(a) Let's factor the numerator and denominator. The roots of are and , so:
This fraction cannot be simplified further. Thus, the zeros of the denominator, and , are the vertical asymptotes.

(b) For the numerator, we need two numbers whose sum is 4 and whose product is 3; these are 3 and 1:
For the denominator, we need two numbers whose sum is 7 and whose product is 12; these are 4 and 3:
Thus:
The zero of the simplified fraction is , so is the only vertical asymptote. Although and both make the denominator of the original fraction zero, is not a vertical asymptote because:
\begin{aligned} \lim_{x\to -3} g(x) &= \lim_{x\to -3} \frac{x + 1}{x + 4} \\ &= \frac{-3 + 1}{-3 + 4} \\ &= -2, \end{aligned}while is a vertical asymptote because:
\begin{aligned} \lim_{x\to -4^-} g(x) &= \lim_{x\to -4^-} \frac{x + 1}{x + 4} \quad \left[\text{form } \frac{-3}{0^-}\right] \\ &= +\infty, \end{aligned}and:
\begin{aligned} \lim_{x\to -4^+} g(x) &= \lim_{x\to -4^+} \frac{x + 1}{x + 4} \quad \left[\text{form } \frac{-3}{0^+}\right] \\ &= -\infty. \end{aligned}
(c) We cannot factor the denominator, and the denominator is never zero, because:
Therefore, the graph of has no vertical asymptotes.

Find the vertical asymptotes of the function given by:
Answer
Solution
The denominator is zero when , so we need to find the limit of f as x approaches and . The domain of f is the set of all x for which the expression under the square root is positive:
\begin{aligned} \text{Dom}(f) &= \{x \mid 4 - x^2 > 0\} \\ &= \{x \mid x^2 < 4\} \\ &= \{x \mid -2 < x < 2\} \\ &= (-2, 2). \end{aligned}Therefore x can approach only from the left and only from the right.
\begin{aligned} \lim_{x\to 2^-} f(x) &= \lim_{x\to 2^-} \frac{x - 2}{\sqrt{4 - x^2}} \\ &= \lim_{x\to 2^-} \frac{x - 2}{\sqrt{(2 - x)(2 + x)}} \\ &= \lim_{x\to 2^-} \frac{-(2 - x)}{\sqrt{2 - x}\sqrt{2 + x}} \\ &= \lim_{x\to 2^-} \frac{-\sqrt{2 - x}\sqrt{2 - x}}{\sqrt{2 - x}\sqrt{2 + x}} \\ &= \lim_{x\to 2^-} \frac{-\sqrt{2 - x}}{\sqrt{2 + x}} \\ &= -\frac{\sqrt{2 - 2}}{\sqrt{2 + 2}} \\ &= 0. \end{aligned}Therefore is not a vertical asymptote of the graph of f.
On the other hand, as , the denominator goes to through positive numbers (the square root is always nonnegative) and the numerator goes to . Therefore, (symbolically ). Therefore, is a vertical asymptote of the graph of f.

Find the vertical asymptotes of the following functions:
Answer
(a) (b) and
Solution
(a) Because when (and is defined only for ), the graph of has a vertical asymptote at . Alternatively, the graph of is obtained by shifting the graph of to the right 2 units. Because the graph of has a vertical asymptote at , the graph of has a vertical asymptote at .

(b) Because is zero when , the graph of has vertical asymptotes at . Note that the domain of is , so can approach only from the left and only from the right.

Determine the end behavior of the graph of:
Answer
Horizontal asymptote
Solution
Because:
its graph has only one horizontal asymptote, namely the line .

Determine the end behavior of the function:
Answer
as and as
Solution
Since if :
\begin{aligned} \lim_{x\to +\infty} f(x) &= \lim_{x\to +\infty} \frac{1 - x}{|x| + 3} \\ &= \lim_{x\to +\infty} \frac{1 - x}{x + 3} \\ &= \lim_{x\to +\infty} \frac{-x}{x} \\ &= -1, \end{aligned}while since if :
\begin{aligned} \lim_{x\to -\infty} f(x) &= \lim_{x\to -\infty} \frac{1 - x}{|x| + 3} \\ &= \lim_{x\to -\infty} \frac{1 - x}{-x + 3} \\ &= \lim_{x\to -\infty} \frac{-x}{-x} \\ &= 1. \end{aligned}Hence, f has two horizontal asymptotes, namely and .

Find the oblique asymptote of:
Answer
Solution
Because:
we have:
and therefore the line is the oblique asymptote of (both as and as ).

Show that if the line is the oblique asymptote of as then:
and
If the line is the oblique asymptote of as , we simply need to replace by in the above two equations.
Answer
and
Solution
Suppose is the oblique asymptote of as .
By definition:
or, dividing and multiplying by :
Since , the bracketed factor in (ii) must itself approach (otherwise the product in (ii) could not approach ); that is:
Because:
and as (with a constant), (iii) becomes:
that is:
After finding , we use (i) to obtain :
\begin{aligned} \lim_{x\to +\infty} [f(x) - mx - b] &= 0 \\ \lim_{x\to +\infty} [f(x) - mx] - b &= 0, \end{aligned}that is:
If instead is the oblique asymptote of as , the same argument goes through with every replaced by , giving:
Use Exercise 7 to find the oblique asymptote(s) of the graph of the function:
Answer
as , and as
Solution
By Exercise 7, the slope of the oblique asymptote as is:
\begin{aligned} m_1 &= \lim_{x\to +\infty} \frac{f(x)}{x} \\ &= \lim_{x\to +\infty} \frac{\sqrt{2x^2 - 1} - 7x}{x} \\ &= \lim_{x\to +\infty} \frac{\sqrt{x^2\left(2 - \frac{1}{x^2}\right)} - 7x}{x} \\ &= \lim_{x\to +\infty} \frac{|x|\sqrt{2 - \frac{1}{x^2}} - 7x}{x}. \end{aligned}Since when :
\begin{aligned} m_1 &= \lim_{x\to +\infty} \frac{x\sqrt{2 - \frac{1}{x^2}} - 7x}{x} \\ &= \lim_{x\to +\infty} \left(\sqrt{2 - \frac{1}{x^2}} - 7\right) \\ &= \sqrt{2 - 0} - 7 \\ &= \sqrt{2} - 7. \end{aligned}The -intercept of this asymptote is:
\begin{aligned} b_1 &= \lim_{x\to +\infty} \left[f(x) - (\sqrt{2} - 7)x\right] \\ &= \lim_{x\to +\infty} \left[\sqrt{2x^2 - 1} - \sqrt{2}x\right]. \end{aligned}Multiplying and dividing by the conjugate :
\begin{aligned} b_1 &= \lim_{x\to +\infty} \frac{\left(\sqrt{2x^2 - 1} - \sqrt{2}x\right)\left(\sqrt{2x^2 - 1} + \sqrt{2}x\right)}{\sqrt{2x^2 - 1} + \sqrt{2}x} \\ &= \lim_{x\to +\infty} \frac{(2x^2 - 1) - 2x^2}{\sqrt{2x^2 - 1} + \sqrt{2}x} \\ &= \lim_{x\to +\infty} \frac{-1}{\sqrt{2x^2 - 1} + \sqrt{2}x} \\ &= 0. \end{aligned}Hence, is the oblique asymptote of as .
The slope of the oblique asymptote as is obtained similarly. Since when :
By an analogous computation, the -intercept in this case is also . Thus is the oblique asymptote of as .
