Skip to content

Symmetry of Second Derivatives

Theorem

Let E⊆RnE\subseteq\mathbb{R}^n be open, let x0∈E\boldsymbol{x}_0\in E, and let f ⁣:E→Rk\boldsymbol{f}\colon E\to\mathbb{R}^k. If the two mixed second-order partial derivatives

∂2f∂xj∂xiand∂2f∂xi∂xj\frac{\partial^2 \boldsymbol{f}}{\partial x_j\partial x_i} \quad\text{and}\quad \frac{\partial^2 \boldsymbol{f}}{\partial x_i\partial x_j}

exist on a neighbourhood of x0\boldsymbol{x}_0 and are continuous at x0\boldsymbol{x}_0, then

∂2f∂xj∂xi(x0)=∂2f∂xi∂xj(x0).\frac{\partial^2 \boldsymbol{f}}{\partial x_j\partial x_i}(\boldsymbol{x}_0) = \frac{\partial^2 \boldsymbol{f}}{\partial x_i\partial x_j}(\boldsymbol{x}_0).

Interpretation

When a function is smooth enough, differentiating first in one coordinate direction and then in another gives the same result as doing those two steps in the opposite order.

Commuting square: differentiating f first in x i and then in x j, or in the reverse order, leads to the same mixed second partial.

The order of differentiation does not matter: if both mixed partials exist and are continuous at x0\boldsymbol{x}_0, they coincide there. Consequence: the Hessian of a C2C^2 function is symmetric. Example: f=x12x2f=x_1^2x_2 has fx1x2=fx2x1=2x1f_{x_1x_2}=f_{x_2x_1}=2x_1.

Twice continuous differentiability is a convenient sufficient hypothesis ensuring the displayed mixed partials are continuous. The stated theorem only needs the specified mixed partials locally; it should not be read as saying every weaker existence assumption implies symmetry.


Key Results


Examples

  • For f(x,y)=x2y+exyf(x,y)=x^2y+\mathrm{e}^{xy}, the mixed derivatives fxyf_{xy} and fyxf_{yx} agree at every point because the function is smooth.
  • For f(x,y,z)=xyz2f(x,y,z)=xyz^2, the derivatives fxzf_{xz} and fzxf_{zx} both equal 2yz2yz.

Prerequisites

Sources

Aliases: Schwarz's theorem, Clairaut's theorem, Young's theorem, Schwarz–Clairaut theorem Keywords: equality of mixed partials Symbols: element of, partial, real numbers, subset

Last updated: 17 October 2026 21:53