Multivariable calculus
Partial Derivatives of e^x ln(1 + y^2)
For f(x, y) = e^x ln(1 + y^2), the partial with respect to x is e^x ln(1 + y^2), which is the function itself, and the partial with respect to y is 2y e^x/(1 + y^2). Each variable sits in its own factor, so the other factor rides along as a constant.
A separated product needs no product rule
This function has the form , with and . When moves, the whole factor is a constant multiplier, so you differentiate and leave alone.
When moves, is the constant multiplier and you differentiate the logarithm with the inside derivative over the inside .
At the slopes are in and exactly in , since .
The mistake: reaching for the product rule
- Writing applies the product rule as if both factors depended on . The second factor does not, and its derivative is , so that extra term is pure error.
- Writing forgets the inside derivative .
- Writing mangles the logarithm rule entirely. Differentiating never leaves a logarithm behind.
The line is a good test. There sits at its minimum, so the slope in must be for every . The correct formula has the factor in the numerator and gives exactly that; the version missing it does not.
The x partial is the function again
Because is its own derivative and appears nowhere else, this function satisfies . Every horizontal line is a scaled copy of the exponential, so moving one unit in multiplies the height by , whatever is.
The behaviour is different in character. The factor is zero on the -axis, rises in both directions, and grows only logarithmically, so the slope fades back toward once is large.
Frequently asked questions
Why does the x partial equal the original function?
Because x appears only inside e^x, which is its own derivative, and the factor ln(1 + y^2) is a constant during that differentiation, so it simply reappears unchanged.
Is ln(1 + y^2) ever undefined?
No. The argument 1 + y^2 is at least 1 for every real y, so the function and both partials are defined on the whole plane, with no domain restriction to state.