Let f:E→R (or C) with E⊆R, and let a∈R be a limit point of E∩(a,∞). The right-hand limit of f at a is L (written limx→a+f(x)=L) if
∀ε>0, ∃δ>0 such that ∀x∈E, (0<x−a<δ⇒∣f(x)−L∣<ε).Similarly, the left-hand limit limx→a−f(x)=L uses the condition 0<a−x<δ (equivalently, −δ<x−a<0).
One-sided limits are needed for functions defined on half-intervals and for describing jump discontinuities.
Examples:
- For the step function f(x)=1[0,∞)(x), limx→0−f(x)=0 and limx→0+f(x)=1.
- For f(x)=1/x, limx→0+f(x)=+∞ and limx→0−f(x)=−∞ in the extended real sense.
- If f is continuous at a, then both one-sided limits exist and equal f(a).