Pythagorean means

In mathematics, the three classical Pythagorean means are the arithmetic mean (AM), the geometric mean (GM), and the harmonic mean (HM). These means were studied with proportions by Pythagoreans and later generations of Greek mathematicians because of their importance in geometry and music.

Definition
They are defined by:

$$\begin{align} \operatorname{AM} \left( x_1,\; \ldots,\; x_n \right) &= \frac{ x_1 + \;\cdots\; + x_n }{n} \\[9pt] \operatorname{GM} \left( x_1,\; \ldots,\; x_n \right) &= \sqrt[n]{\left\vert x_1 \times \,\cdots\, \times x_n \right\vert} \\[9pt] \operatorname{HM} \left( x_1,\; \ldots,\; x_n \right) &= \frac{n}{\displaystyle \frac{1}{x_1} + \;\cdots\; + \frac{1}{x_n}} \end{align}$$

Properties
Each mean, $\operatorname{M}$, has the following properties:


 * First-order homogeneity: $$\operatorname{M}(bx_1,\, \ldots,\, bx_n) = b \operatorname{M}(x_1,\, \ldots,\, x_n)$$
 * Invariance under exchange: $$\operatorname{M}(\ldots,\, x_i,\, \ldots,\, x_j,\, \ldots) = \operatorname{M}(\ldots,\, x_j,\, \ldots,\, x_i,\, \ldots)$$
 * for any $$i$$ and $$j$$.


 * Monotonicity: $$ a \leq b \rightarrow \operatorname{M}(a,x_1,x_2,\ldots x_n) \leq \operatorname{M}(b,x_1,x_2,\ldots x_n)$$
 * Idempotence: $$ \forall x, \; M(x,x,\ldots x) = x $$

Monotonicity and idempotence together imply that a mean of a set always lies between the extremes of the set: $$\min(x_1,\, \ldots,\, x_n) \leq \operatorname{M}(x_1,\, \ldots,\, x_n) \leq \max(x_1,\, \ldots,\, x_n).$$

The harmonic and arithmetic means are reciprocal duals of each other for positive arguments, $$\operatorname{HM}\left(\frac{1}{x_1},\, \ldots,\, \frac{1}{x_n}\right) = \frac{1}{\operatorname{AM}\left(x_1,\, \ldots,\, x_n\right)},$$

while the geometric mean is its own reciprocal dual: $$\operatorname{GM}\left(\frac{1}{x_1},\, \ldots,\, \frac{1}{x_n}\right) = \frac{1}{\operatorname{GM}\left(x_1,\, \ldots,\, x_n\right)}.$$

Inequalities among means
There is an ordering to these means (if all of the $$ x_i $$ are positive) $$\min \leq \operatorname{HM} \leq \operatorname{GM} \leq \operatorname{AM} \leq \max$$ with equality holding if and only if the $$x_i$$ are all equal.

This is a generalization of the inequality of arithmetic and geometric means and a special case of an inequality for generalized means. The proof follows from the arithmetic–geometric mean inequality, $$\operatorname{AM} \leq \max$$, and reciprocal duality ($$\min$$ and $$\max$$ are also reciprocal dual to each other).

The study of the Pythagorean means is closely related to the study of majorization and Schur-convex functions. The harmonic and geometric means are concave symmetric functions of their arguments, and hence Schur-concave, while the arithmetic mean is a linear function of its arguments and hence is both concave and convex.

History
Almost everything that we know about the Pythagorean means came from arithmetic handbooks written in the first and second century. Nicomachus of Gerasa says that they were "acknowledged by all the ancients, Pythagoras, Plato and Aristotle." Their earliest known use is a fragment of the Pythagorean philosopher Archytas of Tarentum:

"There are three means in music: one is arithmetic, second is the geometric, third is sub-contrary, which they call harmonic. The mean is arithmetic when three terms are in proportion such that the excess by which the first exceeds the second is that by which the second exceeds the third. In this proportion it turns out that the interval of the greater terms is less, but that of the lesser terms greater. The mean is the geometric when they are such that as the first is to the second, so the second is to the third. Of these terms the greater and the lesser have the interval between them equal. Subcontrary, which we call harmonic, is the mean when they are such that, by whatever part of itself the first term exceeds the second, by that part of the third the middle term exceeds the third. It turns out that in this proportion the interval between the greater terms is greater and that between the lesser terms is less."

The name "harmonic mean", according to Iamblichus, was coined by Archytas and Hippasus. The Pythagorean means also appear in Plato's Timaeus. Another evidence of their early use is a commentary by Pappus.

"It was [...] Theaetetus who distinguished the powers which are commensurable in length from those which are incommensurable, and who divided the more generally known irrational lines according to the different means, assigning the medial lines to geometry, the binomial to arithmetic, and the apotome to harmony, as is stated by Eudemus, the Peripatetic."

The term "mean" (μεσότης, mesótēs in Ancient Greek) appears in the Neopythagorean arithmetic handbooks in connection with the term "proportion" (ἀναλογία, analogía in Ancient Greek).

Smallest distinct positive integer means
Of all pairs of different natural numbers of the form (a, b) such that a &lt; b, the smallest (as defined by least value of a + b) for which the arithmetic, geometric and harmonic means are all also natural numbers are (5, 45) and (10, 40).