The Means

Consider two similar problems:

Problem 1

A fellow travels from city A to city B. For the first hour, he drove at the constant speed of 20 miles per hour. Then he (instantaneously) increased his speed and, for the next hour, kept it at 30 miles per hour. Find the average speed of the motion.

Problem 2

A fellow travels from city A to city B. The first half of the way, he drove at the constant speed of 20 miles per hour. Then he (instantaneously) increased his speed and traveled the remaining distance at 30 miles per hour. Find the average speed of the motion.

The two problems are often confused and the difference between them may not be immediately obvious. The second one, as a mathematical conundrum, has been included in many math puzzles books.

By definition, the average speed S of the motion that lasted time T over the distance D is

Average speed = (Total distance)/(Total time) or S = D/T

The definition applies directly to the first problem. The fellow was on the road for the total of T = 2 hours. Going at 20 mi/h for the first hour the fellow covered the distance of 20 miles. Similarly, in the second hour he covered the distance of 30 miles. Therefore, in 2 hours he traveled the total of D = 20 + 30 = 50 miles. The average speed then is found to be S = 50/2 = 25 m/h.

The second problem is only a little more complex. There are three ways to write the formula above: S = D/T, D = ST, T = D/S. I apply the latter one. Let d be half the distance between the two cities. The first leg of the journey took d/20 hours, the second d/30. Therefore, on the whole, the fellow was on the road T = d/20 + d/30 hours. During that time he covered D = 2d miles. It follows that his average speed is given by S = 2d/(d/20 + d/30) or, after cancelling out the common factor d, S = 2/(1/20 + 1/30) = 24 m/h. If the distance between the cities were, as in the first problem, 50 miles, then the journey would take T = 50/24 hours or 2 hours and 5 minutes, from which 1 hour and 15 minutes (= 25/20 hours) were spent on the first 25 miles and 50 minutes (= 25/30 hours) on the second 25 mile stretch.

What we found is that, depending on the circumstances, to determine the average speed of motion, computations based on the same basic formula (S = D/T) may have to follow different routes.

Now there are three means in music: first the arithmetic, secondly the geometric, and thirdly the subcontrary, the so-called harmonic.
Archytas, cited by Porphyry in his Commentary on Ptolemy's Harmonics
I. Thomas,
Greek Mathematical Works, v1,
Harvard University Press, 2006, p 113

For the given two quantities, 20 and 30, the number (20 + 30)/2 is known as their arithmetic mean while 2/(1/20 + 1/30) is the harmonic mean of the two numbers. Of course the are more general definitions. For convenience, it is customary to group a finite sequence of numbers a1, a2, ..., an in a vector form a = (a1, a2, ..., an). Then I am going to use the following shorthands:

A(a) = (∑a)/n = (∑ai)/n and H(a) = n/(∑1/a) = n/(∑1/ai),

where the summation is being carried from i = 1 through i = n. Observe that H(a) = 1/A(1/a). (For those who are not very comfortable or familiar with the summation formulas, it might be useful to verify this statement for small values of n, say 2, 3, and 4.) This leads to a more general definition

Mr(a) = (∑ar/n)1/r = (∑air/n)1/r

where I assume that all ai's are positive and r is a real number different from 0. For example, A(a) = M1(a) whereas H(a) = M-1(a).

In general, Mr(a) is the mean value of numbers a1, a2, ..., an with the exponent r. M2(a) is known as the quadratic average. It differs by a factor of n1/2 from the Euclidean distance from the end of the vector a to the origin. Do other means have special names? Not that I am aware of. Are they of any use? I must say that I dislike this question. I am appalled by the current tendency to place an emphasis (while teaching and learning) on the so-called useful things. (Should, for example, a math teacher be concerned with how and whether factoring is used in real world? I do not know whether superellipses were of any use until Piet Hein discovered their esthetic properties.)

In the case of the means, considering Mr(a) for nonzero real r almost immediately proves to be a nice idea. It appears that once the means were defined for nonzero exponents, it becomes also possible to define M0(a). A 2-step proof is very simple but needs an application of what's known as the L'Hôpital Rule, a subject covered in any Calculus I course. By the L'Hôpital Rule, it follows that the limit, limMr(a), as r approaches 0, exists and is equal to the geometric mean of numbers a1, a2, ..., an. Thus the following complements the definition of Mr(a):

M0(a) = (a1a2 ... an)1/n

Lemma

For r > 0, Mr(a) < M2r(a) provided not all ai's are equal. If they are then Mr(a) = M2r(a).

Proof

Inequality Mr(a) < M2r(a) can be rewritten as M1(ar) < M2(ar), where, by convention, ar= (a1r, a2r, ..., anr). The latter follows from a beautiful identity

∑ai2∑bi2 - (∑aibi)2 = ∑(aibj - ajbi)2/2

whose right-hand side is non-negative and is equal to zero only when vectors a and b are proportional. The lemma follows from the latter with bi = 1 for all i, i = 1, 2, ..., n.

Applying Lemma repeatedly we get

Mr(a) > Mr/2(a) > Mr/22(a) > Mr/23(a) ...→ M0(a),

as above (remember the L'Hôpital Rule!). From here it follows that for any r > 0, Mr(a) > M0(a) (except, of course, for the case where all ai's are equal). This is a generalization of the Arithmetic mean - Geometric mean inequality M1(a) > M0(a).

On the other hand, if r < 0 and s = -r, we can write

Mr(a) = M-s(a) = 1/Ms(1/a) < 1/M0(1/a) = M0(a)

Therefore, for any two real s and r, s < r, we have a further generalization: Ms(a) < Mr(a).

The applet below illustrates this property of the means. The number bars are draggable up and down, while the exponent r can be changed by dragging the horizontal slider.


This applet requires Sun's Java VM 2 which your browser may perceive as a popup. Which it is not. If you want to see the applet work, visit Sun's website at http://www.java.com/en/download/index.jsp, download and install Java VM and enjoy the applet.


Buy this applet
What if applet does not run?

It's also easily seen that, unless all ai's are the same,

min{ai} < Mr(a) < max{ai}

Furthermore, it can be shown that Mr(a) approaches max{ai} as r grows without limit. Also, Mr(a) approaches min{ai} as r tends to -∞. For this reason, we also define

M-∞(a) = min{ai} and M(a) = max{ai}

Finally we can claim that, for any two real s and r, s < r, and not all ai's equal,

M-∞(a) < Ms(a) < Mr(a) < M(a)

Remark

A question is often raised whether or not it is useful to study continuous functions that are not given by a single formula like f(x) = (x2 - 1)/(x5 + 1). For a fixed a, f(x) = Mx(a) serves an example of a continuous function that can't be represented in such a manner. As we saw above, f(0) requires an essentially different formula than other values of x.

A Nice Exercise

Given a trapezoid with bases of lengths a and b. Consider 4 line segments parallel to the bases. Prove that

  1. the length of the segment that divides the trapezoid into two of equal area is the quadratic mean of a and b,
  2. the length of the segment half way between the bases is the arithmetic mean of a and b
  3. the length of the segment through the point of intersection of diagonals is the harmonic mean of a and b
  4. the length of the segment that divides the trapezoid into two similar ones is the geometric mean of a and b.

Another Variant

In the diagram on the right, AB is a diameter of the semicircle ATB with center O. CT ⊥ AB, CF ⊥ OT, OR ⊥ AB. Let AC = a, BC = b, OR = (a-b)/2. Then

  1. CT is the geometric mean of a and b,
  2. OT is the arithmetic mean of a and b,
  3. TF is the harmonic mean of a and b,
  4. AR is the quadratic mean of a and b.

Obviously, AR ≥ AO = OT ≥ CT ≥ TF.

References

  1. E. F. Beckenbach, R. Bellman, Introduction to Inequalities, Random House, 1975
  2. S. L. Greitzer, Arbelos, v6, MAA, 1988
  3. G. H. Hardy, J.E.Littlewood, G.Pólya, Inequalities, Cambridge Univ Pr., 1998
  4. O. A. Ivanov, Easy as p, Springer, 1998

Related material
Read more...

  • The Means
  • Averages, Arithmetic and Harmonic Means
  • Expectation
  • The Size of a Class: Two Viewpoints
  • Averages of divisors of a given integer
  • Family Statistics: an Interactive Gadget
  • Averages in a sequence
  • Arithmetic and Geometric Means
  • Geometric Meaning of the Geometric Mean
  • A Mathematical Rabbit out of an Algebraic Hat
  • AM-GM Inequality
  • The Mean Property of the Mean
  • Harmonic Mean in Geometry
  • |Contact| |Front page| |Contents| |Algebra| |Store|

    Copyright © 1996-2015 Alexander Bogomolny

     49551874

    Google
    Web CTK