Multivariable calculus
Second Partial Derivatives of e^(xy)
For f(x,y) = e^(xy) the second partials are f_xx = y^2 e^(xy), f_yy = x^2 e^(xy), and f_xy = (1 + xy) e^(xy). The mixed partial needs the product rule, since f_x = y e^(xy) is a product of y and the exponential. Both orders give the same (1 + xy) e^(xy), as Clairaut's theorem requires.
Second and mixed partials
Chain rule first, then product rule
Differentiating in is a chain rule: the outside is and the inside is , whose derivative is .
For , the factor is constant while moves, so you only chain through the exponential again and pick up a second factor of .
The mixed partial is different in character. Differentiate with respect to and both factors depend on , so the product rule is unavoidable.
The mistake students make
Almost every wrong answer here is , which drops the term that comes from differentiating the loose factor of . The tell is the value at the origin: the correct mixed partial gives , while the dropped term version gives .
Check it from the other side. Differentiate with respect to and the product rule gives , the same . Two independent routes to one answer is exactly the Clairaut check, and it catches the missing term immediately.
A second slip is writing , forgetting that the chain rule contributes another each time you differentiate in . Every extra derivative multiplies by , so the th one is .
Reading the Hessian
Collect the three second partials into the Hessian matrix, the object the second derivative test uses.
Its determinant is . Clairaut symmetry is what makes this matrix symmetric, and symmetry is why the second derivative test only needs three numbers rather than four.
Frequently asked questions
Why does the mixed partial of e^(xy) need a product rule when the pure ones do not?
Because has a loose factor of out front. Differentiating again in leaves that factor alone, but differentiating in hits both it and the exponential, which is where the extra term comes from.
Is f_xy = f_yx here?
Yes. Both equal . Every partial of is a polynomial times , so all of them are continuous on the whole plane and Clairaut's theorem applies at every point.