Tested tool guide
Tested browser tools
Checked August 16, 2026
What Optimization Visualizer does, with a checked example
Optimization depends on both a function and its admissible domain. This visualizer graphs the function, identifies critical points, applies derivative information such as the second derivative test, and distinguishes local extrema from global maxima or minima. It can also examine optimization subject to constraints. The common mistake is treating every solution of f'(x) = 0 as an extremum. Such solutions are only candidates: a stationary point may be neither a maximum nor a minimum, while endpoints or constraint boundaries may contain the actual optimum.
Worked example
A concrete input and expected output from the current implementation.
Input
f(x) = x^2, with x in the real numbers
->
Expected output
Critical point: (0, 0). Since f'(x) = 2x, the only stationary point is x = 0. Since f''(x) = 2 > 0, it is a local minimum. It is also the global minimum, with minimum value 0. There is no global maximum over the real numbers.
The derivative vanishes only at x = 0, and the positive second derivative classifies that point as a local minimum. Because x^2 >= 0 for every real x and grows without bound, 0 is the global minimum and no maximum exists.