Limits at Infinity and Asymptotic Growth

Published on 2026-11-04·v1.0

Learning Objectives

  • State the definition of lim⁡x→∞f(x)=L\lim_{x\to\infty}f(x)=L and prove a simple case with explicit ε\varepsilon and NN.
  • Evaluate limits at infinity of rational functions and of expressions with roots, including the sign care needed at −∞-\infty.
  • Find horizontal, vertical, and slant asymptotes of a function, and tell an asymptote from a hole.
  • Order logarithms, powers, and exponentials by growth, and say precisely what "grows faster" means.
  • Use the limit of a ratio to decide Big-O relationships, and name the case where that test cannot decide.

Context & Motivation

The question behind asymptotic analysis is what a function does at the far end of its domain. In big-o-and-asymptotic-complexity, f(n)f(n) is O(g(n))O(g(n)) when f(n)≤c g(n)f(n)\le c\,g(n) for all n≥n0n\ge n_0, and the growth rates there are ordered with tables and with crossover points such as n=100n=100 where 100n100n meets n2n^2. That lesson gives the notation and the definition. This one supplies the calculus underneath: a limit of a ratio as the variable grows without bound is a computation, and for the common function families it settles the comparison without a table.

Limits at infinity also describe long-run behavior in general: the steady state of a system, the speed of a falling object approaching terminal velocity, the learning rate that decays toward zero. The tools are those of limit-laws-and-indeterminate-forms, now applied to x→∞x\to\infty instead of x→ax\to a.

Core Theory

Limits as x grows without bound

Definition. Let ff be defined on some interval (c,∞)(c,\infty). Then lim⁡x→∞f(x)=L\lim_{x\to\infty}f(x)=L means: for every ε>0\varepsilon>0 there is a number NN such that

x>N⟹∣f(x)−L∣<ε.x>N \quad\Longrightarrow\quad \lvert f(x)-L\rvert<\varepsilon.

This is the earlier ε\varepsilon-δ\delta game with "xx near aa" replaced by "xx far out". The statement lim⁡x→∞f(x)=∞\lim_{x\to\infty}f(x)=\infty means that for every MM there is an NN with x>N⇒f(x)>Mx>N\Rightarrow f(x)>M; as before, the symbol describes how the limit fails to be a real number. The case x→−∞x\to-\infty is the mirror image. The limit laws from the previous lesson hold for limits at infinity with the same proofs, with the same hypotheses (parts must have finite limits; a quotient needs a nonzero denominator limit).

Two building blocks: lim⁡x→∞1/xp=0\lim_{x\to\infty}1/x^p=0 for every p>0p>0, and lim⁡x→∞xp=∞\lim_{x\to\infty}x^p=\infty.

Real variable versus integer variable. Big-O is stated for integers nn. If lim⁡x→∞f(x)=L\lim_{x\to\infty}f(x)=L, then lim⁡n→∞f(n)=L\lim_{n\to\infty}f(n)=L along the integers, since the integers are among the xx's that must be close. The converse fails: sin⁡(πx)\sin(\pi x) equals 00 at every integer, so along the integers its limit is 00, but as a function of real xx it has no limit.

Rational functions: compare degrees

For f=p/qf=p/q with pp of degree mm and qq of degree nn, divide numerator and denominator by xnx^n:

  • m<nm<n: the limit at ±∞\pm\infty is 00;
  • m=nm=n: the limit is the ratio of leading coefficients;
  • m>nm>n: there is no finite limit; ff grows without bound in magnitude.

Roots demand care with signs. For x>0x>0, x2=x\sqrt{x^2}=x, but for x<0x<0, x2=∣x∣=−x\sqrt{x^2}=\lvert x\rvert=-x. This is why lim⁡x→∞xx2+1=1\lim_{x\to\infty}\dfrac{x}{\sqrt{x^2+1}}=1 while lim⁡x→−∞xx2+1=−1\lim_{x\to-\infty}\dfrac{x}{\sqrt{x^2+1}}=-1. The difference x2+x−x\sqrt{x^2+x}-x is an ∞−∞\infty-\infty form, resolved by multiplying by the conjugate (Example 3).

Asymptotes

  • A horizontal asymptote is a line y=Ly=L with lim⁡x→∞f(x)=L\lim_{x\to\infty}f(x)=L or lim⁡x→−∞f(x)=L\lim_{x\to-\infty}f(x)=L. A function can have none (sin⁡x\sin x), one (exe^x has y=0y=0 at −∞-\infty only), or two (arctan⁡x\arctan x has y=π/2y=\pi/2 and y=−π/2y=-\pi/2).
  • A vertical asymptote is a line x=ax=a at which at least one one-sided limit is ±∞\pm\infty.
  • A slant asymptote is a line y=mx+by=mx+b with f(x)−(mx+b)→0f(x)-(mx+b)\to0 as x→±∞x\to\pm\infty. Rational functions whose numerator degree is exactly one more than the denominator degree have one.

Two corrections to common pictures. An asymptote is not a barrier the graph never touches: sin⁡xx\dfrac{\sin x}{x} has the horizontal asymptote y=0y=0 and crosses it at every nonzero multiple of π\pi, infinitely often. And a point where the formula is 0/00/0 does not automatically give a vertical asymptote; it may be a hole, where the limit is finite (Example 2).

The dominance hierarchy

Say that ff grows more slowly than gg (written f≪gf\ll g) when lim⁡x→∞f(x)/g(x)=0\lim_{x\to\infty}f(x)/g(x)=0. For every k>0k>0, p>0p>0, and a>1a>1:

(ln⁡x)k≪xp≪ax.(\ln x)^k\ll x^p\ll a^x.

So any power of the logarithm is beaten by any positive power of xx, however small, and any power of xx is beaten by any exponential with base above 11, however close to 11. The base condition a>1a>1 is necessary: for 0<a<10<a<1, ax→0a^x\to0. The proofs are cleanest with lhopitals-rule. For a quick argument that np/an→0n^p/a^n\to0, note that the ratio of consecutive terms is 1a(n+1n)p\tfrac1a\left(\tfrac{n+1}{n}\right)^p, which tends to 1a<1\tfrac1a<1, so the terms eventually shrink by roughly a constant factor at every step.

"Eventually" can be very far away. Compare x10x^{10} with 1.1x1.1^x through 10ln⁡x10\ln x against xln⁡1.1x\ln1.1. The curves cross near x=1.01x=1.01 and again near x=685.08x=685.08, and 1.1x1.1^x stays above x10x^{10} only from the second crossing on. At x=500x=500, 1.1x≈4.97×10201.1^x\approx4.97\times10^{20} while x10≈9.77×1026x^{10}\approx9.77\times10^{26}; at x=686x=686 the exponential finally leads, 2.49×10282.49\times10^{28} against 2.31×10282.31\times10^{28}. Similarly x0.1x^{0.1} stays above ln⁡x\ln x only beyond about 3.43×10153.43\times10^{15}; for 3.06<x<3.43×10153.06<x<3.43\times10^{15} the logarithm is larger. The hierarchy is a statement about the limit, not about any particular size.

From the ratio limit to Big-O

Let f,gf,g be positive for large arguments and suppose lim⁡f/g=L\lim f/g=L exists in [0,∞][0,\infty].

  • L<∞L<\infty implies f=O(g)f=O(g). Taking ε=1\varepsilon=1 in the definition, f/g<L+1f/g<L+1 beyond some point, so c=L+1c=L+1 and that point serve as the constants.
  • 0<L<∞0<L<\infty means the two have the same order: f=O(g)f=O(g) and g=O(f)g=O(f).
  • L=0L=0 means f≪gf\ll g: f=O(g)f=O(g) but g≠O(f)g\ne O(f), because g/f→∞g/f\to\infty beats any constant.
  • L=∞L=\infty implies f≠O(g)f\ne O(g).

The hypothesis that the limit exists matters. When it does not, the test is silent. Take f(n)=n(2+sin⁡n)f(n)=n(2+\sin n) and g(n)=ng(n)=n. The ratio 2+sin⁡n2+\sin n stays between 11 and 33 and keeps returning near both values, so it has no limit, yet f(n)≤3g(n)f(n)\le3g(n) and g(n)≤f(n)g(n)\le f(n) hold for all n≥1n\ge1: the two are of the same order. So f=O(g)f=O(g) can be true with no limit. The limit test proves relations when it works and proves nothing when it does not.

Worked Examples

Example 1: an ε\varepsilon-NN proof

Prove lim⁡x→∞3x+1x+2=3\lim_{x\to\infty}\dfrac{3x+1}{x+2}=3. For x>−2x>-2,

∣3x+1x+2−3∣=∣−5x+2∣=5x+2.\left\lvert\frac{3x+1}{x+2}-3\right\rvert=\left\lvert\frac{-5}{x+2}\right\rvert=\frac{5}{x+2}.

This is less than ε\varepsilon exactly when x>5ε−2x>\dfrac5\varepsilon-2. So take N=max⁡(1,5ε−2)N=\max\left(1,\dfrac5\varepsilon-2\right). Concretely, ε=0.1\varepsilon=0.1 gives N=48N=48, ε=0.01\varepsilon=0.01 gives N=498N=498, and ε=0.001\varepsilon=0.001 gives N=4998N=4998. Scanning xx beyond each NN, the error is never above ε\varepsilon, and at x=Nx=N it equals ε\varepsilon exactly, so for this choice of NN the strict inequality x>Nx>N is needed. Each tenfold increase in accuracy costs a roughly tenfold increase in NN here (from 4848 to 498498 to 49984998): the error shrinks like 1/x1/x.

Example 2: asymptotes versus a hole

Let f(x)=2x2−3x+1x2−1=(2x−1)(x−1)(x−1)(x+1)f(x)=\dfrac{2x^2-3x+1}{x^2-1}=\dfrac{(2x-1)(x-1)}{(x-1)(x+1)}. For x≠1x\ne1 this equals 2x−1x+1\dfrac{2x-1}{x+1}.

  • Horizontal. The degrees are equal, so the limit at ±∞\pm\infty is the ratio of leading coefficients, 22. Numerically, f(1000)=1.99700f(1000)=1.99700 and f(−1000)=2.00300f(-1000)=2.00300: the graph approaches y=2y=2 from below on the right and from above on the left. The equation f(x)=2f(x)=2 has no solution, so here the graph never crosses it.
  • Vertical at x=−1x=-1. The numerator tends to −3-3 and the denominator to 00. From the right, x+1>0x+1>0 and f→−∞f\to-\infty (f(−0.999)=−2998f(-0.999)=-2998); from the left, f→+∞f\to+\infty (f(−1.001)=3002f(-1.001)=3002). The two-sided limit does not exist.
  • Hole at x=1x=1. The form is 0/00/0. After cancelling, lim⁡x→1f(x)=2−11+1=12\lim_{x\to1}f(x)=\dfrac{2-1}{1+1}=\dfrac12. This is a finite limit, so the line x=1x=1 is not an asymptote.

Example 3: ∞−∞\infty-\infty and floating point

Find lim⁡x→∞(x2+x−x)\lim_{x\to\infty}\left(\sqrt{x^2+x}-x\right). Multiplying by the conjugate, for x>0x>0:

x2+x−x=xx2+x+x=11+1/x+1.\sqrt{x^2+x}-x=\frac{x}{\sqrt{x^2+x}+x}=\frac{1}{\sqrt{1+1/x}+1}.

Since 1/x→01/x\to0, the limit is 11+1=12\dfrac{1}{1+1}=\dfrac12. Dividing by xx used x>0x>0, which is legitimate as x→+∞x\to+\infty. The form ∞−∞\infty-\infty was indeterminate: x−xx-x has limit 00, and (x2+x)−x2(x^2+x)-x^2 has limit ∞\infty. In double precision:

text
x sqrt(x^2+x)-x x/(sqrt(x^2+x)+x) 1e+02 0.498756211209 0.498756211209 1e+04 0.499987500625 0.499987500625 1e+08 0.500000000000 0.499999998750 1e+16 2.000000000000 0.500000000000

At 10810^8 the subtraction has already lost digits (the true value is below 0.50.5), and at 101610^{16} it returns 22, because x2+xx^2+x rounds to a number whose square root differs from xx by one unit in the last place. The rewritten form stays accurate.

Example 4: deciding Big-O with the ratio

  • nln⁡nn\ln n versus n2n^2 (the base of the logarithm only changes a constant factor): the ratio is ln⁡nn\dfrac{\ln n}{n}, which is 0.230.23 at n=10n=10, 0.0460.046 at 100100, and 1.4×10−51.4\times10^{-5} at 10610^6, tending to 00. So nln⁡n≪n2n\ln n\ll n^2.
  • n3n^3 versus 2n2^n: the ratio n3/2nn^3/2^n is 0.980.98 at n=10n=10, 0.00760.0076 at 2020, 1.1×10−101.1\times10^{-10} at 5050, and 7.9×10−257.9\times10^{-25} at 100100. So n3≪2nn^3\ll2^n. At n=10n=10 the two are nearly equal, which is how a small-nn table can hide the difference.
  • 100n100n versus n2n^2: the ratio 100/n100/n is 1010 at n=10n=10, exactly 11 at n=100n=100 (the crossover in big-o-and-asymptotic-complexity), and 0.10.1 at n=1000n=1000. The limit is 00, so 100n≪n2100n\ll n^2, whatever the constant.
  • n(2+sin⁡n)n(2+\sin n) versus nn: no limit, but same order, as shown above.

Common Misconceptions & Pitfalls

  • "∞\infty is a number, so ∞−∞=0\infty-\infty=0 and ∞/∞=1\infty/\infty=1." The forms are indeterminate. Among x/xx/x, 2x/x2x/x, x2/xx^2/x, and x/x2x/x^2, all of type ∞/∞\infty/\infty, the limits at infinity are 11, 22, ∞\infty, and 00.
  • "A graph cannot cross its asymptote." A horizontal asymptote describes the far end, and sin⁡x/x\sin x/x crosses y=0y=0 infinitely often.
  • "Every 0/00/0 point is a vertical asymptote." Example 2 has a hole at x=1x=1 with finite limit 12\tfrac12.
  • "x2=x\sqrt{x^2}=x." At −∞-\infty it is −x-x, which flips the sign of limits such as x/x2+1x/\sqrt{x^2+1}.
  • "Exponentials always win." Only with base a>1a>1. And "eventually" can be beyond practical sizes: x10x^{10} stays ahead of 1.1x1.1^x from about x=1.01x=1.01 to about x=685x=685.
  • "If f=O(g)f=O(g) then f/gf/g has a limit." The converse of the ratio test is false (the n(2+sin⁡n)n(2+\sin n) example).
  • "Along the integers the limit exists, so the real limit exists." sin⁡(πx)\sin(\pi x) is the counterexample.

Summary

A limit at infinity asks for a number NN beyond which the function stays within ε\varepsilon of LL; the limit laws carry over unchanged. For rational functions the degrees decide: lower degree in the numerator gives 00, equal degrees give the ratio of leading coefficients, higher degree gives unbounded growth. Asymptotes are horizontal, vertical, or slant, a graph may cross a horizontal one, and a 0/00/0 hole is not a vertical asymptote. Logarithmic powers are dominated by powers, and powers by exponentials with base above one, in the sense that the ratio tends to 00, though the crossover can lie far out. The limit of a ratio connects directly to Big-O: a finite limit gives f=O(g)f=O(g), a zero limit gives strict domination, an infinite limit rules out f=O(g)f=O(g), and a missing limit decides nothing. The next lesson, continuity-and-the-intermediate-value-theorem, returns to finite points and asks when the limit equals the value.

Documentation Links