Multivariable calculus
Partial Derivatives of arctan(x/(1 + y^2))
For f = arctan(x/(1 + y^2)), the partials are f_x = (1 + y^2)/((1 + y^2)^2 + x^2) and f_y = -2xy/((1 + y^2)^2 + x^2). The outer derivative 1/(1 + u^2) at u = x/(1 + y^2) clears to (1 + y^2)^2 over that common denominator, and the inner partials then cancel most of it away.
Clear the compound fraction first
Write . The outer derivative is , and substituting leaves a fraction inside a fraction. Multiply top and bottom by once, at the start, and everything after it stays readable.
Now the partial. Holding fixed makes a constant multiple of , with constant , so one factor of cancels.
For the inner partial needs the power rule on , which gives . That denominator cancels the above it completely, which is why the final answer is so much simpler than the working.
The outer factor is not 1 over 1 plus x squared
The commonest wrong answer is , which substitutes for instead of the actual inner function. Take : there , so , the denominator is , and the true . The wrong version gives .
The second slip is stopping after the outer derivative and never multiplying by . That leaves , which at is , too big by the factor .
Both survive a test at , where and all three versions collapse to . A test point with a zero in it proves nothing here, which is the general reason to check somewhere both variables are doing something.
A gradient that never vanishes
The partial has numerator over a denominator that is always positive, so at every point of the plane. This function has no critical points at all, and it strictly increases as you move right along any horizontal line.
The partial carries the sign of , so the surface tilts downhill in in the first and third quadrants and uphill in the second and fourth. It is zero on both axes, and those are the only places where the gradient is purely horizontal.
Bounds finish the sanity check. The arctangent keeps strictly between and , and both partials tend to zero far from the origin in any direction. A candidate partial that grows without limit as you move outward is wrong before you evaluate it anywhere.
Frequently asked questions
Can the denominator ever be zero?
No. is at least and is never negative, so the common denominator is at least everywhere. The inner fraction never divides by zero either, so both partials are defined and continuous on the whole plane.
Would the quotient rule work on the inner function?
Yes, and it lands in the same place. With numerator and denominator , differentiating with respect to gives . The negative power form is shorter, but nothing is lost by using the quotient rule if you prefer it.