Harmonic mean

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 . For example, the harmonic mean of 1, 4, and 4 is