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 D⊆RD \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<∣x−a∣<δ and x∈D  ⟹  ∣f(x)−L∣<ε.0 < |x - a| < \delta \text{ and } x \in D \implies |f(x) - L| < \varepsilon.

When this holds, you write

lim⁡x→af(x)=Lorf(x)→L as x→a.\lim_{x \to a} f(x) = L \qquad \text{or} \qquad f(x) \to L \text{ as } x \to a.

The condition 0<∣x−a∣<δ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 x≠ax \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. lim⁡x→af(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 xn→ax_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 xn→ax_n \to a. Given ε>0\varepsilon > 0, choose δ\delta from the ε–δ definition. Since xn→ax_n \to a, there exists NN such that ∣xn−a∣<δ|x_n - a| < \delta for all n≥Nn \geq N. Since also xn≠ax_n \neq a, the ε–δ condition gives ∣f(xn)−L∣<ε|f(x_n) - L| < \varepsilon for all n≥Nn \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 x∈D∖{a}x \in D \setminus \{a\} with ∣x−a∣<δ|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 xn→ax_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)→L′f(x) \to L', then for any sequence xn→ax_n \to a with xn≠ax_n \neq a, both f(xn)→Lf(x_n) \to L and f(xn)→L′f(x_n) \to L', so L=L′L = 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

lim⁡x→a−f(x)≔L\lim_{x \to a^-} f(x) \coloneqq L

if for every ε>0\varepsilon > 0 there exists δ>0\delta > 0 such that −δ<x−a<0-\delta < x - a < 0 implies ∣f(x)−L∣<ε|f(x) - L| < \varepsilon. The right-hand limit lim⁡x→a+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 a∈Ra \in \mathbb{R}:

lim⁡x→ap(x)=p(a).\lim_{x \to a} p(x) = p(a).

This follows from lim⁡x→ax=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 lim⁡x→ar(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

lim⁡x→0sin⁡xx=1.\lim_{x \to 0} \frac{\sin x}{x} = 1.

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

Summary

  • The ε–δ definition: lim⁡x→af(x)=L\lim_{x \to a} f(x) = L means for every ε>0\varepsilon > 0 there exists δ>0\delta > 0 such that 0<∣x−a∣<δ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: lim⁡x→af(x)=L\lim_{x \to a} f(x) = L if and only if f(xn)→Lf(x_n) \to L for every sequence xn→ax_n \to a with xn≠ax_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.