A function f:(a,b)→Rf: (a, b) \to \mathbb{R} is differentiable at x0∈(a,b)x_0 \in (a, b) if the limit

f′(x0)=lim⁡h→0f(x0+h)−f(x0)hf'(x_0) = \lim_{h \to 0} \frac{f(x_0 + h) - f(x_0)}{h}

exists. This limit, when it exists, is the of ff at x0x_0.

Equivalent formulation

ff is differentiable at x0x_0 iff there exists L∈RL \in \mathbb{R} such that

f(x0+h)=f(x0)+Lh+o(h)as h→0.f(x_0 + h) = f(x_0) + Lh + o(h) \quad \text{as } h \to 0.

Here L=f′(x0)L = f'(x_0) and o(h)o(h) denotes a function with o(h)/h→0o(h)/h \to 0.

Implications
  • Differentiability at x0x_0 implies x0x_0.
  • The converse is false: f(x)=∣x∣f(x) = |x| is continuous but not differentiable at 00.
One-sided derivatives

Left and right derivatives are

f−′(x0)=lim⁡h→0−f(x0+h)−f(x0)h,f+′(x0)=lim⁡h→0+f(x0+h)−f(x0)h.f'_-(x_0) = \lim_{h \to 0^-} \frac{f(x_0 + h) - f(x_0)}{h}, \quad f'_+(x_0) = \lim_{h \to 0^+} \frac{f(x_0 + h) - f(x_0)}{h}.

ff is differentiable at x0x_0 iff both exist and are equal.