Skip to content

Unit 1: Limits and Continuity

Connecting Limits at Infinity and Horizontal Asymptotes

Find limits as x grows without bound, read them as end behavior and horizontal asymptotes, and compare how fast functions grow using a limit of their ratio.

Topic 1.15 · 9 min read

Evaluate 3x2x2+1\dfrac{3x^2}{x^2 + 1} at x=10x = 10 and you get about 2.9702.970; at x=100x = 100, about 2.99972.9997. As xx grows, the +1+1 in the denominator matters less and less, and the values settle toward 3. Topic 1.14 asked what happens as xx approaches a number; this topic asks what happens as xx itself grows without bound, which is the question of a function's end behavior: what its graph does at the far right and far left.

Limits at infinity

Writing

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

means that f(x)f(x) stays as close to LL as you want once xx is large enough. Choose a tolerance like 0.0010.001, and from some point on, every value of f(x)f(x) is within 0.0010.001 of LL. The limit as x→−∞x \to -\infty means the same for inputs that are very negative. A function can also grow without bound at the ends, written lim⁡x→∞f(x)=∞\lim\limits_{x \to \infty} f(x) = \infty (as x2x^2 does), or have no limit at all because it keeps oscillating (as sin⁡x\sin x does, swinging between −1-1 and 11 forever).

A few limits are the building blocks for everything else:

FunctionAs x→∞x \to \inftyAs x→−∞x \to -\infty
1xp\dfrac{1}{x^p}, p>0p > 00000 (when xpx^p is defined for x<0x < 0)
exe^x∞\infty00
e−xe^{-x}00∞\infty
ln⁡x\ln x∞\inftynot defined
arctan⁡x\arctan xπ2\dfrac{\pi}{2}−π2-\dfrac{\pi}{2}

The first row is the workhorse: a fixed number divided by something growing without bound shrinks to 0. The last row is a function with two different horizontal asymptotes, y=π2y = \frac{\pi}{2} on the right and y=−π2y = -\frac{\pi}{2} on the left.

A horizontal asymptote only describes what happens far out. Unlike a vertical asymptote, it can be crossed, any number of times. The function g(x)=2x2+3xx2+1g(x) = \dfrac{2x^2 + 3x}{x^2 + 1} has lim⁡x→±∞g(x)=2\lim\limits_{x \to \pm\infty} g(x) = 2, yet g(x)=2g(x) = 2 when 3x=23x = 2, so the graph crosses y=2y = 2 at x=23x = \frac{2}{3}, rises above it, and then falls back toward it.

Graph of g(x) = (2x squared + 3x)/(x squared + 1) for x from negative 12 to 12 with the dashed horizontal line y = 2. On the left the curve approaches y = 2 from below. It dips to a minimum of about negative 0.8 near x = negative 0.5, rises through y = 2 at x = 2/3 (marked with a dot), peaks at about 2.8 near x = 1.9, and then decreases toward y = 2 from above.

Rational functions: the leading terms decide

For large xx, the highest power in a polynomial dwarfs everything else. At x=1000x = 1000, the term 5x5x is about 0.17%0.17\% of 3x23x^2. So the end behavior of a rational function comes down to the leading term of the numerator over the leading term of the denominator. To show it with limits, divide every term by the highest power of xx in the denominator, then use cxp→0\frac{c}{x^p} \to 0:

lim⁡x→∞3x2x2+1=lim⁡x→∞31+1x2=31+0=3.\lim_{x \to \infty} \frac{3x^2}{x^2 + 1} = \lim_{x \to \infty} \frac{3}{1 + \frac{1}{x^2}} = \frac{3}{1 + 0} = 3.

A rational function always has the same limit at both ends (when the limit is finite), so it has at most one horizontal asymptote.

Radicals, and why x→−∞x \to -\infty needs care

With a square root, the dominant term is still the one with the highest power, but x2=∣x∣\sqrt{x^2} = |x|, not xx. For negative xx, ∣x∣=−x|x| = -x, and that sign flip is where two different asymptotes come from. Take 4x2+1x−3\dfrac{\sqrt{4x^2 + 1}}{x - 3}. Inside the root, factor out x2x^2: 4x2+1=∣x∣4+1x2\sqrt{4x^2 + 1} = |x|\sqrt{4 + \frac{1}{x^2}}. Then

lim⁡x→∞x4+1x2x−3=lim⁡x→∞4+1x21−3x=2,lim⁡x→−∞−x4+1x2x−3=−2.\lim_{x \to \infty} \frac{x\sqrt{4 + \frac{1}{x^2}}}{x - 3} = \lim_{x \to \infty}\frac{\sqrt{4 + \frac{1}{x^2}}}{1 - \frac{3}{x}} = 2, \qquad \lim_{x \to -\infty} \frac{-x\sqrt{4 + \frac{1}{x^2}}}{x - 3} = -2.

The graph has two horizontal asymptotes, y=2y = 2 and y=−2y = -2. The sign check is reasonable: for very negative xx, the numerator is positive and the denominator is negative.

Comparing how fast functions grow

When ff and gg both grow without bound, the limit of their ratio says which one grows faster:

"Faster" is about the long run, not about which function is bigger at a particular xx. At x=10x = 10, x10=1010x^{10} = 10^{10} is far bigger than e10≈22,026e^{10} \approx 22{,}026. But exe^x overtakes x10x^{10} near x≈35.8x \approx 35.8 and stays ahead, and by x=100x = 100 it is about 2.7×10432.7 \times 10^{43} against x10=1020x^{10} = 10^{20}. Each step from xx to x+1x + 1 multiplies exe^x by e≈2.718e \approx 2.718, while it multiplies x10x^{10} by (x+1x)10\left(\frac{x+1}{x}\right)^{10}, a factor that sinks toward 1 as xx grows. A constant multiplier always beats one that shrinks toward 1. The proof that the ratio goes to 0 uses L'Hospital's Rule (topic 4.7); until then, use the ordering as a known fact.

"Same rate" can hide a large difference. x2+100xx^2 + 100x is always bigger than x2x^2 for x>0x > 0, by 100x100x, which itself grows without bound. Still, x2+100xx2=1+100x→1\dfrac{x^2 + 100x}{x^2} = 1 + \dfrac{100}{x} \to 1, so the two grow at the same rate: the extra 100x100x is a vanishing fraction of the total.

Taking the limit of a ratio works the same way for any two quantities that both go to infinity, or both go to 0, including two rates of change. If two tanks drain at rates that both approach 0, the limit of the ratio of the rates tells you which tank's flow becomes negligible next to the other's. Example 4 does this.

Worked examples

Worked exampleExample 1: rational end behavior

Find lim⁡x→∞\lim\limits_{x \to \infty} and lim⁡x→−∞\lim\limits_{x \to -\infty} for each function, and give any horizontal asymptotes.

(a) f(x)=6x2−x3−2x2f(x) = \dfrac{6x^2 - x}{3 - 2x^2}

(b) g(x)=x3−2x5x2+1g(x) = \dfrac{x^3 - 2x}{5x^2 + 1}

Show solution

(a) The degrees are equal, so divide every term by x2x^2:

f(x)=6−1x3x2−2  ⟶  6−00−2=−3f(x) = \frac{6 - \frac{1}{x}}{\frac{3}{x^2} - 2} \;\longrightarrow\; \frac{6 - 0}{0 - 2} = -3

as x→∞x \to \infty, and the same computation works as x→−∞x \to -\infty. The horizontal asymptote is y=−3y = -3. The negative sign comes from the denominator's leading coefficient, −2-2, which is why reading the leading coefficients (not the first-written terms) matters.

(b) The numerator has the higher degree. Divide by x2x^2:

g(x)=x−2x5+1x2.g(x) = \frac{x - \frac{2}{x}}{5 + \frac{1}{x^2}}.

The denominator goes to 5, and the numerator behaves like xx. So lim⁡x→∞g(x)=∞\lim\limits_{x \to \infty} g(x) = \infty and lim⁡x→−∞g(x)=−∞\lim\limits_{x \to -\infty} g(x) = -\infty. There is no horizontal asymptote; for large ∣x∣|x| the graph behaves like the line y=x5y = \frac{x}{5}.

Worked exampleExample 2: exponentials, two asymptotes

Let k(x)=6ex+12ex+3k(x) = \dfrac{6e^x + 1}{2e^x + 3}. Find the horizontal asymptotes of the graph of kk.

Show solution

The two ends behave differently because exe^x grows on the right and shrinks on the left, so take each limit separately.

As x→∞x \to \infty, exe^x dominates. Divide every term by exe^x:

k(x)=6+e−x2+3e−x  ⟶  6+02+0=3.k(x) = \frac{6 + e^{-x}}{2 + 3e^{-x}} \;\longrightarrow\; \frac{6 + 0}{2 + 0} = 3.

As x→−∞x \to -\infty, ex→0e^x \to 0, so no division is needed:

k(x)  ⟶  0+10+3=13.k(x) \;\longrightarrow\; \frac{0 + 1}{0 + 3} = \frac{1}{3}.

The graph has two horizontal asymptotes: y=3y = 3 (on the right) and y=13y = \frac{1}{3} (on the left).

Worked exampleExample 3: a difference that looks like ∞−∞\infty - \infty

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

Show solution

Both terms go to ∞\infty, and the form ∞−∞\infty - \infty gives no answer by itself: the first term is a little bigger than the second, and the question is how much. Multiply and divide by the conjugate to turn the difference into a quotient:

x2+6x−x=(x2+6x)−x2x2+6x+x=6xx2+6x+x.\sqrt{x^2 + 6x} - x = \frac{\left(x^2 + 6x\right) - x^2}{\sqrt{x^2 + 6x} + x} = \frac{6x}{\sqrt{x^2 + 6x} + x}.

Now divide the top and bottom by xx, using x2+6x=x1+6x\sqrt{x^2 + 6x} = x\sqrt{1 + \frac{6}{x}} for x>0x > 0:

61+6x+1  ⟶  61+1=3.\frac{6}{\sqrt{1 + \frac{6}{x}} + 1} \;\longrightarrow\; \frac{6}{1 + 1} = 3.

So the line y=3y = 3 is a horizontal asymptote on the right. The answer makes sense: x2+6x\sqrt{x^2 + 6x} is close to (x+3)2=x+3\sqrt{(x + 3)^2} = x + 3 for large xx, which is 3 more than xx.

Worked exampleExample 4: two drinks cooling (exam style, no calculator)

A cup of coffee and a cup of tea are both poured at 85 degrees Celsius into a room at 20 degrees Celsius. The temperature of the coffee is C(t)=20+65e−0.08tC(t) = 20 + 65e^{-0.08t} and the temperature of the tea is T(t)=20+1300t+20T(t) = 20 + \dfrac{1300}{t + 20}, both in degrees Celsius, where tt is minutes after pouring. Their rates of change are

C′(t)=−5.2e−0.08t,T′(t)=−1300(t+20)2C'(t) = -5.2e^{-0.08t}, \qquad T'(t) = -\frac{1300}{(t + 20)^2}

degrees Celsius per minute.

(a) Find lim⁡t→∞C(t)\lim\limits_{t \to \infty} C(t) and interpret it in context.

(b) Both drinks approach the same temperature. Use a limit to decide which drink is eventually much closer to that temperature.

(c) Find lim⁡t→∞C′(t)T′(t)\lim\limits_{t \to \infty} \dfrac{C'(t)}{T'(t)} and explain what it says about how the two drinks are cooling after a long time.

Show solution

(a) As t→∞t \to \infty, −0.08t→−∞-0.08t \to -\infty, so e−0.08t→0e^{-0.08t} \to 0 and

lim⁡t→∞C(t)=20+65⋅0=20.\lim_{t \to \infty} C(t) = 20 + 65\cdot 0 = 20.

In the long run the coffee's temperature approaches 20 degrees Celsius, the room's temperature. The line y=20y = 20 is a horizontal asymptote of the graph of CC.

(b) The tea also approaches 20, since 1300t+20→0\frac{1300}{t + 20} \to 0. Compare the distances from room temperature, C(t)−20=65e−0.08tC(t) - 20 = 65e^{-0.08t} and T(t)−20=1300t+20T(t) - 20 = \frac{1300}{t + 20}, with the limit of their ratio:

lim⁡t→∞65e−0.08t1300t+20=lim⁡t→∞t+2020e0.08t=0,\lim_{t \to \infty} \frac{65e^{-0.08t}}{\frac{1300}{t + 20}} = \lim_{t \to \infty} \frac{t + 20}{20e^{0.08t}} = 0,

because an exponential with a positive exponent grows faster than any polynomial. The coffee's distance from 20 degrees becomes negligible compared with the tea's, so the coffee is eventually much closer to room temperature. At t=60t = 60, for instance, the coffee is about 0.5350.535 degree above room temperature and the tea is 16.2516.25 degrees above.

(c) Both rates approach 0. Their ratio is

C′(t)T′(t)=5.2e−0.08t(t+20)21300=(t+20)2250e0.08t  ⟶  0,\frac{C'(t)}{T'(t)} = \frac{5.2e^{-0.08t}(t + 20)^2}{1300} = \frac{(t + 20)^2}{250e^{0.08t}} \;\longrightarrow\; 0,

again because the exponential in the denominator outgrows the polynomial (t+20)2(t + 20)^2. After a long time the coffee's temperature is changing at a rate that is negligible compared with the tea's, in degrees Celsius per minute. Both drinks keep cooling, but the coffee's cooling dies out much faster, which matches part (b): the coffee has almost no temperature difference left to lose.

Where students lose points

On the exam

A horizontal asymptote is justified by a limit statement, such as lim⁡x→∞C(t)=20\lim\limits_{x \to \infty} C(t) = 20, for each direction you claim. When a question gives a function in context, it can ask for the limit as t→∞t \to \infty with an interpretation; the interpretation names the quantity, its units, and the long-run value, as in Example 4(a).

Check yourself

  1. Question 1

    What is lim⁡x→−∞9x2+24−3x\lim\limits_{x \to -\infty} \dfrac{\sqrt{9x^2 + 2}}{4 - 3x}?

    1. A

      11

    2. B

      −1-1

    3. C

      33

    4. D

      00

    Show answer

    A

    For x<0x < 0, 9x2+2=∣x∣9+2x2=−x9+2x2\sqrt{9x^2 + 2} = |x|\sqrt{9 + \frac{2}{x^2}} = -x\sqrt{9 + \frac{2}{x^2}}. Dividing the top and bottom by −x-x gives 9+2/x2−4/x+3→33=1\dfrac{\sqrt{9 + 2/x^2}}{-4/x + 3} \to \dfrac{3}{3} = 1. Choice B comes from replacing x2\sqrt{x^2} by xx, which is wrong for negative xx.

  2. Question 2

    Find lim⁡x→∞x5+3x2⋅3x+x4\lim\limits_{x \to \infty} \dfrac{x^5 + 3^x}{2\cdot 3^x + x^4}.

    Show answer

    12\dfrac{1}{2}

    The exponential 3x3^x outgrows every power of xx, so divide every term by 3x3^x: x5/3x+12+x4/3x\dfrac{x^5/3^x + 1}{2 + x^4/3^x}. Both x53x\dfrac{x^5}{3^x} and x43x\dfrac{x^4}{3^x} go to 0, leaving 12\dfrac{1}{2}.

  3. Question 3

    As x→∞x \to \infty, which of these functions grows fastest?

    1. A

      x100x^{100}

    2. B

      (1.01)x(1.01)^x

    3. C

      (ln⁡x)50(\ln x)^{50}

    4. D

      100x99100x^{99}

    Show answer

    B

    An exponential with base greater than 1 eventually outgrows every power of xx, however large the power, and every power of xx outgrows every power of ln⁡x\ln x. The base 1.01 makes the exponential slow to start, which is what makes A tempting, but lim⁡x→∞x100(1.01)x=0\lim\limits_{x \to \infty} \dfrac{x^{100}}{(1.01)^x} = 0.

  4. Question 4

    Find every horizontal asymptote of the graph of y=2arctan⁡x+1y = 2\arctan x + 1.

    Show answer

    y=π+1y = \pi + 1 and y=1−πy = 1 - \pi.

    As x→∞x \to \infty, arctan⁡x→π2\arctan x \to \frac{\pi}{2}, so y→2⋅π2+1=π+1y \to 2\cdot\frac{\pi}{2} + 1 = \pi + 1. As x→−∞x \to -\infty, arctan⁡x→−π2\arctan x \to -\frac{\pi}{2}, so y→1−πy \to 1 - \pi. The two directions give two different asymptotes.

  5. Question 5

    Let f(x)=x2+100xf(x) = x^2 + 100x and g(x)=3x2g(x) = 3x^2. Do ff and gg grow at the same rate as x→∞x \to \infty? Justify with a limit.

    Show answer

    Yes. lim⁡x→∞f(x)g(x)=13\lim\limits_{x \to \infty} \dfrac{f(x)}{g(x)} = \dfrac{1}{3}, a positive number, so they grow at the same rate.

    x2+100x3x2=13+1003x→13\dfrac{x^2 + 100x}{3x^2} = \dfrac{1}{3} + \dfrac{100}{3x} \to \dfrac{1}{3}. For large xx, f(x)≈13g(x)f(x) \approx \frac{1}{3}g(x): the term 100x100x grows without bound but becomes a vanishing fraction of x2x^2, and the constant factor 3 does not change the rate class.

Go deeper