Multivariable calculus
Partial Derivatives of x ln(x^2 + y^2 + 1)
For f(x,y) = x ln(x^2 + y^2 + 1), the partial with respect to x is ln(x^2 + y^2 + 1) + 2x^2/(x^2 + y^2 + 1), and the partial with respect to y is 2xy/(x^2 + y^2 + 1). The x-partial needs the product rule; the y-partial needs only the chain rule.
Why the +1 matters, and how to differentiate
The argument is at least 1 everywhere, so the logarithm is defined on the whole plane and the function is smooth. That is the point of the : without it the log blows up at the origin and the partials would not exist there.
For , the function is a product of and , and both factors depend on . Apply the product rule, then the chain rule with on the second piece.
For the leading is a constant, so only the log is differentiated. The inside has -derivative , and the log contributes the reciprocal of the inside.
The mistake: turning the log into a reciprocal too early
Students often write and stop. That is the product rule with the first term missing. The derivative of is 1, and 1 times is not zero, so the log term survives into the answer.
- The -partial keeps a bare logarithm term. If your answer has no log in it, you dropped the first product rule term.
- The -partial has no logarithm term, because the factor being differentiated is the log itself and the other factor is constant.
- The chain rule numerator is for the -partial and for the -partial. Mixing them up is the other frequent slip.
One more check: swap for in the original function and nothing changes, so is even in . An even function has an odd -partial, and does flip sign when does. Symmetry checks like this catch sign errors fast.
Evaluating on the x-axis
At the inside is , so , roughly .
The -component is zero along the entire -axis, since every term in carries a factor of . Geometrically the -axis is a ridge line of the surface in the direction.
Frequently asked questions
Can I use log rules to simplify before differentiating?
There is nothing to split here: is a log of a sum, and logs do not distribute over sums. Only a log of a product or a quotient can be broken up. Differentiate as it stands with the product and chain rules.
Is the function defined everywhere?
Yes. The argument has minimum value 1 at the origin and grows outward, so it is always positive and the logarithm is always defined. The denominators in both partials are the same quantity, so they never vanish either.