AP Calculus AB · Study guide

Connecting Infinite Limits and Vertical Asymptotes

AP® Calculus AB · Unit 1 · Limits and Continuity

Infinite Limits and Vertical Asymptotes

When a function’s outputs grow without bound near an input, its graph runs along a vertical line. This guide shows how to find those lines, how to tell which way the graph goes on each side, and how to avoid confusing an asymptote with a hole.

The idea in one paragraph

If \(f(x)\) grows without bound (or decreases without bound) as \(x\) approaches \(c\) from at least one side, the line \(x = c\) is a vertical asymptote. We record the behavior with \(\infty\) or \(-\infty\), as in \(\displaystyle\lim_{x \rightarrow c^{+}} f(x) = \infty\), but these limits do not exist as numbers. For a fraction, the usual sign is a nonzero top over a bottom that approaches 0; the sign of the fraction just left and just right of \(c\) tells you which way each side goes.

1Unbounded behavior

“Unbounded” means no ceiling: whatever height you name, the function goes past it close enough to \(c\). Writing \(\displaystyle\lim_{x \rightarrow c} f(x) = \infty\) is shorthand for that. It is a precise description of how the limit fails to exist, and it is more informative than just “does not exist.”

Figure 1. At a vertical asymptote each side of the graph either climbs to ∞ or falls to −∞. Which one depends on the sign of the function just left and just right of c.

2Finding vertical asymptotes

For a rational function, every vertical asymptote comes from a zero of the bottom, but not every zero of the bottom gives an asymptote. After canceling common factors, the zeros of the bottom that remain are the asymptotes. The canceled ones are holes.

Worked Example 1 A hole and an asymptote

\(f(x) = \dfrac{x^2 - x - 2}{x^2 - 4}\)

Find all vertical asymptotes of \(f\) and describe the behavior near each one.

  1. 1
    Bottom zero at \(x = 2\) and \(x = -2\). Factor: \(\dfrac{(x - 2)(x + 1)}{(x - 2)(x + 2)} = \dfrac{x + 1}{x + 2}\) for \(x \neq 2\).
  2. 2
    At \(x = 2\): the factor cancels, and \(\dfrac{3}{4}\) is the limit. A hole, not an asymptote.
  3. 3
    At \(x = -2\): top \(\rightarrow -1\), bottom \(\rightarrow 0\). Unbounded, so \(x = -2\) is a vertical asymptote.
  4. 4
    Signs: right of \(-2\), bottom small positive, so \(\frac{-1}{+} \rightarrow -\infty\). Left of \(-2\), bottom small negative, so \(\frac{-1}{-} \rightarrow \infty\).
Answer: One vertical asymptote, \(x = -2\): \(\displaystyle\lim_{x \rightarrow -2^{-}} f(x) = \infty\) and \(\displaystyle\lim_{x \rightarrow -2^{+}} f(x) = -\infty\). A hole at \((2, \tfrac34)\).
Figure 2. Both x = 2 and x = −2 make the bottom 0, but only x = −2 is an asymptote. At x = 2 the top is also 0 and the factor (x − 2) cancels, leaving a hole.
Common Mistake 1 · Calling every zero of the denominator an asymptote

At \(x = 2\) in Worked Example 1 the bottom is 0, but so is the top, and the shared factor cancels. A 0/0 form signals a possible hole; a nonzero-over-0 form signals an asymptote.

Write it like this

“As \(x \rightarrow -2^{+}\), the numerator approaches \(-1\) and the denominator approaches 0 through positive values, so \(\displaystyle\lim_{x \rightarrow -2^{+}} f(x) = -\infty\). The one-sided limit is unbounded, so the graph has a vertical asymptote at \(x = -2\).”

3Reading the signs

Once you know a side is unbounded, you only need the sign of the function there. Plug in a number just past \(c\) on that side, or reason with signs: positive over small positive is \(+\infty\), positive over small negative is \(-\infty\), and so on.

Worked Example 2 Signs on each side

\(\displaystyle\lim_{x \rightarrow 3} \frac{x + 1}{x - 3}\)

  1. 1
    Substitute: \(\dfrac{4}{0}\). A nonzero top over a zero bottom: the function is unbounded near 3. Now find the direction on each side.
  2. 2
    Right of 3 (\(x = 3.01\)): top \(\approx 4\), bottom \(= +0.01\). Positive over small positive is huge positive: \(\displaystyle\lim_{x \rightarrow 3^{+}} \frac{x + 1}{x - 3} = \infty\).
  3. 3
    Left of 3 (\(x = 2.99\)): bottom \(= -0.01\). Positive over small negative is huge negative: \(\displaystyle\lim_{x \rightarrow 3^{-}} \frac{x + 1}{x - 3} = -\infty\).
Answer: The limit does not exist. \(x = 3\) is a vertical asymptote: the graph falls on the left and climbs on the right.
Worked Example 3 Same direction on both sides

\(\displaystyle\lim_{x \rightarrow -2} \frac{1}{(x + 2)^2}\)

  1. 1
    Top 1, bottom \(\rightarrow 0\). The bottom is a square, so it is positive on both sides of \(-2\).
  2. 2
    Positive over small positive from both sides: the function climbs without bound on both sides.
  3. 3
    Because both sides behave the same way, we can write \(\displaystyle\lim_{x \rightarrow -2} \frac{1}{(x + 2)^2} = \infty\) for the two-sided limit.
Answer: \(= \infty\), which describes the unbounded behavior; the limit does not exist as a number. \(x = -2\) is a vertical asymptote.
Common Mistake 2 · Getting the sign of the bottom wrong

For \(x\) slightly less than 3, \(x - 3\) is negative, not positive. A quick test value such as \(x = 2.99\) prevents sign slips. With a squared factor like \((x + 2)^2\), the bottom is positive on both sides.

Common Mistake 3 · Writing “= ∞” for opposite sides

When the sides go opposite ways, as in Worked Example 2, there is no single description for the two-sided limit. Write each one-sided limit separately and say the limit does not exist.

4Beyond fractions

Logarithms and some trig functions have vertical asymptotes too: \(\ln x\) at \(x = 0\), and \(\tan x\) and \(\sec x\) wherever \(\cos x = 0\).

Worked Example 4 Beyond rational functions

Logarithm and tangent

Find \(\displaystyle\lim_{x \rightarrow 0^{+}} \ln x\) and both one-sided limits of \(\tan x\) at \(x = \frac{\pi}{2}\).

  1. 1
    \(\ln x\) is only defined for \(x \gt 0\), so only the right side exists. As \(x\) shrinks toward 0, \(\ln x\) becomes a larger and larger negative number (\(\ln 0.001 \approx -6.9\), \(\ln 0.000001 \approx -13.8\)).
  2. 2
    \(\tan x = \dfrac{\sin x}{\cos x}\). Near \(\frac{\pi}{2}\), \(\sin x \rightarrow 1\) and \(\cos x \rightarrow 0\).
  3. 3
    Just left of \(\frac{\pi}{2}\), \(\cos x\) is small positive, so \(\tan x \rightarrow \infty\). Just right, \(\cos x\) is small negative, so \(\tan x \rightarrow -\infty\).
Answer: \(\displaystyle\lim_{x \rightarrow 0^{+}} \ln x = -\infty\); \(\displaystyle\lim_{x \rightarrow \frac{\pi}{2}^{-}} \tan x = \infty\) and \(\displaystyle\lim_{x \rightarrow \frac{\pi}{2}^{+}} \tan x = -\infty\). Both \(x = 0\) and \(x = \frac{\pi}{2}\) are vertical asymptotes.

Quick reference

Situation near x = cConclusion
Nonzero top, bottom → 0Unbounded: vertical asymptote at x = c
Top → 0 and bottom → 00/0: factor first; often a hole
Positive ÷ small positive+∞
Positive ÷ small negative−∞
Squared factor in the bottomSame sign on both sides
\(\ln x\) as \(x \rightarrow 0^{+}\)−∞
\(\tan x\) near \(\frac{\pi}{2}\)+∞ on the left, −∞ on the right