2s
Need help with this lesson?
📚AP Calculus AB•easy• 8 min

One-Sided Limits, Infinite Limits & Vertical Asymptotes

Determine left-hand and right-hand limits, identify when a function has a vertical asymptote, and describe its behavior toward ±∞.

The little superscript is everything: x→a−x\to a^- means approach from the left (values just below aa); x→a+x\to a^+ means from the right (just above). And when a denominator shrinks to zero while the top stays nonzero, ff shoots off to ±∞\pm\infty — that’s a vertical asymptote.

Nonzero over zero means a vertical asymptote

If direct substitution gives k0\frac{k}{0} with k≠0k\neq0, the function has a vertical asymptote at x=ax=a. To get the sign of the infinity, test the sign of the denominator just on each side of aa.

[Diagram — see the figure in the print workbook.]

Saying lim⁡x→af(x)=∞\lim_{x\to a}f(x)=\infty is a special kind of DNE: the limit does not exist (no finite value), but we report ∞\infty to describe how it fails.

Worked example 1

For f(x)={x2,x<12x+1,x≥1f(x)=\begin{cases}x^2,&x<1\\ 2x+1,&x\ge1\end{cases}, find lim⁡x→1−f\lim_{x\to1^-}f, lim⁡x→1+f\lim_{x\to1^+}f, lim⁡x→1f\lim_{x\to1}f.

  1. 1.Left uses the x<1x<1 piece: x2→1x^2\to 1.
  2. 2.Right uses the x≥1x\ge1 piece: 2x+1→32x+1\to 3.
  3. 3.1≠31\neq3 ⇒ two-sided limit DNE.

Answer: lim⁡x→1−=1, lim⁡x→1+=3, lim⁡x→1\lim_{x\to1^-}=1,\ \lim_{x\to1^+}=3,\ \lim_{x\to1} DNE.

Worked example 2

Evaluate lim⁡x→2+1x−2\displaystyle\lim_{x\to2^+}\frac{1}{x-2} and lim⁡x→2−1x−2\displaystyle\lim_{x\to2^-}\frac{1}{x-2}.

  1. 1.From the right, x−2x-2 is a tiny positive number ⇒ 10+=+∞\frac{1}{0^+}=+\infty.
  2. 2.From the left, x−2x-2 is a tiny negative number ⇒ 10−=−∞\frac{1}{0^-}=-\infty.

Answer: lim⁡x→2+=+∞,lim⁡x→2−=−∞\lim_{x\to2^+}=+\infty,\quad \lim_{x\to2^-}=-\infty.

Worked example 3

Find all vertical asymptotes of f(x)=x+1x2−x−6f(x)=\dfrac{x+1}{x^2-x-6}.

  1. 1.Factor the bottom: x2−x−6=(x−3)(x+2)x^2-x-6=(x-3)(x+2).
  2. 2.Top is x+1x+1; it shares no factor with the bottom.
  3. 3.Zeros of the denominator that don’t cancel give asymptotes: x=3x=3 and x=−2x=-2.

Answer: Vertical asymptotes at x=3x=3 and x=−2x=-2.

Worked example 4

Does g(x)=x−3x2−9g(x)=\dfrac{x-3}{x^2-9} have a vertical asymptote at x=3x=3?

  1. 1.Factor: x−3(x−3)(x+3)=1x+3\dfrac{x-3}{(x-3)(x+3)}=\dfrac{1}{x+3} for x≠3x\neq3.
  2. 2.The (x−3)(x-3) cancels, so x=3x=3 is a hole, not an asymptote.
  3. 3.lim⁡x→3g=16\lim_{x\to3}g=\frac{1}{6}. The genuine asymptote is at x=−3x=-3.

A zero of the denominator gives an asymptote only if it does not cancel. If it cancels, you get a hole.

Answer: No — x=3x=3 is a removable hole; x=−3x=-3 is the asymptote.

Worked example 5

Evaluate lim⁡x→0+ln⁡x\displaystyle\lim_{x\to0^+}\ln x.

  1. 1.As xx approaches 00 from the right, ln⁡x\ln x decreases without bound.
  2. 2.(ln⁡\ln is undefined for x≤0x\le0, so only the right side exists.)

Answer: −∞-\infty

Worked example 6

For f(x)=x−1(x−1)2f(x)=\dfrac{x-1}{(x-1)^2}, evaluate lim⁡x→1−f\lim_{x\to1^-}f and lim⁡x→1+f\lim_{x\to1^+}f.

  1. 1.Simplify: x−1(x−1)2=1x−1\dfrac{x-1}{(x-1)^2}=\dfrac{1}{x-1}.
  2. 2.Right: 10+=+∞\frac{1}{0^+}=+\infty. Left: 10−=−∞\frac{1}{0^-}=-\infty.

Answer: lim⁡x→1+=+∞, lim⁡x→1−=−∞\lim_{x\to1^+}=+\infty,\ \lim_{x\to1^-}=-\infty.

Common trap: Guessing the sign of ∞\infty

k0\frac{k}{0} is not automatically +∞+\infty. You must check the sign of the denominator on the side you’re approaching from. For 1x−2\frac{1}{x-2} at x→2−x\to2^-, the denominator is a tiny negative number, so the result is −∞-\infty. Make a quick sign test — don’t guess.

Hack: The sign-test thumb

For k0\frac{k}{0}, ignore magnitudes and just track signs. Pick a number a hair to the left of aa and a hair to the right, drop each into the denominator, and read off the sign. Tiny ++ on the bottom → the answer has the sign of the top; tiny −- → flip it. Ten seconds, no calculator.

Print companion
AP Calculus AB Power Workbook
Off-screen practice on Amazon