# Harmonic mean

In mathematics, the harmonic mean is one of several methods of calculating an average.

The harmonic mean of the positive real numbers a1,...,an is defined to be

[itex]H = \frac{n}{\frac{1}{a_1} + \frac{1}{a_2} + ... + \frac{1}{a_n}}[itex]

The harmonic mean is never larger than the geometric mean or the arithmetic mean (see generalized mean).

In certain situations, the harmonic mean provides the correct notion of "average". For instance, if for half the distance of a trip you travel at 40 miles per hour and for the other half of the distance you travel at 60 miles per hour, then your average speed for the trip is given by the harmonic mean of 40 and 60, which is 48; that is, the total amount of time for the trip is the same as if you traveled the entire trip at 48 miles per hour. Similarly, if in an electrical circuit you have two resistors connected in parallel, one with 40 ohms and the other with 60 ohms, then the average resistance of the two resistors is 48 ohms; that is, the total resistance of the circuit is the same as it would be if each of the two resistors were replaced by a 48-ohm resistor. (Note: this is not to be confused with their equivalent resistance, 24 ohm, which is the resistance needed for a single resistor to replace the two resistors at once.) Typically, the harmonic mean is appropriate for situations when the average of rates is desired.

Another formula for the harmonic mean of two numbers is to multiply the two numbers, and divide that quantity by the arithmetic mean of the two numbers. In mathematical terms:

[itex]\frac {\alpha \cdot \beta} {\left(\frac{\alpha + \beta} {2} \right)}[itex]

This is equivalent to the formula above, but simpler for some calculations.

## Example

In geometric optics, the mirror equation can be described in terms of a harmonic mean. Consider the case of a concave spherical mirror. Let its object distance be p, its image distance be q, and its radius of curvature be R. Then R is the harmonic mean of p and q.

The focus of a spherical mirror lies halfway between the center of curvature and the vertex, so that the focal distance f is half of the radius of curvature. Since R is the harmonic mean of p and q, this means that the object and its image must lie on either side of the center of curvature: not both on the same side. It also means that both object and image lie beyond the focus (away from the vertex), i.e. p > R/2 and q > R/2. But if p = R/2 then q = [itex] \infty [itex], or if q = R/2 then p = [itex] \infty [itex]. This is also true of harmonic means in general, independently of any concave spherical mirror.

If p and q are a pair of finite positive numbers, then both of them must each be larger than half of their harmonic mean.

## Weighted harmonic mean

In descriptive statistics, when the scores are available in the form of a regular frequency distribution, the harmonic means is computed as follows :

[itex]H = \frac{n}{\frac{f_1}{a_1} + \frac{f_2}{a_2} + ... + \frac{f_n}{a_n}}[itex]

Or, in summation form :

[itex]H = \frac{n} {\sum_{i=1}^n\frac{f_n}{a_n}} [itex]

where f is the absolute frequency for an observation and n is the number of observations.

• Art and Cultures
• Countries of the World (http://www.academickids.com/encyclopedia/index.php/Countries)
• Space and Astronomy