Multivariable calculus
Second Partial Derivatives of arctan(xy)
Write Q = 1 + x^2 y^2. For f(x,y) = arctan(xy) the second partials are f_xx = -2xy^3/Q^2, f_yy = -2x^3 y/Q^2, and the mixed partial f_xy = (1 - x^2 y^2)/Q^2. The mixed partial equals 1 at the origin and changes sign along the curves xy = 1 and xy = -1.
Second and mixed partials
From the arctangent rule to the second partials
The one variable rule is . With the chain rule supplies a factor for an derivative and a factor for a derivative. Write , which is never zero.
For the numerator is constant in , so differentiate and multiply. Since , the result carries three powers of .
The mixed partial is a real quotient rule, because differentiating in moves both the numerator and the denominator.
The mistake students make
The first error is forgetting the inner derivative, writing with no factor of . Every second partial then comes out wrong, and the symmetry check fails immediately.
The second error is treating like , holding the numerator fixed and differentiating only . That gives and loses the term from the numerator, which is precisely the piece that makes rather than .
Use the point as a check. There , so the correct values are and . A formula that does not give zero for the mixed partial on the hyperbola is wrong.
Symmetry and what the mixed partial shows
Because is unchanged when and trade places, is with the letters swapped, and the mixed partial must be symmetric in and on its own. The expression passes that test, since it depends only on the product .
Clairaut's theorem confirms the same thing analytically. Differentiating in gives , and every derivative here is continuous because everywhere.
The sign of tells you how the surface twists. It is positive inside the region , zero on the hyperbolas , and negative beyond them, which is the arctangent flattening toward its horizontal asymptotes.
Frequently asked questions
Why is arctan(xy) smooth everywhere when arctan of a quotient is not?
The denominator is at least 1 at every point, so nothing divides by zero. A function like fails on the line , where the quotient itself is undefined.
What is the Hessian determinant of arctan(xy)?
It is with . At the origin this equals , so the origin is a saddle point of the surface.