Multivariable calculus
Partial Derivatives of ln(1 + x^2 + y^4)
The partials of ln(1 + x^2 + y^4) are f_x = 2x/(1 + x^2 + y^4) and f_y = 4y^3/(1 + x^2 + y^4). The derivative of ln(u) is 1/u times the partial of u, so the inner sum becomes the shared denominator and its partial, 2x or 4y^3, becomes the numerator.
Inner function down, its partial up
With , the outer derivative is . The chain rule then multiplies by or , so the inner function becomes the denominator and whichever inner partial you need becomes the numerator.
The earns its place. It holds , so the logarithm is defined for every real pair and the denominator never vanishes. Drop it and the function falls to minus infinity at the origin.
The two numerators are not parallel
The term is squared and the term is a fourth power, so the numerators look nothing alike. Copying the shape of the first into the second, writing where belongs, is the error this function exists to expose. At the denominator is , so the true is while the copied version gives , out by a factor of , which is .
The second slip is losing the numerator entirely and writing . That is , not , and a sign test ends the argument: the true partial is negative for , while is positive everywhere.
The third is splitting the logarithm. is not . A logarithm turns a product into a sum, and there is no rule at all for a sum sitting inside it. The split version is also undefined whenever .
Much flatter along y than along x
Near the origin behaves like , and a fourth power is far flatter than a square. The partials put a number on it: at the partial is about , while at the partial is about , roughly fifty times smaller.
Both partials vanish only at the origin, since forces and forces . That single critical point is the global minimum, with , because is smallest there and the logarithm is increasing.
Further out the picture reverses. Along the axis the partial grows to a peak and then decays like , so the fourth power that made the surface flat near the origin is the same thing that makes it steep once passes .
Frequently asked questions
Why do both partials share a denominator?
Both come from the same outer function applied to one shared inner expression, so that factor is common to them. The variables separate only in the inner partials, and .
Does the fourth power need a second chain rule step?
No. is a plain power of the variable itself, so the power rule finishes it in one step. You would chain a second time only if the inner function were itself a composition, as in .