Multivariable calculus
Partial Derivatives of x arctan(xy)
For f(x,y) = x arctan(xy), the partial with respect to x is arctan(xy) + xy/(1 + x^2 y^2), and the partial with respect to y is x^2/(1 + x^2 y^2). The x-partial needs the product rule; the y-partial needs only the chain rule on the arctangent.
Product rule outside, arctangent derivative inside
The rule you need is , with here so . In , the function is a product of and , and both factors depend on .
In the leading is a constant multiplier, so only the arctangent is differentiated. The inner derivative is , and multiplying by the outer constant produces the square.
Both partials are defined for every and , since is at least 1 and the arctangent accepts every real input. That is what makes arctangent a friendlier inverse trig function than arcsine for problems like this.
The mistake: squaring only one variable in the denominator
The single most common wrong denominator here is or . The arctangent rule squares its entire argument, and the argument is the product , so the denominator is .
- Square the whole inside, not part of it: .
- The chain rule factor is the derivative of the inside: for the -partial and for the -partial.
- The -partial keeps a bare term from the product rule. Losing it is the other frequent error.
Note that is never negative, since both and the denominator are non-negative. So the surface never falls as grows, whatever the sign of . When is negative that takes two sign flips: the inside decreases, so decreases, and multiplying by the negative outer turns the fall back into a rise.
Evaluating where the arctangent is nice
At the argument is 1, so and .
Numerically the -partial is about and the -partial is exactly . The gradient leans strongly toward , which is what you expect when appears both outside and inside the arctangent.
Frequently asked questions
Why is the y-partial x squared rather than just x?
Two factors of appear. One is the constant multiplier out front, which passes through untouched. The other comes from the chain rule, because the inside has -derivative . Multiplying them gives .
What happens to the partials for large xy?
The fraction tends to zero as the product grows, while approaches . So far out in the first quadrant, settles near , meaning the surface behaves roughly like the plane .