# Pythagorean means

Short description: Classical averages studied in ancient Greece
A geometric construction of the quadratic mean and the Pythagorean means (of two numbers a and b). Harmonic mean denoted by      H, geometric by      G, arithmetic by      A and quadratic mean (also known as root mean square) denoted by      Q.
Comparison of the arithmetic, geometric and harmonic means of a pair of numbers. The vertical dashed lines are asymptotes for the harmonic 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[1] because of their importance in geometry and music.

## Definition

They are defined by:

\displaystyle{ \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, $\displaystyle{ \operatorname{M} }$, has the following properties:

First order homogeneity
$\displaystyle{ \operatorname{M}(bx_1,\, \ldots,\, bx_n) = b \operatorname{M}(x_1,\, \ldots,\, x_n) }$
Invariance under exchange
$\displaystyle{ \operatorname{M}(\ldots,\, x_i,\, \ldots,\, x_j,\, \ldots) = \operatorname{M}(\ldots,\, x_j,\, \ldots,\, x_i,\, \ldots) }$
for any $\displaystyle{ i }$ and $\displaystyle{ j }$.
Monotonicity
$\displaystyle{ a \lt b \rightarrow \operatorname{M}(a,x_1,x_2,\ldots x_n) \lt \operatorname{M}(b,x_1,x_2,\ldots x_n) }$
Idempotence
$\displaystyle{ \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.

$\displaystyle{ \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:

$\displaystyle{ \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:

$\displaystyle{ \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 $\displaystyle{ x_i }$ are positive)

$\displaystyle{ \min \leq \operatorname{HM} \leq \operatorname{GM} \leq \operatorname{AM} \leq \max }$

with equality holding if and only if the $\displaystyle{ 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, $\displaystyle{ \operatorname{AM} \leq \max }$, and reciprocal duality ($\displaystyle{ \min }$ and $\displaystyle{ \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, so 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. [2]

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.[3]

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).

## Curiosity

The smallest pairs of different natural numbers for which the arithmetic, geometric and harmonic means are all also natural numbers are (5,45) and (10,40).