From Wikipedia, the free encyclopedia
Jump to: navigation, search

In colloquial language average usually refers to the sum of a list of numbers divided by the size of the list, in other words the arithmetic mean. However, the word "average" can be used to refer to the median, the mode, or some other central or typical value. In statistics, these are all known as measures of central tendency. Thus the concept of an average can be extended in various ways in mathematics, but in those contexts it is usually referred to as a mean (for example the mean of a function).


Pythagorean means[edit]

The three most common averages are the Pythagorean means – the arithmetic mean, the geometric mean, and the harmonic mean.

Arithmetic mean[edit]

If n numbers are given, each number denoted by ai, where i = 1, …, n, the arithmetic mean is the [sum] of the ai's divided by n or

AM = \frac{1}{n}\sum_{i=1}^na_i = \frac{1}{n}\left(a_1 + a_2 + \cdots + a_n\right)

The arithmetic mean, often simply called the mean, of two numbers, such as 2 and 8, is obtained by finding a value A such that 2 + 8 = A + A. One may find that A = (2 + 8)/2 = 5. Switching the order of 2 and 8 to read 8 and 2 does not change the resulting value obtained for A. The mean 5 is not less than the minimum 2 nor greater than the maximum 8. If we increase the number of terms in the list to 2, 8, and 11, the arithmetic mean is found by solving for the value of A in the equation 2 + 8 + 11 = A + A + A. One finds that A = (2 + 8 + 11)/3 = 7.

Geometric mean[edit]

The geometric mean of n non-negative numbers is obtained by multiplying them all together and then taking the nth root. In algebraic terms, the geometric mean of a1a2, …, an is defined as

 GM= \sqrt[n]{\prod_{i=1}^n a_i} = \sqrt[n]{a_1 a_2 \cdots a_n}

Geometric mean can be thought of as the antilog of the arithmetic mean of the logs of the numbers.

Example: Geometric mean of 2 and 8 is GM = \sqrt{2 \cdot 8} = 4

Harmonic mean[edit]

Harmonic mean for a non-empty collection of numbers a1a2, …, an, all different from 0, is defined as the reciprocal of the arithmetic mean of the reciprocals of the ai's:

HM = \frac{1}{\frac{1}{n}\sum_{i=1}^n \frac{1}{a_i}} = \frac{n}{\frac{1}{a_1} + \frac{1}{a_2} + \cdots + \frac{1}{a_n}}

One example where the harmonic mean is useful is when examining the speed for a number of fixed-distance trips. For example, if the speed for going from point A to B was 60 km/h, and the speed for returning from B to A was 40 km/h, then the harmonic mean speed is given by

\frac{2}{\frac{1}{60} + \frac{1}{40}} = 48

Inequality concerning AM, GM, and HM[edit]

A well known inequality concerning arithmetic, geometric, and harmonic means for any set of positive numbers is

AM \ge GM \ge HM

It is easy to remember noting that the alphabetical order of the letters A, G, and H is preserved in the inequality. See Inequality of arithmetic and geometric means.

Thus for the above harmonic mean example: AM = 50, GM = 49, and HM = 48 km/h.


Comparison of arithmetic mean, median and mode of two log-normal distributions with different skewness.

The most frequently occurring number in a list is called the mode. For example, the mode of the list (1, 2, 2, 3, 3, 3, 4) is 3. It may happen that there are two or more numbers which occur equally often and more often than any other number. In this case there is no agreed definition of mode. Some authors say they are all modes and some say there is no mode.


The median is the middle number of the group when they are ranked in order. (If there are an even number of numbers, the mean of the middle two is taken.)

Thus to find the median, order the list according to its elements' magnitude and then repeatedly remove the pair consisting of the highest and lowest values until either one or two values are left. If exactly one value is left, it is the median; if two values, the median is the arithmetic mean of these two. This method takes the list 1, 7, 3, 13 and orders it to read 1, 3, 7, 13. Then the 1 and 13 are removed to obtain the list 3, 7. Since there are two elements in this remaining list, the median is their arithmetic mean, (3 + 7)/2 = 5.

Summary of types[edit]

The table of mathematical symbols explains the symbols used below.

Name Equation or description
Arithmetic mean \bar{x} = \frac{1}{n}\sum_{i=1}^n x_i  =  \frac{1}{n} (x_1 + \cdots + x_n)
Median The middle value that separates the higher half from the lower half of the data set
Geometric median A rotation invariant extension of the median for points in Rn
Mode The most frequent value in the data set
Geometric mean \bigg(\prod_{i=1}^n x_i \bigg)^{\frac{1}{n}} = \sqrt[n]{x_1 \cdot x_2 \dotsb x_n}
Harmonic mean \frac{n}{\frac{1}{x_1} + \frac{1}{x_2} + \cdots + \frac{1}{x_n}}
Quadratic mean
(or RMS)
\sqrt{\frac{1}{n} \sum_{i=1}^{n} x_i^2} = \sqrt{\frac{1}{n}\left(x_1^2 + x_2^2 + \cdots + x_n^2\right)}
Generalized mean \sqrt[p]{\frac{1}{n} \cdot \sum_{i=1}^n x_{i}^p}
Weighted mean \frac{ \sum_{i=1}^n w_i x_i}{\sum_{i=1}^n w_i} = \frac{w_1 x_1 + w_2 x_2 + \cdots + w_n x_n}{w_1 + w_2 + \cdots + w_n}
Truncated mean The arithmetic mean of data values after a certain number or proportion of the highest and lowest data values have been discarded
Interquartile mean A special case of the truncated mean, using the interquartile range
Midrange \frac{1}{2}\left(\max x + \min x\right)
Winsorized mean Similar to the truncated mean, but, rather than deleting the extreme values, they are set equal to the largest and smallest values that remain
Annualization  {\left[ \prod (1 + R_i )^{t_i} \right] }^{\frac{1}{\sum t_i}} - 1

Miscellaneous types[edit]

Other more sophisticated averages are: trimean, trimedian, and normalized mean, with their generalizations.[1]

One can create one's own average metric using the generalized f-mean:

y = f^{-1}\left(\frac{1}{n}\left[f(x_1) + f(x_2) + \cdots + f(x_n)\right]\right)

where f is any invertible function. The harmonic mean is an example of this using f(x) = 1/x, and the geometric mean is another, using f(x) = log x.

However, this method for generating means is not general enough to capture all averages. A more general method[2] for defining an average takes any function g(x1x2, …, xn) of a list of arguments that is continuous, strictly increasing in each argument, and symmetric (invariant under permutation of the arguments). The average y is then the value that, when replacing each member of the list, results in the same function value: g(y, y, …, y) = g(x1, x2, …, xn). This most general definition still captures the important property of all averages that the average of a list of identical elements is that element itself. The function g(x1, x2, …, xn) = x1+x2+ ··· + xn provides the arithmetic mean. The function g(x1, x2, …, xn) = x1x2···xn (where the list elements are positive numbers) provides the geometric mean. The function g(x1, x2, …, xn) = −(x1−1+x2−1+ ··· + xn−1) (where the list elements are positive numbers) provides the harmonic mean.[2]

Average percentage return and CAGR[edit]

A type of average used in finance is the average percentage return. It is an example of a geometric mean. When the returns are annual, it is called the Compound Annual Growth Rate (CAGR). For example, if we are considering a period of two years, and the investment return in the first year is −10% and the return in the second year is +60%, then the average percentage return or CAGR, R, can be obtained by solving the equation: (1 − 10%) × (1 + 60%) = (1 − 0.1) × (1 + 0.6) = (1 + R) × (1 + R). The value of R that makes this equation true is 0.2, or 20%. This means that the total return over the 2-year period is the same as if there had been 20% growth each year. Note that the order of the years makes no difference – the average percentage returns of +60% and −10% is the same result as that for −10% and +60%.

This method can be generalized to examples in which the periods are not equal. For example, consider a period of a half of a year for which the return is −23% and a period of two and a half years for which the return is +13%. The average percentage return for the combined period is the single year return, R, that is the solution of the following equation: (1 − 0.23)0.5 × (1 + 0.13)2.5 = (1 + R)0.5+2.5, giving an average percentage return R of 0.0600 or 6.00%.

Moving average[edit]

Given a time series such as daily stock market prices or yearly temperatures people often want to create a smoother series.[3] This helps to show underlying trends or perhaps periodic behavior. An easy way to do this is to choose a number n and create a new series by taking the arithmetic mean of the first n values, then moving forward one place and so on. This is the simplest form of moving average. More complicated forms involve using a weighted average. The weighting can be used to enhance or suppress various periodic behavior and there is very extensive analysis of what weightings to use in the literature on filtering. In digital signal processing the term “moving average” is used even when the sum of the weights is not 1.0 (so the output series is a scaled version of the averages).[4] The reason for this is that the analyst is usually interested only in the trend or the periodic behavior. A further generalization is an “autoregressive moving average”. In this case the average also includes some of the recently calculated outputs. This allows samples from further back in the history to affect the current output.

Average of a function[edit]

In some circumstances mathematicians may calculate an average of an infinite (even an uncountable) set of values. This can happen when calculating the average value y_{\text{ave}} of a function f(x). Intuitively this can be thought of as calculating the area under a section of a curve and then dividing by the length of that section. This can be done crudely by counting squares on graph paper or more precisely by integration. The integration formula is written as:

y_{\text{ave}}(a,b) = \frac{ \int\limits_{a}^{b} \! f(x)\,dx\, }{ b - a }

Care must be taken to make sure that the integral converges. But the average may be finite even if the function itself tends to infinity at some points.


"Few words have received more etymological investigation." [5] In the 16th century average meant a customs duty, or the like, and was used in the Mediterranean area. It came to mean the cost of damage sustained at sea. From that came an "average adjuster" who decided how to apportion a loss between the owners and insurers of a ship and cargo.

Marine damage is either particular average, which is borne only by the owner of the damaged property, or general average, where the owner can claim a proportional contribution from all the parties to the marine venture. The type of calculations used in adjusting general average gave rise to the use of "average" to mean "arithmetic mean".

The root is found in Arabic as awar, in Italian as avaria, in French as avarie and in Dutch as averij. It is unclear in which language the word first appeared.

There is earlier (from at least the 11th century), unrelated use of the word. It appears to be an old legal term for a tenant's day labour obligation to a sheriff, probably anglicised from "avera" found in the English Domesday Book (1085).

See also[edit]


  1. ^ Merigo, Jose M.; Cananovas, Montserrat (2009). "The Generalized Hybrid Averaging Operator and its Application in Decision Making". Journal of Quantitative Methods for Economics and Business Administration 9: 69–84. ISSN 1886-516X. 
  2. ^ a b John Bibby (1974). “Axiomatisations of the average and a further generalisation of monotonic sequences”. Glasgow Mathematical Journal, vol. 15, pp. 63–65.
  3. ^ Box, George E.P.; Jenkins, Gwilym M. (1976). Time Series Analysis: Forecasting and Control (revised edition ed.). Holden-Day. ISBN 0816211043. 
  4. ^ Haykin, Simon (1986). Adaptive Filter Theory. Prentice-Hall. ISBN 0130040525. 
  5. ^ Oxford English Dictionary

External links[edit]