← back to real analysis

The Derivative

Jiří Lebl · Basic Analysis I, Ch. 5 · CC BY-SA 4.0

The derivative f'(c) is the limit of the difference quotient (f(x) - f(c))/(x - c) as x → c. It measures the instantaneous rate of change. The mean value theorem says that somewhere between a and b, the derivative equals the average rate of change.

(c, f(c)) (x, f(x)) tangent: slope = f'(c) secant The tangent is the limit of secant lines.

Definition of the derivative

f'(c) = lim (f(x) - f(c)) / (x - c) as x → c, if the limit exists. Equivalently, f'(c) = lim (f(c+h) - f(c)) / h as h → 0. Differentiability at c implies continuity at c, but not vice versa: |x| is continuous at 0 but not differentiable there.

Scheme

Chain rule

If g is differentiable at c and f is differentiable at g(c), then (f ∘ g)'(c) = f'(g(c)) * g'(c). The derivative of a composition is the product of derivatives along the chain.

Scheme

Mean value theorem

If f is continuous on [a, b] and differentiable on (a, b), there exists c in (a, b) with f'(c) = (f(b) - f(a)) / (b - a). The tangent at c is parallel to the secant from a to b. wpRolle's theorem is the special case where f(a) = f(b), giving f'(c) = 0.

Scheme

L'Hopital's rule and Taylor's theorem

L'Hopital's rule: if f(c) = g(c) = 0 and the limit of f'/g' exists, then lim f(x)/g(x) = lim f'(x)/g'(x). Taylor's theorem: f(x) = f(c) + f'(c)(x-c) + f''(c)(x-c)^2/2! + ... + R_n, with an explicit remainder term. The Taylor polynomial is the best polynomial approximation near c.

Scheme

Notation reference

Symbol Scheme Meaning
f'(c)(approx-deriv f c)Derivative at c
(f ∘ g)'f'(g(c)) * g'(c)Chain rule
MVTf'(c) = slopeMean value theorem
T_n(x)(taylor-exp x n)Taylor polynomial of degree n
Neighbors

Translation notes

Numerical differentiation via difference quotients suffers from cancellation error: too-small h makes (f(c+h) - f(c)) lose significant digits. The sweet spot is around h = 10^-8 for double precision. The exact derivative is a limit, not a computation.