2s
Need help with this lesson?
📚AP Calculus ABeasy 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: xax\to a^- means approach from the left (values just below aa); xa+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 k0k\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 limxaf(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,x1f(x)=\begin{cases}x^2,&x<1\\ 2x+1,&x\ge1\end{cases}, find limx1f\lim_{x\to1^-}f, limx1+f\lim_{x\to1^+}f, limx1f\lim_{x\to1}f.

  1. 1.Left uses the x<1x<1 piece: x21x^2\to 1.
  2. 2.Right uses the x1x\ge1 piece: 2x+132x+1\to 3.
  3. 3.131\neq3 ⇒ two-sided limit DNE.

Answer: limx1=1, limx1+=3, limx1\lim_{x\to1^-}=1,\ \lim_{x\to1^+}=3,\ \lim_{x\to1} DNE.

Worked example 2

Evaluate limx2+1x2\displaystyle\lim_{x\to2^+}\frac{1}{x-2} and limx21x2\displaystyle\lim_{x\to2^-}\frac{1}{x-2}.

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

Answer: limx2+=+,limx2=\lim_{x\to2^+}=+\infty,\quad \lim_{x\to2^-}=-\infty.

Worked example 3

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

  1. 1.Factor the bottom: x2x6=(x3)(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)=x3x29g(x)=\dfrac{x-3}{x^2-9} have a vertical asymptote at x=3x=3?

  1. 1.Factor: x3(x3)(x+3)=1x+3\dfrac{x-3}{(x-3)(x+3)}=\dfrac{1}{x+3} for x3x\neq3.
  2. 2.The (x3)(x-3) cancels, so x=3x=3 is a hole, not an asymptote.
  3. 3.limx3g=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 limx0+lnx\displaystyle\lim_{x\to0^+}\ln x.

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

Answer: -\infty

Worked example 6

For f(x)=x1(x1)2f(x)=\dfrac{x-1}{(x-1)^2}, evaluate limx1f\lim_{x\to1^-}f and limx1+f\lim_{x\to1^+}f.

  1. 1.Simplify: x1(x1)2=1x1\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: limx1+=+, limx1=\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 1x2\frac{1}{x-2} at x2x\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