Multivariable calculus
Partial Derivatives of e^(xy) ln(1 + z^2)
For f(x, y, z) = e^(xy) ln(1 + z^2), the partial with respect to x is y e^(xy) ln(1 + z^2), the partial with respect to y is x e^(xy) ln(1 + z^2), and the partial with respect to z is 2z e^(xy)/(1 + z^2). Each partial freezes the other two variables.
Freeze two variables at a time
Nothing changes when you go from two variables to three: each partial freezes every variable except the one that moves. Here the function splits cleanly, with and living in the exponential and living in the logarithm, so each partial differentiates one factor and copies the other.
At the value is , the and slopes are both , and the slope is .
The mistake: mixing factors across the split
- Writing multiplies by the logarithm a second time. The logarithm is what you are differentiating, not a factor to keep.
- Writing drops both the frozen factor and the inside derivative .
- Writing a single expression that mixes all three partials. A function of three variables has three separate first partials, one per variable.
The plane is the test. There , so is identically on that whole plane and every slope must be . The and partials carry the factor and vanish, and the partial carries the factor and vanishes as well.
The gradient in three variables
Since and , the function is never negative, and it equals exactly on the plane . The gradient is the zero vector on that entire plane, which is therefore a floor of minimum values rather than a set of isolated critical points.
Away from that plane the first two components share the factor , so their ratio is just , while the third component is controlled by how far is from .
Frequently asked questions
How many first partial derivatives does a function of three variables have?
Three, one for each variable. Each partial freezes the other two variables and then uses the ordinary one-variable rules on what is left.
Why is the gradient zero on the whole plane z = 0?
Because f equals 0 there and can never be negative, so that plane is a floor of minimum values. Every first partial carries a factor that vanishes when z is 0.