Multivariable calculus
Partial Derivatives of x^3 - 3xy^2 (Monkey Saddle)
For f(x, y) = x^3 - 3xy^2 the partial with respect to x is 3x^2 - 3y^2, and the partial with respect to y is -6xy. This is the monkey saddle. Its second partials are 6x and -6x, which sum to zero, so the function satisfies Laplace's equation and is harmonic everywhere.
Both terms contain x, only one contains y
For , both terms are in play. The first gives ; in the second, is the constant multiplier on , so it contributes .
For , the term has no in it and contributes nothing. Only survives, with as the constant multiplier.
At the partials are and , so the surface climbs in and drops in .
The mistake: giving x^3 a y derivative
Writing is the standard slip. It differentiates as though were the active variable, in the middle of a derivative.
Reset before each partial. Say out loud which letter is moving, then scan the terms once and cross out anything without that letter.
- For : cross out entirely, since .
- What remains is , and only the is differentiated.
- The coefficient and the factor both ride along unchanged.
A second trap is the exponent on : , so the coefficient becomes , not .
Why this surface is called the monkey saddle
Setting both partials to zero gives and , whose only solution is the origin. There the surface has three directions going down and three going up, room for two legs and a tail, which is where the name comes from.
The second partials are worth computing here.
A function whose second partials cancel like this satisfies Laplace's equation and is called harmonic. This one is the real part of the complex cube , which is why the cancellation is exact at every point rather than a coincidence at one.
Frequently asked questions
Why does the second derivative test fail at the origin?
At every second partial is zero, so the discriminant is and the test is inconclusive. Restricting to the line gives , which changes sign through the origin, so the point is neither a maximum nor a minimum.
Where does f_x vanish?
Setting gives , the two diagonal lines. Along those lines the surface is momentarily flat in the direction, though it is still changing in unless you are at the origin.