Limit of a Function

Basis
Last updated: Tags: Calculus, Limit

You already know how sequences converge in a metric space — a sequence (xn)(x_n) converges to LL if its terms eventually land arbitrarily close to LL. Functions are different: f(x)f(x) is defined for all real xx near a point, not just a discrete list of them. The limit of a function captures what value f(x)f(x) approaches as xx moves continuously toward a target, without requiring ff to be defined at that target or to agree with the limiting value there.

The ε–δ definition

Let ff be a real-valued function defined on some set DRD \subseteq \mathbb{R}, and let aa be a limit point of DD — meaning every neighborhood of aa contains a point of DD other than aa itself. A real number LL is the limit of ff at aa if for every ε>0\varepsilon > 0 there exists δ>0\delta > 0 such that

0<xa<δ and xD    f(x)L<ε.0 < |x - a| < \delta \text{ and } x \in D \implies |f(x) - L| < \varepsilon.

When this holds, you write

limxaf(x)=Lorf(x)L as xa.\lim_{x \to a} f(x) = L \qquad \text{or} \qquad f(x) \to L \text{ as } x \to a.

The condition 0<xa<δ0 < |x - a| < \delta says that xx is within distance δ\delta of aa, but not equal to aa. The behavior of ff at aa itself is irrelevant to the limit — ff might not even be defined there.

What ε–δ is actually saying

Given a tolerance ε>0\varepsilon > 0, you must produce a radius δ>0\delta > 0 such that whenever xx is within distance δ\delta of aa (and xax \neq a), the output f(x)f(x) is within distance ε\varepsilon of LL. The smaller you make the tolerance, the tighter the radius may need to be. The limit exists if this challenge can always be met.

The sequential characterization

There is an equivalent formulation in terms of sequences, which is often easier to use in proofs.

Theorem. limxaf(x)=L\lim_{x \to a} f(x) = L if and only if for every sequence (xn)(x_n) in D{a}D \setminus \{a\} with xnax_n \to a, one has f(xn)Lf(x_n) \to L.

Proof.

(\Rightarrow) Suppose the ε–δ condition holds. Let (xn)(x_n) be any sequence in D{a}D \setminus \{a\} with xnax_n \to a. Given ε>0\varepsilon > 0, choose δ\delta from the ε–δ definition. Since xnax_n \to a, there exists NN such that xna<δ|x_n - a| < \delta for all nNn \geq N. Since also xnax_n \neq a, the ε–δ condition gives f(xn)L<ε|f(x_n) - L| < \varepsilon for all nNn \geq N. So f(xn)Lf(x_n) \to L.

(\Leftarrow) Suppose the ε–δ condition fails. Then there exists ε>0\varepsilon > 0 such that for every δ>0\delta > 0 there is some xD{a}x \in D \setminus \{a\} with xa<δ|x - a| < \delta but f(x)Lε|f(x) - L| \geq \varepsilon. Choosing δ=1/n\delta = 1/n at each step produces a sequence (xn)(x_n) in D{a}D \setminus \{a\} with xnax_n \to a but f(xn)Lε|f(x_n) - L| \geq \varepsilon for all nn, so f(xn)↛Lf(x_n) \not\to L. \square

The sequential form is particularly useful for proving a limit does not exist: find two sequences approaching aa along which ff tends to different values.

Uniqueness

If the limit of ff at aa exists, it is unique. The proof is immediate from the sequential characterization: if f(x)Lf(x) \to L and f(x)Lf(x) \to L', then for any sequence xnax_n \to a with xnax_n \neq a, both f(xn)Lf(x_n) \to L and f(xn)Lf(x_n) \to L', so L=LL = L' by uniqueness of sequence limits.

One-sided limits

Sometimes ff approaches different values depending on the direction of approach. The left-hand limit is

limxaf(x)L\lim_{x \to a^-} f(x) \coloneqq L

if for every ε>0\varepsilon > 0 there exists δ>0\delta > 0 such that δ<xa<0-\delta < x - a < 0 implies f(x)L<ε|f(x) - L| < \varepsilon. The right-hand limit limxa+f(x)\lim_{x \to a^+} f(x) is defined symmetrically.

The two-sided limit exists and equals LL if and only if both one-sided limits exist and equal LL.

Computing limits

Polynomials and rational functions

For any polynomial pp and any aRa \in \mathbb{R}:

limxap(x)=p(a).\lim_{x \to a} p(x) = p(a).

This follows from limxax=a\lim_{x \to a} x = a and the arithmetic rules for limits proved in Local Properties of Limits. For a rational function r=p/qr = p/q with q(a)0q(a) \neq 0, the quotient rule gives limxar(x)=r(a)\lim_{x \to a} r(x) = r(a).

When q(a)=0q(a) = 0 but p(a)=0p(a) = 0 as well, you may be able to cancel a common factor before taking the limit.

A fundamental trigonometric limit

limx0sinxx=1.\lim_{x \to 0} \frac{\sin x}{x} = 1.

The standard geometric proof shows cosx<sinxx<1\cos x < \dfrac{\sin x}{x} < 1 for 0<x<π/20 < |x| < \pi/2. Since cosx1\cos x \to 1 as x0x \to 0, the squeeze theorem forces the middle expression to 11 as well.

Summary

  • The ε–δ definition: limxaf(x)=L\lim_{x \to a} f(x) = L means for every ε>0\varepsilon > 0 there exists δ>0\delta > 0 such that 0<xa<δ0 < |x - a| < \delta implies f(x)L<ε|f(x) - L| < \varepsilon. The value (or existence) of ff at aa itself is irrelevant.
  • Sequential characterization: limxaf(x)=L\lim_{x \to a} f(x) = L if and only if f(xn)Lf(x_n) \to L for every sequence xnax_n \to a with xnax_n \neq a. Both characterizations are equivalent.
  • The two-sided limit exists iff both one-sided limits exist and agree.
  • Limits of polynomials and rational functions (with nonzero denominator) equal the function value at the point; the squeeze theorem handles many other cases.