Multivariable calculus
Second partials of ln(1 + x^2 + y^2)
For f(x,y) = ln(1 + x^2 + y^2) write u = 1 + x^2 + y^2. Then f_xx = (2 + 2y^2 - 2x^2)/u^2, f_yy = (2 + 2x^2 - 2y^2)/u^2, and the mixed partial f_xy = f_yx = -4xy/u^2. Adding the two pure second partials gives 4/u^2, which is positive everywhere.
Second and mixed partials
Chain rule for the log, quotient rule for the second round
Set , which is at least everywhere, so the logarithm is defined on the whole plane and there is no domain restriction to worry about. The log rule gives inner over outer.
Differentiating in needs the quotient rule, with depending on through .
For the mixed partial, the numerator is a constant with respect to , so only the denominator moves. Writing and differentiating gives .
The mistake: expanding u too early, or too late
Two opposite errors show up. The first is forgetting that contains and treating the denominator as a constant, which produces and loses the entire second term. The second is expanding into inside the quotient rule and then mishandling the algebra, usually by cancelling against .
Keep as a single symbol through the differentiation and substitute only at the end. That is what turns into in one clean step.
Sanity check at the origin: , so , and . The surface is a bowl there, which matches the fact that increases as you move away from the origin in any direction.
Symmetry and the Laplacian
Because the function depends only on , swapping and leaves it unchanged, and that symmetry is visible in the answers: is with the roles of and exchanged. Clairaut symmetry holds too, and differentiating in returns the same .
Add the pure second partials and the and terms cancel.
A positive Laplacian everywhere means the average curvature never turns downward, so this surface has no local maximum anywhere. Its one critical point, at the origin, is the local minimum you would expect from a bowl. Note that alone does turn negative once , so the individual curvatures do change sign even though their sum does not.
Frequently asked questions
Does ln(1 + x^2 + y^2) need a domain restriction?
No. The inside is , which is at least for every real and , so the logarithm and all of its partial derivatives are defined and continuous on the entire plane.
Why is the mixed partial negative in the first quadrant?
Because , which is negative when and have the same sign. Increasing makes the surface less steep in the direction, since the growing denominator flattens the slope .