[[File:Generalized means of 1, x.svg|400px|thumb|right|Plot of several generalized means <math>M_p(1, x)</math>.]]
[[File:Generalized means of 1, x.svg|400px|thumb|right|Plot of several generalized means <math>M_p(1, x)</math>]]
In [[mathematics]], '''generalised means''' (or '''power mean''' or '''Hölder mean''' from [[Otto Hölder]])<ref name=sykora/> are a family of functions for aggregating sets of numbers. These include as special cases the [[Pythagorean means]] ([[arithmetic mean|arithmetic]], [[geometric mean|geometric]], and [[harmonic mean|harmonic]] [[mean]]s).
In [[mathematics]], '''generalised means''' (or '''power mean''' or '''Hölder mean''' from [[Otto Hölder]])<ref name=sykora/> are a family of functions for aggregating sets of numbers. These include as special cases the [[Pythagorean means]] ([[arithmetic mean|arithmetic]], [[geometric mean|geometric]], and [[harmonic mean|harmonic]] [[mean]]s).
Line 207:
Line 207:
==External links==
==External links==
*[http://mathworld.wolfram.com/PowerMean.html Power mean at MathWorld]
*[https://mathworld.wolfram.com/PowerMean.html Power mean at MathWorld]
*[http://people.revoledu.com/kardi/tutorial/BasicMath/Average/Generalized%20mean.html Examples of Generalized Mean]
*[https://people.revoledu.com/kardi/tutorial/BasicMath/Average/Generalized%20mean.html Examples of Generalized Mean]
*A [https://planetmath.org/ProofOfGeneralMeansInequality proof of the Generalized Mean] on [[PlanetMath]]
*A [https://planetmath.org/ProofOfGeneralMeansInequality proof of the Generalized Mean] on [[PlanetMath]]
If Template:Mvar is a non-zero real number, and are positive real numbers, then the generalized mean or power mean with exponent Template:Mvar of these positive real numbers is[2][3]
(See [[Norm (mathematics)#p-norm|Template:Mvar-norm]]). For Template:Math we set it equal to the geometric mean (which is the limit of means with exponents approaching zero, as proved below):
We will prove the weighted power mean inequality. For the purpose of the proof we will assume the following without loss of generality:
The proof for unweighted power means can be easily obtained by substituting Template:Math.
Equivalence of inequalities between means of opposite signs
Suppose an average between power means with exponents Template:Mvar and Template:Mvar holds:
applying this, then:
We raise both sides to the power of −1 (strictly decreasing function in positive reals):
We get the inequality for means with exponents Template:Math and Template:Math, 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 Template:Math and non-negative weights summing to 1, the following inequality holds:
By applying the exponential function to both sides and observing that as a strictly increasing function it preserves the sign of the inequality, we get
Thus, we are done for the inequality with positive Template:Mvar; the case for negatives is identical but for the swapped signs in the last step:
Of course, taking each side to the power of a negative number Template:Math swaps the direction of the inequality.
Inequality between any two power means
We are to prove that for any Template:Math the following inequality holds:
if Template:Mvar is negative, and Template:Mvar is positive, the inequality is equivalent to the one proved above:
Using this, and the Jensen's inequality we get:
after raising both side to the power of Template:Math (an increasing function, since Template:Math is positive) we get the inequality which was to be proven:
Script error: No such module "Labelled list hatnote".
The power mean could be generalized further to the [[generalized f-mean|generalized Template:Mvar-mean]]:
This covers the geometric mean without using a limit with Template:Math. The power mean is obtained for Template:Mvar. Properties of these means are studied in de Carvalho (2016).[3]
Applications
Signal processing
A power mean serves a non-linear moving average which is shifted towards small signal values for small Template:Mvar and emphasizes big signal values for big Template:Mvar. Given an efficient implementation of a moving arithmetic mean called smooth one can implement a moving power mean according to the following Haskell code.