Geometric mean

From Wikipedia, the free encyclopedia

Jump to: navigation, search

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 geometric mean of two numbers, say 2 and 8, is just the square root (i.e., the second root) of their product, 16, which is 4. As another example, the geometric mean of 1, ½, and ¼ is the cube root (i.e., the third root) of their product (0.125), which is ½.

The geometric mean can be understood in terms of geometry. The geometric mean of two numbers, a and b, is simply the side length of the square whose area is equal to that of a rectangle with side lengths a and b. That is, what is n such that n² = a × b? Similarly, the geometric mean of three numbers, a, b, and c, is the side length of a cube whose volume is the same as that of a rectangular prism with side lengths equal to the three given numbers.

The geometric mean only applies to positive numbers.[1] It is also often used for a set of numbers whose values are meant to be multiplied together or are exponential in nature, such as data on the growth of the human population or interest rates of a financial investment. The geometric mean is also one of the three classic Pythagorean means, together with the aforementioned arithmetic mean and the harmonic mean.

Contents

[edit] Calculation

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

\bigg(\prod_{i=1}^n a_i \bigg)^{1/n} = \sqrt[n]{a_1 \cdot a_2 \cdots a_n}.

The geometric mean of a data set is less 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:

a_{n+1} = \frac{a_n + h_n}{2}, \quad a_0=x

and

h_{n+1} = \frac{2}{\frac{1}{a_n} + \frac{1}{h_n}}, \quad h_0=y

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

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

\bigg(\prod_{i=1}^na_i \bigg)^{1/n} = \exp\left[\frac1n\sum_{i=1}^n\ln a_i\right]

This is sometimes called the log-average. It is simply computing the arithmetic mean of the logarithm transformed values of ai (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)).

[edit] Notes and references

  1. ^ The geometric mean only applies to positive numbers in order to avoid taking the root of a negative product, which would result in imaginary numbers, and also to satisfy certain properties about means, which is explained later in the article.

[edit] See also

[edit] External links

Personal tools