The geometric mean, in mathematics, is a type of mean or average, which indicates the central tendency or typical value of a set of numbers. It is similar to the arithmetic mean, which is what most people think of with the word "average," except that instead of adding the set of numbers and then dividing the sum by the count of numbers in the set, n, the numbers are multiplied and then the nth root of the resulting product is taken.

For instance, the the geometric mean of two numbers, say 2 and 8, is just the square root of their product, 16, which is 4. As another example, the geometric mean of 1, ½, and ¼ is simply the the cube root of their product, 0.125, which is ½.

The geometric mean only applies to positive numbers. It is also often used for a set of numbers whose values span multiple orders of magnitude or are exponential in nature. The geometric mean is also one of the three classic Pythagorean means, together with the previously mentioned arithmetic mean, and the harmonic mean.

Calculation

The geometric mean of a data set [a1, a2, ..., an] is given by

.

The geometric mean of a data set is smaller than or equal to the data set's arithmetic mean (the two means are equal if and only if all members of the data set are equal). This allows the definition of the arithmetic-geometric mean, a mixture of the two which always lies in between.

The geometric mean is also the arithmetic-harmonic mean in the sense that if two sequences (an) and (hn) are defined:

and

then an and hn will converge to the geometric mean of x and y.

Relationship with arithmetic mean of logarithms

By using logarithmic identities to transform the formula, we can express the multiplications as a sum and the power as a multiplication.

This is sometimes called the log-average. It is simply computing the arithmetic mean of the logarithm transformed values of (i.e. the arithmetic mean on the log scale) and then using the exponentiation to return the computation to the original scale. I.e., it is the generalised f-mean with f(x) = ln x.

Therefore the geometric mean is related to the log-normal distribution. The log-normal distribution is a distribution which is normal for the logarithm transformed values. We see that the geometric mean is the exponentiated value of the arithmetic mean of the log transformed values, i.e. emean(ln(X)).

See also