A topic in the Open Knowledge Graph — a free, open map of 15,290 topics and the order to learn them in.

Clairaut's Theorem: Equality of Mixed Partials

College Depth 77 in the knowledge graph ☐ I know this ☆ Set as goal
1,008topics build on this
334prerequisites beneath it
See this on the map →
Higher-Order Partial Derivatives→→Higher-Order Partial Derivatives and Mixed PartialsMixed Partial Derivatives and Clairaut's Theorem
mixed-partials continuity symmetry

Core Idea

If ∂²f/∂x∂y and ∂²f/∂y∂x are continuous at a point, then ∂²f/∂x∂y = ∂²f/∂y∂x. This 'equality of mixed partials' shows that (for most practical functions) the order of differentiation does not matter.

Explainer

From your study of higher-order partial derivatives, you know that after taking a partial derivative of a multivariable function, the result is another function that you can differentiate again. The mixed partial derivatives ∂²f/∂x∂y and ∂²f/∂y∂x both measure how the function curves in both the x and y directions — but they arrive there by a different route. The first differentiates with respect to y first, then x; the second reverses the order. A natural question is whether the route matters.

Clairaut's theorem (also called Schwarz's theorem) says: if both mixed partials exist and are continuous at a point, they are equal there. For the smooth functions that appear in calculus courses — polynomials, exponentials, sines, cosines, and their combinations — continuity of the mixed partials is automatic, so the order of differentiation is irrelevant in practice. As a heuristic: if f is built from standard elementary functions and has no special piecewise behavior, assume the mixed partials commute.

To see why continuity matters, consider the classic counterexample: f(x, y) = xy(x² − y²)/(x² + y²) for (x, y) ≠ (0, 0) and f(0, 0) = 0. Careful computation shows ∂²f/∂x∂y|(0,0) = 1 while ∂²f/∂y∂x|(0,0) = −1. The mixed partials exist but are not equal because the continuity hypothesis fails at the origin. This example shows the theorem is not vacuous — the continuity condition is doing real work.

In practice, Clairaut's theorem means you can choose whichever order of differentiation is algebraically easier. When computing the Hessian matrix (the matrix of all second-order partial derivatives), the off-diagonal entries are mixed partials: H_ij = ∂²f/∂xᵢ∂xⱼ. Clairaut's theorem guarantees H is symmetric for smooth functions, which is a crucial structural fact — symmetric matrices have real eigenvalues, and the signs of those eigenvalues determine whether a critical point is a local min, local max, or saddle point. So this seemingly small commutativity result underpins the second derivative test in multiple dimensions.

Practice Questions 5 questions

Prerequisite Chain

Understanding Zero → The Number Zero → Counting to Five → Counting to 10 → Counting to 20 → Counting a Set of Objects Up to 20 → Cardinality: The Last Number Counted → Matching Numerals to Quantities → Subitizing Small Quantities → Addition Within 10 → Number Bonds to 10 → Addition Within 20 → Doubles and Near Doubles → Doubles Facts Within 10 → Near Doubles Facts Within 20 → Mental Math Strategies for Addition → Mental Math: Adding and Subtracting Tens → Addition Within 100 → Repeated Addition as Multiplication → Multiplication as Equal Groups → Multiplication: Arrays → Basic Multiplication Facts (0s, 1s, 2s, 5s, 10s) → Multiplication Facts Within 100 → Division as Equal Sharing → Division as Grouping (Measurement Division) → Division: Grouping (Repeated Subtraction) Model → Division: Fair Sharing Model → Division as Equal Sharing → Division as Grouping → Basic Division Facts → Division Facts Within 100 → Multiplication and Division Fact Families → Relationship Between Multiplication and Division → Division Facts as Inverse of Multiplication → Remainders and Quotients in Division → Division Word Problems → Multi-Step Word Problems → Solving Multi-Step Word Problems → Multiplication Word Problems → Division Word Problems → Introduction to Long Division → Factors and Multiples → Prime and Composite Numbers → Equivalent Fractions → Relating Fractions and Decimals → Decimal Place Value → Integers and the Number Line → Comparing and Ordering Integers → Absolute Value → Adding Integers → Subtracting Integers → Multiplying Integers → Dividing Integers → Unit Rates → Proportions → Percent Concept → Converting Between Fractions, Decimals, and Percents → Operations with Rational Numbers → Two-Step Equations → Solving Multi-Step Equations → Equations with Variables on Both Sides → Literal Equations → Slope-Intercept Form → Point-Slope Form → Writing Linear Equations → Parallel and Perpendicular Line Slopes → Graphing Linear Equations → Piecewise Functions → One-Sided Limits → Continuity Definition → Limit Definition of the Derivative → Power Rule → Constant Multiple and Sum/Difference Rules → Product Rule → Chain Rule → Higher-Order Derivatives → Higher-Order Partial Derivatives → Clairaut's Theorem: Equality of Mixed Partials

Longest path: 78 steps · 334 total prerequisite topics

Prerequisites (1)

Leads To (2)