Skip to content
LoveToCalc

Theorem — what does that mean?

Equality of mixed partial derivatives

First in x then in y, or first in y then in x: where the mixed partials are continuous, the order does not matter.

In Swedish: Blandade partiella derivator

∂2f∂x∂y=∂2f∂y∂x

x
The first variable
y
The second variable

The theorem

∂²f/∂x∂y means ∂/∂x (∂f/∂y): first in y, then in x. The theorem says that the reverse order gives the same function. It is called Schwarz’s theorem, and Clairaut’s theorem in many American textbooks.

Holds when both mixed partials exist and are continuous near the point. Polynomials meet this everywhere, and so do functions built from eˣ, sin, cos and ln inside their domains.

The result is also called Schwarz’s theorem, Clairaut’s theorem or Young’s theorem.

Worked check: x³y²

At (3, 2) both are 108.

Where the condition fails

Take f(x, y) = xy(x² − y²)/(x² + y²), with f(0, 0) = 0. Along the axes, ∂f/∂y(x, 0) = x and ∂f/∂x(0, y) = −y. So at the origin ∂²f/∂x∂y = 1 and ∂²f/∂y∂x = −1. Both mixed partials exist there, but they are not continuous at the origin, and the theorem does not apply.

Why it is useful

Common mistakes

Related: partial derivative, gradient.

Last reviewed October 12, 2026 ·How pages are reviewed

CalculusAll formulas