<img src="https://d5nxst8fruw4z.cloudfront.net/atrk.gif?account=iA1Pi1a8Dy00ym" style="display:none" height="1" width="1" alt="" />

# Mean

## Sum of the values divided by the number of values

Estimated20 minsto complete
%
Progress
Practice Mean

MEMORY METER
This indicates how strong in your memory this concept is
Progress
Estimated20 minsto complete
%
Harmonic Mean

Can you define the difference between the arithmetic, geometric, and harmonic means? Can you think of a situation when each might be appropriately used?

By the end of this lesson you will!

### The Harmonic Mean

The harmonic mean is a ‘middle number’ you can use when you are worried that the arithmetic mean of your set would be skewed by a few very large values (as in figure 1), and/or when particularly small values are disproportionately important. The harmonic mean is also useful for calculations of average rates, or finding other sorts of weighted averages.

The harmonic mean can be a much better average number than the arithmetic mean.

Of the three mean value calculations we discuss in this chapter, the harmonic mean is always the lowest value if calculated using the same data.

Calculating the harmonic mean is a bit more complex than the geometric mean, but it quickly gets easier with practice:

• Count the number of values in your data set. This number becomes your numerator.
• Calculate the sum of the inverses of the data values, this sum becomes your denominator.
• Divide the numerator by the denominator, the resulting quotient is the harmonic mean of the values.

For example, to find the harmonic mean of the set {1, 2, 3}:

• First count the values, there are 3. The number 3 becomes the numerator of your final calculation.
• Sum the inverses of the values: becomes the denominator of your final calculation.
• Final calculation:
• Divide the numerator (3) by the denominator :

This type of harmonic mean assumes un-weighted values, such as the same distance travelled at different rates. To calculate the harmonic mean of differently weighted values (the weighted harmonic mean), such as when calculating the average speed of a trip made of segments with different distances and different rates, (see Example C), the process is nearly the same:

• First calculate the sum of the weights of your values (as opposed to just counting the values, as with the basic harmonic mean), this number becomes your numerator.
• Second, find the sum of the values (weights divided by amounts – NOT the inverses); this number becomes your denominator.
• Divide the numerator by the denominator, the resulting quotient is the weighted harmonic mean of the values.

As a formula, this looks like:   Where  is the weight (the numerator if your values are fractional) and  is the amount (the denominator if your values are fractional).

#### Calculating the Harmonic Mean

Calculate the harmonic mean of .

Follow the steps above for the un-weighted harmonic mean:

• The number of values is 6, this is the numerator
• The sum of the inverses is , this is the denominator
• The harmonic mean is

#### Average Speed

Kiera decided to take a quick tour around town on her bike, if the information below describes the speeds she travelled over each equal-length segment, what was her average speed for the trip?

 Segment #1 8 mph 3 mi Segment #2 12 mph 3 mi Segment #3 14 mph 3 mi Segment #4 7 mph 3 mi

There are two ways to solve this:

1. We could find the average speed for the whole trip by dividing the entire distance by the entire time:

1. Sum the Distances:
2. Sum the times:

2. The other method is to find the harmonic mean of the four rates:

Obviously, the second method is more efficient!

#### Using the Weighted Harmonic Mean

Use the weighted harmonic mean to find the average rate of a traveler who records the following itinerary:

 1st Segment 230 km 66 kph 2nd Segment 310 km 83 kph 3rd Segment 199 km 72 kph 4th Segment 210 km 77 kph 5th Segment 240 km 91 kph

Because this problem includes segments with varying speeds and varying distances, we will need to use a weighted harmonic mean to calculate the average rate.

Use the formula:  Where  (the weight) is the distance travelled at each rate, and  (the amount) is the rate for each segment.

• First, calculate the sum of the weights (distances):

• Next, calculate the sum of the distances over the rates (remember that ):

• Finally, divide the sum of the weights by the sum of the times.
• The weighted harmonic mean is

#### Earlier Problem Revisited

Can you define the difference between the arithmetic, geometric, and harmonic means? Can you think of a situation when each might be appropriately used?

The arithmetic mean is the simple average of a set of values, the sum of the values divided by the number of values.  It is appropriate for situations such as the average rate for a journey composed of segments of equal time and distance.

The geometric rate is the  root of the product of the values, and is appropriate for situations such as deriving a single value to represent scores from multiple scales. The single value could then be used to compare an overall ranking of scores.

The harmonic mean is the reciprocal of the arithmetic means of the reciprocals of a set of values. It is useful for calculations such as the average rate for a journey composed of segments of differing times or distances. A weighted harmonic mean can be used to calculate the average rate of a journey composed of differing times and distances.

### Examples

#### Example 1

Find the harmonic mean of the set:

First, count the values: 7

Second, sum the inverses of the values:

Finally, divide the count by the sum of the inverses:

#### Example 2

Find the weighted harmonic mean of the set:

First, sum the numerators:

Second, sum the values:

Finally, divide the sum of the numerators by the sum of the values:

#### Example 3

Use the weighted harmonic mean to find the average rate of a traveler who records the following itinerary:

 1st Segment 110 km 23 kph 2nd Segment 230 km 56 kph 3rd Segment 259 km 42 kph 4th Segment 300 km 102 kph 5th Segment 330 km 71 kph

First, find the sum of the distances (the weights of the values):

Next, find the sum of the times :

Finally, divide the distance by the time:

#### Example 4

Comparing the basic and weighted harmonic means of this set:

a) Basic harmonic mean:

1. First, count the values: there are 6
2. Second, sum the inverses of the values:
3. Finally, divide the count by the sum of the inverses:

b) Weighted harmonic mean:

1. First, find the sum of the numerators:
2. Second, find the sum of the values:
3. Finally, divide the sum of the numerators by the sum of the values:

### Review

For questions 1 - 10, calculate the harmonic mean.

1.

2.

3.

4.

5.

6.

7.

8.

9.

10.

11. Brian records the following trip data, use it and the basic harmonic mean to find his average rate for the complete trip:

 Segment #1 18 mph 4.2 mi Segment #2 21 mph 4.2 mi Segment #3 24 mph 4.2 mi Segment #4 17 mph 4.2 mi

12. Use the weighted harmonic mean to find the average rate of a traveler who records the following itinerary:

 1st Segment 21.1 km 23 kph 2nd Segment 32.0 km 15.6 kph 3rd Segment 29.5 km 14.2 kph 4th Segment 30.5 km 10.2 kph

### Notes/Highlights Having trouble? Report an issue.

Color Highlighted Text Notes

### Vocabulary Language: English

Average

The arithmetic mean is often called the average.

Geometric mean

The geometric mean is a method of finding the ‘middle’ value in a set that contains some values that are intrinsically more influential than others.

Harmonic mean

A harmonic mean is calculated by dividing the number of values in the set by the sum of the inverses of the values in the set.

mean

The mean, often called the average, of a numerical set of data is simply the sum of the data values divided by the number of values.

measures of central tendency

The mean, median, and mode are known as the measures of central tendency.

Population Mean

The population mean is the mean of all of the members of an entire population.

Sample Mean

A sample mean is the mean only of the members of a sample or subset of a population.

weighted

A weighted value or set of values takes into account varying levels of importance among members of the set.

weighted average

A weighted average is an average that multiplies each component by a factor representing its frequency or probability.

weighted harmonic mean

A weighted harmonic mean is a harmonic mean of values with varying frequencies or weights.