Mathematical mean
   HOME

TheInfoList



OR:

In 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 Chris ...
) are a family of functions for aggregating sets of numbers. These include as special cases the
Pythagorean means In mathematics, the three classical Pythagorean means are the arithmetic mean (AM), the geometric mean (GM), and the harmonic mean (HM). These means were studied with proportions by Pythagoreans and later generations of Greek mathematicians b ...
( arithmetic, geometric, and harmonic
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 '' ari ...
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 calle ...
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 In statistics, the weighted geometric mean is a generalization of the geometric mean using the weighted arithmetic mean. Given a sample x=(x_1,x_2\dots,x_n) and weights w=(w_1, w_2,\dots,w_n), it is calculated as: : \bar = \left(\prod_^n x_i^\ri ...
: 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 :M_(x_1,\dots,x_n) = \frac ; geometric mean :M_0(x_1,\dots,x_n) = \lim_ M_p(x_1,\dots,x_n) = \sqrt /math> ; arithmetic mean :M_1(x_1,\dots,x_n) = \frac ; root mean square
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 In calculus, l'Hôpital's rule or l'Hospital's rule (, , ), also known as Bernoulli's rule, is a theorem which provides a technique to evaluate limits of indeterminate forms. Application (or repeated application) of the rule often converts an i ...
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 particular, for in , the generalized mean inequality implies the
Pythagorean means In mathematics, the three classical Pythagorean means are the arithmetic mean (AM), the geometric mean (GM), and the harmonic mean (HM). These means were studied with proportions by Pythagoreans and later generations of Greek mathematicians b ...
inequality as well as the
inequality of arithmetic and geometric means In mathematics, the inequality of arithmetic and geometric means, or more briefly the AM–GM inequality, states that the arithmetic mean of a list of non-negative real numbers is greater than or equal to the geometric mean of the same list; and ...
.


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 The comma is a punctuation mark that appears in several variants in different languages. It has the same shape as an apostrophe or single closing quotation mark () in many typefaces, but it differs from them in being placed on the baseline o ...
\\ \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, 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 of ...
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 In statistics, a moving average (rolling average or running average) is a calculation to analyze data points by creating a series of averages of different subsets of the full data set. It is also called a moving mean (MM) or rolling mean and is ...
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 Haskell () is a general-purpose, statically-typed, purely functional programming language with type inference and lazy evaluation. Designed for teaching, research and industrial applications, Haskell has pioneered a number of programming lan ...
code. powerSmooth :: Floating a => ( -> -> a -> -> powerSmooth smooth p = map (** recip p) . smooth . map (**p) * For big it can serve as an
envelope detector An envelope detector (sometimes called a peak detector) is an electronic circuit that takes a (relatively) high-frequency amplitude modulated signal as input and provides an output, which is the demodulated ''envelope'' of the original signal. ...
on a rectified signal. * For small {{mvar, p it can serve as a baseline detector on a
mass spectrum A mass spectrum is a histogram plot of intensity vs. ''mass-to-charge ratio'' (''m/z'') in a chemical sample, usually acquired using an instrument called a ''mass spectrometer''. Not all mass spectra of a given substance are the same; for example ...
.


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 In mathematics, the Heronian mean ''H'' of two non-negative real numbers ''A'' and ''B'' is given by the formula: :H = \frac \left(A + \sqrt +B \right). It is named after Hero of Alexandria. Properties *Just like all means, the Heronian mean is ...
*
Inequality of arithmetic and geometric means In mathematics, the inequality of arithmetic and geometric means, or more briefly the AM–GM inequality, states that the arithmetic mean of a list of non-negative real numbers is greater than or equal to the geometric mean of the same list; and ...
* Lehmer mean – also a mean related to powers * Minkowski distance *
Quasi-arithmetic mean In mathematics and statistics, the quasi-arithmetic mean or generalised ''f''-mean or Kolmogorov-Nagumo-de Finetti mean is one generalisation of the more familiar means such as the arithmetic mean and the geometric mean, using a function f. It is a ...
– another name for the
generalized f-mean A generalization is a form of abstraction whereby common properties of specific instances are formulated as general concepts or claims. Generalizations posit the existence of a domain or set of elements, as well as one or more common characte ...
mentioned above * Root mean square


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 PlanetMath is a free, collaborative, mathematics online encyclopedia. The emphasis is on rigour, openness, pedagogy, real-time content, interlinked content, and also community of about 24,000 people with various maths interests. Intended to be c ...
Means Inequalities Articles with example Haskell code