Multivariable calculus
Partial Derivatives of x^3 + y^3 - 3xy
For f(x, y) = x^3 + y^3 - 3xy the partial with respect to x is 3x^2 - 3y, and the partial with respect to y is 3y^2 - 3x. Each cross term contributes because -3xy depends on both variables. Setting both partials to zero gives the critical points (0, 0) and (1, 1).
Differentiate term by term
A sum differentiates one piece at a time, so handle , , and separately. With held fixed, is a constant and dies, while is times .
By the symmetry of the function under swapping and , the other partial has the same shape with the letters exchanged.
At these give and , so the surface rises steeply in the direction and falls in the direction from that point.
The mistake: dropping the cross term
The most common wrong answer is , with the term treated as if it were a constant. It is not: it contains .
Use a two-part test on each term before you write anything down.
- Does the term contain the variable I am differentiating? If not, it contributes .
- If it does, everything else in that term is a constant multiplier.
- So contributes to and to .
The mirror-image error is writing , which keeps the in the cross term that should have been differentiated away.
Using the partials to locate critical points
Critical points are where both partials vanish at once, so solve the pair and .
The real solutions of are and , giving the critical points and . Substituting back, .
The second partials are , , and . At the discriminant is positive with , so is a local minimum. At the discriminant is , so the origin is a saddle.
Frequently asked questions
Why do the two partials look like each other with x and y swapped?
Because : the function is symmetric in its two variables. Any symmetric function has partials that are images of each other under the same swap, which is a quick way to check your second answer against your first.
Do the partials vanish anywhere else?
No. Combining with forces , whose only real roots are and . So and are the only points where the gradient is the zero vector.