Multivariable calculus
Second Partial Derivatives of x^2 y z^3
For f(x,y,z) = x^2 y z^3 the pure second partials are f_xx = 2y z^3, f_yy = 0, and f_zz = 6x^2 y z. The mixed ones are f_xy = 2x z^3, f_xz = 6xy z^2, and f_yz = 3x^2 z^2. Clairaut's theorem makes the nine second partials collapse to these six, since order of differentiation does not matter for a polynomial.
Second and mixed partials
Three first partials, then nine seconds that collapse to six
With three variables, a partial derivative holds the other two fixed. Each first partial keeps the factors it does not touch.
There are nine second partials in principle, one for each ordered pair of variables. Clairaut's theorem pairs them off, so only six are distinct: three pure and three mixed.
The pure partial is zero because is degree one in . Once you differentiate in the variable is gone, so a second derivative has nothing left to act on.
Clairaut symmetry with three variables
The theorem applies to any pair of variables at a time, with the third held fixed. Check the and pair in both orders.
The symmetry extends to higher order. The third mixed partial is no matter which of the six orders you differentiate in, because you can swap adjacent variables one at a time until the order matches.
For a function of three variables, the Hessian is the three by three matrix of second partials. Clairaut symmetry is what makes that matrix symmetric, and symmetry is why it has real eigenvalues, the fact the multivariable second derivative test rests on.
The mistake students make
The most common error in three variables is carrying a variable that should be frozen. Differentiating with respect to gives , and the block is untouched. Students who apply a product rule across all three factors invent terms that do not exist.
The second error is stopping at three second partials out of habit from two variable problems. With variables there are pure and distinct mixed ones, so three variables give six, not three.
The third is reporting as , which is the first partial rather than the second. Differentiating a term that is linear in twice in always gives zero.
Frequently asked questions
How many distinct second partials does a function of three variables have?
Six, when the mixed partials are continuous: , , , , , and . Clairaut's theorem pairs the nine ordered combinations into these six.
Does Clairaut's theorem work for third derivatives?
Yes, provided the derivatives involved are continuous. Any reordering can be built from swaps of adjacent pairs, and each swap is a two variable Clairaut step. Here in every order.