About Critical Points
Critical points show where a multivariable function may flatten, turn, or change behavior. They appear when every first partial derivative is zero, or when a derivative is undefined. In many practical problems, they mark possible best, worst, or unstable settings. Engineers use them for surfaces. Analysts use them for cost, profit, and response models.
Why Gradients Matter
The gradient collects all first partial derivatives. For a function f(x,y), the gradient is fx and fy. For f(x,y,z), it also includes fz. A zero gradient means the local slope vanishes in every selected direction. That condition does not prove a maximum or minimum. It only creates a candidate point that needs testing.
How Hessian Testing Helps
The Hessian matrix stores second partial derivatives. In two variables, the determinant D = fxxfyy - fxy² guides classification. If D is positive and fxx is positive, the point is a local minimum. If D is positive and fxx is negative, the point is a local maximum. If D is negative, the point is a saddle point. When D is near zero, the test is inconclusive.
Using This Calculator
This tool estimates partial derivatives by central differences. It then uses Newton style updates to solve the gradient system. You can provide one seed, or let the grid search test many seeds across a range. Several unique points may be found. Tight tolerances improve accuracy, but may require more iterations. Smooth functions usually work best.
Reading The Result
Each result shows the point, function value, gradient size, iteration count, and classification. A small gradient norm is important. A high norm means the point may be only a rough approximation. The notes column explains the Hessian decision. Export options help you save the results for reports.
Best Inputs
Enter functions with standard operators. Use parentheses around products. Start with simple examples. Then expand ranges slowly when many stationary candidates may exist.
Helpful Limits
Numerical methods can miss points outside the search range. They can also struggle with discontinuities, sharp corners, and flat plateaus. Try several ranges and seeds when the surface is complex. Use symbolic checks for final academic or legal work. This calculator is a strong guide, not a proof engine.