Skip to article frontmatterSkip to article content
Site not loading correctly?

This may be due to an incorrect BASE_URL configuration. See the MyST Documentation for reference.

Why this matters

You drop a stone from a bridge. How fast is it falling exactly one second later? A speedometer would need to measure a speed at a single instant, but speed is distance divided by time, and in a single instant the stone covers no distance in no time.

What we can compute are average speeds. Near the Earth’s surface the stone has fallen about s(t)=5t2s(t) = 5t^2 metres after tt seconds. Over the time interval from 1 to 1+h1 + h seconds it falls s(1+h)−s(1)s(1 + h) - s(1) metres, so its average speed is

s(1+h)−s(1)h=5(1+h)2−5hmetres per second.\frac{s(1 + h) - s(1)}{h} = \frac{5(1+h)^2 - 5}{h} \quad\text{metres per second.}

(For h<0h < 0 this is the average over the interval from 1+h1 + h to 1.) We cannot put h=0h = 0: that gives 00\frac{0}{0}. But we can make hh small.

Figure 1:Graph of the average speed 5(1+h)2−5h\frac{5(1+h)^2 - 5}{h} for −1≤h≤1-1 \le h \le 1, with a hole at h=0h = 0, where the formula is undefined, and a point on the graph that a slider for hh moves. A table lists the values for h=±0.1,±0.01,±0.001h = \pm 0.1, \pm 0.01, \pm 0.001: 10.5, 10.05, 10.005 and 9.995, 9.95, 9.5. They approach 10 from both sides.

Try this: move hh towards 0 from both sides. Which number do the average speeds approach? What happens when you try to put h=0h = 0 in the formula?

The average speeds approach 10, so the stone’s speed at t=1t = 1 should be 10 metres per second. This page makes “approach” precise. That matters, because tables and pictures can mislead. The sine function appears in the next figure and the paragraph after it, the worked example on sin⁡(1/x)\sin(1/x), the common mistake “Checking one ε\eps, or a few points”, and the exercise on sin⁡(π/x)\sin(\pi/x) (its statement, hints and solution). They use only the facts about it in the box below.

Figure 2:Graph of y=sin⁡(π/x)y = \sin(\pi / x) for −1≤x≤1-1 \le x \le 1, x≠0x \ne 0. It stays between -1 and 1. Near x=0x = 0 it rises to height 1 and falls back through 0 again and again, faster and faster, too fast to draw: the plotted curve joins finitely many computed points, so close to 0 it is a jumble of lines that misses most of the swings, with even a short flat piece at height 0, an artefact of the drawing. A table lists the values at x=0.1,0.01,0.001x = 0.1, 0.01, 0.001, where the exact values are sin⁡(10π)=sin⁡(100π)=sin⁡(1000π)=0\sin(10\pi) = \sin(100\pi) = \sin(1000\pi) = 0 (the computer shows tiny numbers such as −1.2×10−15-1.2 \times 10^{-15} instead, because it rounds π\pi), and at x=0.08,0.016,0.0032x = 0.08, 0.016, 0.0032, where the values are sin⁡(12.5π)=sin⁡(62.5π)=sin⁡(312.5π)=1\sin(12.5\pi) = \sin(62.5\pi) = \sin(312.5\pi) = 1.

Try this: cover the last three rows of the table. What limit at 0 do the first three suggest? Now look at the last three. Does the graph near 0 settle near one height?

Both halves of the table are correct, and they suggest different answers. A table checks finitely many points, and a graph is drawn through finitely many points, so neither can tell us what happens at every point near 0. We need a definition that speaks about all of them. With it, we will show that the average speeds really do approach 10 (Example 2) and that sin⁡(π/x)\sin(\pi/x) approaches no number at all (Exercise 9).

What a limit is

Informally, lim⁡x→af(x)=L\lim_{x \to a} f(x) = L means that f(x)f(x) is as close to LL as we like for all xx close enough to aa, but not equal to aa. “As close as we like” is a tolerance, which we call ε\eps, and “close enough” is a distance, which we call δ\delta.

We measure closeness with distances: ∣f(x)−L∣\abs{f(x) - L} is the distance from f(x)f(x) to LL, and ∣x−a∣\abs{x - a} the distance from xx to aa. The set of xx with 0<∣x−a∣<δ0 < \abs{x - a} < \delta is the open interval (a−δ,a+δ)(a - \delta, a + \delta) with its centre aa removed, the punctured neighbourhood of aa of radius δ\delta, by part (e) of the proposition on distance inequalities.

In words. Whatever tolerance ε\eps someone demands around LL, you can answer with a window of half-width δ\delta around aa such that every xx in that window, other than aa itself, has f(x)f(x) within the tolerance. Think of it as a game. A challenger names an ε>0\eps > 0; you reply with a δ>0\delta > 0; you win the round if every xx in your window passes. The limit is LL when you can win every round. Three points to notice:

Example. lim⁡x→ax=a\lim_{x \to a} x = a for every real aa. Given ε>0\eps > 0, take δ=ε\delta = \eps. If 0<∣x−a∣<δ0 < \abs{x - a} < \delta, then ∣f(x)−a∣=∣x−a∣<ε\abs{f(x) - a} = \abs{x - a} < \eps.

Non-example. lim⁡x→1x\lim_{x \to 1} x is not 1.5. Take ε=0.25\eps = 0.25. Whatever δ>0\delta > 0 is offered, the window contains the point x=1+dx = 1 + d with d=12min⁡(δ,0.25)d = \frac12 \min(\delta, 0.25), and for it ∣f(x)−1.5∣=∣d−0.5∣=0.5−d≥0.375\abs{f(x) - 1.5} = \abs{d - 0.5} = 0.5 - d \ge 0.375, which is not less than 0.25. So no δ\delta wins the round ε=0.25\eps = 0.25, and 1.5 is not the limit. One round that cannot be won is enough.

The game is easiest to understand by playing it. In the figure, the claim is lim⁡x→2x2=4\lim_{x \to 2} x^2 = 4.

Figure 3:Graph of y=x2y = x^2 for 1≤x≤31 \le x \le 3, with a horizontal band of half-width ε\eps around y=4y = 4 (translucent, dashed edges) and a vertical window 0<∣x−2∣<δ0 < \abs{x - 2} < \delta (translucent, solid edges; the dotted line x=2x = 2 itself is left out). A slider sets ε\eps from 0.05 to 1.5 in steps of 0.05, starting at 0.5. For each ε\eps the widget states the largest δ\delta it found on each side of 2, and how many points it checked, and then the smaller of the two as the largest δ\delta it found for both sides. For ε=0.5\eps = 0.5 it reports 0.129171 on the left and 0.12132 on the right; the exact values are 2−3.5≈0.1291712 - \sqrt{3.5} \approx 0.129171 and 4.5−2≈0.121320\sqrt{4.5} - 2 \approx 0.121320. A second slider sets your own δ\delta, from 0.001 to 1 in steps of 0.001, and a button sets it to the largest value on that slider that is at most the δ\delta the widget found. Points of the graph inside the window but outside the band are marked with crosses, and a sentence says whether your δ\delta passed the widget’s check at the points it tested, or names a point where it fails.

Try this: play the ε–δ game.

  1. Select the ε\eps slider and press ← eight times, to ε=0.1\eps = 0.1. Read the largest δ\delta the widget found on the left of 2 and on the right. (It reports 0.0251582 on the left and 0.0248456 on the right.)

  2. You must answer with one δ\delta. Which of the two numbers can you use, and why not the other?

  3. Press Set δ to the largest on the slider (δ=0.024\delta = 0.024), then select the δ\delta slider and press → once (δ=0.025\delta = 0.025). Where does the widget see your δ\delta fail?

  4. Try ε=0.05\eps = 0.05 and ε=1\eps = 1. What happens to the δ\delta the widget finds as ε\eps shrinks?

Why the smaller one. The window 0<∣x−2∣<δ0 < \abs{x - 2} < \delta reaches the same distance δ\delta on both sides of 2, so one δ\delta has to work on the left and on the right at once. For ε=0.1\eps = 0.1, a δ\delta larger than 4.1−2≈0.024846\sqrt{4.1} - 2 \approx 0.024846 (the widget found 0.0248456) lets in points just to the right of 4.1\sqrt{4.1}, where x2x^2 is already outside the band (at x=2.025x = 2.025, x2=4.100625x^2 = 4.100625); the left side would tolerate up to 2−3.9≈0.0251582 - \sqrt{3.9} \approx 0.025158, but that does not help. So the δ\delta for both sides is the smaller of the two, here the right side’s, because x2x^2 grows faster to the right of 2 than it falls to the left. As ε\eps shrinks, the band narrows and so does the window.

The widget’s numbers are observations: it checks finitely many points, so it cannot prove that its δ\delta works for every xx in the window, or that a δ\delta exists for every ε\eps. Exercise Exercise 5 finds the exact largest δ\delta for ε=0.1\eps = 0.1, and the rigorous track proves, in Example 6, that δ=min⁡(1,ε/5)\delta = \min(1, \eps/5) works for every ε>0\eps > 0. That δ\delta is smaller than the largest one (for ε=0.1\eps = 0.1 it is 0.02): a proof only needs some δ\delta that works.

Main results

Could a function have two different limits at the same point? The game suggests not: if f(x)f(x) is within any tolerance of LL for all xx close enough to aa, it cannot also be within every tolerance of a different number MM, because LL and MM are a fixed distance apart.

Proof (Rigorous track)

We argue by contradiction: if L≠ML \ne M, we take a tolerance of half their distance and find one xx whose value f(x)f(x) would have to be within that tolerance of both, which the triangle inequality forbids.

Suppose L≠ML \ne M, and let ε=12∣L−M∣\eps = \frac{1}{2}\abs{L - M}, which is positive. Since lim⁡x→af(x)=L\lim_{x \to a} f(x) = L, there is a δ1>0\delta_1 > 0 such that ff is defined and ∣f(x)−L∣<ε\abs{f(x) - L} < \eps for every xx with 0<∣x−a∣<δ10 < \abs{x - a} < \delta_1. Since lim⁡x→af(x)=M\lim_{x \to a} f(x) = M, there is a δ2>0\delta_2 > 0 such that ff is defined and ∣f(x)−M∣<ε\abs{f(x) - M} < \eps for every xx with 0<∣x−a∣<δ20 < \abs{x - a} < \delta_2.

Let δ=min⁡(δ1,δ2)\delta = \min(\delta_1, \delta_2) and x=a+δ2x = a + \frac{\delta}{2}. Then 0<∣x−a∣=δ2<δ0 < \abs{x - a} = \frac{\delta}{2} < \delta, so xx lies in both windows: f(x)f(x) is defined, and ∣f(x)−L∣<ε\abs{f(x) - L} < \eps and ∣f(x)−M∣<ε\abs{f(x) - M} < \eps. The first of these says also that ∣L−f(x)∣<ε\abs{L - f(x)} < \eps, because ∣L−f(x)∣=∣f(x)−L∣\abs{L - f(x)} = \abs{f(x) - L} by property 2 of the absolute value. By part (b) of the triangle inequality, ∣u−v∣≤∣u−w∣+∣w−v∣\abs{u - v} \le \abs{u - w} + \abs{w - v}, with u=Lu = L, v=Mv = M and w=f(x)w = f(x),

∣L−M∣≤∣L−f(x)∣+∣f(x)−M∣<ε+ε=∣L−M∣,\abs{L - M} \le \abs{L - f(x)} + \abs{f(x) - M} < \eps + \eps = \abs{L - M},

that is, ∣L−M∣<∣L−M∣\abs{L - M} < \abs{L - M}, which is impossible. So L=ML = M.

Because of Theorem 1, we may speak of the limit of f(x)f(x) as x→ax \to a, when there is one. If there is none, we say that the limit does not exist. The proof used the requirement in Definition 1 that ff be defined at every point of the window; the rigorous track shows that if the definition dropped its requirements on the domain of ff, uniqueness would fail.

Worked examples

Proving a limit from the definition

Each proof has the same shape. We start from ∣f(x)−L∣\abs{f(x) - L} and rewrite it in terms of ∣x−a∣\abs{x - a} (the scratch work); this tells us which δ\delta to choose; then we check that this δ\delta works.

When a limit does not exist

To show that a number LL is not the limit, one round of the game that cannot be won is enough: one ε>0\eps > 0 such that every window 0<∣x−a∣<δ0 < \abs{x - a} < \delta, however small, contains a point xx with ∣f(x)−L∣≥ε\abs{f(x) - L} \ge \eps (or where ff is undefined). To show that the limit does not exist, we must do this for every real number LL. The next three examples show the three typical ways this happens: a jump, oscillation, and unbounded values. Each proof uses the same tool: two points of one window whose values are too far apart to be close to the same number LL.

Common mistakes

Rigorous track

Example 6 (Prove lim⁡x→2x2=4\lim_{x \to 2} x^2 = 4 from the definition)

Goal. Given ε>0\eps > 0, find δ>0\delta > 0 such that 0<∣x−2∣<δ0 < \abs{x - 2} < \delta implies ∣x2−4∣<ε\abs{x^2 - 4} < \eps. The function x2x^2 is defined for every xx.

  1. Scratch work. ∣x2−4∣=∣x−2∣ ∣x+2∣\abs{x^2 - 4} = \abs{x - 2}\,\abs{x + 2}. The first factor is the one that δ\delta controls. The second, ∣x+2∣\abs{x + 2}, changes with xx, so we first bound it on a fixed window.

  2. Bound the other factor. If ∣x−2∣<1\abs{x - 2} < 1, then 1<x<31 < x < 3, by part (a) of the proposition on distance inequalities, so 3<x+2<53 < x + 2 < 5 and ∣x+2∣<5\abs{x + 2} < 5.

  3. Choose δ\delta. On that window, ∣x2−4∣<5∣x−2∣\abs{x^2 - 4} < 5\abs{x - 2}, which is less than ε\eps when ∣x−2∣<ε5\abs{x - 2} < \frac{\eps}{5}. Both conditions hold if δ=min⁡(1,ε5)\delta = \min\bigl(1, \frac{\eps}{5}\bigr).

  4. Proof. Let ε>0\eps > 0 and δ=min⁡(1,ε5)\delta = \min\bigl(1, \frac{\eps}{5}\bigr), and let 0<∣x−2∣<δ0 < \abs{x - 2} < \delta. Since δ≤1\delta \le 1, step 2 gives ∣x+2∣<5\abs{x + 2} < 5. Since δ≤ε5\delta \le \frac{\eps}{5} and ∣x−2∣>0\abs{x - 2} > 0,

    ∣x2−4∣=∣x−2∣ ∣x+2∣<5∣x−2∣<5⋅ε5=ε.\abs{x^2 - 4} = \abs{x - 2}\,\abs{x + 2} < 5\abs{x - 2} < 5 \cdot \frac{\eps}{5} = \eps .

    (The first << multiplies ∣x+2∣<5\abs{x + 2} < 5 by the positive number ∣x−2∣\abs{x - 2}.) So lim⁡x→2x2=4\lim_{x \to 2} x^2 = 4.

δ=min⁡(1,ε5)\boxed{\delta = \min\Bigl(1, \frac{\eps}{5}\Bigr)}

Why the 1? It caps the window, and that is what makes ∣x+2∣<5\abs{x + 2} < 5 true. Without it, δ=ε5\delta = \frac{\eps}{5} fails for large ε\eps: for ε=100\eps = 100 it gives δ=20\delta = 20, and x=21x = 21 is in the window but ∣212−4∣=437>100\abs{21^2 - 4} = 437 > 100. Any fixed cap would do; a cap of 12\frac12 gives ∣x+2∣<4.5\abs{x + 2} < 4.5 and δ=min⁡(12,ε4.5)\delta = \min\bigl(\frac12, \frac{\eps}{4.5}\bigr).

Check. For ε=0.5\eps = 0.5: δ=min⁡(1,0.1)=0.1\delta = \min(1, 0.1) = 0.1, below the largest δ\delta that the ε–δ figure reports for both sides, 0.12132. ✓ The point x=2.09x = 2.09 gives ∣2.092−4∣=0.3681<0.5\abs{2.09^2 - 4} = 0.3681 < 0.5. ✓

Summary

Exercises

Where this leads

These topics build on this one:

Found an error on this page? Report it (the form opens with this page filled in).

Every page of the Limits chapter plays the ε–δ game of this page: the limit laws are proved with it, once, so that later limits can be computed without it.