You all are well aware with finding squares, cubes, and other powers of a base. Also, you know about square roots, cube roots, and nth roots of a number. Moreover, you are aware of the reciprocal of a number and its importance. What are all these in statistics? How are they helpful? They form the basis of the geometric mean and harmonic mean in Statistics. Let us get started to learn more about the geometric and harmonic mean.

**Table of content**

### Suggested Videos

## Geometric and Harmonic Mean

The geometric mean (G.M.) and the harmonic mean (H.M.) forms an important measure of the central tendency of data. They tell us about the central value of the data about which all the set of values of data lies. Suppose we have a huge data set and we want to know about the central tendency of this data set.

We have so many ways by which we can do so. But what if the data sets are fluctuating or we need to add or remove some of the data value? Calculating the average value or the central value will be a tiresome and troublesome task. So, we use geometric and harmonic means as our rescuer.

**Browse more Topics under Measures Of Central Tendency And Dispersion**

- Arithmetic Mean
- Median and Mode
- Partition Values or Fractiles
- Measure of Dispersion
- Range and Mean Deviation
- Quartiles, Quartile Deviation and Coefficient of Quartile Deviation
- Standard deviation and Coefficient of Variation

## Geometric Mean

A geometric mean is a mean or average which shows the central tendency of a set of numbers by using the product of their values. For a set of n observations, a geometric mean is the nth root of their product. The geometric mean G.M., for a set of numbers x_{1}, x_{2}, … , x_{n} is given as

G.M. = (x_{1}. x_{2} … x_{n})^{1⁄n}

or, G. M. = (π _{i = 1}^{n} x_{i}) ^{1⁄n}^{ }= ^{n}√( x_{1}, x_{2}, … , x_{n}).

The geometric mean of two numbers, say x, and y is the square root of their product x×y. For three numbers, it will be the cube root of their products i.e., (x y z)^{ 1⁄3}.

### Relation Between Geometric Mean and Logarithms

In order to make our calculation easy and less time consuming we use the concept of logarithms in the calculation of geometric means.

Since, G.M. = (x_{1}. x_{2} … x_{n}) ^{1⁄n}

Taking log on both sides, we have

log G.M. = 1⁄n (log ((x_{1}. x_{2} … x_{n}))

or, log G.M. = 1⁄n (log x_{1} + log x_{2} + … + log x_{n})

or, log G.M. = (1⁄n) ∑ _{i= 1}^{n} log x_{i}

or, G.M. = Antilog(1⁄n (∑ _{i= 1}^{n} log x_{i})).

### Geometric Mean of Frequency Distribution

For a grouped frequency distribution, the geometric mean G.M. is

G.M. = (x_{1 }^{f1}. x_{2 }^{f2} … x_{n }^{fn})^{ 1⁄N }, where N = ∑ _{i= 1}^{n} f_{i}

Taking logarithms on both sides, we get

log G.M. = 1⁄N (f_{1} log x_{1} + f_{2 }log x_{2} + … + f_{n }log x_{n}) = 1⁄N [∑ _{i= 1}^{n} f_{i} log x_{i }].

### Properties of Geometric Means

- The logarithm of geometric mean is the arithmetic mean of the logarithms of given values
- If all the observations assumed by a variable are constants, say K >0, then the G.M. of the observation is also K
- The geometric mean of the ratio of two variables is the ratio of the geometric means of the two variables
- The geometric mean of the product of two variables is the product of their geometric means

### Geometric Mean of a Combined Group

Suppose G_{1}, and G_{2} are the geometric means of two series of sizes n_{1}, and n_{2 }respectively. The geometric mean G, of the combined groups, is:

log G = (n_{1} log G_{1} + n_{2} log G_{2}) ⁄ (n_{1} + n_{2})

or, G = antilog [(log G_{1} + n_{2} log G2) ⁄ (n_{1} + n_{2})]

In general for n_{i} geometric means, i = 1 to k, we have

G = antilog [(log G_{1} + n_{2} log G_{2 }+ … + n_{k} log G_{k}) ⁄ (n_{1} + n_{2 }+ … +n_{k})]

### Advantages of Geometric Mean

- A geometric mean is based upon all the observations
- It is rigidly defined
- The fluctuations of the observations do not affect the geometric mean
- It gives more weight to small items

### Disadvantages of Geometric Mean

- A geometric mean is not easily understandable by a non-mathematical person
- If any of the observations is zero, the geometric mean becomes zero
- If any of the observation is negative, the geometric mean becomes imaginary

## Harmonic Mean

A simple way to define a harmonic mean is to call it the reciprocal of the arithmetic mean of the reciprocals of the observations. The most important criteria for it is that none of the observations should be zero.

A harmonic mean is used in averaging of ratios. The most common examples of ratios are that of speed and time, cost and unit of material, work and time etc. The harmonic mean (H.M.) of n observations is

H.M. = 1÷ (1⁄n ∑ _{i= 1}^{n} (1⁄x_{i}) )

In the case of frequency distribution, a harmonic mean is given by

H.M. = 1÷ [1⁄N (∑ _{i= 1}^{n} (f_{i }⁄ x_{i})], where N = ∑ _{i= 1}^{n} f_{i}

### Properties of Harmonic Mean

- If all the observation taken by a variable are constants, say k, then the harmonic mean of the observations is also k
- The harmonic mean has the least value when compared to the geometric mean and the arithmetic mean

### Advantages of Harmonic Mean

- A harmonic mean is rigidly defined
- It is based upon all the observations
- The fluctuations of the observations do not affect the harmonic mean
- More weight is given to smaller items

### Disadvantages of Harmonic Mean

- Not easily understandable
- Difficult to compute

### Important Note

Suppose a person cover a certain distance d at a speed of x. He returns back to the starting point with a speed of y. In this case, the average speed of the person is calculated by the harmonic mean.

Average speed = Total distance covered / Total time taken = 2d (d⁄x + d⁄y).

In other words, if an equal distance is covered with speeds S_{1}, S_{2}, … , S_{n}, then

Average speed = n ÷ ∑ (1⁄S).

If different distances D_{1}, D_{2}, … , D_{n}, is covered with different speeds S_{1}, S_{2}, … , S_{n}, the average speed is

Average Speed = [∑ _{i= 1}^{n} D_{i}] ⁄ [∑ _{i= 1}^{n} (D_{i} ⁄ S_{i})]

## Solved Example for You

Problem: Calculate the geometric and harmonic mean of the given data

x | 2 | 4 | 5 | 8 |

f | 3 | 3 | 2 | 2 |

Solution: Geometric mean = G.M. = (x_{1 }^{f1}. x_{2 }^{f2} … x_{n }^{fn})^{ 1⁄N }

Here, N = 3 + 3 + 2 + 2 = 10

G.M. = (2 ^{3} × 4 ^{3 }× 5 ^{2 }× 8 ^{2})^{1/}^{10}

or, G.M. =(8×64×25×64)^{1/}^{10}^{ }= (819200)^{1/}^{10}

H.M. = 1 ÷ [1 ⁄ N ∑ _{i= 1}^{n} (f_{i} ⁄ x_{i}) ] = 1÷[1⁄10 × (3⁄2 + ¾ + 2⁄5 + 2⁄8)] = 100⁄29.