Means
A mean is a single number that summarizes a set of values by representing their "center" or "typical" magnitude. The three classical Pythagorean means — arithmetic, geometric, and harmonic — each capture different notions of average, and are ordered for positive numbers. Means appear everywhere from statistics and finance to physics and music theory; they were studied by the ancient Greeks (Pythagoreans, ~500 BCE) and remain foundational across all quantitative fields.
A mean (or average) is a function that takes a list of numbers and returns one representative value lying between the smallest and largest. The most familiar is the arithmetic mean — the sum divided by the count — but the geometric mean (the -th root of the product) and harmonic mean (the reciprocal of the average reciprocal) are equally important when quantities multiply or combine as rates. The deep and surprising fact is that these three means are always ordered the same way for positive data, with equality only when all values are identical — a result with consequences ranging from optimization to inequalities in pure mathematics. Means matter because choosing the wrong one produces misleading conclusions: average speed over a journey, average growth rate of an investment, and average price are each governed by a different mean.
The Core Insight
A mean is not one thing but a family of "centering" operations. Each mean answers a specific question: the arithmetic mean answers "what value, repeated, gives the same sum?"; the geometric mean answers "what value, repeated, gives the same product?"; the harmonic mean answers "what value, repeated, gives the same sum of reciprocals?" The correct mean is dictated by which combination of the data is physically or mathematically meaningful.
Formal Statement
Arithmetic Mean
For real numbers , the arithmetic mean is their sum divided by their count:
Here is the number of values (a positive integer) and each is a real number.
Geometric Mean
For positive real numbers , the geometric mean is the -th root of their product:
All to keep the root real and single-valued.
Harmonic Mean
For positive real numbers , the harmonic mean is the reciprocal of the arithmetic mean of the reciprocals:
Weighted and Generalized (Power) Mean
Attaching weights with , and a real parameter , the generalized (power) mean unifies them all:
The unweighted versions use . As special cases: , , and .
AM–GM–HM Inequality
For any positive real numbers ,
with equality holding simultaneously throughout if and only if .
Why It Holds / Derivation
AM ≥ GM for two numbers, then the chain
Step 1 — AM ≥ GM for two positive numbers. Let . Since the square of any real number is non-negative,Equality holds iff , i.e. . This is for .
Step 3 — GM ≥ HM. Apply the just-proved to the reciprocals :Taking reciprocals of both sides reverses the inequality, yielding , i.e. .
Step 4 — General . For general , follows by Cauchy's "forward–backward" induction or by the convexity of the exponential function (Jensen's inequality applied to logarithms). Applying that result to reciprocals again gives , completing the chain .Pythagoras of Samos | c. 570 – c. 495 BCE
The three classical means are called Pythagorean because the Pythagorean school studied them in connection with music and proportion. They observed that string-length ratios producing harmonious intervals (the octave 2:1, the fifth 3:2, the fourth 4:3) are linked by these means: 2, the harmonic mean of 1 and 3 ... no — concretely, the numbers 6, 8, 9, 12 form a "musical proportion" where 8 is the harmonic mean and 9 the arithmetic mean of 6 and 12. This fusion of arithmetic, geometry, and music ("the quadrivium") shaped mathematics for two millennia.
Building Intuition
Picture the data as physical objects.
- Arithmetic mean is the balance point (center of mass) of equal weights placed at each value on a number line. Pile the total amount, level it out — that flat level is .
- Geometric mean is the side of a square (or edge of a cube) with the same area (volume) as the rectangle built from the data. For two numbers , is literally the side of a square equal in area to an rectangle.
- Harmonic mean governs rates and parallel combinations. If you drive one mile at speed and one mile at speed , your average speed is the harmonic mean — because what's fixed is distance, not time, so the slow leg dominates.
The ordering reflects that the harmonic mean is "pulled toward small values," the arithmetic mean "pulled toward large values," and the geometric mean sits balanced in the multiplicative middle.
The three Pythagorean means of two numbers a and b shown on a semicircle
Worked Examples
Average speed — the harmonic mean
Given: A cyclist rides 12 km uphill at 8 km/h, then the same 12 km back downhill at 24 km/h. Find the average speed for the whole trip. Step 1 — Total distance: km. Step 2 — Total time: uphill h; downhill h; total h. Step 3 — Average speed km/h. Check with the harmonic mean (valid because each leg covers equal distance):Note the naive arithmetic mean km/h is wrong.
Average growth rate — the geometric mean
Given: An investment grows by in year 1 (multiplier ), then loses in year 2 (multiplier ). Find the average annual growth factor. Step 1 — Overall factor over 2 years: (you end where you started). Step 2 — Geometric mean of the factors:So the true average annual growth factor is , i.e. 0% per year — correct, since the money is unchanged.
Contrast: The arithmetic mean of the factors is , falsely suggesting +25%/year. The geometric mean is the only correct average for multiplicative growth.Common Misconceptions
The arithmetic mean is not always the "right" average. Using it for rates (speeds, prices per unit) or for multiplicative growth (returns, ratios) gives systematically wrong answers. Match the mean to the structure: additive quantities → arithmetic; multiplicative quantities → geometric; rates over a fixed numerator → harmonic.Also: the mean can be very unrepresentative for skewed data. If nine people earn \3,000,000, the arithmetic mean income is \$327,000 — a figure no one actually receives. Here the median (a different notion of center) is more honest.
"The geometric mean equals the arithmetic mean for typical data." False — they are equal only when all values are identical. Take :Connections
Means tie together many areas:
- The AM-GM Inequality is a cornerstone of optimization and is itself a special case of Jensen's Inequality, which applies to all convex functions.
- The Median and Mode are alternative measures of central tendency, more robust to outliers; together with the mean they form the trio taught in Descriptive Statistics.
- The geometric mean is the arithmetic mean in logarithmic space: , linking means to Logarithms.
- The Root Mean Square (quadratic mean, ) sits above the arithmetic mean in the Power Mean Inequality hierarchy and governs the standard deviation and AC electrical signals.
- Means underlie the Expected Value of a random variable in Probability Theory.
Real-World Applications
- Finance — investment returns. Compound annual growth rate (CAGR) is the geometric mean of yearly growth factors; quoting an arithmetic mean overstates true performance.
- Physics — average speed and resistors. Equal-distance trips use the harmonic mean of speeds; resistors in parallel combine via a harmonic-mean-type formula, .
- Engineering — RMS values. The root-mean-square voltage of mains electricity (e.g. 230 V RMS) gives the equivalent DC heating value of an alternating current.
- Sports & statistics — batting/ratings. Sabermetrics and player ratings use weighted and geometric means to combine multiplicative skill components.
- Image processing. The geometric mean filter reduces multiplicative ("speckle") noise better than the arithmetic mean.
- Music theory. Equal temperament divides the octave using the geometric mean: each semitone multiplies frequency by .
- Economics — index numbers. The Fisher Price Index is the geometric mean of the Laspeyres and Paasche indices, combining their biases symmetrically.
Historical Development
- c. 500 BCE — Pythagorean school identifies the arithmetic, geometric, and harmonic (then "subcontrary") means via musical ratios (6, 8, 9, 12).
- c. 350 BCE — Archytas of Tarentum and later commentators define and distinguish the three classical means precisely.
- c. 300 BCE — Euclid's Elements (Book VI) gives the geometric mean as the "mean proportional," constructible with compass and straightedge.
- c. 100 CE — Nicomachus and Pappus of Alexandria catalogue up to ten distinct means, formalizing the Greek theory of proportions.
- 1729 — Colin Maclaurin and contemporaries develop inequalities among symmetric functions, foreshadowing the power-mean hierarchy.
- 1821 — Augustin-Louis Cauchy proves the general AM–GM inequality by his elegant "forward–backward" induction.
- 1906 — Johan Jensen publishes Jensen's inequality, revealing AM–GM as a consequence of convexity.
- 1934 — Hardy, Littlewood, and Pólya's Inequalities gives the definitive modern treatment of power means and their ordering.
Subtleties & Limits
Subtleties that survive into research mathematics:- The full power mean is monotonically increasing in : . Proving this in full generality, and characterizing the limiting cases (which give the maximum and minimum), requires convexity arguments.
- Means of matrices are subtle: the geometric mean of two positive-definite matrices is not simply (which need not be symmetric); the correct Riemannian/geometric mean and its extension to three or more matrices was only resolved in the 2000s.
- Generalized means on infinite sets / measures connect to deep questions in functional analysis and ergodic averaging, where "the mean of a function" (its integral average) can fail to exist or depend on the averaging procedure.