The derivative f′ is a function in its own right, and functions can be differentiated. Applying the differentiation process to f′ produces the second derivative f′′, which measures how the slope of f changes. Differentiating again yields f′′′, then f(4), and so on without limit—provided the relevant limits exist at each stage.
Each successive derivative captures a finer layer of a function's behavior. The first derivative controls direction. The second controls concavity. The third and beyond govern subtler aspects of curvature and, in physics, correspond to jerk, snap, and higher kinematic quantities. At the theoretical level, the entire collection of higher-order derivatives at a point encodes the local shape of a function through its Taylor series.
Definition and Notation
The second derivative of f is the derivative of f′:
f′′(x)=dxd[f′(x)]
The third derivative is the derivative of f′′, and so on. The nth derivative, denoted f(n)(x), is obtained by differentiating f a total of n times.
In Lagrange notation, the first few derivatives use primes: f′, f′′, f′′′. Beyond the third, parenthetical superscripts replace primes to avoid clutter: f(4), f(5), f(n). The parentheses distinguish the derivative order from an exponent—f(4)(x) is the fourth derivative, not f raised to the fourth power.
In Leibniz notation, the nth derivative of y with respect to x is written
dxndny
The symbol dny/dxn is a single operator applied to y, not a fraction with dny in the numerator and dxn in the denominator. For the second derivative specifically: dx2d2y reads "d-two-y, d-x-squared" and represents dxd(dxdy).
The Second Derivative
The second derivative f′′(x) measures the rate of change of the slope. Where f′′(x)>0, the slope f′(x) is increasing—the function bends upward (concave up). Where f′′(x)<0, the slope is decreasing—the function bends downward (concave down).
This information is independent of whether f itself is increasing or decreasing. A function can rise while decelerating (f′>0, f′′<0) or fall while accelerating in the negative direction (f′<0, f′′<0). The first and second derivatives describe different aspects of behavior.
The second derivative also powers the second derivative test for classifying critical points. At a point where f′(c)=0: if f′′(c)>0, the critical point is a local minimum; if f′′(c)<0, a local maximum; if f′′(c)=0, the test is inconclusive.
Inflection points—where concavity reverses—occur where f′′ changes sign. The condition f′′(c)=0 is necessary but not sufficient; the sign of f′′ must actually switch across c.
Physical Interpretation
In kinematics, the first three derivatives of position s(t) have standard names.
The first derivative s′(t) is velocity: the rate of change of position. It tells how fast an object moves and in which direction.
The second derivative s′′(t) is acceleration: the rate of change of velocity. Positive acceleration means speeding up (in the positive direction) or decelerating (in the negative direction). The sign of acceleration relative to the sign of velocity determines whether the object is speeding up or slowing down.
The third derivative s′′′(t) is jerk: the rate of change of acceleration. Jerk is felt physically as a sudden push or lurch—smooth motion has low jerk, while abrupt starts and stops produce high jerk. Elevator design, roller coaster engineering, and vehicle ride comfort all involve controlling jerk.
Beyond the third derivative, the terms snap (s(4)), crackle (s(5)), and pop (s(6)) are used in specialized engineering contexts but rarely appear in standard calculus.
Patterns in Repeated Differentiation — Polynomials
Polynomials terminate under repeated differentiation. Each differentiation reduces the degree by one, so a polynomial of degree n reaches a constant after n differentiations and becomes zero after n+1.
The coefficient at the nth derivative of xn is n!=n(n−1)(n−2)⋯1, accumulated from the power rule applied n times. Specifically, dxndn[xn]=n! and dxkdk[xn]=0 for all k>n.
For a general polynomial p(x)=anxn+⋯+a1x+a0, the nth derivative is n!⋅an, a constant. This relationship becomes central in Taylor series, where the coefficient an is recovered as n!f(n)(a).
Patterns in Repeated Differentiation — Exponentials
The natural exponential ex is unchanged by differentiation:
dxndn[ex]=exfor all n≥1
Every derivative of ex is ex. No other elementary function has this property (aside from the trivial f(x)=0).
For the general exponential eax, the chain rule introduces a factor of a at each step:
dxndn[eax]=aneax
Each differentiation multiplies by a. After n differentiations, the accumulated constant is an. This pattern appears in solutions to differential equations, where eax satisfies equations whose characteristic root is a.
For ax with arbitrary base: since ax=exlna, the nth derivative is (lna)n⋅ax. The factor lna replaces a in the exponential pattern.
Patterns in Repeated Differentiation — Sine and Cosine
A compact formula captures all four cases: dxndn[sinx]=sin(x+2nπ). The same holds for cosine: dxndn[cosx]=cos(x+2nπ).
For sin(ax), the chain rule introduces a factor of a per differentiation: dxndn[sin(ax)]=ansin(ax+2nπ). The cycle in the trigonometric part persists; only the amplitude grows as an.
This four-fold periodicity distinguishes trigonometric derivatives from polynomial derivatives (which terminate) and exponential derivatives (which replicate).
The nth Derivative of Specific Forms
Several standard functions have known closed-form nth derivatives.
For f(x)=x1: rewriting as x−1 and applying the power rule repeatedly gives
f(n)(x)=xn+1(−1)n⋅n!
Each differentiation multiplies by one more negative integer, producing the factorial and the alternating sign.
For f(x)=lnx: since f′(x)=x−1, the higher derivatives follow the pattern above shifted by one:
f(n)(x)=xn(−1)n−1⋅(n−1)!n≥1
For f(x)=xm where m is a positive integer and n≤m:
f(n)(x)=(m−n)!m!⋅xm−n
The coefficient (m−n)!m! is the falling factorial, counting the multipliers accumulated over n applications of the power rule.
These closed-form expressions are useful for computing specific high-order derivatives without performing each differentiation step individually.
Higher-Order Derivatives and Taylor Series
The Taylor series of f centered at x=a is
f(x)=n=0∑∞n!f(n)(a)(x−a)n
Each coefficient depends on a higher-order derivative evaluated at the center point a. The zeroth derivative f(0)(a)=f(a) gives the constant term. The first derivative gives the linear term. The second derivative gives the quadratic correction. Each successive term captures finer detail about how f deviates from the lower-order approximation.
The Taylor polynomial of degree k truncates the series after k+1 terms, providing a polynomial approximation to f near a. The quality of the approximation improves with k—more derivatives mean a closer fit over a wider interval.
The connection between higher-order derivatives and Taylor series gives these derivatives their deepest significance: the complete collection {f(n)(a)}n=0∞ determines f locally (for analytic functions). Knowing all derivatives at a single point reconstructs the entire function in a neighborhood of that point.
Existence and Smoothness Classes
A function may be differentiable once but not twice. The function f(x)=x∣x∣ has f′(x)=2∣x∣, which is continuous but not differentiable at x=0. So f is in class C1 (continuously differentiable) but not C2.
The smoothness classes organize functions by how many continuous derivatives they possess. A function belongs to Cn if f,f′,f′′,…,f(n) all exist and are continuous. Class C0 is simply continuous functions. Class C∞ consists of infinitely differentiable functions—called smooth functions—where derivatives of all orders exist and are continuous.
Polynomials, ex, sinx, cosx, and their compositions are all C∞. Piecewise functions typically belong to a finite Cn class determined by how smoothly the pieces join at their boundaries: matching values gives C0, matching first derivatives gives C1, and so on.
There exist functions that are C∞ but not analytic—their Taylor series converges but not to the function itself. The standard example is f(x)=e−1/x2 for x=0 and f(0)=0: every derivative at x=0 is zero, so the Taylor series is identically zero, yet the function is not zero away from the origin. Smooth does not automatically mean representable by a power series.