Maximum-minimums identity

From testwiki
Jump to navigation Jump to search

Template:Short description In mathematics, the maximum-minimums identity is a relation between the maximum element of a set S of n numbers and the minima of the 2n − 1 non-empty subsets of S.

Let S = {x1, x2, ..., xn}. The identity states that

max⁡{x1,x2,…,xn}=∑i=1nxi−∑i<jmin⁡{xi,xj}+∑i<j<kmin⁡{xi,xj,xk}−⋯⋯+(−1)n+1min⁡{x1,x2,…,xn},

or conversely

min⁡{x1,x2,…,xn}=∑i=1nxi−∑i<jmax⁡{xi,xj}+∑i<j<kmax⁡{xi,xj,xk}−⋯⋯+(−1)n+1max⁡{x1,x2,…,xn}.

For a probabilistic proof, see the reference.

See also

References

Template:Cite book