Multivariable calculus
Partial Derivatives of (x^2 - y^2)/(x^2 + y^2 + 1)
For f(x,y) = (x^2 - y^2)/(x^2 + y^2 + 1), the partial with respect to x is 2x(2y^2 + 1) divided by (x^2 + y^2 + 1) squared, and the partial with respect to y is -2y(2x^2 + 1) divided by the same square. Both come from the quotient rule after collecting terms.
The quotient rule, then the collection step
Set and . In , the numerator has derivative and the denominator has derivative as well, which makes the cancellation unusually tidy.
The bracket is where the work happens: . The terms cancel completely.
In the numerator derivative is and the denominator derivative is , so the two quotient rule terms both carry once you factor, giving over , and .
The mistake: stopping before you collect
An unsimplified quotient rule answer is not wrong, but it hides everything useful. Left as , you cannot see that the factor is strictly positive, so you cannot see that the sign of the -partial is exactly the sign of .
- Since always, is positive for and negative for .
- Since always, has the sign opposite to .
- Both partials vanish only at the origin, which is therefore the only critical point.
That sign information identifies the origin as a saddle without any second derivative test: the surface rises as you move away along the -axis and falls as you move away along the -axis.
Checking with symmetry
Swapping and turns into , because the numerator changes sign and the denominator does not. So the -partial must be the negative of the -partial with the letters exchanged, and comparing the two boxed answers confirms exactly that.
At the denominator is 3, so , and the -partial is while the -partial is .
The gradient points along the direction that increases and decreases , straight up the saddle.
Frequently asked questions
Why do the x-squared terms cancel in the x-partial?
Because the numerator and denominator have the same coefficient. The quotient rule produces , and subtracts from , killing the and doubling the . This kind of cancellation is common when numerator and denominator share terms.
What is the range of this function?
The value is squeezed between and , since . The function approaches those bounds far out along the axes but never reaches them, which matches the fact that the partials tend to zero at large distances.