Clairaut's theorem

In Rn, partial derivatives do commute. Also known as Schwarz rule.

Statement

Let f(x,y) be a smooth function defined on an open set of R2, with continuous second partial derivatives. Then:

2fxy=2fyx

More generally, for f:RnR,

2fxixj=2fxjxi

provided the mixed partial derivatives are continuous.

Also known as

Generalization to curved space

On a manifold with a linear connection:

μνf=νμf

because covariant derivatives of scalars reduce to partial derivatives, so they commute.

[μ,ν]T=RT

where R is the Riemann curvature tensor. The curvature measures the failure of covariant derivatives to commute.