Generalized mean
   HOME

TheInfoList



OR:

In
mathematics Mathematics is an area of knowledge that includes the topics of numbers, formulas and related structures, shapes and the spaces in which they are contained, and quantities and their changes. These topics are represented in modern mathematics ...
, generalized means (or power mean or Hölder mean from
Otto Hölder Ludwig Otto Hölder (December 22, 1859 – August 29, 1937) was a German mathematician born in Stuttgart. Early life and education Hölder was the youngest of three sons of professor Otto Hölder (1811–1890), and a grandson of professor Chri ...
) are a family of functions for aggregating sets of numbers. These include as special cases the Pythagorean means (
arithmetic Arithmetic () is an elementary part of mathematics that consists of the study of the properties of the traditional operations on numbers— addition, subtraction, multiplication, division, exponentiation, and extraction of roots. In the 19th ...
,
geometric Geometry (; ) is, with arithmetic, one of the oldest branches of mathematics. It is concerned with properties of space such as the distance, shape, size, and relative position of figures. A mathematician who works in the field of geometry is ca ...
, and
harmonic A harmonic is a wave with a frequency that is a positive integer multiple of the ''fundamental frequency'', the frequency of the original periodic signal, such as a sinusoidal wave. The original signal is also called the ''1st harmonic'', t ...
mean There are several kinds of mean in mathematics, especially in statistics. Each mean serves to summarize a given group of data, often to better understand the overall value ( magnitude and sign) of a given data set. For a data set, the '' ar ...
s).


Definition

If is a non-zero
real number In mathematics, a real number is a number that can be used to measure a ''continuous'' one-dimensional quantity such as a distance, duration or temperature. Here, ''continuous'' means that values can have arbitrarily small variations. Every ...
, and x_1, \dots, x_n are positive real numbers, then the generalized mean or power mean with exponent of these positive real numbers is: M_p(x_1,\dots,x_n) = \left( \frac \sum_^n x_i^p \right)^ . (See -norm). For we set it equal to the geometric mean (which is the limit of means with exponents approaching zero, as proved below): M_0(x_1, \dots, x_n) = \left(\prod_^n x_i\right)^ . Furthermore, for a
sequence In mathematics, a sequence is an enumerated collection of objects in which repetitions are allowed and order matters. Like a set, it contains members (also called ''elements'', or ''terms''). The number of elements (possibly infinite) is called ...
of positive weights we define the weighted power mean as: M_p(x_1,\dots,x_n) = \left(\frac \right)^ and when , it is equal to the weighted geometric mean: M_0(x_1,\dots,x_n) = \left(\prod_^n x_i^\right)^ . The unweighted means correspond to setting all .


Special cases

A few particular values of yield special cases with their own names: (retrieved 2019-08-17) ;
minimum In mathematical analysis, the maxima and minima (the respective plurals of maximum and minimum) of a function, known collectively as extrema (the plural of extremum), are the largest and smallest value of the function, either within a given r ...
:M_(x_1,\dots,x_n) = \lim_ M_p(x_1,\dots,x_n) = \min \ ;
harmonic mean In mathematics, the harmonic mean is one of several kinds of average, and in particular, one of the Pythagorean means. It is sometimes appropriate for situations when the average rate is desired. The harmonic mean can be expressed as the recipro ...
:M_(x_1,\dots,x_n) = \frac ;
geometric mean In mathematics, the geometric mean is a mean or average which indicates a central tendency of a set of numbers by using the product of their values (as opposed to the arithmetic mean which uses their sum). The geometric mean is defined as the ...
:M_0(x_1,\dots,x_n) = \lim_ M_p(x_1,\dots,x_n) = \sqrt /math> ;
arithmetic mean In mathematics and statistics, the arithmetic mean ( ) or arithmetic average, or just the '' mean'' or the ''average'' (when the context is clear), is the sum of a collection of numbers divided by the count of numbers in the collection. The co ...
:M_1(x_1,\dots,x_n) = \frac ;
root mean square In mathematics and its applications, the root mean square of a set of numbers x_i (abbreviated as RMS, or rms and denoted in formulas as either x_\mathrm or \mathrm_x) is defined as the square root of the mean square (the arithmetic mean of the ...

or quadratic mean :M_2(x_1,\dots,x_n) = \sqrt ; cubic mean :M_3(x_1,\dots,x_n) = \sqrt /math> ;
maximum In mathematical analysis, the maxima and minima (the respective plurals of maximum and minimum) of a function, known collectively as extrema (the plural of extremum), are the largest and smallest value of the function, either within a given r ...
:M_(x_1,\dots,x_n) = \lim_ M_p(x_1,\dots,x_n) = \max \ Proof of \lim_ M_p = M_0 (geometric mean) We can rewrite the definition of using the
exponential function The exponential function is a mathematical function denoted by f(x)=\exp(x) or e^x (where the argument is written as an exponent). Unless otherwise specified, the term generally refers to the positive-valued function of a real variable, ...
M_p(x_1,\dots,x_n) = \exp = \exp In the limit , we can apply L'Hôpital's rule to the argument of the exponential function. We assume that ∈ R but ≠ 0, and that the sum of is equal to 1 (without loss in generality); Differentiating the numerator and denominator with respect to , we have \begin \lim_ \frac &= \lim_ \frac \\ &= \lim_ \frac \\ &= \sum_^n \frac \\ &= \sum_^n w_i \ln \\ &= \ln \end By the continuity of the exponential function, we can substitute back into the above relation to obtain \lim_ M_p(x_1,\dots,x_n) = \exp = \prod_^n x_i^ = M_0(x_1,\dots,x_n) as desired.P. S. Bullen: ''Handbook of Means and Their Inequalities''. Dordrecht, Netherlands: Kluwer, 2003, pp. 175-177


Properties

Let x_1, \dots, x_n be a sequence of positive real numbers, then the following properties hold: #\min(x_1, \dots, x_n) \le M_p(x_1, \dots, x_n) \le \max(x_1, \dots, x_n). #M_p(x_1, \dots, x_n) = M_p(P(x_1, \dots, x_n)), where P is a permutation operator. #M_p(b x_1, \dots, b x_n) = b \cdot M_p(x_1, \dots, x_n). #M_p(x_1, \dots, x_) = M_p\left _p(x_1, \dots, x_), M_p(x_, \dots, x_), \dots, M_p(x_, \dots, x_)\right/math>.


Generalized mean inequality

In general, if , then M_p(x_1, \dots, x_n) \le M_q(x_1, \dots, x_n) and the two means are equal if and only if . The inequality is true for real values of and , as well as positive and negative infinity values. It follows from the fact that, for all real , \fracM_p(x_1, \dots, x_n) \geq 0 which can be proved using
Jensen's inequality In mathematics, Jensen's inequality, named after the Danish mathematician Johan Jensen, relates the value of a convex function of an integral to the integral of the convex function. It was proved by Jensen in 1906, building on an earlier pr ...
. In particular, for in , the generalized mean inequality implies the Pythagorean means inequality as well as the inequality of arithmetic and geometric means.


Proof of power means inequality

We will prove weighted power means inequality, for the purpose of the proof we will assume the following without loss of generality: \begin w_i \in , 1\\ \sum_^nw_i = 1 \end Proof for unweighted power means is easily obtained by substituting .


Equivalence of inequalities between means of opposite signs

Suppose an average between power means with exponents and holds: \left(\sum_^n w_i x_i^p\right)^ \geq \left(\sum_^n w_i x_i^q\right)^ applying this, then: \left(\sum_^n\frac\right)^ \geq \left(\sum_^n\frac\right)^ We raise both sides to the power of −1 (strictly decreasing function in positive reals): \left(\sum_^nw_ix_i^\right)^ = \left(\frac\right)^ \leq \left(\frac\right)^ = \left(\sum_^nw_ix_i^\right)^ We get the inequality for means with exponents and , and we can use the same reasoning backwards, thus proving the inequalities to be equivalent, which will be used in some of the later proofs.


Geometric mean

For any and non-negative weights summing to 1, the following inequality holds: \left(\sum_^n w_i x_i^\right)^ \leq \prod_^n x_i^ \leq \left(\sum_^n w_i x_i^q\right)^. The proof follows from
Jensen's inequality In mathematics, Jensen's inequality, named after the Danish mathematician Johan Jensen, relates the value of a convex function of an integral to the integral of the convex function. It was proved by Jensen in 1906, building on an earlier pr ...
, making use of the fact the
logarithm In mathematics, the logarithm is the inverse function to exponentiation. That means the logarithm of a number  to the base  is the exponent to which must be raised, to produce . For example, since , the ''logarithm base'' 10 ...
is concave: \log \prod_^n x_i^ = \sum_^n w_i\log x_i \leq \log \sum_^n w_i x_i. By applying the
exponential function The exponential function is a mathematical function denoted by f(x)=\exp(x) or e^x (where the argument is written as an exponent). Unless otherwise specified, the term generally refers to the positive-valued function of a real variable, ...
to both sides and observing that as a strictly increasing function it preserves the sign of the inequality, we get \prod_^n x_i^ \leq \sum_^n w_i x_i. Taking -th powers of the , we are done for the inequality with positive ; the case for negatives is identical.


Inequality between any two power means

We are to prove that for any the following inequality holds: \left(\sum_^n w_i x_i^p\right)^ \leq \left(\sum_^nw_ix_i^q\right)^ if is negative, and is positive, the inequality is equivalent to the one proved above: \left(\sum_^nw_i x_i^p\right)^ \leq \prod_^n x_i^ \leq \left(\sum_^n w_i x_i^q\right)^ The proof for positive and is as follows: Define the following function: f(x)=x^. is a power function, so it does have a second derivative: f''(x) = \left(\frac \right) \left( \frac-1 \right)x^ which is strictly positive within the domain of , since , so we know is convex. Using this, and the Jensen's inequality we get: \begin f \left( \sum_^nw_ix_i^p \right) &\leq \sum_^nw_if(x_i^p) \\ pt \left(\sum_^n w_i x_i^p\right)^ &\leq \sum_^nw_ix_i^q \end after raising both side to the power of (an increasing function, since is positive) we get the inequality which was to be proven: \left(\sum_^n w_i x_i^p\right)^ \leq \left(\sum_^n w_i x_i^q\right)^ Using the previously shown equivalence we can prove the inequality for negative and by replacing them with and , respectively.


Generalized ''f''-mean

The power mean could be generalized further to the generalized -mean: M_f(x_1,\dots,x_n) = f^ \left(\right) This covers the geometric mean without using a limit with . The power mean is obtained for . Properties of these means are studied in de Carvalho (2016).


Applications


Signal processing

A power mean serves a non-linear moving average which is shifted towards small signal values for small and emphasizes big signal values for big . Given an efficient implementation of a moving arithmetic mean called smooth one can implement a moving power mean according to the following Haskell code. powerSmooth :: Floating a => ( -> -> a -> -> powerSmooth smooth p = map (** recip p) . smooth . map (**p) * For big it can serve as an envelope detector on a rectified signal. * For small {{mvar, p it can serve as a baseline detector on a mass spectrum.


See also

* Arithmetic–geometric mean *
Average In ordinary language, an average is a single number taken as representative of a list of numbers, usually the sum of the numbers divided by how many numbers are in the list (the arithmetic mean). For example, the average of the numbers 2, 3, 4, 7 ...
* Heronian mean * Inequality of arithmetic and geometric means *
Lehmer mean In mathematics, the Lehmer mean of a tuple x of positive real numbers, named after Derrick Henry Lehmer, is defined as: :L_p(\mathbf) = \frac. The weighted Lehmer mean with respect to a tuple w of positive weights is defined as: :L_(\mathbf) = \fra ...
– also a mean related to powers * Minkowski distance * Quasi-arithmetic mean – another name for the generalized f-mean mentioned above *
Root mean square In mathematics and its applications, the root mean square of a set of numbers x_i (abbreviated as RMS, or rms and denoted in formulas as either x_\mathrm or \mathrm_x) is defined as the square root of the mean square (the arithmetic mean of the ...


Notes


References and further reading

* P. S. Bullen: ''Handbook of Means and Their Inequalities''. Dordrecht, Netherlands: Kluwer, 2003, chapter III (The Power Means), pp. 175-265


External links


Power mean at MathWorld
*
proof of the Generalized Mean
on PlanetMath Means Inequalities Articles with example Haskell code