In mathematical analysis, the maximum and minimum of a function are, respectively, the greatest and least value taken by the function. Known generically as extremum, they may be defined either within a given range (the local or relative extrema) or on the entire domain (the global or absolute extrema) of a function.
As defined in set theory, the maximum and minimum of a set are the greatest and least elements in the set, respectively. Unbounded , such as the set of , have no minimum or maximum.
In statistics, the corresponding concept is the sample maximum and minimum.
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:
The definition of local minimum point can also proceed similarly.
In both the global and local cases, the concept of a ' can be defined. For example, x∗ is a ' if for all x in X with , we have , and x∗ is a 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 space 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 (see the graph above).
For differentiable functions, Fermat's theorem states that local extrema in the interior of a domain must occur at critical points (or points where the derivative equals zero). However, not all critical points are extrema. One can often distinguish whether a critical point is a local maximum, a local minimum, or neither by using the first derivative test, 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 greatest (or least).
Unique global minimum at x = 0. |
No global minima or maxima. Although the first derivative (3 x2) is 0 at x = 0, this is an inflection point. (2nd derivative is 0 at that point.) |
Unique global maximum at x = e. (See figure at right) |
Unique global maximum over the positive real numbers at x = 1/ e. |
First derivative x2 − 1 and second derivative 2 x. Setting the first derivative to 0 and solving for x gives at −1 and +1. From the sign of the second derivative, we can see that −1 is a local maximum and +1 is a local minimum. This function has no global maximum or minimum. |
Global minimum at x = 0 that cannot be found by taking derivatives, because the derivative does not exist at x = 0. |
Infinitely many global maxima at 0, ±2, ±4, ..., and infinitely many global minima at ±, ±3, ±5, .... |
Infinitely many local maxima and minima, but no global maximum or minimum. |
Global maximum at x = 0.1 (a boundary), a global minimum near x = 0.3, a local maximum near x = 0.6, and a local minimum near x = 1.0. (See figure at top of page.) |
Local maximum at x = −1−/3, local minimum at x = −1+/3, global maximum at x = 2 and global minimum at x = −4. |
For a practical example, assume a situation where someone has feet of fencing and is trying to maximize the square footage of a rectangular enclosure, where is the length, is the width, and is the area:
The derivative with respect to is:
Therefore, the greatest area attainable with a rectangle of feet of fencing is
In the case of a general partial order, a least element (i.e., one that is less than all others) should not be confused with the minimal element (nothing is lesser). Likewise, a greatest element of a partially ordered set (poset) is an upper bound of the set which is contained within the set, whereas the 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 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 has no maximum, though it has a minimum. If an infinite chain S is bounded, then the 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.
|
|