Let M {\displaystyle {}M} denote a set, and
a function. We say that f {\displaystyle {}f} attains in a point x ∈ M {\displaystyle {}x\in M} its maximum, if