Skip to content

Unit 1: Limits and Continuity

Connecting Infinite Limits and Vertical Asymptotes

Find and write one-sided infinite limits by checking signs near a zero denominator, and use them to locate and justify vertical asymptotes.

Topic 1.14 · 9 min read

Evaluate 1(x−1)2\dfrac{1}{(x-1)^2} at x=1.01x = 1.01 and you get 10,00010{,}000; at x=1.001x = 1.001 you get 1,000,0001{,}000{,}000. As xx closes in on 1 the values pass every number you could name, so they do not approach any number, and the limit at 1 does not exist. "Does not exist" hides a lot, though: these values all grow in one direction without bound, which is very different from values that jump or oscillate. Infinite limit notation records exactly that behavior, and on a graph it shows up as a vertical asymptote.

What an infinite limit says

Writing

lim⁡x→af(x)=∞\lim_{x \to a} f(x) = \infty

means that f(x)f(x) can be made larger than any number you choose, by taking xx close enough to aa (with x≠ax \neq a). Pick 1,0001{,}000, and there is a window around aa where every value of ff exceeds 1,0001{,}000; pick a million, and a narrower window works. lim⁡x→af(x)=−∞\lim\limits_{x \to a} f(x) = -\infty means the same with "smaller than any negative number." The one-sided versions, x→a−x \to a^- (inputs to the left of aa) and x→a+x \to a^+ (inputs to the right), restrict attention to one side.

The symbol ∞\infty is not a number, and an infinite limit is a way of saying how a limit fails to exist. Writing lim⁡x→11(x−1)2=∞\lim\limits_{x \to 1} \frac{1}{(x-1)^2} = \infty is correct and more informative than writing "does not exist," but it does not mean the limit exists. For the same reason, you can't do arithmetic with it as if it were a value: two expressions that each go to ∞\infty can have a difference that goes to anything.

A two-sided infinite limit needs both sides to agree. If f→∞f \to \infty from both sides of aa, write lim⁡x→af(x)=∞\lim\limits_{x \to a} f(x) = \infty. If one side goes to ∞\infty and the other to −∞-\infty, as 1x−3\frac{1}{x - 3} does at 3, state the two one-sided limits and say the two-sided limit does not exist; writing it as ∞\infty is wrong.

One unbounded side is enough. The graph then runs up or down along the line x=ax = a, getting closer to it without reaching it, and that is what an asymptote is.

Nonzero divided by almost zero

Most vertical asymptotes come from a quotient whose denominator approaches 0 while its numerator does not. Dividing a fixed number by smaller and smaller numbers gives larger and larger results: 30.01=300\frac{3}{0.01} = 300 and 30.0001=30,000\frac{3}{0.0001} = 30{,}000. So the size of the quotient blows up, and only its sign is left to decide. The sign comes from the signs of the numerator and the denominator on the side you are approaching from.

To analyze a quotient N(x)D(x)\frac{N(x)}{D(x)} at a point aa where D(a)=0D(a) = 0:

  1. Check the numerator. If N(a)≠0N(a) \neq 0, the quotient is unbounded near aa and x=ax = a is a vertical asymptote. If N(a)=0N(a) = 0 too, the form is 00\frac{0}{0} and you must simplify first; the limit may be a finite number, giving a hole instead of an asymptote (topic 1.13).
  2. Find the sign on each side. Factor the denominator and decide the sign of each factor for xx slightly less than aa, then slightly more. Only the factor that is 0 at aa changes sign; every other factor keeps the sign it has at aa.
  3. Write the one-sided limits. Positive over a small positive or negative over a small negative gives ∞\infty; mixed signs give −∞-\infty.

The power of the zero factor decides whether the two sides agree. An odd power such as (x−a)(x - a) or (x−a)3(x - a)^3 changes sign at aa, so the two one-sided limits have opposite signs. An even power such as (x−a)2(x - a)^2 is positive on both sides, so the two sides match. For instance, with r(x)=x−6(x+2)2r(x) = \dfrac{x - 6}{(x + 2)^2}, the numerator is −8-8 near x=−2x = -2 and the denominator is a small positive number on both sides, so

lim⁡x→−2r(x)=−∞,\lim_{x \to -2} r(x) = -\infty,

a genuine two-sided infinite limit.

Asymptotes beyond rational functions

The same reasoning applies to any function that has a quotient or a logarithm inside it.

  • Logarithms. As x→0+x \to 0^+, ln⁡x→−∞\ln x \to -\infty, because reaching a very negative output only needs a tiny positive input (ln⁡10−6≈−13.8\ln 10^{-6} \approx -13.8). The line x=0x = 0 is a vertical asymptote of y=ln⁡xy = \ln x, and only the right-hand limit makes sense, since ln⁡x\ln x is undefined for x≤0x \le 0.
  • Tangent. tan⁡x=sin⁡xcos⁡x\tan x = \frac{\sin x}{\cos x}. As x→π2−x \to \frac{\pi}{2}^-, sin⁡x→1\sin x \to 1 and cos⁡x\cos x is a small positive number, so tan⁡x→∞\tan x \to \infty; from the right, cos⁡x\cos x is a small negative number and tan⁡x→−∞\tan x \to -\infty. That happens at every odd multiple of π2\frac{\pi}{2}.
  • One side only. For e1/xe^{1/x}, as x→0+x \to 0^+ the exponent 1x→∞\frac{1}{x} \to \infty and e1/x→∞e^{1/x} \to \infty, but as x→0−x \to 0^- the exponent goes to −∞-\infty and e1/x→0e^{1/x} \to 0. The right side alone makes x=0x = 0 a vertical asymptote.
  • A zero denominator without an asymptote. sin⁡xx\frac{\sin x}{x} is undefined at 0, but its limit there is 1 (topic 1.8), so its graph has a hole at (0,1)(0, 1), not an asymptote.

A function that is continuous at aa has the finite limit f(a)f(a) there, so it cannot have a vertical asymptote at aa. Vertical asymptotes can only occur where a function is not continuous, and they are the infinite discontinuities of topic 1.10. To find all of them, list the inputs where the function is undefined or its formula breaks (zero denominators, a logarithm's argument reaching 0, odd multiples of π2\frac{\pi}{2} for tan⁡\tan) and test each one.

Worked examples

Worked exampleExample 1: one-sided limits from signs

Let f(x)=2x+1x2−4xf(x) = \dfrac{2x + 1}{x^2 - 4x}. Find the vertical asymptotes of the graph of ff, and find both one-sided limits at each.

Show solution

The denominator factors as x(x−4)x(x - 4), which is 0 at x=0x = 0 and x=4x = 4. Check the numerator at each: 2(0)+1=12(0) + 1 = 1 and 2(4)+1=92(4) + 1 = 9. Neither is 0, so both are vertical asymptotes, and only the signs remain.

Near x=0x = 0, the numerator is near 1 (positive) and x−4x - 4 is near −4-4 (negative). The factor xx carries the sign change.

  • x→0−x \to 0^-: x<0x < 0, so the denominator is (−)(−)=(+)(-)(-) = (+), small. Positive over small positive: lim⁡x→0−f(x)=∞\lim\limits_{x \to 0^-} f(x) = \infty.
  • x→0+x \to 0^+: x>0x > 0, so the denominator is (+)(−)=(−)(+)(-) = (-), small. Positive over small negative: lim⁡x→0+f(x)=−∞\lim\limits_{x \to 0^+} f(x) = -\infty.

Near x=4x = 4, the numerator is near 9 and xx is near 4, both positive. The factor x−4x - 4 carries the sign change.

  • x→4−x \to 4^-: x−4<0x - 4 < 0, so lim⁡x→4−f(x)=−∞\lim\limits_{x \to 4^-} f(x) = -\infty.
  • x→4+x \to 4^+: x−4>0x - 4 > 0, so lim⁡x→4+f(x)=∞\lim\limits_{x \to 4^+} f(x) = \infty.

The graph below shows all four behaviors: up along x=0x = 0 on the left and down on the right, down along x=4x = 4 on the left and up on the right.

Graph of f(x) = (2x + 1)/(x squared minus 4x) for x from negative 3 to 7, with dashed vertical asymptotes at x = 0 and x = 4. Left of x = 0 the curve rises toward positive infinity; just right of x = 0 it falls toward negative infinity; between 0 and 4 it stays below the x-axis and falls toward negative infinity as x approaches 4 from the left; right of x = 4 it comes down from positive infinity.
Worked exampleExample 2: a logarithm over a linear factor

Let h(x)=ln⁡xx−2h(x) = \dfrac{\ln x}{x - 2}. Find every vertical asymptote of the graph of hh and justify each one with a limit.

Show solution

hh is defined for x>0x > 0 with x≠2x \neq 2. The places to test are the edge of the domain, x=0x = 0, and the zero of the denominator, x=2x = 2.

At x=0x = 0, only x→0+x \to 0^+ is possible. Here the numerator ln⁡x→−∞\ln x \to -\infty while the denominator x−2→−2x - 2 \to -2. An unbounded negative quantity divided by a quantity near −2-2 is unbounded and positive:

lim⁡x→0+h(x)=∞,\lim_{x \to 0^+} h(x) = \infty,

so x=0x = 0 is a vertical asymptote. This one is not "nonzero over zero"; the numerator is what blows up.

At x=2x = 2, the numerator is ln⁡2≈0.693\ln 2 \approx 0.693, a positive number, and the denominator goes to 0. For x>2x > 2 the denominator is positive and for x<2x < 2 it is negative, so

lim⁡x→2+h(x)=∞,lim⁡x→2−h(x)=−∞,\lim_{x \to 2^+} h(x) = \infty, \qquad \lim_{x \to 2^-} h(x) = -\infty,

and x=2x = 2 is a vertical asymptote.

The numerator is 0 at x=1x = 1, but that only makes h(1)=0h(1) = 0; it has nothing to do with asymptotes, which come from the function becoming unbounded.

Worked exampleExample 3: choosing a constant to control the asymptotes (exam style, no calculator)

Let f(x)=x2+kx−6x2−x−2f(x) = \dfrac{x^2 + kx - 6}{x^2 - x - 2}, where kk is a constant.

(a) Find all values of kk for which the graph of ff has exactly one vertical asymptote. For each, give an equation of the asymptote.

(b) Let k=1k = 1. Find lim⁡x→−1−f(x)\lim\limits_{x \to -1^-} f(x), lim⁡x→−1+f(x)\lim\limits_{x \to -1^+} f(x) and lim⁡x→2f(x)\lim\limits_{x \to 2} f(x).

(c) Is it possible to choose kk so that the graph of ff has no vertical asymptotes? Explain.

Show solution

(a) The denominator factors as (x−2)(x+1)(x - 2)(x + 1), so the candidates are x=2x = 2 and x=−1x = -1. Each is an asymptote unless the numerator is also 0 there, in which case the shared factor cancels and leaves a hole. For exactly one asymptote, the numerator must be 0 at exactly one of them.

Numerator 0 at x=2x = 2: 4+2k−6=04 + 2k - 6 = 0, so k=1k = 1. Then the numerator is x2+x−6=(x+3)(x−2)x^2 + x - 6 = (x + 3)(x - 2), and for x≠2x \neq 2, f(x)=x+3x+1f(x) = \dfrac{x + 3}{x + 1}. At x=−1x = -1 the numerator x+3x + 3 is 2≠02 \neq 0, so the only vertical asymptote is x=−1x = -1.

Numerator 0 at x=−1x = -1: 1−k−6=01 - k - 6 = 0, so k=−5k = -5. Then the numerator is x2−5x−6=(x−6)(x+1)x^2 - 5x - 6 = (x - 6)(x + 1), and for x≠−1x \neq -1, f(x)=x−6x−2f(x) = \dfrac{x - 6}{x - 2}. At x=2x = 2 the numerator x−6x - 6 is −4≠0-4 \neq 0, so the only vertical asymptote is x=2x = 2.

For any other kk, the numerator is nonzero at both points and there are two asymptotes. So k=1k = 1 (asymptote x=−1x = -1) or k=−5k = -5 (asymptote x=2x = 2).

(b) With k=1k = 1, f(x)=x+3x+1f(x) = \dfrac{x + 3}{x + 1} for x≠2x \neq 2. Near x=−1x = -1 the numerator is near 2, which is positive.

lim⁡x→−1−f(x)=−∞(x+1<0),lim⁡x→−1+f(x)=∞(x+1>0).\lim_{x \to -1^-} f(x) = -\infty \quad (x + 1 < 0), \qquad \lim_{x \to -1^+} f(x) = \infty \quad (x + 1 > 0).

At x=2x = 2 the simplified form is continuous, so

lim⁡x→2f(x)=2+32+1=53.\lim_{x \to 2} f(x) = \frac{2 + 3}{2 + 1} = \frac{5}{3}.

The limit at 2 is finite, which is why x=2x = 2 is not an asymptote: the graph has a hole at (2,53)\left(2, \frac{5}{3}\right).

(c) No. Removing both would need the numerator to be 0 at both x=2x = 2 and x=−1x = -1, which would make it a multiple of (x−2)(x+1)=x2−x−2(x - 2)(x + 1) = x^2 - x - 2. A numerator of the form x2+kx−6x^2 + kx - 6 with leading coefficient 1 would have to equal x2−x−2x^2 - x - 2 exactly, and its constant term is −6-6, not −2-2. So at least one asymptote remains for every kk.

Where students lose points

On the exam

To justify that x=ax = a is a vertical asymptote, give one one-sided limit at aa that is ∞\infty or −∞-\infty; a statement about the denominator being 0 is not enough on its own. On calculator-active questions, a graphing calculator can draw a near-vertical segment across an asymptote or skip a narrow spike, so decide asymptotes from the formula, using the graph only to confirm.

Check yourself

  1. Question 1

    What is lim⁡x→3−x+1x2−9\lim\limits_{x \to 3^-} \dfrac{x + 1}{x^2 - 9}?

    1. A

      −∞-\infty

    2. B

      ∞\infty

    3. C

      00

    4. D

      23\dfrac{2}{3}

    Show answer

    A

    The numerator approaches 4. The denominator is (x−3)(x+3)(x - 3)(x + 3): for xx slightly less than 3, x−3x - 3 is a small negative number and x+3x + 3 is near 6, so the denominator is a small negative number. Positive over small negative gives −∞-\infty. Choice B comes from checking only the size and not the sign.

  2. Question 2

    Find every vertical asymptote of the graph of y=x2−1x3−xy = \dfrac{x^2 - 1}{x^3 - x}.

    Show answer

    Only x=0x = 0.

    The denominator is x(x−1)(x+1)x(x - 1)(x + 1) and the numerator is (x−1)(x+1)(x - 1)(x + 1), so for x≠±1x \neq \pm 1 the function equals 1x\dfrac{1}{x}. At x=1x = 1 and x=−1x = -1 the limits are 11 and −1-1 (holes), while at x=0x = 0 the numerator of 1x\dfrac{1}{x} is nonzero, so lim⁡x→0+y=∞\lim\limits_{x \to 0^+} y = \infty.

  3. Question 3

    A function ff satisfies lim⁡x→2−f(x)=5\lim\limits_{x \to 2^-} f(x) = 5 and lim⁡x→2+f(x)=∞\lim\limits_{x \to 2^+} f(x) = \infty. Which of the following must be true?

    1. A

      The line x=2x = 2 is a vertical asymptote of the graph of ff.

    2. B

      lim⁡x→2f(x)=∞\lim\limits_{x \to 2} f(x) = \infty

    3. C

      f(2)f(2) is undefined.

    4. D

      The line y=5y = 5 is a horizontal asymptote of the graph of ff.

    Show answer

    A

    One unbounded one-sided limit is enough for a vertical asymptote. B is false because the left side approaches 5, so the two-sided limit does not exist. C need not hold: f(2)f(2) could be defined, for example as 5. D confuses a limit as x→2−x \to 2^- with end behavior.

  4. Question 4

    Find lim⁡x→π−cos⁡xsin⁡x\lim\limits_{x \to \pi^-} \dfrac{\cos x}{\sin x}.

    Show answer

    −∞-\infty

    As x→π−x \to \pi^-, cos⁡x→−1\cos x \to -1 while sin⁡x\sin x approaches 0 through positive values (sine is positive just below π\pi). A number near −1-1 divided by a small positive number is unbounded and negative.

Go deeper