# Contraharmonic mean

Please Take Over This Page and Apply to be Editor-In-Chief for this topic: There can be one or more than one Editor-In-Chief. You may also apply to be an Associate Editor-In-Chief of one of the subtopics below. Please mail us [1] to indicate your interest in serving either as an Editor-In-Chief of the entire topic or as an Associate Editor-In-Chief for a subtopic. Please be sure to attach your CV and or biographical sketch.

Contraharmonic mean describes a mean of a set of numbers that is complementary to the harmonic mean. It is a special case of the Lehmer mean.

## Definition

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:

${\displaystyle C(x_{1},x_{2},...,x_{n})={{(x_{1}^{2}+x_{2}^{2}+...+x_{n}^{2}) \over n} \over {(x_{1}+x_{2}+...+x_{n}) \over n}},}$

or, more simply,

${\displaystyle C(x_{1},x_{2},...,x_{n})={{x_{1}^{2}+x_{2}^{2}+...+x_{n}^{2}} \over {x_{1}+x_{2}+...+x_{n}}}.}$

## Properties

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

• ${\displaystyle C(x_{1},x_{2},...,x_{n})\in [\min(x_{1},x_{2},...,x_{n}),\max(x_{1},x_{2},...,x_{n})]}$
• ${\displaystyle C(t\cdot x_{1},t\cdot x_{2},...,t\cdot x_{n})=t\cdot C(x_{1},x_{2},...,x_{n})}$ for ${\displaystyle t>0}$

The first property implies that for all k > 0,

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

For two variables, a and b, taken as

${\displaystyle 0

it is easier to see why this mean is complementary to the harmonic mean. Then the contraharmonic mean C(a,b) is also that mean that is as high above the arithmetic mean as the arithmetic mean is above the harmonic mean:

C(a,b) - A(a,b) = A(a,b) - H(a,b)

or

C(a,b) = 2A(a,b) - H(a,b).

## Explication

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

${\displaystyle A(a,b)={{(a+b)} \over 2}}$ and
${\displaystyle H(a,b)={1 \over {{1 \over 2}\cdot {({1 \over a}+{1 \over b})}}}}$ = ${\displaystyle {2ab} \over {a+b}}$
${\displaystyle C(a,b)=2\cdot A(a,b)-H(a,b)=(a+b)-{{2ab} \over {a+b}}}$
${\displaystyle C(a,b)={{(a+b)^{2}-2ab} \over {a+b}}={{a^{2}+b^{2}} \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(a,b), C(a,b) ) = A(a,b)

As a gets closer to 0 then H(a,b) 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(a,b) approaches b (so their average remains A(a,b) ).

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

${\displaystyle \min(a,b)

where 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. If a could be equal to b then the above ${\displaystyle <}$ signs can be replaced by ${\displaystyle \leq }$. When a=b the above chain of comparisons collapses to the same value, a.

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 :

${\displaystyle G(A(a,b),H(a,b))=G\left({{a+b} \over 2},{{2ab} \over {a+b}}\right)={\sqrt {{{a+b} \over 2}\cdot {{2ab} \over {a+b}}}}={\sqrt {ab}}=G(a,b)}$

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

${\displaystyle G(A(a,b),C(a,b))=G\left({{a+b} \over 2},{{a^{2}+b^{2}} \over {a+b}}\right)=}$ :${\displaystyle {\sqrt {{{a+b} \over 2}\cdot {{a^{2}+b^{2}} \over {a+b}}}}={\sqrt {{a^{2}+b^{2}} \over 2}}=R(a,b)}$

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