World Library  
Flag as Inappropriate
Email this Article

Lehmer mean

Article Id: WHEBN0007422265
Reproduction Date:

Title: Lehmer mean  
Author: World Heritage Encyclopedia
Language: English
Subject: Contraharmonic mean, Derrick Henry Lehmer, Means, Generalized mean, Mean
Collection: Articles with Example Haskell Code, Means
Publisher: World Heritage Encyclopedia

Lehmer mean

In mathematics, the Lehmer mean of a tuple x of positive real numbers, named after Derrick Henry Lehmer,[1] is defined as:

L_p(x) = \frac{\sum_{k=1}^n x_k^p}{\sum_{k=1}^n x_k^{p-1}}.

The weighted Lehmer mean with respect to a tuple w of positive weights is defined as:

L_{p,w}(x) = \frac{\sum_{k=1}^n w_k\cdot x_k^p}{\sum_{k=1}^n w_k\cdot x_k^{p-1}}.

The Lehmer mean is an alternative to power means for interpolating between minimum and maximum via arithmetic mean and harmonic mean.


  • Properties 1
  • Special cases 2
  • Applications 3
    • Signal processing 3.1
  • See also 4
  • Notes 5
  • External links 6


The derivative of p \mapsto L_p(x) is non-negative

\frac{\partial}{\partial p} L_p(x) = \frac {\sum_{j=1}^{n}\sum_{k=j+1}^{n} (x_j-x_k)\cdot(\ln x_j - \ln x_k)\cdot(x_j\cdot x_k)^{p-1}} {\left(\sum_{k=1}^{n} x_k^{p-1}\right)^2},

thus this function is monotonic and the inequality

p\le q \Rightarrow L_p(x) \le L_q(x)


Special cases

Sketch of a proof: Without loss of generality let x_1,\dots,x_k be the values which equal the maximum. Then L_p(x)=x_1\cdot\frac{k+\left(\frac{x_{k+1}}{x_1}\right)^p+\cdots+\left(\frac{x_{n}}{x_1}\right)^p}{k+\left(\frac{x_{k+1}}{x_1}\right)^{p-1}+\cdots+\left(\frac{x_{n}}{x_1}\right)^{p-1}}


Signal processing

Like a power mean, a Lehmer 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 Lehmer mean according to the following Haskell code.

 lehmerSmooth :: Floating a => ([a] -> [a]) -> a -> [a] -> [a]
 lehmerSmooth smooth p xs = zipWith (/)
                                     (smooth (map (**p) xs))
                                     (smooth (map (**(p-1)) xs))

See also


  1. ^ P. S. Bullen. Handbook of means and their inequalities. Springer, 1987.

External links

  • Lehmer Mean at MathWorld
This article was sourced from Creative Commons Attribution-ShareAlike License; additional terms may apply. World Heritage Encyclopedia content is assembled from numerous content providers, Open Access Publishing, and in compliance with The Fair Access to Science and Technology Research Act (FASTR), Wikimedia Foundation, Inc., Public Library of Science, The Encyclopedia of Life, Open Book Publishers (OBP), PubMed, U.S. National Library of Medicine, National Center for Biotechnology Information, U.S. National Library of Medicine, National Institutes of Health (NIH), U.S. Department of Health & Human Services, and, which sources content from all federal, state, local, tribal, and territorial government publication portals (.gov, .mil, .edu). Funding for and content contributors is made possible from the U.S. Congress, E-Government Act of 2002.
Crowd sourced content that is contributed to World Heritage Encyclopedia is peer reviewed and edited by our editorial staff to ensure quality scholarly research articles.
By using this site, you agree to the Terms of Use and Privacy Policy. World Heritage Encyclopedia™ is a registered trademark of the World Public Library Association, a non-profit organization.

Copyright © World Library Foundation. All rights reserved. eBooks from Project Gutenberg are sponsored by the World Library Foundation,
a 501c(4) Member's Support Non-Profit Organization, and is NOT affiliated with any governmental agency or department.