If x and y are two numbers, their Harmonic Mean is H=x+y2xy. This is the value that makes x,H,y an H.P., since x1,H1,y1 must be in A.P.: H1=2x1+y1=2xyx+y⇒H=x+y2xy.
These extend to n positive numbers as A=nx1+x2+⋯+xn, G=(x1x2⋯xn)1/n, H=x11+x21+⋯+xn1n. Also, if x=y then A=G=H.
Theorem: if A,G,H are the A.M., G.M., H.M. of two positive numbers x and y, then (i) G2=AH, and (ii) A≥G≥H.
Proof: A=2x+y,G=xy,H=x+y2xy. (i) AH=2x+y⋅x+y2xy=xy=G2. (ii) Consider A−G=2x+y−xy=21(x+y−2xy)=21(x−y)2≥0 since a square is always non-negative; hence A≥G ...(I), so GA≥1 ...(II). Since G2=AH, HG=GA≥1 (from II), so G≥H ...(III). From (I) and (III), A≥G≥H.
Worked Example 1: find A.M., G.M., H.M. of 4 and 16. A=24+16=10. G=4×16=64=8. H=4+162×4×16=20128=532.
Worked Example 2: insert 4 terms between 2 and 22 so the new sequence is an A.P. Let A1,A2,A3,A4 be the terms, so 2,A1,A2,A3,A4,22 is an A.P. with a=2,t6=22,n=6: 22=2+5d⇒d=4. A1=6,A2=10,A3=14,A4=18.
Worked Example 3: insert two numbers between 92 and 121 so the resulting sequence is an H.P. Let the numbers be H11,H21, so 29,H1,H2,12 is an A.P. with a=29,t4=12: 29+3d=12⇒d=25. H1=29+25=7, H2=29+2(25)=219. The inserted numbers are 71 and 192.
Worked Example 4: insert two numbers between 1 and 27 so the resulting sequence is a G.P. 1,G1,G2,27 G.P. with a=1,t4=27: r3=27⇒r=3. G1=3,G2=9. …
Misc 1Extending A, G, H to n numbers; the equal-numbers case
Worked out. Two standing notes attached right after the two-number definitions, used whenever a problem involves more than a pair of numbers. First, the three means generalise from 2 numbers to n positive numbers as A=nx1+x2+⋯+xn (ordinary average), G=(x1x2x3⋯xn)1/n (the nth root of the product), and H=x11+x21+⋯+xn1n (n divided by the sum of reciprocals). Second, if all the numbers being averaged happen to be equal, i.e. x=y, then the three means collapse onto the same single value: A=G=H, which is also the equality case of the $A\ge G …