In mathematical analysis, the maxima and minima (the respective plurals of maximum and minimum) of a function, known collectively as extrema (the plural of extremum), are the largest and smallest value of the function, either within a given range (the ''local'' or ''relative'' extrema), or on the entire domain (the ''global'' or ''absolute'' extrema). was one of the first mathematicians to propose a general technique, adequality, for finding the maxima and minima of functions.
As defined in set theory, the maximum and minimum of a set are the greatest and least elements in the set, respectively. Unbounded infinite sets, such as the set of

^{∗}, if for all ''x'' in ''X''. Similarly, the function has a global (or absolute) minimum point at ''x''^{∗}, if for all ''x'' in ''X''. The value of the function at a maximum point is called the maximum value of the function, denoted $\backslash max(f(x))$, and the value of the function at a minimum point is called the minimum value of the function. Symbolically, this can be written as follows:
:$x\_0\; \backslash in\; X$ is a global maximum point of function $f:X\; \backslash to\; \backslash R$, if $(\backslash forall\; x\; \backslash in\; X)\backslash ,\; f(x\_0)\; \backslash geq\; f(x).$
The definition of global minimum point also proceeds similarly.
If the domain ''X'' is a metric space, then ''f'' is said to have a local (or relative) maximum point at the point ''x''^{∗}, if there exists some ''ε'' > 0 such that for all ''x'' in ''X'' within distance ''ε'' of ''x''^{∗}. Similarly, the function has a local minimum point at ''x''^{∗}, if ''f''(''x''^{∗}) ≤ ''f''(''x'') for all ''x'' in ''X'' within distance ''ε'' of ''x''^{∗}. A similar definition can be used when ''X'' is a topological space, since the definition just given can be rephrased in terms of neighbourhoods. Mathematically, the given definition is written as follows:
:Let $(X,\; d\_X)$ be a metric space and function $f:X\; \backslash to\; \backslash R$. Then $x\_0\; \backslash in\; X$ is a local maximum point of function $f$ if $(\backslash exists\; \backslash varepsilon\; >\; 0)$ such that $(\backslash forall\; x\; \backslash in\; X)\backslash ,\; d\_X(x,\; x\_0)<\backslash varepsilon\; \backslash implies\; f(x\_0)\backslash geq\; f(x).$
The definition of local minimum point can also proceed similarly.
In both the global and local cases, the concept of a strict extremum can be defined. For example, ''x''^{∗} is a strict global maximum point if for all ''x'' in ''X'' with , we have , and ''x''^{∗} is a strict local maximum point if there exists some such that, for all ''x'' in ''X'' within distance ''ε'' of ''x''^{∗} with , we have . Note that a point is a strict global maximum point if and only if it is the unique global maximum point, and similarly for minimum points.
A continuous real-valued function with a compact domain always has a maximum point and a minimum point. An important example is a function whose domain is a closed and bounded interval of

_{0} is a local minimum if and only if there exist such that ''f'' decreases on (''a'', ''x''_{0}) and increases on (''x''_{0}, ''b'')) A direct consequence of this is the Fermat's theorem (stationary points), Fermat's theorem, which states that local extrema must occur at critical point (mathematics), critical points (or points where the function is non-Differentiable function, differentiable). One can distinguish whether a critical point is a local maximum or local minimum by using the first derivative test, derivative test#Second derivative test (single variable), second derivative test, or higher-order derivative test, given sufficient differentiability.
For any function that is defined piecewise, one finds a maximum (or minimum) by finding the maximum (or minimum) of each piece separately, and then seeing which one is largest (or smallest).

Thomas Simpson's work on Maxima and Minima

a

Convergence

Application of Maxima and Minima with sub pages of solved problems

* {{Calculus topics Calculus Mathematical analysis Mathematical optimization Superlatives

real number
Real may refer to:
* Reality, the state of things as they exist, rather than as they may appear or may be thought to be
Currencies
* Brazilian real (R$)
* Central American Republic real
* Mexican real
* Portuguese real
* Spanish real
* Spanish col ...

s, have no minimum or maximum.
Definition

A real-valued function ''f'' defined on a domain ''X'' has a global (or absolute) maximum point at ''x''real number
Real may refer to:
* Reality, the state of things as they exist, rather than as they may appear or may be thought to be
Currencies
* Brazilian real (R$)
* Central American Republic real
* Mexican real
* Portuguese real
* Spanish real
* Spanish col ...

s (see the graph above).
Search

Finding global maxima and minima is the goal of mathematical optimization. If a function is continuous on a closed interval, then by the extreme value theorem, global maxima and minima exist. Furthermore, a global maximum (or minimum) either must be a local maximum (or minimum) in the interior of the domain, or must lie on the boundary of the domain. So a method of finding a global maximum (or minimum) is to look at all the local maxima (or minima) in the interior, and also look at the maxima (or minima) of the points on the boundary, and take the largest (or smallest) one. Likely the most important, yet quite obvious, feature of continuous Real-valued function, real-valued functions of Function of a real variable, a real variable is that they Decreasing function, decrease before local minima and Increasing function, increase afterwards, likewise for maxima. (Formally, if ''f'' is continuous real-valued function of a real variable ''x'', then ''x''Examples

Image:xth root of x.svg, The global maximum of occurs at . For a practical example, assume a situation where someone has $200$ feet of fencing and is trying to maximize the square footage of a rectangular enclosure, where $x$ is the length, $y$ is the width, and $xy$ is the area: :$2x+2y\; =\; 200$ :$2y\; =\; 200-2x$ :$\backslash frac\; =\; \backslash frac$ :$y\; =\; 100\; -\; x$ :$xy=x(100-x)$ The derivative with respect to $x$ is: :$\backslash begin\; \backslash fracxy\&=\backslash fracx(100-x)\; \backslash \backslash \; \&=\backslash frac\; \backslash left(100x-x^2\; \backslash right)\; \backslash \backslash \; \&=100-2x\; \backslash end$ Setting this equal to $0$ :$0=100-2x$ :$2x=100$ :$x=50$ reveals that $x=50$ is our only Critical_point_(mathematics), critical point. Now retrieve the Interval_(mathematics), endpoints by determining the interval to which $x$ is restricted. Since width is positive, then $x>0$, and since that implies that Plug in critical point as well as endpoints $0$ and into and the results are $2500,\; 0,$ and $0$ respectively. Therefore, the greatest area attainable with a rectangle of $200$ feet of fencing isFunctions of more than one variable

For functions of more than one variable, similar conditions apply. For example, in the (enlargeable) figure on the right, the necessary conditions for a ''local'' maximum are similar to those of a function with only one variable. The first partial derivatives as to ''z'' (the variable to be maximized) are zero at the maximum (the glowing dot on top in the figure). The second partial derivatives are negative. These are only necessary, not sufficient, conditions for a local maximum, because of the possibility of a saddle point. For use of these conditions to solve for a maximum, the function ''z'' must also be Differentiable function, differentiable throughout. The second partial derivative test can help classify the point as a relative maximum or relative minimum. In contrast, there are substantial differences between functions of one variable and functions of more than one variable in the identification of global extrema. For example, if a bounded differentiable function ''f'' defined on a closed interval in the real line has a single critical point, which is a local minimum, then it is also a global minimum (use the intermediate value theorem and Rolle's theorem to prove this by reductio ad absurdum). In two and more dimensions, this argument fails. This is illustrated by the function :$f(x,y)=\; x^2+y^2(1-x)^3,\backslash qquad\; x,y\backslash in\backslash mathbb,$ whose only critical point is at (0,0), which is a local minimum with ƒ(0,0) = 0. However, it cannot be a global one, because ƒ(2,3) = −5.Maxima or minima of a functional

If the domain of a function for which an extremum is to be found consists itself of functions (i.e. if an extremum is to be found of a Functional (mathematics), functional), then the extremum is found using the calculus of variations.In relation to sets

Maxima and minima can also be defined for sets. In general, if an ordered set ''S'' has a greatest element ''m'', then ''m'' is a maximal element of the set, also denoted as $\backslash max(S)$. Furthermore, if ''S'' is a subset of an ordered set ''T'' and ''m'' is the greatest element of ''S'' with (respect to order induced by ''T''), then ''m'' is a supremum, least upper bound of ''S'' in ''T''. Similar results hold for least element, minimal element and infimum, greatest lower bound. The maximum and minimum function for sets are used in databases, and can be computed rapidly, since the maximum (or minimum) of a set can be computed from the maxima of a partition; formally, they are self-decomposable aggregation functions. In the case of a general partial order, the least element (i.e., one that is smaller than all others) should not be confused with a minimal element (nothing is smaller). Likewise, a greatest element of a partially ordered set (poset) is an upper bound of the set which is contained within the set, whereas a maximal element ''m'' of a poset ''A'' is an element of ''A'' such that if ''m'' ≤ ''b'' (for any ''b'' in ''A''), then ''m'' = ''b''. Any least element or greatest element of a poset is unique, but a poset can have several minimal or maximal elements. If a poset has more than one maximal element, then these elements will not be mutually comparable. In a total order, totally ordered set, or ''chain'', all elements are mutually comparable, so such a set can have at most one minimal element and at most one maximal element. Then, due to mutual comparability, the minimal element will also be the least element, and the maximal element will also be the greatest element. Thus in a totally ordered set, we can simply use the terms ''minimum'' and ''maximum''. If a chain is finite, then it will always have a maximum and a minimum. If a chain is infinite, then it need not have a maximum or a minimum. For example, the set of natural numbers has no maximum, though it has a minimum. If an infinite chain ''S'' is bounded, then the topological closure, closure ''Cl''(''S'') of the set occasionally has a minimum and a maximum, in which case they are called the greatest lower bound and the least upper bound of the set ''S'', respectively.See also

*Arg max *Derivative test *Infimum and supremum *Limit superior and limit inferior *Mechanical equilibrium *Mex (mathematics) *Sample maximum and minimum *Saddle pointReferences

External links

Thomas Simpson's work on Maxima and Minima

a

Convergence

Application of Maxima and Minima with sub pages of solved problems

* {{Calculus topics Calculus Mathematical analysis Mathematical optimization Superlatives