Multivariable calculus
Partial Derivatives of (x + y)/(x^2 + y^2 + 1)
For f(x, y) = (x + y)/(x^2 + y^2 + 1) the partial with respect to x is (1 - x^2 + y^2 - 2xy) divided by (x^2 + y^2 + 1) squared, and the partial with respect to y is (1 + x^2 - y^2 - 2xy) over the same square. Swapping x and y turns either answer into the other, because it leaves f unchanged.
Quotient rule with the other letter frozen
For , hold fixed. The numerator is then plus a number, so its derivative is . The denominator has derivative .
Expand the second product to and subtract. The already sitting in the first bracket absorbs one of the two, which is why the simplified numerator carries rather than .
Swapping the two letters leaves unchanged, so the partial is the same expression with and exchanged. There is no second computation to do.
At the origin both partials equal , so and the surface rises fastest along the diagonal. At both equal , so somewhere between those points the climb has already turned into a gentle descent.
The mistake: differentiating the frozen letter
Both letters appear in the numerator and both appear in the denominator, which is what makes this one easy to get wrong. During , every on the page is a fixed number.
- , not and not .
- , since contributes nothing.
- The quotient rule numerator is in that order, and reversing it flips the sign of the whole answer.
This function hands you a free check. Swap and in your answer for and you must land exactly on your answer for , because the swap does nothing to itself. If the two are not mirror images, at least one of them is wrong.
Where the surface is flat
The denominator is at least everywhere, so both partials are defined on the whole plane and their signs are decided entirely by the numerators.
Set both numerators to zero. Subtracting one from the other kills the and the , leaving , so a critical point has to sit on or on .
- On the first numerator becomes , which is never zero, so that diagonal carries no critical point at all.
- On it becomes , which vanishes at .
- So there are exactly two critical points: and .
Those two points are the global maximum and the global minimum. Restricted to the diagonal the function is , whose largest value is at , and no point off the diagonal does better.
Frequently asked questions
Why is the derivative of the numerator just 1?
Because is held constant during the partial, so is plus a number. The derivative of is and the derivative of the frozen is , so the whole numerator contributes a single .
What is the largest value this function takes?
, about , at . The smallest is at the opposite point, since makes the surface antisymmetric through the origin.