All Topics  
Harmonic mean

 

   Email Print
   Bookmark   Link






 

Harmonic mean



 
 
In mathematics
Mathematics

Mathematics is the study of quantity, structure, space, change, and related topics of pattern and form. Mathematicians seek out patterns whether found in numbers, space, natural science, computers, imaginary abstractions, or elsewhere....
, the harmonic mean (formerly sometimes called the subcontrary mean) is one of several kinds of average
Average

In mathematics, an average, or central tendency of a data set refers to a measure of the "middle" or "Expected value" value of the data set....
. Typically, it is appropriate for situations when the average of rates is desired.

The harmonic mean H of the positive real number
Real number

In mathematics, the real numbers may be described informally in several different ways. The real numbers include both rational numbers, such as 42 and −23/129, and irrational numbers, such as pi and the square root of two; or, a real number can be given by an infinite decimal representation, such as 2.4871773339...., where the digits co...
s x1, x2, ..., xn is defined to be

Equivalently, the harmonic mean is the reciprocal
Multiplicative inverse

In mathematics, a multiplicative inverse or reciprocal for a number x, denoted by 1⁄x or x −1, is a number which when multiplied by x yields the multiplicative identity, 1....
 of the arithmetic mean
Arithmetic mean

In mathematics and statistics, the arithmetic mean of a list of numbers is the sum of all of the list divided by the number of items in the list....
 of the reciprocals.

harmonic mean is one of the three Pythagorean means
Pythagorean means

The three classical Pythagorean means are the arithmetic mean , the geometric mean , and the harmonic mean . They are defined by:* * * Each of these means satisfies the properties:...
.






Discussion
Ask a question about 'Harmonic mean'
Start a new discussion about 'Harmonic mean'
Answer questions from other users
Full Discussion Forum



Recent Posts









Encyclopedia


In mathematics
Mathematics

Mathematics is the study of quantity, structure, space, change, and related topics of pattern and form. Mathematicians seek out patterns whether found in numbers, space, natural science, computers, imaginary abstractions, or elsewhere....
, the harmonic mean (formerly sometimes called the subcontrary mean) is one of several kinds of average
Average

In mathematics, an average, or central tendency of a data set refers to a measure of the "middle" or "Expected value" value of the data set....
. Typically, it is appropriate for situations when the average of rates is desired.

The harmonic mean H of the positive real number
Real number

In mathematics, the real numbers may be described informally in several different ways. The real numbers include both rational numbers, such as 42 and −23/129, and irrational numbers, such as pi and the square root of two; or, a real number can be given by an infinite decimal representation, such as 2.4871773339...., where the digits co...
s x1, x2, ..., xn is defined to be

Equivalently, the harmonic mean is the reciprocal
Multiplicative inverse

In mathematics, a multiplicative inverse or reciprocal for a number x, denoted by 1⁄x or x −1, is a number which when multiplied by x yields the multiplicative identity, 1....
 of the arithmetic mean
Arithmetic mean

In mathematics and statistics, the arithmetic mean of a list of numbers is the sum of all of the list divided by the number of items in the list....
 of the reciprocals.

Relationship with other means

The harmonic mean is one of the three Pythagorean means
Pythagorean means

The three classical Pythagorean means are the arithmetic mean , the geometric mean , and the harmonic mean . They are defined by:* * * Each of these means satisfies the properties:...
. For all data sets containing at least one pair of nonequal values, the harmonic mean is always the least of the three, while the arithmetic mean
Arithmetic mean

In mathematics and statistics, the arithmetic mean of a list of numbers is the sum of all of the list divided by the number of items in the list....
 is always the greatest of the three and the geometric mean
Geometric mean

The geometric mean, in mathematics, is a type of mean or average, which indicates the central tendency or typical value of a set of numbers. It is similar to the arithmetic mean, which is what most people think of with the word "average," except that instead of adding the set of numbers and then dividing the sum by the count of numbers in the...
 is always in between. (If all values in a nonempty dataset are equal, the three means are always equal to one another; e.g. the harmonic, geometric, and arithmetic means of are all 2.)

It is the special case M−1 of the power mean.

Since the harmonic mean of a list of numbers tends strongly toward the least elements of the list, it tends (compared to the arithmetic mean) to mitigate the impact of large outliers and aggravate the impact of small ones.

The arithmetic mean is often incorrectly used in places calling for the harmonic mean. In the speed example below for instance the arithmetic mean 50 is incorrect, and too big.

Weighted harmonic mean

If a set of weights
Weight function

A weight function is a mathematical device used when performing a sum, integral, or average in order to give some elements more of a "weight" than others....
 , ..., is associated to the dataset , ..., , the weighted harmonic mean is defined by The harmonic mean is the special case where all weights are equal to 1.

Examples


In physics

In certain situations, especially many situations involving rate
Rate

In mathematics, a rate is a ratio between two measurements, often with different units.. If the unit or quantity in respect of which something is changing is not specified, usually the rate is per unit time....
s and ratio
Ratio

A ratio is an expression which compares quantities relative to each other. The most common examples involve two quantities, but in theory any number of quantities can be compared....
s, the harmonic mean provides the truest average
Average

In mathematics, an average, or central tendency of a data set refers to a measure of the "middle" or "Expected value" value of the data set....
. For instance, if a vehicle travels a certain distance at a speed x (e.g. 60 kilometres per hour) and then the same distance again at a speed y (e.g. 40 kilometres per hour), then its average speed is the harmonic mean of x and y (48 kilometres per hour), and its total travel time is the same as if it had traveled the whole distance at that average speed. However, if the vehicle travels for a certain amount of time at a speed x and then the same amount of time at a speed y, then its average speed is the arithmetic mean
Arithmetic mean

In mathematics and statistics, the arithmetic mean of a list of numbers is the sum of all of the list divided by the number of items in the list....
 of x and y, which in the above example is 50 kilometres per hour. The same principle applies to more than two segments: given a series of sub-trips at different speeds, if each sub-trip covers the same distance, then the average speed is the harmonic mean of all the sub-trip speeds, and if each sub-trip takes the same amount of time, then the average speed is the arithmetic mean of all the sub-trip speeds. (If neither is the case, then a weighted harmonic mean or weighted arithmetic mean is needed.)

Similarly, if one connects two electrical resistor
Resistor

|- align = "center"||width = "25"|| |- align = "center"||| Potentiometer|- align = "center"| || |- align = "top"| Resistor|| Variable resistor...
s in parallel, one having resistance x (e.g. 60O) and one having resistance y (e.g. 40O), then the effect is the same as if one had used two resistors with the same resistance, both equal to the harmonic mean of x and y (48O): the equivalent resistance in either case is 24O (one-half of the harmonic mean). However, if one connects the resistors in series, then the average resistance is the arithmetic mean of x and y (with total resistance equal to the sum of x and y). And, as with previous example, the same principle applies when more than two resistors are connected, provided that all are in parallel or all are in series.

In other sciences


In Information retrieval
Information retrieval

Information retrieval is the science of searching for documents, for information within documents and for Metadata about documents, as well as that of searching relational databases and the World Wide Web....
 and some other fields, the harmonic mean of the precision
Precision (information retrieval)

In the field of information retrieval, precision is the percent of retrieved documents that are Relevance to the search:Precision takes all retrieved documents into account, but it can also be evaluated at a given cut-off rank, considering only the topmost results returned by the system....
 and the recall
Recall (information retrieval)

Recall in Information Retrieval is the fraction of the documents that are relevant to the query that are successfully retrieved.For example for text search on a set of documents recall is the number of correct results divided by the number of results that should have been returned...
 is often used as an aggregated performance score: the F-score (or F-measure).

An interesting consequence arises from basic algebra in problems of working together. As an example, if a gas-powered pump can drain a pool in 4 hours and a battery-powered pump can drain the same pool in 6 hours, then it will take both pumps 6 · 4/(6 + 4), which is equal to 2.4 hours, to drain the pool together. Interestingly, this is one-half of the harmonic mean of 6 and 4.

In hydrology
Hydrology

Hydrology is the study of the movement, distribution, and quality of water throughout the Earth, and thus addresses both the hydrologic cycle and water resources....
 the harmonic mean is used to average hydraulic conductivity
Hydraulic conductivity

Hydraulic conductivity, symbolically represented as , is a property of vascular plants, soil or rock, that describes the ease with which water can move through pore spaces or fractures....
 values for flow that is perpendicular to layers (e.g. geologic or soil). On the other hand, for flow parallel to layers the arithmetic mean is used.

Harmonic mean of two numbers

For the special case of just two numbers and , the harmonic mean can be written

In this special case, the harmonic mean is related to the arithmetic mean
Arithmetic mean

In mathematics and statistics, the arithmetic mean of a list of numbers is the sum of all of the list divided by the number of items in the list....
  and the geometric mean
Geometric mean

The geometric mean, in mathematics, is a type of mean or average, which indicates the central tendency or typical value of a set of numbers. It is similar to the arithmetic mean, which is what most people think of with the word "average," except that instead of adding the set of numbers and then dividing the sum by the count of numbers in the...
  by

So , which means the geometric mean, for two numbers, is the geometric mean of the arithmetic mean and the harmonic mean.

See also

  • Harmonic number
    Harmonic number

    In mathematics, the n-th harmonic number is the sum of the reciprocals of the first n natural number:This also equals n times the inverse of the harmonic mean of these natural numbers....
  • Rate
    Rate

    In mathematics, a rate is a ratio between two measurements, often with different units.. If the unit or quantity in respect of which something is changing is not specified, usually the rate is per unit time....
  • Generalized mean
    Generalized mean

    A generalized mean, also known as power mean or H?lder mean, is an abstraction of the Pythagorean means including arithmetic mean, geometric mean, and harmonic mean means....


External links

at cut-the-knot
Cut-the-knot

Cut-the-knot is an educational website maintained by Alexander Bogomolny and devoted to popular exposition of a great variety of topics in mathematics....