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 Christ ...
) 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 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'', the ...
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 ''arithme ...
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 real ...
, 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 ran ...
: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 colle ...
: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 The cubic mean (written as \bar_\mathrm) is a specific instance of the generalized mean with p=3. Definition For n real numbers x_i \in \mathbb R the cubic mean is defined as: : \bar_\mathrm = \sqrt = \sqrt     For example, the ...
: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 ran ...
: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, a ...
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 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 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 (t ...
\\ \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 o ...
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, a ...
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 lang ...
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 s ...
*
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 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 Powers may refer to: Arts and media * ''Powers'' (comics), a comic book series by Brian Michael Bendis and Michael Avon Oeming ** ''Powers'' (American TV series), a 2015–2016 series based on the comics * ''Powers'' (British TV series), a 200 ...
*
Minkowski distance The Minkowski distance or Minkowski metric is a metric in a normed vector space which can be considered as a generalization of both the Euclidean distance and the Manhattan distance. It is named after the German mathematician Hermann Minkowski. ...
*
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 characteri ...
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 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