Harmonic mean

In mathematics, the harmonic mean is a kind of average, one of the Pythagorean means.

It is the most appropriate average for ratios and rates such as speeds, and is normally only used for positive arguments.

The harmonic mean is the reciprocal of the arithmetic mean of the reciprocals of the numbers, that is, the generalized f-mean with . For example, the harmonic mean of 1, 4, and 4 is