Critical Points & Local Extrema Calculator
This Critical Points & Local Extrema Calculator helps you find the critical points of a function of two variables and classify them as local maxima, local minima, or saddle points. The calculator solves ∇f = 0, then uses the Hessian test to determine the type of each critical point. This makes it easier to analyze the behavior of the function near those points. It is a simple way to check answers, understand the method clearly, and practise multivariable calculus step by step.
Step-by-step method
- Identify the function f(x,y).
- Compute f_x and f_y with substeps.
- Solve f_x = 0 and f_y = 0 to get the critical points.
- Compute f_xx, f_yy, and f_xy.
- For each critical point, compute D = f_xx f_yy − (f_xy)^2.
- Classify each critical point using the Hessian test.
Formulas:
Critical point condition
Hessian determinant
Classification rules
Example 1: f(x,y)=x^3-3x+y^2
Step 1 - Identify the function.
In this problem: Read the given function.
Step 2A - Differentiate term 1 with respect to x.
In this problem: Rule shown by the math.
| ∂ |
| ∂x |
Step 2B - Differentiate term 2 with respect to x.
In this problem: Rule shown by the math.
| ∂ |
| ∂x |
Step 2C - Differentiate term 3 with respect to x.
In this problem: Rule shown by the math.
| ∂ |
| ∂x |
| ∂ |
| ∂x |
Step 2D - Differentiate term 3 with respect to x.
In this problem: Rule shown by the math.
| ∂ |
| ∂x |
Step 2E - Differentiate term 3 with respect to x.
In this problem: Rule shown by the math.
| ∂ |
| ∂x |
Step 2F - Combine the results.
In this problem: Add the derivatives from the previous substeps.
Step 3A - Differentiate term 1 with respect to y.
In this problem: Rule shown by the math.
| ∂ |
| ∂y |
Step 3B - Differentiate term 2 with respect to y.
In this problem: Rule shown by the math.
| ∂ |
| ∂y |
Step 3C - Differentiate term 3 with respect to y.
In this problem: Rule shown by the math.
| ∂ |
| ∂y |
Step 3D - Combine the results.
In this problem: Add the derivatives from the previous substeps.
Step 4A - Set f_x equal to zero.
In this problem: Critical points satisfy f_x = 0.
Step 4B - Set f_y equal to zero.
In this problem: Critical points satisfy f_y = 0.
Step 4C - Solve the system.
In this problem: Solve f_x = 0 and f_y = 0 together.
Step 5A - Compute f_xx.
In this problem: Differentiate f_x with respect to x.
| ∂ |
| ∂x |
Step 5B - Compute f_yy.
In this problem: Differentiate f_y with respect to y.
| ∂ |
| ∂y |
Step 5C - Compute f_xy.
In this problem: Differentiate f_x with respect to y.
| ∂ |
| ∂y |
Step 6A - Evaluate f_xx at the critical point.
In this problem: Substitute the critical point.
Step 6B - Evaluate f_yy at the critical point.
In this problem: Substitute the critical point.
Step 6C - Evaluate f_xy at the critical point.
In this problem: Substitute the critical point.
Step 6D - Compute the Hessian determinant.
In this problem: Use D = f_xx f_yy − (f_xy)^2.
Step 6E - Classify the critical point.
In this problem: Use the Hessian test.
Step 7A - Evaluate f_xx at the critical point.
In this problem: Substitute the critical point.
Step 7B - Evaluate f_yy at the critical point.
In this problem: Substitute the critical point.
Step 7C - Evaluate f_xy at the critical point.
In this problem: Substitute the critical point.
Step 7D - Compute the Hessian determinant.
In this problem: Use D = f_xx f_yy − (f_xy)^2.
Step 7E - Classify the critical point.
In this problem: Use the Hessian test.
Final answer: Critical points classified
Example 2: f(x,y)=-(x^2+y^2)
Step 1 - Identify the function.
In this problem: Read the given function.
Step 2A - Differentiate term 1 with respect to x.
In this problem: Rule shown by the math.
| ∂ |
| ∂x |
| ∂ |
| ∂x |
Step 2B - Differentiate term 1 with respect to x.
In this problem: Rule shown by the math.
| ∂ |
| ∂x |
Step 2C - Differentiate term 1 with respect to x.
In this problem: Rule shown by the math.
| ∂ |
| ∂x |
Step 2D - Differentiate term 2 with respect to x.
In this problem: Rule shown by the math.
| ∂ |
| ∂x |
Step 2E - Combine the results.
In this problem: Add the derivatives from the previous substeps.
Step 3A - Differentiate term 1 with respect to y.
In this problem: Rule shown by the math.
| ∂ |
| ∂y |
Step 3B - Differentiate term 2 with respect to y.
In this problem: Rule shown by the math.
| ∂ |
| ∂y |
| ∂ |
| ∂y |
Step 3C - Differentiate term 2 with respect to y.
In this problem: Rule shown by the math.
| ∂ |
| ∂y |
Step 3D - Differentiate term 2 with respect to y.
In this problem: Rule shown by the math.
| ∂ |
| ∂y |
Step 3E - Combine the results.
In this problem: Add the derivatives from the previous substeps.
Step 4A - Set f_x equal to zero.
In this problem: Critical points satisfy f_x = 0.
Step 4B - Set f_y equal to zero.
In this problem: Critical points satisfy f_y = 0.
Step 4C - Solve the system.
In this problem: Solve f_x = 0 and f_y = 0 together.
Step 5A - Compute f_xx.
In this problem: Differentiate f_x with respect to x.
| ∂ |
| ∂x |
Step 5B - Compute f_yy.
In this problem: Differentiate f_y with respect to y.
| ∂ |
| ∂y |
Step 5C - Compute f_xy.
In this problem: Differentiate f_x with respect to y.
| ∂ |
| ∂y |
Step 6A - Evaluate f_xx at the critical point.
In this problem: Substitute the critical point.
Step 6B - Evaluate f_yy at the critical point.
In this problem: Substitute the critical point.
Step 6C - Evaluate f_xy at the critical point.
In this problem: Substitute the critical point.
Step 6D - Compute the Hessian determinant.
In this problem: Use D = f_xx f_yy − (f_xy)^2.
Step 6E - Classify the critical point.
In this problem: Use the Hessian test.
Final answer: Critical points classified
Sign up or login to get the full step solution for free!