Multivariable calculus
Partial Derivatives of 1/(1 + x^2 + y^2)
The partials of 1/(1 + x^2 + y^2) are f_x = -2x/(1 + x^2 + y^2)^2 and f_y = -2y/(1 + x^2 + y^2)^2. Rewrite the function as (1 + x^2 + y^2) to the power -1: the power rule gives minus that expression to the power -2, and the inner partial supplies 2x or 2y.
A negative power beats the quotient rule
The quotient rule works, but with a constant numerator the negative power form is faster and has fewer places to slip. Write with , then apply the power rule and the chain rule in the usual order.
The exponent goes from to , not to . Subtracting from moves away from zero, and that single step is where most of the sign and power errors on this function begin.
The squared denominator and the missing minus
Two things go wrong. The denominator must be squared, so is off by a whole factor of . And the sign must be negative, because the surface falls away from the origin in every direction.
Compare all three versions at , where . The true . Losing the square gives , and losing the minus gives . Neither matches a bump that peaks at height over the origin and decreases outward.
How this compares with the Gaussian bump
This surface has the same peak height and the same radial symmetry as , but it decays far more slowly. The partials show it directly: along the axis, behaves like for large , an algebraic decay, while the Gaussian's partials die faster than any power of .
That difference is why has a finite maximum slope but a long tail, and it is worth knowing which of the two a problem hands you before estimating anything far from the origin.
Frequently asked questions
Is the quotient rule wrong here?
No, it gives the same answer. With and , the quotient rule yields . The negative power route simply has fewer terms to keep track of.
What is the gradient at the origin?
The zero vector. Both partials carry a factor of or , so both vanish at . Since the denominator is smallest there, that point is the global maximum with .