World Library  
Flag as Inappropriate
Email this Article

Contraharmonic mean

Article Id: WHEBN0008302382
Reproduction Date:

Title: Contraharmonic mean  
Author: World Heritage Encyclopedia
Language: English
Subject: Mean
Collection: Means
Publisher: World Heritage Encyclopedia

Contraharmonic mean

In mathematics, a contraharmonic mean is a function complementary to the harmonic mean. The contraharmonic mean is a special case of the Lehmer mean, L_p, where p=2.


  • Definition 1
  • Properties 2
  • Two variable formulae 3
    • Additional constructions 3.1
  • Uses in statistics 4
  • History 5
  • See also 6
  • References 7


The contraharmonic mean of a set of positive numbers is defined as the arithmetic mean of the squares of the numbers divided by the arithmetic mean of the numbers:

C(x_1, x_2, \dots , x_n) ={ \left({ x_1^2+x_2^2+\cdots+x_n^2 \over n}\right) \over \left({x_1+x_2+\cdots+x_n \over n}\right)},

or, more simply,

C(x_1, x_2, \dots , x_n) ={ { x_1^2+x_2^2+\cdots+x_n^2} \over {x_1+x_2+\cdots+x_n }}.


It is easy to show that this satisfies the characteristic properties of a mean:

  • C(x_1, x_2, \dots , x_n) \in [ \min(x_1, x_2, \dots , x_n) , \max(x_1, x_2, \dots , x_n) ]
  • C(t\cdot x_1, t\cdot x_2, \dots , t\cdot x_n) = t\cdot C(x_1, x_2, \dots , x_n)\text{ for }t > 0

The first property implies that for all k > 0,

C(k, k, ..., k) = k (fixed point property).

The contraharmonic mean is higher in value than the arithmetic mean and also higher than the root mean square :

\min(\mathbf{x}) \leq H(\mathbf{x}) \leq G(\mathbf{x}) \leq L(\mathbf{x}) \leq A(\mathbf{x}) \leq R(\mathbf{x}) \leq C(\mathbf{x}) \leq \max(\mathbf{x})

where x is a list of values, H is the harmonic mean, G is geometric mean, L is the logarithmic mean, A is the arithmetic mean, R is the root mean square and C is the contraharmonic mean. Unless all values of x are the same, the \le signs above can be replaced by <.

The name "contraharmonic" may be due to the fact that when taking the mean of only two variables, the contraharmonic mean is as high above the arithmetic mean as the arithmetic mean is above the harmonic mean (i.e., the arithmetic mean of the two variables is equal to the arithmetic mean of their harmonic and contraharmonic means).

Two variable formulae

From the formulas for the arithmetic mean and harmonic mean of two variables we have :

A(a,b) = } =
C(a,b) = 2\cdot A(a,b) - H(a,b) = a+b-
C(a,b) = { {(a+b)^2 - 2ab } \over {a+b}} =

Notice that for two variables the average of the harmonic and contraharmonic means is exactly equal to the arithmetic mean:

A(H(ab), C(ab) ) = A(ab)

As a gets closer to 0 then H(ab) also gets closer to 0. The harmonic mean is very sensitive to low values. On the other hand, the contraharmonic mean is sensitive to larger values, so as a approaches 0 then C(ab) approaches b (so their average remains A(ab) ).

There are two other notable relationships between 2-variable means. First, the geometric mean of the arithmetic and harmonic means is equal to the geometric mean of the two values :

G( A(a,b), H(a,b) )=G\left(\right) = \sqrt } = \sqrt{ab} = G(a,b)

The second relationship is that the geometric mean of the arithmetic and contraharmonic means is the root mean square:

G( A(a,b), C(a,b) )=G\left(\right)
= \sqrt} = \sqrt = R(a,b)

The contraharmonic mean of two variables can be constructed geometrically using a trapezoid (see [1] ).

Additional constructions

The contraharmonic mean can be constructed on a circle similar to the way the Pythagorean means of two variables are constructed. The contraharmonic is the remainder of the diameter on which the harmonic mean lies.

Uses in statistics

The contraharmonic mean of a random variable is equal to the sum of the (arithmetic) mean and the variance/mean.[1] Since the variance is always >0 the contraharmonic mean is always greater than the arithmetic mean.

The problem of a size biased sample was discussed by Cox in 1969 on a problem of sampling fibres. The expectation of size biased sample is equal to its contraharmonic mean.[2]

The probability of a fibre being sampled is proportional to its length. Because of this the usual sample mean (arithmetic mean) is a biased estimator of the true mean. To see this consider

g(x) = \frac { x f(x) } { m }

where f(x) is the true population distribution, g(x) is the length weighted distribution and m is the sample mean. Taking the usual expectation of the mean here gives the contraharmonic mean rather than the usual (arthimetic) mean of the sample. This problem can be overcome by taking instead the expectation of the harmonic mean ( 1 / x ). The expectation and variance of 1 / x are

E [ \frac { 1 } { x } ] = \frac { 1 } { m }

and has variance

var( \frac { 1 } { x } ) = \frac { m [ E( 1 / x - 1) ] } { n m^2 }

where E() is the expectation operator. Asymptotically E( 1 / x ) is distributed normally.

The asymptotic efficiency of length biased sampling depends compared to random sampling on the underlying distribution. if f(x) is log normal the efficiency is 1 while if the population is gamma distributed with index b, the efficiency is b /( b - 1 ).

This distribution has been used in several areas.[3][4]


The contraharmonic mean was discovered by the Greek mathematician Eudoxos in the 4th century BCE.

See also


  1. ^ Kingley MSC (1989) The distribution of hauled out ringed seals an interpretation of Taylor's law. Oecologia 79: 106-110
  2. ^ Zelen M (1972) Length-biased sampling and biomedical problems. In Biometric Society Meeting, Dallas, Texas
  3. ^ Keillor BD, D’Amico M & Horton V (2001) Global Consumer Tendencies. Psychology & Marketing 18(1) 1-19
  4. ^ Sudman (1980) Quota sampling techniques and weighting procedures to correct for frequency bias
  • Essay #3 - Some "mean" Trapezoids, by Shannon Umberger: [2]
  • Construction of the Contraharmonic Mean in a Trapezoid: [3]
  • Means in the Trapezoid: [4]
  • Means of Complex Numbers: [5]
  • Proofs without Words / Exercises in Visual Thinking, by Roger B. Nelsen, page 56, ISBN 0-88385-700-6
  • Pythagorean Means: [6] (extend the segment that represents the Harmonic mean through the circle's center to the other side, creating a diameter. The length of the diameter segment after the Harmonic segment is the Contraharmonic mean.)
  • Contraharmonic Proportion: [7]
  • Pahikkala, Jussi (2010), On contraharmonic mean and Pythagorean triples, Elemente der Mathematik 65 (2): 62–67.
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.