Multivariable calculus

Critical Points of x^3 + y^3 - 3xy

f(x,y) = x^3 + y^3 - 3xy has exactly two critical points. At (0,0) the discriminant is D = -9, so that point is a saddle. At (1,1) the discriminant is D = 27 and f_xx = 6 is positive, so that point is a local minimum with value f(1,1) = -1. The general discriminant is D = 36xy - 9.

f(x,y)=x3+y33xyf(x,y) = x^{3} + y^{3} - 3xy
  • (0,0)\left(0, 0\right) saddle pointdiscriminant D = -9
  • (1,1)\left(1, 1\right) local minimumdiscriminant D = 27

Solving the system without losing a root

fx=3x23y,fy=3y23x\frac{\partial f}{\partial x} = 3x^{2} - 3y, \qquad \frac{\partial f}{\partial y} = 3y^{2} - 3x

Setting both to zero gives y=x2y = x^{2} and x=y2x = y^{2}. Substitute the first into the second: x=(x2)2=x4x = (x^{2})^{2} = x^{4}, so x4x=0x^{4} - x = 0.

x4x=x(x31)=0x^{4} - x = x\left(x^{3} - 1\right) = 0

The real roots are x=0x = 0 and x=1x = 1. Since y=x2y = x^{2}, the critical points are (0,0)(0,0) and (1,1)(1,1), and there are no others.

One discriminant formula, two verdicts

Compute the second partials once, in general, then evaluate at each point. That is faster and less error prone than starting over twice.

fxx=6x,fyy=6y,fxy=3f_{xx} = 6x, \qquad f_{yy} = 6y, \qquad f_{xy} = -3
D(x,y)=(6x)(6y)(3)2=36xy9D(x,y) = (6x)(6y) - (-3)^{2} = 36xy - 9

At the origin D=9<0D = -9 < 0, a saddle. At (1,1)(1,1), D=369=27>0D = 36 - 9 = 27 > 0 and fxx=6>0f_{xx} = 6 > 0, so that is a local minimum with f(1,1)=1f(1,1) = -1.

The saddle at the origin is easy to feel numerically. Along the line y=xy = x the function is 2x33x22x^{3} - 3x^{2}, which is negative for small positive xx. Along y=xy = -x the two cubes cancel exactly and what is left is 3x23x^{2}, positive for every x0x \ne 0. So ff falls one way and rises the other.

The mistake students make

The usual loss happens at x4=xx^{4} = x. Dividing both sides by xx gives x3=1x^{3} = 1 and x=1x = 1, and the critical point at the origin disappears without warning. Never divide an equation by a variable that is allowed to be zero: factor instead and read off every root.

The second slip is treating x4=xx^{4} = x as having four solutions because it is a quartic. Over the real numbers x(x31)x(x^{3}-1) has only the two roots 00 and 11; the other two roots of x3=1x^{3} = 1 are complex and are not points of the plane.

Frequently asked questions

Is (1,1) a global minimum?

No. Along the line y=xy = x the function is 2x33x22x^{3} - 3x^{2}, which runs to -\infty as xx \to -\infty, so ff is unbounded below. The point (1,1)(1,1) is only a local minimum, which is all the second derivative test ever claims.

Why is the mixed partial constant here?

The only term containing both variables is 3xy-3xy. Differentiating it once in xx leaves 3y-3y, and once more in yy leaves 3-3. The cubes contribute nothing to fxyf_{xy} because each involves a single variable.