|
|
This article does not cite any references or sources. Please help improve this article by adding citations to reliable sources. Unsourced material may be challenged and removed. (November 2009) |
A generalized mean, also known as power mean or Hölder mean, is an abstraction of the Pythagorean means including arithmetic, geometric, and harmonic means.
Contents |
Definition
If p is a non-zero real number, we can define the generalized mean with exponent p of the positive real numbers
as
Properties
- Like most means, the generalized mean is a homogeneous function of its arguments
. That is, if b is a positive real number, then the generalized mean with exponent p of the numbers
is equal to b times the generalized mean of the numbers
. - Like the quasi-arithmetic means, the computation of the mean can be split into computations of equal sized sub-blocks.
Generalized mean inequality
In general, if p < q, then
and the two means are equal if and only if
. This follows from the fact that
which can be proved using Jensen's inequality.
In particular, for
, the generalized mean inequality implies the Pythagorean means inequality as well as the inequality of arithmetic and geometric means.
Special cases
- minimum,
- harmonic mean,
- geometric mean,
- arithmetic mean,
- quadratic mean,
- maximum.
Proof of power means inequality
We will prove weighted power means inequality, for the purpose of the proof we will assume without loss of generality that:
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 p and q holds:
then:
We raise both sides to the power of −1 (strictly decreasing function in positive reals):
We get the inequality for means with exponents −p and −q, 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 q the inequality between mean with exponent q and geometric mean can be transformed in the following way:
(the first inequality is to be proven for positive q, and the latter otherwise)
We raise both sides to the power of q:
in both cases we get the inequality between weighted arithmetic and geometric means for the sequence
, which can be proved by Jensen's inequality, making use of the fact the logarithmic function is concave:
By applying (strictly increasing) exp function to both sides we get the inequality:
Thus for any positive q it is true that:
thus we have proved the inequality between geometric mean and any power mean.
Geometric mean as a limit
Furthermore, we can prove that the geometric mean is the limit of power means for exponent approaching zero. Firstly, we will prove the limit:
It's easy to conclude that the limits of both the numerator and the denominator are both 0, so we can use L'Hôpital's rule:
Then we make use of the exponential function's continuity:
which was to be proven.
Inequality between any two power means
We are to prove that for any p<q the following inequality holds:
if p is negative, and q is positive, the inequality is equivalent to the one proved above:
The proof for positive p and q is as follows: Define the following function:
. f is a power function, so it does have a second derivative:
which is strictly positive within the domain of f, since q > p, so we know f is convex.
Using this, and the Jensen's inequality we get:
after raising both side to the power of 1/q (an increasing function, since 1/q is positive) we get the inequality which was to be proven:
Using the previously shown equivalence we can prove the inequality for negative p and q by substituting them with, respectively, -q and -p, QED.
Minimum and maximum
Minimum and maximum are the limits of power means at, respectively,
and
. The proof is as follows:
Suppose without loss of generality that x1 is the largest, while xn is the smallest of xi. First, using the squeeze theorem we will prove that:
It suffices to notice that for positive p the inequalities hold:
Then, making use of the limit:
and finally, we use the fact that the exponential function is continuous:
Similarly, for negative p:
since (for p<0):
Thus:
and again, by continuity of the exp function:
Generalized f-mean
The power mean could be generalized further to the generalized f-mean:
which covers e.g. the geometric mean without using a limit. The power mean is obtained for
.
Applications
Signal processing
A power mean serves a non-linear moving average which is shifted towards small signal values for small p and emphasizes big signal values for big p. Given an efficient implementation of a moving arithmetic mean called smooth you can implement a moving power mean according to the following Haskell code.
powerSmooth :: Floating a => ([a] -> [a]) -> a -> [a] -> [a] powerSmooth smooth p = map (** recip p) . smooth . map (**p)
- For big p it can serve an envelope detector on a rectified signal.
- For small p it can serve an baseline detector on a mass spectrum.
See also
- Inequality of arithmetic and geometric means
- arithmetic mean
- geometric mean
- harmonic mean
- Heronian mean
- Lehmer mean - also a mean related to powers
- average
- root mean square
External links
This entry is from Wikipedia, the leading user-contributed encyclopedia. It may not have been reviewed by professional editors (see full disclaimer)




![w_i\in (0;1]](http://wpcontent.answers.com/math/5/6/b/56bdf70c8046d4f190172fe2d3def187.png)

![\sqrt[p]{\sum_{i=1}^nw_ix_i^p}\leq \sqrt[q]{\sum_{i=1}^nw_ix_i^q}](http://wpcontent.answers.com/math/7/3/1/731eedd71f9d5e92188740863077c589.png)
![\sqrt[p]{\sum_{i=1}^n\frac{w_i}{x_i^p}}\leq \sqrt[q]{\sum_{i=1}^n\frac{w_i}{x_i^q}}](http://wpcontent.answers.com/math/8/0/1/80134074a977b5ecaf925caea90d42a7.png)
![\sqrt[-p]{\sum_{i=1}^nw_ix_i^{-p}}=\sqrt[p]{\frac{1}{\sum_{i=1}^nw_i\frac{1}{x_i^p}}}\geq \sqrt[q]{\frac{1}{\sum_{i=1}^nw_i\frac{1}{x_i^q}}}=\sqrt[-q]{\sum_{i=1}^nw_ix_i^{-q}}](http://wpcontent.answers.com/math/c/1/c/c1c552cc2773eafdbc4f48ace2313e14.png)
![\prod_{i=1}^nx_i^{w_i} \leq \sqrt[q]{\sum_{i=1}^nw_ix_i^q}](http://wpcontent.answers.com/math/a/e/7/ae7992fbafa5f729c1759825e2cc184c.png)
![\sqrt[q]{\sum_{i=1}^nw_ix_i^q}\leq \prod_{i=1}^nx_i^{w_i}](http://wpcontent.answers.com/math/8/7/f/87f7a0f692e5417209c2765b7b6d59d2.png)




![\sqrt[-q]{\sum_{i=1}^nw_ix_i^{-q}}\leq \prod_{i=1}^nx_i^{w_i} \leq \sqrt[q]{\sum_{i=1}^nw_ix_i^q}](http://wpcontent.answers.com/math/1/8/c/18ce204420427e8ec751bb5b2b17d23d.png)



![\lim_{p \to 0} \sqrt[p]{\sum_{i=1}^nw_ix_i^p}=\lim_{p \to 0} \exp\left(\frac{\log\left(\sum_{i=1}^nw_ix_i^p\right)}{p}\right)=\exp\left(\lim_{p \to 0} \frac{\log\left(\sum_{i=1}^nw_ix_i^p\right)}{p}\right)=\exp\left(\sum_{i=1}^nw_i\log(x_i)\right)=\prod_{i=1}^nx_i^{w_i}](http://wpcontent.answers.com/math/a/3/7/a37d19e04ca455dd55812c201d5a1854.png)
![\sqrt[p]{\sum_{i=1}^nw_ix_i^p}\leq \prod_{i=1}^nx_i^{w_i} \leq\sqrt[q]{\sum_{i=1}^nw_ix_i^q}](http://wpcontent.answers.com/math/e/6/5/e65fbae386f373ad216e9577de0af870.png)

![\sqrt[\frac{p}{q}]{\sum_{i=1}^nw_ix_i^p}\leq\sum_{i=1}^nw_ix_i^q](http://wpcontent.answers.com/math/c/9/1/c918b09074bf047b3ee8c47f53dec696.png)



![\lim_{p \to \infty}\sqrt[p]{\sum_{i=1}^nw_ix_i^p}=\lim_{p \to \infty}\exp\left(\frac{1}{p}\ln\left(\sum_{i=1}^nw_ix_i^p\right)\right)=\exp\left(\lim_{p \to \infty}\frac{1}{p}\ln\left(\sum_{i=1}^nw_ix_i^p\right)\right)=x_1](http://wpcontent.answers.com/math/9/c/f/9cf744e24fe37ebad1bb649cd19bd4e7.png)



![\lim_{p \to-\infty}\sqrt[p]{\sum_{i=1}^nw_ix_i^p}=\exp\left(\lim_{p \to -\infty}\frac{1}{p}\ln\left(\sum_{i=1}^nw_ix_i^p\right)\right)=x_n](http://wpcontent.answers.com/math/d/7/0/d706c4c8bfb58b2957c5e7c4328f8375.png)




