logo

Harmonic Mean 📂Lemmas

Harmonic Mean

Definition

For a positive number a,b>0a,b > 0, the following is called the Harmonic Mean. H(a,b):=2(1a+1b)1=2aba+b H (a,b) := 2 \left( {{ 1 } \over { a }} + {{ 1 } \over { b }} \right)^{-1} = {{ 2 ab } \over { a + b }} The generalized form with nn terms x1,,xnx_{1} , \cdots , x_{n} is as follows. H(x1,,xn):=n(k=1nxk1)1 H \left( x_{1} , \cdots , x_{n} \right) := n \left( \sum_{k=1}^{n} x_{k}^{-1} \right)^{-1}

Theorem

Arithmetic-Geometric-Harmonic Mean Inequality

x1+x2++xnnx1x2xnnn1x1+1x2++1xn \frac { {x}_{1}+{x}_{2}+\cdots+{x}_{n} }{ n }\ge \sqrt [ n ]{ {x}_{1}{x}_{2}\cdots{x}_{n} }\ge \frac { n }{ \frac { 1 }{ {x}_{1} }+\frac { 1 }{ {x}_{2} }+\cdots+\frac { 1 }{ {x}_{n} } }

Average Speed

If you travel a distance SS at speed aa and return at speed bb, then the average speed vv is expressed as the harmonic mean of the two speeds. v=2aba+b v = \frac { 2ab }{ a+b }

Upper and Lower Bounds of the Harmonic Mean

The harmonic mean of a,b>0a,b > 0 is between the values of aa and bb. max\max and min\min indicate the maximum and minimum values. min(a,b)H(a,b)max(a,b) \min (a,b) \le H (a,b) \le \max (a,b)

Explanation

Why is it called “Harmonic”?

Most Koreans first encounter the harmonic mean in high school, but quickly lose interest due to its peculiar formula and rarity even in exam studies. Above all, the naming is most difficult to accept. While the concept of the average is easy to grasp, it’s hard to imagine why the result of multiplying the sum of reciprocals by 2 2(1a+1b)2 \left( {{ 1 } \over { a }} + {{ 1 } \over { b }} \right) is called the harmonic mean intuitively.

Mathematically, adding the word Harmonic to the operation of taking reciprocals like 1a\displaystyle {{ 1 } \over { a }} is common, with the harmonic series n=11n\displaystyle \sum_{n=1}^{\infty} {{ 1 } \over { n }} being an example. The question then arises, ‘Why are such things called harmonic?’


The following content feels like something read before, but it’s a hassle to look for well-organized documents now, so I’m just jotting down from memory. Don’t take it too seriously, believe it or not, I don’t feel the need to be too accurate.

johwa.jpg

… Long ago when Pythagoras couldn’t accept the existence of irrational numbers, the Pythagorean school believed that everything in the world could be explained with mathematics and that all numbers were rational. At that time, it was widely known that some strings sounded good when played together on string instruments, regardless of the instrument’s size, a phenomenon that was reproducible anywhere as long as the ratio of the lengths of those strings matched, with the ratio being fractions―which was most diligently studied by the mathematicians of the time. Even in middle school, we learn about ‘similarity of triangles’ and solve those problems by setting up ‘proportions’.

On the other hand, among the combinations of sounds produced by plucking several strings, the ‘good sounding combinations’ were called harmonies, and the Greeks called it Harmony, derived from the goddess of harmony, Harmonia in Greek mythology. If this explanation is convincing, it somewhat makes sense why the words harmonic are attached to fractional forms, reciprocals, etc.

The following complex-looking formula is called the Fourier series, and the field that further investigates things like the Fourier transform is called Harmonic Analysis. limNSNf(t)=limN[a02+n=1N(ancosnπtL+bnsinnπtL)]=a02+n=1(ancosnπtL+bnsinnπtL) \begin{align*} \lim \limits_{N \rightarrow \infty} S^{f}_{N}(t) &= \lim \limits_{N \to \infty}\left[ \dfrac{a_0}{2}+\sum \limits_{n=1}^{N} \left( a_{n} \cos \dfrac{n\pi t}{L} + b_{n}\sin\dfrac{n\pi t}{L} \right) \right] \\ &= \dfrac{a_0}{2}+\sum \limits_{n=1}^{\infty} \left( a_{n} \cos \dfrac{n\pi t}{L} + b_{n}\sin\dfrac{n\pi t}{L} \right) \end{align*} The fractions nπL\displaystyle {{ n \pi } \over { L }} inside the cosine and sine are commonly referred to as frequency, which can be seen as a trace of the mathematical history passed down since the Pythagorean school.

Geometric Meaning

HarmonicMean4.gif XY=2AEBFAE+BF \overline{XY} = {{ 2 \overline{AE} \cdot \overline{BF} } \over { \overline{AE} + \overline{BF} }} There are actually a few more examples if you look into it1, but mathematically, beyond the fact itself, I’m not really sure what more value it has. Frankly, even the graphic above, from the author’s perspective, rather explains how the harmonic mean is applied geometrically than explains the geometric meaning of the harmonic mean itself.

Proof

Upper and Lower Bounds of the Harmonic Mean

Strategy: While it’s obvious that the ‘average’ H(a,b)H(a,b) falls between aa and bb regardless of how it’s calculated, let’s just prove the case of min(a,b)H(a,b)\min (a,b) \le H(a,b) without relying on the intuition provided by the naming. Use proof by contradiction.


If a=ba=b, then its harmonic mean is trivially 2ab/(a+b)=a=b=min(a,b)2ab / (a+b) = a = b = \min (a,b), so let’s consider the case of aba \ne b. Without loss of generality, assume a<ba < b, then min(a,b)=a\min \left( a,b \right) = a, and assume H(a,b)<min(a,b)H(a,b) < \min \left( a,b \right). Then, H(a,b)<min(a,b)    2aba+b<a    2b<a+b    b<a \begin{align*} & H(a,b) < \min \left( a,b \right) \\ \implies & {{ 2ab } \over { a+b }} < a \\ \implies & 2b < a + b \\ \implies & b < a \end{align*} which contradicts a<ba < b, hence it must be that H(a,b)min(a,b)H(a,b) \ge \min \left( a,b \right).