Skip to content

One-Sided Derivative

Definition

Let X⊆R,X \subseteq \mathbb{R}\text{,} let x0∈X,x_0 \in X\text{,} and let f ⁣:X→Rf \colon X \to \mathbb{R} be a function.

Assume that there exists an r>0r > 0 such that ff is defined for every x∈[x0,x0+r).x \in [x_0, x_0 + r)\text{.} We say that ff is right-differentiable at x=x0x = x_0 with right derivative L∈R,L \in \mathbb{R}\text{,} and write f+′(x0)=L,f'_+(x_0) = L\text{,} if the following limit holds true:

lim⁡x→x0+f(x)−f(x0)x−x0=L.\lim_{x \to x_0^+} \frac{f(x) - f(x_0)}{x - x_0} = L.

Assume that there exists an r>0r > 0 such that ff is defined for every x∈(x0−r,x0].x \in (x_0 - r, x_0]\text{.} We say that ff is left-differentiable at x=x0x = x_0 with left derivative L∈R,L \in \mathbb{R}\text{,} and write f−′(x0)=L,f'_-(x_0) = L\text{,} if the following limit holds true:

lim⁡x→x0−f(x)−f(x0)x−x0=L.\lim_{x \to x_0^-} \frac{f(x) - f(x_0)}{x - x_0} = L.

Interpretation

One-sided derivatives measure the rate of change at a point when only one side of the point is used: the right derivative is the limit of the slopes of secants to points x>x0x>x_0, the left derivative that of secants to points x<x0x<x_0. They are particularly relevant at boundary points of an interval and at corners of a graph.

The graph of |x| with dashed tangent lines of slope -1 on the left of 0 and slope 1 on the right, so the derivative at the corner does not exist.

The graph has a corner at 00. The left derivative is −1-1 and the right derivative is +1+1, as shown by the dashed tangent lines, so f′(0)f'(0) does not exist. Each one-sided derivative is the slope of a tangent from one side; the corner is the visible sign that the two slopes differ.

Approach x0=0x_0=0 from one side only: the one-sided quotients settle at f+′(0)f'_+(0) and f−′(0)f'_-(0). For the presets ∣x∣|x| they differ and for x\sqrt x the right quotients grow without bound. For custom formulas finite difference quotients do not determine a limit.

At an interior point, ff is differentiable if and only if both one-sided derivatives exist and are equal, because a two-sided limit exists exactly when both one-sided limits exist and agree. At an endpoint of a closed interval only one side is available, and the one-sided derivative takes the place of the derivative. A one-sided derivative can also fail to exist because the quotients grow without bound: for x\sqrt{x} at 00 the right quotient is 1x\frac{1}{\sqrt{x}}, which tends to +∞+\infty, a vertical tangent.

A common slip is to compute f+′(x0)f'_+(x_0) as lim⁡x→x0+f′(x)\lim_{x\to x_0^+}f'(x), the limit of the derivative function. The two can differ. For f(x)=x2sin⁡(1/x)f(x)=x^2\sin(1/x) with f(0)=0f(0)=0, the right quotient xsin⁡(1/x)x\sin(1/x) tends to 00, so f+′(0)=0f'_+(0)=0, but f′(x)=2xsin⁡(1/x)−cos⁡(1/x)f'(x)=2x\sin(1/x)-\cos(1/x) has no limit as x→0+x\to0^+.


Key Results

  • Existence of both one-sided derivatives does not guarantee differentiability.
  • One-sided derivatives may exist even when the two-sided derivative does not.
  • Equality of left and right derivatives implies differentiability.
  • One-sided derivatives are not the same as the one-sided limits of the derivative function.

Examples

  • The function f(x)=∣x∣f(x)=|x| has distinct one-sided derivatives at x=0.x=0\text{.}
  • Boundary points often admit only one-sided derivatives.

Prerequisites

Sources

Aliases: right derivative, left derivative, right-differentiable, left-differentiable Symbols: element of, infinity, real numbers, square root, subset

Last updated: 27 October 2026 11:52