Multivariable calculus
Partial Derivatives of x^2 y/(x^2 + y^2 + 1)
For f(x,y) = x^2 y/(x^2 + y^2 + 1), the partial with respect to x is 2xy(y^2 + 1) divided by (x^2 + y^2 + 1) squared, and the partial with respect to y is x^2(x^2 - y^2 + 1) divided by the same square. The function is not symmetric, so neither partial follows from the other by swapping letters.
Two quotient rules that collect differently
Write so the algebra stays short. Both partials are quotient rule problems, but they do not mirror each other, because appears squared in the numerator while appears only once.
Differentiating in with frozen, the numerator has -derivative , and has -derivative .
The bracket is where the simplification lives: , so every cancels out of it.
Now freeze . The numerator has -derivative and has -derivative , so this time the common factor pulled out front is and the bracket is .
The mistake: reaching for a symmetry that is not there
When a function is unchanged by swapping and , the second partial comes free: swap the letters in the first. The shortcut is so convenient that people reach for it here, where it fails. Swapping letters in produces , which is not the -partial at all.
- Test the symmetry before you use it: , which is not .
- carries a factor of , so it vanishes along the whole -axis.
- carries a factor of , which is never negative, so its sign is decided entirely by the bracket .
One line of checking catches a swapped answer. Put : the function is identically zero along the -axis, so has to vanish there, and the factor makes it do so. On the same axis , which is positive away from the origin, and that is right: lifting off the axis makes positive.
Each vertical slice has a ridge
The sign of is the sign of . Fix and walk upward in : the surface climbs while and falls once passes that value, so the slice has a single ridge rather than growing forever.
At the denominator is 3, so . The -partial is and the -partial is .
The -component is still positive because , so sits below the ridge of its slice. Move to and the same formula gives : past the ridge, on the way down.
Frequently asked questions
Can I get the y-partial by swapping x and y in the x-partial?
No, because is not symmetric in the two variables. Swapping is legal only when , and here the numerator breaks that. Run the second quotient rule properly; it takes three lines and pulls out a different common factor.
Where is the gradient zero?
The -partial needs or . The -partial needs or . Taking in the second condition would force , so the only way to satisfy both is . The critical set is exactly the -axis, where is zero. Step off it with and turns positive; step off with and it turns negative.