Sub topic 11
Arithmetic, Geometric and Harmonic Means of Two Numbers
This chapter assumes you can work with fractions, square roots, and the nth-term ideas for arithmetic and geometric progressions from the earlier chapters. It covers the three means of two positive numbers, how each connects to a progression, and the relationships CAT questions test.
What a "mean" is
A mean of two numbers is a single value that sits between them and represents them in some sense. Three means appear in CAT Quant. Each answers a different question.
| Mean | Formula for x, y | Idea |
|---|---|---|
| Arithmetic mean (AM) | (x + y) / 2 | The middle term of an AP containing x and y |
| Geometric mean (GM) | √(xy) | The middle term of a GP containing x and y |
| Harmonic mean (HM) | 2xy / (x + y) | The middle term of an HP containing x and y |
Throughout this chapter, x and y are positive. The GM involves a square root, and with negative inputs the three means can behave differently from what is shown here.
Arithmetic mean
If x, A, y are in AP, the common difference gives A − x = y − A. Solving gives A = (x + y) / 2. This is the same middle-term property used in the AP chapters: each term is the average of its neighbours.
Use the AM when quantities add up. If you drive 60 km/h for one hour and 40 km/h for another hour, the average speed is the AM, 50 km/h, because the time spent at each speed is equal.
Geometric mean
If x, G, y are in GP, the common ratio gives G / x = y / G. So G² = xy and G = √(xy). The positive root is taken when x and y are positive.
Use the GM when quantities multiply. If an investment grows 20% in one year and 80% in the next, the equivalent constant yearly growth factor is √(1.2 × 1.8) = √2.16 ≈ 1.47, not the AM of the factors.
Harmonic mean
Three numbers x, H, y are in harmonic progression (HP) when their reciprocals 1/x, 1/H, 1/y are in AP. The chapter on harmonic progressions covers this in more depth. For now, the AP condition gives:
1/H − 1/x = 1/y − 1/H
2/H = 1/x + 1/y = (x + y) / (xy)
H = 2xy / (x + y)
Use the HM when a fixed distance (or fixed amount of work) is split across different rates. If you travel from A to B at 60 km/h and return at 40 km/h, the distances are equal but the times are not. The average speed for the round trip is the HM: 2 × 60 × 40 / 100 = 48 km/h, not 50.
Worked example with 4 and 9
The code below computes all three means for x = 4 and y = 9 and checks a relationship between them.
from fractions import Fraction
x, y = 4, 9
am = Fraction(x + y, 2)
hm = Fraction(2 * x * y, x + y)
gm = 6 # sqrt(4 * 9)
print(am, gm, hm) # 13/2 6 72/13
print(am * hm == gm ** 2) # TrueThe three values are 13/2 = 6.5, 6 and 72/13 ≈ 5.54. They fall in the order AM > GM > HM.
Two relationships to remember
GM² = AM × HM
For two numbers, multiply the AM and HM:
AM × HM = ((x + y) / 2) × (2xy / (x + y)) = xy = GM²
So the GM is the GM of the AM and HM. This identity holds for two numbers only. For three or more numbers it does not hold in general.
This identity is a quick route in problems that give two of the three means. If AM = 10 and GM = 8, then HM = GM² / AM = 64 / 10 = 6.4. You do not need to find the two numbers.
AM ≥ GM ≥ HM
For positive x and y, the order is always AM ≥ GM ≥ HM, with equality only when x = y. The AM-GM part follows from a square:
(√x − √y)² ≥ 0
x + y − 2√(xy) ≥ 0
(x + y) / 2 ≥ √(xy)
The GM ≥ HM part follows from the identity above. Since GM² = AM × HM and AM ≥ GM, we get HM = GM² / AM ≤ GM² / GM = GM.
The next chapter uses AM ≥ GM to find maximum and minimum values.
Inserting means between two numbers
CAT questions often ask for several means, not only one. Inserting n arithmetic means between a and b creates an AP with n + 2 terms, where a is the first term and b is the last.
The common difference is d = (b − a) / (n + 1).
Example: insert 4 arithmetic means between 3 and 28. Here n = 4, so d = 25 / 5 = 5. The terms are 3, 8, 13, 18, 23, 28.
Inserting n geometric means between a and b creates a GP with n + 2 terms. The common ratio is r = (b / a)^(1/(n+1)).
Example: insert 2 geometric means between 5 and 40. Here n = 2, so r³ = 8 and r = 2. The terms are 5, 10, 20, 40.
For harmonic means, take reciprocals, insert arithmetic means, then take reciprocals again.
Example: insert 2 harmonic means between 1/2 and 1/11. The reciprocals are 2 and 11. Inserting two arithmetic means gives d = 9 / 3 = 3, so the AP is 2, 5, 8, 11. The HP is 1/2, 1/5, 1/8, 1/11.
Common errors
- Using the AM for round-trip speed. Equal distances need the HM.
- Forgetting that the GM identity needs two numbers. GM² = AM × HM does not extend to three numbers.
- Assuming the ordering holds for unequal signs. AM ≥ GM ≥ HM needs positive numbers.
- Dividing by n instead of n + 1 when finding the common difference of inserted means.
- Choosing the wrong root. For positive inputs, G = +√(xy).
Using the identities under time pressure
Two numbers with a given AM and GM satisfy a quadratic. If AM = 5 and GM = 4, then x + y = 10 and xy = 16. The numbers are the roots of t² − 10t + 16 = 0, so they are 2 and 8. The HM is 2 × 16 / 10 = 3.2, which agrees with GM² / AM = 16 / 5.
Two checks save time in answer options. First, any valid HM must be less than the GM. Second, if the two numbers are equal, all three means are equal, so no option that separates them can be right.
Exercise
The AM of two positive numbers is 25 and their HM is 16. Find their GM, then find the two numbers.
Show answer
GM² = AM × HM = 25 × 16 = 400, so GM = 20. The numbers satisfy x + y = 50 and xy = 400. They are the roots of t² − 50t + 400 = 0, which factorises as (t − 10)(t − 40) = 0. The numbers are 10 and 40.
Exercise
A cyclist rides from town P to town Q at 12 km/h and returns at 18 km/h. Find the average speed for the whole trip, and say which mean it is.
Show answer
The distances are equal, so the average speed is the HM of 12 and 18: 2 × 12 × 18 / (12 + 18) = 432 / 30 = 14.4 km/h. The simple AM, 15 km/h, would be wrong.
Exercise
Insert three geometric means between 3 and 48. Then say what the GM of 3 and 48 is and where it appears in the sequence.
Show answer
There are n = 3 means, so the GP has 5 terms and r⁴ = 48 / 3 = 16, giving r = 2. The terms are 3, 6, 12, 24, 48. The GM of 3 and 48 is √144 = 12, which is the middle term of this 5-term GP.