AP Calculus AB and BC

Infinite Limits and Vertical Asymptotes: Sign Analysis

An infinite limit means f(x) grows without bound, positive or negative, as x approaches a number a. If at least one one-sided limit at a is infinite, the line x = a is a vertical asymptote. For a quotient, look for a nonzero numerator over a denominator approaching zero, then find the sign from each side.

What an infinite limit means

Writing lim⁡x→af(x)=∞\lim_{x \to a} f(x) = \infty means the values of f(x)f(x) become larger than any number you name as xx gets close to aa. Writing −∞-\infty means they become more negative than any number you name. This is Topic 1.14, Connecting Infinite Limits and Vertical Asymptotes.

An infinite limit is a way of describing unbounded behavior. Infinity is not a real number, so a limit that "equals" ∞\infty does not exist as a finite value. The notation records how it fails to exist, and that is useful information about the graph.

Definition of a vertical asymptote

The line x=ax = a is a vertical asymptote of the graph of ff if at least one of the one-sided limits lim⁡x→a−f(x)\lim_{x \to a^-} f(x) or lim⁡x→a+f(x)\lim_{x \to a^+} f(x) is ∞\infty or −∞-\infty.

The signal: nonzero over zero

For a quotient, substitute x=ax = a into the numerator and the denominator separately and read the pair of results.

Substitution givesWhat it means
nonzero0\frac{\text{nonzero}}{0}Each one-sided limit (on a side where the function is defined) is ∞\infty or −∞-\infty, so x=ax = a is a vertical asymptote.
00\frac{0}{0}Undecided. Factor and cancel, then substitute again.
0nonzero\frac{0}{\text{nonzero}}The limit is 00. No asymptote here.

The 00\frac{0}{0} row is where holes and asymptotes get confused. A zero of the denominator is only a candidate. If the factor causing it cancels completely, the limit is finite and the graph has a hole, which is a removable discontinuity. If the denominator is still zero after canceling while the numerator is not, the line is a vertical asymptote.

Finding the sign from each side

Once you know a one-sided limit is infinite, the remaining question is whether it is ∞\infty or −∞-\infty. Work out the sign of each factor for xx slightly to one side of aa.

  1. Find the sign of the numerator near aa. It approaches a nonzero number, so it keeps that number's sign.
  2. Find the sign of the denominator for xx just left of aa, then for xx just right of aa. A test value such as a−0.01a - 0.01 or a+0.01a + 0.01 works.
  3. Combine the signs. A positive quotient with a denominator shrinking to 00 goes to ∞\infty; a negative one goes to −∞-\infty.

The power on the vanishing factor tells you whether the two sides agree. A factor like (x−a)2(x - a)^2 is positive on both sides of aa, so both one-sided limits have the same sign and the two-sided limit is ∞\infty or −∞-\infty. A factor like (x−a)(x - a) or (x−a)3(x - a)^3 changes sign at aa, so the one-sided limits are opposite and the two-sided limit does not exist, even in the infinite sense.

lim⁡x→01x2=∞lim⁡x→0−1x=−∞lim⁡x→0+1x=∞\lim_{x \to 0} \frac{1}{x^2} = \infty \qquad \lim_{x \to 0^-} \frac{1}{x} = -\infty \qquad \lim_{x \to 0^+} \frac{1}{x} = \infty

Vertical asymptotes beyond rational functions

Vertical asymptotes also appear in logarithmic and trigonometric functions.

  • ln⁡x→−∞\ln x \to -\infty as x→0+x \to 0^+, so y=ln⁡xy = \ln x has the vertical asymptote x=0x = 0. The function is defined only to the right of 00, and one infinite one-sided limit is enough.
  • tan⁡x=sin⁡xcos⁡x\tan x = \frac{\sin x}{\cos x} has a vertical asymptote wherever cos⁡x=0\cos x = 0, at x=π2+kπx = \frac{\pi}{2} + k\pi for every integer kk. The same lines are vertical asymptotes of sec⁡x\sec x.
  • cot⁡x\cot x and csc⁡x\csc x have vertical asymptotes wherever sin⁡x=0\sin x = 0, at x=kπx = k\pi.

For the tangent function, lim⁡x→π2−tan⁡x=∞\lim_{x \to \frac{\pi}{2}^-} \tan x = \infty and lim⁡x→π2+tan⁡x=−∞\lim_{x \to \frac{\pi}{2}^+} \tan x = -\infty, because sin⁡x\sin x is near 11 while cos⁡x\cos x is a small positive number on the left of π2\frac{\pi}{2} and a small negative number on the right.

Where students lose points

  • Calling every zero of the denominator a vertical asymptote. Cancel common factors first; a factor that cancels completely gives a hole.
  • Writing lim⁡x→af(x)=∞\lim_{x \to a} f(x) = \infty when the two sides disagree. If one side goes to ∞\infty and the other to −∞-\infty, the two-sided limit does not exist.
  • Guessing the sign. A one-sided infinite limit needs a sign check on the numerator and the denominator.
  • Writing the asymptote as a number. The asymptote is the line x=3x = 3, an equation.
  • Mixing up the two kinds of asymptote. A vertical asymptote comes from an infinite limit at a finite xx; a horizontal asymptote comes from a finite limit as x→±∞x \to \pm\infty. See vertical vs horizontal asymptote.

Worked examples

Worked example

One-sided limits at a vertical asymptote

Evaluate lim⁡x→3−x+1x−3\lim_{x \to 3^-} \frac{x + 1}{x - 3} and lim⁡x→3+x+1x−3\lim_{x \to 3^+} \frac{x + 1}{x - 3}.

  1. Substitute x=3x = 3: the numerator is 44 and the denominator is 00. This is nonzero over zero, so both one-sided limits are infinite.
  2. From the left, x<3x < 3, so x−3x - 3 is a small negative number. The numerator is near 44, which is positive. Positive divided by negative is negative, so the left-hand limit is −∞-\infty.
  3. From the right, x>3x > 3, so x−3x - 3 is a small positive number. Positive divided by positive is positive, so the right-hand limit is ∞\infty.

lim⁡x→3−x+1x−3=−∞\lim_{x \to 3^-} \frac{x + 1}{x - 3} = -\infty and lim⁡x→3+x+1x−3=∞\lim_{x \to 3^+} \frac{x + 1}{x - 3} = \infty. The line x=3x = 3 is a vertical asymptote, and the two-sided limit does not exist.

Worked example

Telling a hole from an asymptote

Find the vertical asymptotes and holes of f(x)=x2+x−6x2−4f(x) = \frac{x^2 + x - 6}{x^2 - 4}.

  1. Factor both parts: x2+x−6=(x+3)(x−2)x^2 + x - 6 = (x + 3)(x - 2) and x2−4=(x−2)(x+2)x^2 - 4 = (x - 2)(x + 2). The denominator is zero at x=2x = 2 and x=−2x = -2, so those are the candidates.
  2. Cancel the common factor: for x≠2x \ne 2, f(x)=x+3x+2f(x) = \frac{x + 3}{x + 2}.
  3. At x=2x = 2 the factor canceled completely. The limit is lim⁡x→2x+3x+2=54\lim_{x \to 2} \frac{x + 3}{x + 2} = \frac{5}{4}, a finite number, so the graph has a hole at (2,54)\left(2, \frac{5}{4}\right).
  4. At x=−2x = -2 the simplified form gives 10\frac{1}{0}, nonzero over zero, so x=−2x = -2 is a vertical asymptote.
  5. Signs at x=−2x = -2: the numerator is near 11. For xx just right of −2-2, x+2x + 2 is small and positive, so f(x)→∞f(x) \to \infty. For xx just left of −2-2, x+2x + 2 is small and negative, so f(x)→−∞f(x) \to -\infty.

One vertical asymptote, x=−2x = -2, and one hole at (2,54)\left(2, \frac{5}{4}\right).

Worked example

A squared factor in the denominator

Evaluate lim⁡x→12x−5(x−1)2\lim_{x \to 1} \frac{2x - 5}{(x - 1)^2}.

  1. Substitute x=1x = 1: the numerator is 2−5=−32 - 5 = -3 and the denominator is 00. This is nonzero over zero, so the limit is infinite on each side.
  2. The denominator (x−1)2(x - 1)^2 is positive for every x≠1x \ne 1, on both sides of 11.
  3. The numerator is near −3-3, which is negative. Negative divided by a small positive number is a large negative number, from the left and from the right.

lim⁡x→12x−5(x−1)2=−∞\lim_{x \to 1} \frac{2x - 5}{(x - 1)^2} = -\infty. Both sides agree, and x=1x = 1 is a vertical asymptote.

Frequently asked questions

Does a limit that equals infinity exist?

Not as a real number. Writing lim⁡x→af(x)=∞\lim_{x \to a} f(x) = \infty describes a specific way the limit fails to exist: the function values grow without bound. It is still the correct and expected way to report that behavior.

How is a hole different from a vertical asymptote?

At a hole, the limit is a finite number and only a single point is missing from the graph. At a vertical asymptote, at least one one-sided limit is infinite. For a rational function, a hole comes from a factor that cancels completely, and an asymptote comes from a denominator factor that remains after canceling.

How many vertical asymptotes can a function have?

Any number, including infinitely many. A rational function has at most as many as the degree of its denominator, while y=tan⁡xy = \tan x has one at every x=π2+kπx = \frac{\pi}{2} + k\pi.