Multivariable Critical Points Calculator

Type a function of x and y to find and classify its critical points.

A function of x and y only, such as x^3 - 3x + y^2 or x^2 - y^2.

Try

Result

You enteredf(x,y)=x3+y3−3x yf(x, y) = x^{3} + y^{3} - 3x\,y

Local minimum at (1, 1), saddle point at (0, 0)\displaystyle \text{Local minimum at (1, 1), saddle point at (0, 0)}

Local minimum

(1,1), f=−1\displaystyle \left(1, 1\right),\ f = -1

Saddle point

(0,0), f=0\displaystyle \left(0, 0\right),\ f = 0
Show the work
  1. Critical points of a function of two variables

    A local maximum, local minimum or saddle point can only occur where both partial derivatives are zero (for a function with no edges or corners).

    Using ∇f=(fx,fy)=(0,0)\nabla f = \left(f_x, f_y\right) = \left(0, 0\right)

    fx=3x2−3y=0fy=3y2−3x=0\begin{gathered} f_x = 3x^{2} - 3y = 0 \\ f_y = 3y^{2} - 3x = 0 \end{gathered}
  2. Solve the system

    One equation is linear in y, so it is solved for y and substituted into the other, which leaves a polynomial in x. The critical points are (1,1)\left(1, 1\right), (0,0)\left(0, 0\right).

    (1,1), (0,0)\left(1, 1\right),\ \left(0, 0\right)
  3. Second derivatives

    The second derivative test needs the three second partial derivatives.

    fxx=6xfyy=6yfxy=−3\begin{gathered} f_{xx} = 6x \\ f_{yy} = 6y \\ f_{xy} = -3 \end{gathered}
  4. Second derivative test

    At each critical point compute DD. If D>0D > 0 the point is a local minimum when fxx>0f_{xx} > 0 and a local maximum when fxx<0f_{xx} < 0; if D<0D < 0 it is a saddle point; if D=0D = 0 the test says nothing.

    Using D=fxxfyy−fxy2D = f_{xx}f_{yy} - f_{xy}^2

  5. Classify (1, 1)

    D=27D = 27 and fxx=6f_{xx} = 6, so this is a local minimum.

    D(1,1)=27D\left(1, 1\right) = 27
  6. Classify (0, 0)

    D=−9D = -9, so this is a saddle point.

    D(0,0)=−9D\left(0, 0\right) = -9
  7. Result

    The critical points and their type.

    Local minimum at (1, 1), saddle point at (0, 0)\text{Local minimum at (1, 1), saddle point at (0, 0)}

Worked examples