In mathematics, the harmonic mean is a kind of average, one of the Pythagorean means. It is sometimes used for ratios and rates such as speeds, and is normally used for positive arguments only. The harmonic mean is the reciprocal of the arithmetic mean of the reciprocals of the numbers, that is, the generalized f-mean with f ( x ) = 1 x {\displaystyle f(x)={\frac {1}{x}}} . For example, the harmonic mean of 1, 4, and 4 is
( 1 − 1 + 4 − 1 + 4 − 1 3 ) − 1 = 3 1 1 + 1 4 + 1 4 = 3 1.5 = 2 . {\displaystyle \left({\frac {1^{-1}+4^{-1}+4^{-1}}{3}}\right)^{-1}={\frac {3}{{\frac {1}{1}}+{\frac {1}{4}}+{\frac {1}{4}}}}={\frac {3}{1.5}}=2\,.}
Definition The harmonic mean H of the positive real numbers x 1 , x 2 , … , x n {\displaystyle x_{1},x_{2},\ldots ,x_{n}} is
H ( x 1 , x 2 , … , x n ) = n 1 x 1 + 1 x 2 + ⋯ + 1 x n = n ∑ i = 1 n 1 x i . {\displaystyle H(x_{1},x_{2},\ldots ,x_{n})={\frac {n}{\displaystyle {\frac {1}{x_{1}}}+{\frac {1}{x_{2}}}+\cdots +{\frac {1}{x_{n}}}}}={\frac {n}{\displaystyle \sum _{i=1}^{n}{\frac {1}{x_{i}}}}}.}
It is the reciprocal of the arithmetic mean of the reciprocals, and vice versa:
… excerpt ends here. Continue reading the full article.






