Ky Fan’s Inequality: A Surprising Comparison of Arithmetic and Geometric Means

Two familiar averages—the arithmetic mean and the geometric mean—behave in a surprising way when every number is replaced by its complement. The classical AM–GM inequality tells us which mean is larger. Ky Fan’s inequality tells us something subtler: how their ratio changes.

1. A numerical puzzle

Take three numbers between zero and one-half: 0.1, 0.2, 0.3. Their arithmetic mean is A = (0.1 + 0.2 + 0.3)/3 = 0.2, and their geometric mean is G = (0.1 · 0.2 · 0.3)^(1/3) ≈ 0.1817.

Now replace each number x by its complement 1 − x. The new numbers are 0.9, 0.8, 0.7, with means A′ = 0.8 and G′ = (0.9 · 0.8 · 0.7)^(1/3) ≈ 0.7959. Compare the ratios:

\frac{G}{G'}\approx0.2283\qquad\text{and}\qquad\frac{A}{A'}=0.25.

The geometric-mean ratio is smaller. Is this always true?

2. Ky Fan’s inequality

Theorem. Let the numbers x1, …, xn satisfy 0 < xi ≤ 1/2 for every i = 1, …, n. Define

A=\frac1n\sum_{i=1}^n x_i,\quad G=\left(\prod_{i=1}^n x_i\right)^{1/n},

A'=\frac1n\sum_{i=1}^n(1-x_i)=1-A,\quad G'=\left(\prod_{i=1}^n(1-x_i)\right)^{1/n}.

Then

\boxed{\frac{G}{G'}\leq\frac{A}{A'}.}

Equivalently, A/G ≥ A′/G′. Equality holds if and only if all the numbers xi are equal.

Notice that this is not simply AM–GM applied twice: those two separate inequalities do not by themselves compare the ratios.

3. The hidden structure: a concave function

Introduce the function

f(t)=\log\frac{t}{1-t},\qquad 0\lt t\leq\tfrac12.

Its derivatives are

f'(t)=\frac1{t(1-t)},\qquad f''(t)=\frac{2t-1}{t^2(1-t)^2}\leq0.

Thus f is concave on the interval. Jensen’s inequality gives

\frac1n\sum_{i=1}^n f(x_i)\leq f\left(\frac1n\sum_{i=1}^n x_i\right)=f(A).

Substitute the definition of f:

\log\left(\frac{\prod_i x_i}{\prod_i(1-x_i)}\right)^{1/n}\leq\log\frac{A}{1-A}.

Exponentiating yields G/G′ ≤ A/A′, as claimed. The concavity is strict for distinct points in this interval, so equality requires all xi to be equal.

concave curvechordtf
A schematic of concavity: the curve lies above its chords. The proof uses this geometry for the logarithmic ratio function.

4. A second proof: compare each number with the average

There is another useful way to see the mechanism. Fix the arithmetic mean A and consider

h(t)=\log\frac{t}{1-t}.

Because h is concave, its graph lies below its tangent at A:

h(x_i)\leq h(A)+h'(A)(x_i-A).

Sum over i. Since Σ(xi − A) = 0, the linear terms disappear:

\sum_i h(x_i)\leq n h(A).

Exponentiating again gives Ky Fan’s inequality. This proof highlights the connection to tangent-line bounds: the errors balance because the deviations from the mean add to zero.

5. Why the restriction to one-half matters

The second derivative changes sign at t = ½. For ½ ≤ xi < 1, the function f is convex, so Jensen gives the reverse inequality:

\frac{G}{G'}\geq\frac{A}{A'}.

For example, the complementary numbers 0.7, 0.8, 0.9 reverse the comparison from our opening example. If the values straddle ½, neither direction is guaranteed merely by these hypotheses.

6. A generalization: weighted Ky Fan inequality

Let positive weights wi satisfy Σwi = 1. Define the weighted arithmetic and geometric means

A_w=\sum_iw_ix_i,\quad G_w=\prod_i x_i^{w_i},\quad G'_w=\prod_i(1-x_i)^{w_i}.

Weighted Jensen immediately gives

\boxed{\frac{G_w}{G'_w}\leq\frac{A_w}{1-A_w}}\qquad(0\lt x_i\leq\tfrac12).

Equality again occurs exactly when all xi with positive weights are equal. The weights allow the same comparison when observations contribute unequally.

7. Three exercises

  1. Numerical check. For x1 = ⅛ and x2 = ⅜, compute A/A′ and G/G′.
    Show solution

    A = ¼, so A/A′ = ⅓. Also G/G′ = √(3/35) < ⅓, since 3/35 < 1/9.

  2. Equality. Show directly that equality holds when x1 = ··· = xn = t with 0 < t ≤ ½.
    Show solution

    Then A = G = t and A′ = G′ = 1 − t. Both ratios equal t/(1 − t).

  3. Challenge: crossing the midpoint. Find two numbers in (0, 1), one below and one above ½, for which G/G′ > A/A′.
    Show solution

    Take x1 = ⅖ and x2 = 9/10. Then A = 13/20, A/A′ = 13/7, while G/G′ = √6 > 13/7.

8. Further reading

Ky Fan’s inequality is a refinement of the comparison between arithmetic and geometric means, made possible by restricting the numbers to one side of ½. For a broader introduction to inequality techniques, see Positive Definite Matrices and Quadratic Forms and other articles in the Elite Math Program inequalities collection.

Historical note. This is the classical Ky Fan inequality for complementary means. The proofs above are self-contained and use Jensen’s inequality; the article does not assert a historical priority for these particular proofs.

Leave a Reply

Your email address will not be published. Required fields are marked *