Unit 1, lesson 6

The Formal Definition of One-Sided Limits

The epsilon-delta definitions of left-hand and right-hand limits, how they handle the endpoints of a domain, and how to prove a one-sided limit or show that it fails.

  • Theory part 11
  • Practice part 12
  • Formal Definitions

Theory, part 11

Practice, part 12

A one-sided limit only looks at half of the neighborhood of a point. The precise version keeps the epsilon-delta structure and changes a single inequality, the one that says which inputs are allowed. That small change is what lets us prove limits at the edge of a domain and at the jumps of piecewise functions.

Key terms

One-sided epsilon-delta definitions

Definition Let LL be a real number.

If ff is defined on an interval (a,c)(a, c) with c>ac > a, then lim⁡x→a+f(x)=L\lim_{x \to a^+} f(x) = L means that for every ε>0\varepsilon > 0 there exists δ>0\delta > 0 such that

0<x−a<δ  ⟹  ∣f(x)−L∣<ε.0 < x - a < \delta \implies \lvert f(x) - L \rvert < \varepsilon.

If ff is defined on an interval (c,a)(c, a) with c<ac < a, then lim⁡x→a−f(x)=L\lim_{x \to a^-} f(x) = L means that for every ε>0\varepsilon > 0 there exists δ>0\delta > 0 such that

0<a−x<δ  ⟹  ∣f(x)−L∣<ε.0 < a - x < \delta \implies \lvert f(x) - L \rvert < \varepsilon.

In plain words Same game as before, but only inputs on one side of aa are allowed to enter.

Example Here lim⁡x→2+(3x−1)=5\lim_{x \to 2^+} (3x - 1) = 5. Given ε>0\varepsilon > 0, take δ=ε/3\delta = \varepsilon / 3. If 0<x−2<δ0 < x - 2 < \delta, then

∣(3x−1)−5∣=3(x−2)<3δ=ε.\lvert (3x - 1) - 5 \rvert = 3(x - 2) < 3\delta = \varepsilon.

Approach from the right

Definition The condition 0<x−a<δ0 < x - a < \delta is equivalent to a<x<a+δa < x < a + \delta. The left inequality 0<x−a0 < x - a says xx is strictly to the right of aa, and the right inequality keeps xx within δ\delta of aa. So the right-hand definition tests exactly the inputs in the open interval (a,a+δ)(a, a + \delta).

In plain words The allowed inputs form a thin interval just to the right of aa, with aa itself left out.

Example To prove lim⁡x→0+x=0\lim_{x \to 0^+} \sqrt{x} = 0, let ε>0\varepsilon > 0 and take δ=ε2\delta = \varepsilon^2. If 0<x<ε20 < x < \varepsilon^2, then

∣x−0∣=x<ε2=ε,\lvert \sqrt{x} - 0 \rvert = \sqrt{x} < \sqrt{\varepsilon^2} = \varepsilon,

because the square root is increasing on [0,∞)[0, \infty).

Approach from the left

Definition The condition 0<a−x<δ0 < a - x < \delta is equivalent to a−δ<x<aa - \delta < x < a. It tests exactly the inputs in the open interval (a−δ,a)(a - \delta, a).

In plain words The mirror image. The allowed inputs form a thin interval just to the left of aa.

Example For the floor function, lim⁡x→1−⌊x⌋=0\lim_{x \to 1^-} \lfloor x \rfloor = 0. Given any ε>0\varepsilon > 0, take δ=1\delta = 1. If 0<1−x<10 < 1 - x < 1, then 0<x<10 < x < 1, so ⌊x⌋=0\lfloor x \rfloor = 0 and ∣⌊x⌋−0∣=0<ε\lvert \lfloor x \rfloor - 0 \rvert = 0 < \varepsilon. Here one δ\delta happens to serve every ε\varepsilon, because the function is constant on that side.

Domain endpoints

Definition If the domain of ff is an interval [a,b][a, b] with a<ba < b, then at aa only the right-hand limit can be formed and at bb only the left-hand limit. The two-sided limit is not defined at an endpoint, so the one-sided limit from inside the domain is the statement to prove there. In the looser convention mentioned in the lesson on two-sided limits, the two-sided limit at an endpoint simply equals that one-sided limit.

In plain words At the edge of the domain there is only one direction to come from, so the one-sided definition is the right tool there.

Example For f(x)=1−x2f(x) = \sqrt{1 - x^2} on [−1,1][-1, 1] we prove lim⁡x→1−f(x)=0\lim_{x \to 1^-} f(x) = 0. Let ε>0\varepsilon > 0 and take δ=min⁡(1,ε2/2)\delta = \min(1, \varepsilon^2/2). If 0<1−x<δ0 < 1 - x < \delta, then 0<x<10 < x < 1, so 1+x<21 + x < 2, and

1−x2=(1−x)(1+x)<ε22⋅2=ε.\sqrt{1 - x^2} = \sqrt{(1 - x)(1 + x)} < \sqrt{\frac{\varepsilon^2}{2} \cdot 2} = \varepsilon.

Proofs and counterexamples

Definition To prove lim⁡x→a+f(x)=L\lim_{x \to a^+} f(x) = L, give a rule that produces a valid δ\delta for every ε>0\varepsilon > 0. To disprove it, use the negation. There exists ε>0\varepsilon > 0 such that for every δ>0\delta > 0 some xx satisfies

0<x−a<δand∣f(x)−L∣≥ε.0 < x - a < \delta \quad \text{and} \quad \lvert f(x) - L \rvert \ge \varepsilon.

To show that the right-hand limit does not exist at all, the disproof must work for every real LL. The left-hand case is the same with 0<a−x<δ0 < a - x < \delta.

In plain words A proof answers every challenge. A counterexample needs only one challenge that nothing can answer.

Example We show that the right-hand limit of f(x)=sin⁡(1/x)f(x) = \sin (1/x) at 00 does not exist. Let LL be any real number and take ε=1/2\varepsilon = 1/2. For any δ>0\delta > 0, choose a positive whole number kk so large that the two inputs

x1=1π/2+2kπandx2=13π/2+2kπx_1 = \frac{1}{\pi/2 + 2k\pi} \quad \text{and} \quad x_2 = \frac{1}{3\pi/2 + 2k\pi}

both lie in (0,δ)(0, \delta). Then f(x1)=1f(x_1) = 1 and f(x2)=−1f(x_2) = -1. If both were within 1/21/2 of LL, the triangle inequality would give

2=∣1−(−1)∣≤∣1−L∣+∣L−(−1)∣<12+12=1,2 = \lvert 1 - (-1) \rvert \le \lvert 1 - L \rvert + \lvert L - (-1) \rvert < \frac{1}{2} + \frac{1}{2} = 1,

which is false. So for each δ\delta at least one of x1,x2x_1, x_2 satisfies ∣f(x)−L∣≥1/2\lvert f(x) - L \rvert \ge 1/2.

Check yourself

  1. Prove that lim⁡x→3+x−3=0\lim_{x \to 3^+} \sqrt{x - 3} = 0.
Show the answer

Let ε>0\varepsilon > 0 and take δ=ε2\delta = \varepsilon^2. If 0<x−3<ε20 < x - 3 < \varepsilon^2, then x−3<ε\sqrt{x - 3} < \varepsilon, because the square root is increasing.

  1. Use the definition to show that
lim⁡x→0−∣x∣x=−1.\lim_{x \to 0^-} \frac{\lvert x \rvert}{x} = -1.
Show the answer

For any ε>0\varepsilon > 0 take δ=1\delta = 1 (any positive number works). If 0<0−x<10 < 0 - x < 1, then x<0x < 0, so ∣x∣/x=−1\lvert x \rvert / x = -1 and the distance to −1-1 is 0<ε0 < \varepsilon.

  1. Suppose lim⁡x→a−f(x)=L\lim_{x \to a^-} f(x) = L and lim⁡x→a+f(x)=L\lim_{x \to a^+} f(x) = L. Prove that lim⁡x→af(x)=L\lim_{x \to a} f(x) = L.
Show the answer

Let ε>0\varepsilon > 0. The left-hand limit gives δ1>0\delta_1 > 0 that works for inputs in (a−δ1,a)(a - \delta_1, a), and the right-hand limit gives δ2>0\delta_2 > 0 that works for inputs in (a,a+δ2)(a, a + \delta_2). Take δ=min⁡(δ1,δ2)\delta = \min(\delta_1, \delta_2). Any xx with 0<∣x−a∣<δ0 < \lvert x - a \rvert < \delta lies in one of those two intervals, so ∣f(x)−L∣<ε\lvert f(x) - L \rvert < \varepsilon.

How this lesson connects