Harmonic mean
The harmonic mean (frequently abbreviated HM) is a special kind of mean (like arithmetic mean and geometric mean). The harmonic mean of a set of positive real numbers is defined to be: .
The restriction to positive numbers is necessary to avoid division by zero. For instance, if we tried to take the harmonic mean of the set we would be trying to calculate , which is obviously problematic.
The harmonic mean is a part of a frequently used inequality, the Arithmetic mean-Geometric mean-Harmonic mean inequality. The Inequality states that for a set of positive numbers :