Maximum-minimums identity

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

Ross, Sheldon M. (2020). A First Course in Probability (Tenth, global ed.). Harlow, United Kingdom: Pearson. pp. 331–333. ISBN 978-1-292-26920-7.