You know what the derivative f′ measures — instantaneous rate of change. But f′ is itself a function, and you can ask whether it has a derivative. Repeating the process produces higher-order derivatives that encode curvature, jerk, and the coefficients of Taylor polynomials.
Inductive definition
Definition. The n-th derivative f(n) is defined inductively:
f(0):=f,f(n):=(f(n−1))′for n≥1,
whenever each derivative in the chain exists.
Common notations:
| Order | Prime notation | Leibniz notation |
|---|
| 1st | f′ | dxdf |
| 2nd | f′′ | dx2d2f |
| 3rd | f′′′ | dx3d3f |
| n-th | f(n) | dxndnf |
The spaces Cn and C∞
If f(n) exists and is continuous on an interval I, we say f∈Cn(I) (read ”f is Cn” or ”f is n-times continuously differentiable”). The space C0(I) is just the continuous functions; C1(I) adds a continuous derivative; and so on.
A function with derivatives of all orders is smooth and belongs to C∞(I).
C∞⊊⋯⊊C2⊊C1⊊C0.
Each inclusion is strict: there exist Cn functions that are not Cn+1.
Example. f(x)=∣x∣3 is C2 on R (since f′′=6∣x∣ is continuous) but not C3 (since f′′′(0) does not exist).
Examples of higher derivatives
For a polynomial p(x)=anxn+⋯+a0:
p(k)(x)=(n−k)!n!anxn−k+⋯(k≤n),p(k)≡0(k>n).
For the exponential ex: (ex)(n)=ex for all n.
For sinx and cosx the derivatives cycle with period 4:
(sinx)(n)=sin(x+2nπ),(cosx)(n)=cos(x+2nπ).
Leibniz’s rule
The product rule (fg)′=f′g+fg′ generalises to all orders. The pattern mirrors the binomial theorem.
Theorem (Leibniz’s rule). If f and g are n-times differentiable, then
(fg)(n)=k=0∑n(kn)f(k)g(n−k).
Proof by induction. The base case n=1 is the product rule. Assuming the formula holds for n, differentiate both sides and use the product rule on each term f(k)g(n−k); the binomial recurrence (k−1n)+(kn)=(kn+1) then reassembles the sum into the formula for n+1. □
Example. (x2ex)′′=(x2)′′ex+2(x2)′ex+x2ex=2ex+4xex+x2ex=(x2+4x+2)ex.
Summary
- The n-th derivative f(n) is defined inductively as the derivative of f(n−1).
- f∈Cn means f(n) exists and is continuous; f∈C∞ means all orders exist.
- Polynomials eventually differentiate to zero; ex, sinx, cosx are C∞ with closed-form n-th derivatives.
- Leibniz’s rule: (fg)(n)=∑k=0n(kn)f(k)g(n−k), a direct analogue of the binomial theorem.