Math Core

Lesson 1.8 · Limits and Continuity

Limits at infinity and asymptotes

So far, limits have described what happens as xx approaches a finite number cc, and every limit has been a real number or has failed to exist. Now you will use limit notation to describe two kinds of extreme behavior: outputs that grow without bound near a point, and the long-run behavior of a function as xx itself grows without bound. These two ideas give precise definitions of vertical and horizontal asymptotes.

Infinite limits and vertical asymptotes

When the outputs of ff increase without bound as x→cx \to c, we write lim⁡x→cf(x)=∞\displaystyle \lim_{x \to c} f(x) = \infty; when they decrease without bound, we write −∞-\infty. These are called infinite limits. Remember that the limit still does not exist as a real number; the symbol ∞\infty describes why.

Definition

Vertical asymptote

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

For a quotient, a vertical asymptote usually appears where the denominator approaches 00 and the numerator approaches a nonzero number. To decide between ∞\infty and −∞-\infty, analyze signs: the size of the quotient becomes huge, and its sign is the sign of the numerator divided by the sign of the (tiny) denominator.

Worked example: Sign analysis at a vertical asymptote

Find lim⁡x→3−x+2x−3\displaystyle \lim_{x \to 3^-} \frac{x + 2}{x - 3} and lim⁡x→3+x+2x−3\displaystyle \lim_{x \to 3^+} \frac{x + 2}{x - 3}.

Solution. As x→3x \to 3, the numerator approaches 55 (positive) and the denominator approaches 00.

  • For xx slightly less than 33, x−3x - 3 is a tiny negative number, so the quotient is positivetiny negative\dfrac{\text{positive}}{\text{tiny negative}}: large and negative. lim⁡x→3−x+2x−3=−∞\displaystyle \lim_{x \to 3^-} \frac{x + 2}{x - 3} = -\infty.
  • For xx slightly greater than 33, x−3x - 3 is a tiny positive number, so lim⁡x→3+x+2x−3=∞\displaystyle \lim_{x \to 3^+} \frac{x + 2}{x - 3} = \infty.

So x=3x = 3 is a vertical asymptote, and the two-sided limit does not exist (not even as ∞\infty, since the sides disagree).

A squared factor behaves differently: x−1(x−4)2\dfrac{x - 1}{(x - 4)^2} has a positive denominator on both sides of 44 and a numerator near 33, so lim⁡x→4x−1(x−4)2=∞\displaystyle \lim_{x \to 4} \frac{x - 1}{(x - 4)^2} = \infty from both sides.

Limits at infinity and horizontal asymptotes

The notation lim⁡x→∞f(x)=L\displaystyle \lim_{x \to \infty} f(x) = L means that f(x)f(x) can be made as close to LL as you like by taking xx large enough. Similarly for x→−∞x \to -\infty.

Definition

Horizontal asymptote

The line y=Ly = L is a horizontal asymptote of the graph of ff if lim⁡x→∞f(x)=L\displaystyle \lim_{x \to \infty} f(x) = L or lim⁡x→−∞f(x)=L\displaystyle \lim_{x \to -\infty} f(x) = L.

A function can have at most two horizontal asymptotes, one on each end. Unlike vertical asymptotes, a graph may cross a horizontal asymptote; the asymptote only describes end behavior.

y = (2x + 1)/(x − 1) has a vertical asymptote x = 1 and a horizontal asymptote y = 2.Open in grapher →

The basic building block is

lim⁡x→±∞1xn=0for any n>0,\lim_{x \to \pm\infty} \frac{1}{x^n} = 0 \quad \text{for any } n > 0,

because dividing 11 by a huge number gives a number close to 00. The limit laws hold for limits at infinity as well.

Rational functions: divide by the highest power

To find the limit of a rational function as x→±∞x \to \pm\infty, divide the numerator and denominator by the highest power of xx in the denominator, then use 1xn→0\dfrac{1}{x^n} \to 0.

Worked example: Equal degrees

Evaluate lim⁡x→∞3x2−5x+16x2+x−4\displaystyle \lim_{x \to \infty} \frac{3x^2 - 5x + 1}{6x^2 + x - 4}.

Solution. Divide every term by x2x^2:

lim⁡x→∞3−5x+1x26+1x−4x2=3−0+06+0−0=12.\lim_{x \to \infty} \frac{3 - \dfrac{5}{x} + \dfrac{1}{x^2}}{6 + \dfrac{1}{x} - \dfrac{4}{x^2}} = \frac{3 - 0 + 0}{6 + 0 - 0} = \frac{1}{2}.

The horizontal asymptote is y=12y = \dfrac{1}{2}.

Repeating this process for every case gives a shortcut worth memorizing.

End behavior of rational functions

For f(x)=p(x)q(x)f(x) = \dfrac{p(x)}{q(x)} with leading terms axmax^m (numerator) and bxnbx^n (denominator):

Degreeslim⁡x→±∞f(x)\displaystyle \lim_{x \to \pm\infty} f(x)Horizontal asymptote
mm less than nn (bottom-heavy)00y=0y = 0
m=nm = n (equal)ab\dfrac{a}{b}y=aby = \dfrac{a}{b}
mm greater than nn (top-heavy)∞\infty or −∞-\inftynone

In the top-heavy case the sign comes from the leading terms. For instance, x3+14x2+x\dfrac{x^3 + 1}{4x^2 + x} behaves like x34x2=x4\dfrac{x^3}{4x^2} = \dfrac{x}{4} for large xx, so it approaches ∞\infty as x→∞x \to \infty and −∞-\infty as x→−∞x \to -\infty.

Square roots and x → −∞

When a square root is involved, remember that x2=∣x∣\sqrt{x^2} = \lvert x \rvert, which equals −x-x when xx is negative.

Worked example: A radical at negative infinity

Evaluate lim⁡x→−∞9x2+42x−1\displaystyle \lim_{x \to -\infty} \frac{\sqrt{9x^2 + 4}}{2x - 1}.

Solution. For x<0x < 0, 9x2+4=x29+4x2=−x9+4x2\sqrt{9x^2 + 4} = \sqrt{x^2}\sqrt{9 + \dfrac{4}{x^2}} = -x\sqrt{9 + \dfrac{4}{x^2}}. Divide numerator and denominator by xx:

−x9+4x22x−1=−9+4x22−1x  ⟶  −92=−32.\frac{-x\sqrt{9 + \frac{4}{x^2}}}{2x - 1} = \frac{-\sqrt{9 + \frac{4}{x^2}}}{2 - \frac{1}{x}} \;\longrightarrow\; \frac{-\sqrt{9}}{2} = -\frac{3}{2}.

As x→∞x \to \infty the same function approaches +32+\dfrac{3}{2}, so the graph has two different horizontal asymptotes, y=32y = \dfrac{3}{2} and y=−32y = -\dfrac{3}{2}.

Exponential and other functions

Some other end behaviors to know:

  • lim⁡x→−∞ex=0\displaystyle \lim_{x \to -\infty} e^x = 0 and lim⁡x→∞ex=∞\displaystyle \lim_{x \to \infty} e^x = \infty, so lim⁡x→∞e−x=0\displaystyle \lim_{x \to \infty} e^{-x} = 0.
  • lim⁡x→∞ln⁡x=∞\displaystyle \lim_{x \to \infty} \ln x = \infty and lim⁡x→0+ln⁡x=−∞\displaystyle \lim_{x \to 0^+} \ln x = -\infty (a vertical asymptote at x=0x = 0).
  • lim⁡x→∞sin⁡xx=0\displaystyle \lim_{x \to \infty} \frac{\sin x}{x} = 0 by the squeeze theorem: for x>0x > 0, −1x≤sin⁡xx≤1x-\dfrac{1}{x} \le \dfrac{\sin x}{x} \le \dfrac{1}{x}, and both bounds approach 00. This graph crosses its horizontal asymptote y=0y = 0 infinitely many times.

Common mistake

"The degree rule" only applies to limits as x→±∞x \to \pm\infty. It says nothing about limits at a finite point. Also, with square roots, check the sign carefully as x→−∞x \to -\infty: forgetting that x2=−x\sqrt{x^2} = -x for negative xx is the most common error, and it flips the sign of the answer.

Tip

For end behavior, only the "biggest" terms matter. As a quick check, keep just the leading term on top and bottom: 3x2−5x+16x2+x−4≈3x26x2=12\dfrac{3x^2 - 5x + 1}{6x^2 + x - 4} \approx \dfrac{3x^2}{6x^2} = \dfrac{1}{2} for large ∣x∣\lvert x \rvert.

Practice

Practice 1

Evaluate lim⁡x→∞4x3−x8x3+5x2+2\displaystyle \lim_{x \to \infty} \frac{4x^3 - x}{8x^3 + 5x^2 + 2}.

Enter a number. Fractions like 3/4 and sqrt(2) are OK.

Practice 2

Evaluate lim⁡x→∞5−2x3x3+4x\displaystyle \lim_{x \to \infty} \frac{5 - 2x^3}{x^3 + 4x}.

Enter a number. Fractions like 3/4 and sqrt(2) are OK.

Practice 3

What is lim⁡x→2−x+1x−2\displaystyle \lim_{x \to 2^-} \frac{x + 1}{x - 2}?

Practice 4

Evaluate lim⁡x→−∞4x2+xx+3\displaystyle \lim_{x \to -\infty} \frac{\sqrt{4x^2 + x}}{x + 3}.

Enter a number. Fractions like 3/4 and sqrt(2) are OK.

Practice 5

Which lines are the horizontal asymptotes of the graph of y=4ex+1ex−2y = \dfrac{4e^x + 1}{e^x - 2}?

Practice 6

Evaluate lim⁡x→∞3+cos⁡xx\displaystyle \lim_{x \to \infty} \frac{3 + \cos x}{x}.

Enter a number. Fractions like 3/4 and sqrt(2) are OK.

Practice 7

Which statement describes all the asymptotes of the graph of y=x2−4x2−x−6y = \dfrac{x^2 - 4}{x^2 - x - 6}?

Practice 8

Evaluate lim⁡x→∞(x2+6x−x)\displaystyle \lim_{x \to \infty} \left(\sqrt{x^2 + 6x} - x\right).

Enter a number. Fractions like 3/4 and sqrt(2) are OK.