Given a function :we want to find the points of the domain of where the value of is smaller (for minima, or larger for maxima) than all other points in some neighbourhood of .
- from some space. For beginners the real numbers but more generally topological spaces should work in general
- to the real numbers
In the case of Functionals, this problem is treated under the theory of the calculus of variations.