Multivariable calculus
Partial Derivatives of xy ln(z^2 + 1)
For f(x,y,z) = xy ln(z^2 + 1), the partial derivative with respect to x is y ln(z^2 + 1), with respect to y is x ln(z^2 + 1), and with respect to z is 2xyz divided by (z^2 + 1). Only the z partial needs the chain rule, since the logarithm is a constant factor for the other two.
Identify the constant factor first
Before differentiating, look at which factors involve the variable at hand. For the block contains no , so the whole thing is one constant multiplier and the derivative of the remaining is .
The partial is the only one that does real work. Now is the constant and you differentiate by the chain rule: one over the inside, times the derivative of the inside, which is .
The mistake: differentiating a constant block anyway
Seeing a logarithm makes many students differentiate it no matter which variable they were asked about, producing something like for the partial. The logarithm has no in it, so with respect to it is a number, and numbers ride along untouched.
The reverse mistake shows up in the partial, where students drop the because those variables are held constant. Held constant means it stays as a multiplier. If you find yourself with an answer to a question that has no or in it, something has been deleted that should have survived.
- For the and partials, is a constant factor and is copied down.
- For the partial, is a constant factor and is copied down.
- Only one factor is ever differentiated here, because the variables never share a factor.
Checking the answers at a point
Take . There , so . That gives and , while .
Two structural facts help confirm the shape of the answers. Multiplying the first two partial derivatives by their own variables both return itself, since . And on the plane the logarithm is , so all three partial derivatives vanish there, which is why the whole plane consists of critical points.
Frequently asked questions
Why is ln(z^2 + 1) safe to use for every real z?
The logarithm needs a positive argument, and is at least for every real . So there is no domain restriction, unlike which would force .
What is the mixed partial with respect to x and then y?
Differentiate with respect to , which gives . Doing it in the other order gives the same result, as Clairaut's theorem requires.