Difference between maximum and minimum of same set

273 Views Asked by At

I was wondering if there is a property to express the difference between the max and min of the same set of elements: $$\max(x_1, x_2, \ldots x_n) - \min(x_1, x_2, \ldots x_n)$$ where $x_i$ are all positive reals.

Is there a property to state the same thing?

1

There are 1 best solutions below

1
On BEST ANSWER

If $n\geq 2$:

$$ \max _{1\leq i<j\leq n} |x_i-x_j| .$$


For $n=2$ this is simply

$$| x_1-x_2|.$$