Multivariable calculus
Partial Derivatives of e^(xy): Method and Mistakes
For f(x, y) = e^(xy), the partial derivative with respect to x is y e^(xy), and the partial with respect to y is x e^(xy). Freeze the other variable, differentiate the exponent xy with respect to the one that moves, and multiply that factor by the unchanged exponential.
Freeze one variable, then use the chain rule
A partial derivative measures how changes when one variable moves and the other is held fixed. Hold fixed in . The exponent is then a constant multiple of , so you are differentiating with , and the chain rule brings that constant out front.
Now hold fixed instead. The exponent is a constant multiple of , and the same chain rule runs with the roles swapped.
At the point this gives and . From that point, a small step in changes twice as fast as the same step in .
The mistake: forgetting the inside derivative
Two wrong answers turn up again and again on this function.
- treats the exponential as if it differentiated to itself with no chain rule. The outer exponential is indeed unchanged, but the inside derivative still multiplies it.
- differentiates the exponent as though both letters were moving. In a partial with respect to , the variable is frozen, so , not .
A fast check catches the first error. On the line the function is for every , so the slope in has to be there. The correct formula gives , while would give .
What the two partials say about the surface
The exponential factor is positive everywhere, so both partials vanish only when and . That single critical point is a saddle: along the line the function is , which sits at or above , and along it is , which sits at or below .
Notice the symmetry too. Swapping and leaves unchanged, and it swaps the two partials, which is a cheap way to confirm you did not lose a factor in one of them.
Frequently asked questions
Is the partial of e^(xy) with respect to x equal to xy e^(xy)?
No. When you differentiate with respect to x, the variable y is a constant, so the exponent xy differentiates to y and the answer is y e^(xy). The form xy e^(xy) comes from treating both letters as variables at the same time.
Do the mixed second partials of e^(xy) agree?
Yes. Differentiating y e^(xy) with respect to y gives (1 + xy) e^(xy), and differentiating x e^(xy) with respect to x gives the same expression, as Clairaut's theorem promises for a function this smooth.