Multivariable calculus
Second Partial Derivatives of x^3 y^2
For f(x,y) = x^3 y^2 the second partial derivatives are f_xx = 6xy^2, f_yy = 2x^3, and the mixed partial f_xy = 6x^2 y. Differentiating in the other order gives f_yx = 6x^2 y as well, which is what Clairaut's theorem predicts: every partial here is a polynomial, so all of them are continuous.
Second and mixed partials
Taking the second partials one step at a time
A second partial is just a first partial done twice, so get the two first partials right before anything else. To differentiate with respect to , treat as a fixed number: the factor is a constant multiplier and only moves.
Now differentiate each of those again. Sending back through the derivative gives , and sending through the derivative gives .
The mixed partial takes one derivative in each variable. Starting from and differentiating in gives .
Clairaut's theorem: the order does not matter here
Run the mixed partial the other way as a check. Start from and differentiate in .
Same answer. Clairaut's theorem says this always happens as long as both mixed partials are continuous near the point, and for a polynomial every derivative of every order is a polynomial, so continuity is automatic on the whole plane.
That gives you a free error check on every homework problem: compute the mixed partial in both orders, and if the two disagree, one of your first partials is wrong.
The mistake students make
The frequent slip is differentiating the wrong variable at the second step because the notation is read backwards. In the operator closest to acts first, so you differentiate in first and then in .
- in subscript notation means first, then , left to right.
- in fraction notation means the same thing, right to left.
- For this function both orders give , so the reading order does not change the answer, but for the notation on an exam it matters.
The other slip is squaring the first derivative. is not . Here , which is nothing like the correct .
Frequently asked questions
Do I have to compute f_yx separately from f_xy?
Not for a function like this one. Since is a polynomial, its mixed partials are continuous everywhere and Clairaut's theorem guarantees . Computing both anyway is still a good way to catch an arithmetic error.
Why is f_yy free of y?
Because is only quadratic in . Differentiating twice gives the constant 2, so depends on alone. A third derivative in would be zero.