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+y2−3xf(x, y) = x^{3} + y^{2} - 3x

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

Local minimum

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

Saddle point

(−1,0), f=2\displaystyle \left(-1, 0\right),\ f = 2
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−3=0fy=2y=0\begin{gathered} f_x = 3x^{2} - 3 = 0 \\ f_y = 2y = 0 \end{gathered}
  2. Solve the system

    The two equations each involve one variable, so they are solved separately and every combination is a critical point. The critical points are (1,0)\left(1, 0\right), (−1,0)\left(-1, 0\right).

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

    The second derivative test needs the three second partial derivatives.

    fxx=6xfyy=2fxy=0\begin{gathered} f_{xx} = 6x \\ f_{yy} = 2 \\ f_{xy} = 0 \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, 0)

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

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

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

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

    The critical points and their type.

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

Worked examples