| |||||||||
In mathematics and statistics, the generalised f-mean is the natural generalisation of the more familar means such as the arithmetic mean and the geometric mean, using a function f(x).
If f is a function which maps a connected subset S of the real line to the real numbers, and is both continuous and injective then we can define the f-mean of two numbers
as
For n numbers
the f-mean is
We require f to be injective in order for the inverse function f -1 to exist. Continuity is required to ensure
lies within the domain of f -1.
Since f is injective and continuous, it follows that f is strictly increasing; and therefore that the f-mean is neither larger than the largest number in {xi} nor smaller than the smallest number in {xi}.
If we take S to be the real line and
then the f-mean corresponds to the arithmetic mean.
If we take S to be the set of positive real numbers and
(the natural logarithm), then the f-mean corresponds to the geometric mean.
If we take S to be the set of positive real numbers and
then the f-mean corresponds to the harmonic mean.
See also: Jensen's inequality.