Critical Points Calculator

Published on: July 21, 2026
Final Answer: Free | Full Steps: Pro

This Critical Points Calculator finds where a surface levels off and decides what each of those places is, and shows the working line by line. Both partial derivatives are set to zero first, since a level point has no slope in either direction. The second derivative test then separates a peak from a dip from a saddle. Following the same pattern every time keeps finding the points and classifying them as separate moves.

Step-by-step method

  1. Set up the problem.
  2. Write the formulas.
  3. Find the first partial derivatives.
  4. Solve for the critical points.
  5. Find the second partial derivatives.
  6. Classify each critical point.

Formula: Critical Point Conditions

At a critical point both first partial derivatives are 0, so the surface is level in every direction.

\(f_{x} = 0,\quad f_{y} = 0\)

Formula: Second Derivative Test

D decides what kind of critical point it is. D greater than 0 with f_xx positive is a minimum, with f_xx negative a maximum, and D less than 0 is a saddle point.

\(D = f_{xx}f_{yy} - \left(f_{xy}\right)^{2}\)

Useful Tips to Remember

Solve \(f_{x} = 0\) and \(f_{y} = 0\) together, not one at a time, to find every critical point. If \(D > 0\), the sign of \(f_{xx}\) decides between a minimum and a maximum. If \(D < 0\) the point is a saddle, and if \(D = 0\) the test gives no answer. Evaluate D separately at each critical point.

Required knowledge

Where Are Critical Points and the Second Derivative Test Used?

Critical points are where a surface is flat, so they are the candidates for the highest and lowest values of a function of two variables. Businesses use them to find the prices or quantities that maximise profit. Engineers use them to minimise material, cost or energy in a design. In physics, stable and unstable equilibrium positions are the minima and saddle points of potential energy, and machine learning looks for minima of a loss function.

  • Maximising profit with two products or prices
  • Minimising cost or material in engineering design
  • Stable and unstable equilibrium in physics
  • Minimising loss functions in machine learning
  • Finding peaks and passes on terrain

Critical Points Practice Problems

Example 1 uses \(x^{3} + y^{3} - 3 x y\), which has a saddle point and a local minimum, and Example 2 uses \(x^{2} + y^{2}\), which has a single minimum at the origin. Find the critical points, test each one and compare. For two more free worked examples, check out the Critical Points Notes.

The worked examples below go through the same pattern from start to finish, so you can compare every step with your own working. For more practice, the notes page goes further with extra worked examples and fuller explanations of the ideas behind each step. Use them together to check your answers and to understand why each step works.

See Example 1 Hide Example 1

Problem

\(f(x, y) = x^{3} - 3 x y + y^{3}\)

Approach

Step-by-step method

  1. Set up the problem.
  2. Write the formulas.
  3. Find the first partial derivatives.
  4. Solve for the critical points.
  5. Find the second partial derivatives.
  6. Classify each critical point.

Formula

Formula: Critical Point Conditions

At a critical point both first partial derivatives are 0, so the surface is level in every direction.

\(f_{x} = 0,\quad f_{y} = 0\)

Formula: Second Derivative Test

D decides what kind of critical point it is. D greater than 0 with f_xx positive is a minimum, with f_xx negative a maximum, and D less than 0 is a saddle point.

\(D = f_{xx}f_{yy} - \left(f_{xy}\right)^{2}\)

Step 1

Step 1 - Set up the problem.

In this problem: We are finding the critical points of \(f(x, y) = x^{3} - 3 x y + y^{3}\) and deciding whether each one is a local maximum, a local minimum or a saddle point.

\(f(x, y) = x^{3} - 3 x y + y^{3}\)

Step 2

Step 2 - Write the formulas.

In this problem: At a critical point both first partial derivatives are 0. The second derivative test then uses D, built from the second partial derivatives, to classify each point.

\(f_{x} = 0,\quad f_{y} = 0,\qquad D = f_{xx}f_{yy} - \left(f_{xy}\right)^{2}\)

Step 3

Step 3 - Find the first partial derivatives.

In this problem: Both first partial derivatives are needed, covered in the Partial Derivatives Calculator, so each one is found in turn.

\(f_{x},\; f_{y}\)

Step 3a

Step 3a - Find f_x.

In this problem: Holding \(y\) constant, differentiating \(x^{3} - 3 x y + y^{3}\) with respect to \(x\), covered in the Difference Rule Calculator, gives \(\frac{\partial f}{\partial x} = 3 x^{2} - 3 y\).

\(f_{x} = 3 x^{2} - 3 y\)

Step 3b

Step 3b - Find f_y.

In this problem: Holding \(x\) constant, differentiating \(x^{3} - 3 x y + y^{3}\) with respect to \(y\), covered in the Difference Rule Calculator, gives \(\frac{\partial f}{\partial y} = - 3 x + 3 y^{2}\).

\(f_{y} = - 3 x + 3 y^{2}\)

Step 4

Step 4 - Solve for the critical points.

In this problem: Setting \(3 x^{2} - 3 y = 0\) and \(- 3 x + 3 y^{2} = 0\) gives two equations that must hold together. Solving them, covered in the Nonlinear System of Equations Calculator, gives the critical points \(\left(0,\; 0\right)\) and \(\left(1,\; 1\right)\).

\(\begin{cases} 3 x^{2} - 3 y = 0 \\ - 3 x + 3 y^{2} = 0 \end{cases} \;\Rightarrow\; \left(0,\; 0\right),\; \left(1,\; 1\right)\)

Step 5

Step 5 - Find the second partial derivatives.

In this problem: The second partial derivatives come from differentiating the first ones again, so each one is found in turn.

\(f_{xx},\; f_{yy},\; f_{xy}\)

Step 5a

Step 5a - Find f_xx.

In this problem: Differentiating \(f_{x} = 3 x^{2} - 3 y\) with respect to \(x\), covered in the Difference Rule Calculator, gives \(f_{xx} = 6 x\).

\(f_{xx} = 6 x\)

Step 5b

Step 5b - Find f_yy.

In this problem: Differentiating \(f_{y} = - 3 x + 3 y^{2}\) with respect to \(y\), covered in the Difference Rule Calculator, gives \(f_{yy} = 6 y\).

\(f_{yy} = 6 y\)

Step 5c

Step 5c - Find f_xy.

In this problem: Differentiating \(f_{x} = 3 x^{2} - 3 y\) with respect to \(y\), covered in the Difference Rule Calculator, gives \(f_{xy} = -3\).

\(f_{xy} = -3\)

Step 6

Step 6 - Classify each critical point.

In this problem: Each critical point is tested in turn.

\(\left(0,\; 0\right),\; \left(1,\; 1\right)\)

Step 6a

Step 6a - Classify critical point 1.

In this problem: At \(\left(0,\; 0\right)\), \(f_{xx} = 0\), \(f_{yy} = 0\) and \(f_{xy} = -3\), so \(D = 0 \times 0 - \left(-3\right)^{2} = -9\). Since \(D < 0\), \(\left(0,\; 0\right)\) is a saddle point.

\(D\left(0,\; 0\right) = 0 \times 0 - \left(-3\right)^{2} = -9 \;\Rightarrow\; \text{saddle point}\)

Step 6b

Step 6b - Classify critical point 2.

In this problem: At \(\left(1,\; 1\right)\), \(f_{xx} = 6\), \(f_{yy} = 6\) and \(f_{xy} = -3\), so \(D = 6 \times 6 - \left(-3\right)^{2} = 27\). Since \(D > 0 \text{ and } f_{xx} > 0\), \(\left(1,\; 1\right)\) is a local minimum.

\(D\left(1,\; 1\right) = 6 \times 6 - \left(-3\right)^{2} = 27 \;\Rightarrow\; \text{local minimum}\)

Final Answer

\(\begin{gathered} \left(0,\; 0\right) \text{ is a saddle point} \\ \left(1,\; 1\right) \text{ is a local minimum} \end{gathered}\)
See Example 2 Hide Example 2

Problem

\(f(x, y) = x^{2} + y^{2}\)

Approach

Step-by-step method

  1. Set up the problem.
  2. Write the formulas.
  3. Find the first partial derivatives.
  4. Solve for the critical points.
  5. Find the second partial derivatives.
  6. Classify each critical point.

Formula

Formula: Critical Point Conditions

At a critical point both first partial derivatives are 0, so the surface is level in every direction.

\(f_{x} = 0,\quad f_{y} = 0\)

Formula: Second Derivative Test

D decides what kind of critical point it is. D greater than 0 with f_xx positive is a minimum, with f_xx negative a maximum, and D less than 0 is a saddle point.

\(D = f_{xx}f_{yy} - \left(f_{xy}\right)^{2}\)

Step 1

Step 1 - Set up the problem.

In this problem: We are finding the critical points of \(f(x, y) = x^{2} + y^{2}\) and deciding whether each one is a local maximum, a local minimum or a saddle point.

\(f(x, y) = x^{2} + y^{2}\)

Step 2

Step 2 - Write the formulas.

In this problem: At a critical point both first partial derivatives are 0. The second derivative test then uses D, built from the second partial derivatives, to classify each point.

\(f_{x} = 0,\quad f_{y} = 0,\qquad D = f_{xx}f_{yy} - \left(f_{xy}\right)^{2}\)

Step 3

Step 3 - Find the first partial derivatives.

In this problem: Both first partial derivatives are needed, covered in the Partial Derivatives Calculator, so each one is found in turn.

\(f_{x},\; f_{y}\)

Step 3a

Step 3a - Find f_x.

In this problem: Holding \(y\) constant, differentiating \(x^{2} + y^{2}\) with respect to \(x\), covered in the Sum Rule Calculator, gives \(\frac{\partial f}{\partial x} = 2 x\).

\(f_{x} = 2 x\)

Step 3b

Step 3b - Find f_y.

In this problem: Holding \(x\) constant, differentiating \(x^{2} + y^{2}\) with respect to \(y\), covered in the Sum Rule Calculator, gives \(\frac{\partial f}{\partial y} = 2 y\).

\(f_{y} = 2 y\)

Step 4

Step 4 - Solve for the critical points.

In this problem: Setting \(2 x = 0\) and \(2 y = 0\) gives two equations that must hold together. Solving them, covered in the Nonlinear System of Equations Calculator, gives the critical point \(\left(0,\; 0\right)\).

\(\begin{cases} 2 x = 0 \\ 2 y = 0 \end{cases} \;\Rightarrow\; \left(0,\; 0\right)\)

Step 5

Step 5 - Find the second partial derivatives.

In this problem: The second partial derivatives come from differentiating the first ones again, so each one is found in turn.

\(f_{xx},\; f_{yy},\; f_{xy}\)

Step 5a

Step 5a - Find f_xx.

In this problem: Differentiating \(f_{x} = 2 x\) with respect to \(x\), covered in the Power Rule Calculator, gives \(f_{xx} = 2\).

\(f_{xx} = 2\)

Step 5b

Step 5b - Find f_yy.

In this problem: Differentiating \(f_{y} = 2 y\) with respect to \(y\), covered in the Power Rule Calculator, gives \(f_{yy} = 2\).

\(f_{yy} = 2\)

Step 5c

Step 5c - Find f_xy.

In this problem: Differentiating \(f_{x} = 2 x\) with respect to \(y\), covered in the Constant Rule Calculator, gives \(f_{xy} = 0\).

\(f_{xy} = 0\)

Step 6

Step 6 - Classify each critical point.

In this problem: At \(\left(0,\; 0\right)\), \(f_{xx} = 2\), \(f_{yy} = 2\) and \(f_{xy} = 0\), so \(D = 2 \times 2 - 0^{2} = 4\). Since \(D > 0 \text{ and } f_{xx} > 0\), \(\left(0,\; 0\right)\) is a local minimum.

\(D\left(0,\; 0\right) = 2 \times 2 - 0^{2} = 4 \;\Rightarrow\; \text{local minimum}\)

Final Answer

\(\begin{gathered} \left(0,\; 0\right) \text{ is a local minimum} \end{gathered}\)

Notes and Practice Mode

Example Problems

Click one to load it into the box and solve it.