Ma · Mathematics

Is the AM-GM Inequality True for Four Numbers?

Published By the 9to5Science editorial team

At a glance

  1. 1. State the assumptions

    Take four nonnegative numbers; the inequality also applies when all four are positive.

  2. 2. Compare two pairs

    Apply the two-number AM-GM inequality separately to the first pair and the second pair.

  3. 3. Compare the pair means

    Apply AM-GM again to the two pairwise geometric means.

  4. 4. Check equality

    Equality holds exactly when all four numbers are equal; otherwise the inequality is strict.

For four nonnegative numbers, the arithmetic mean is at least the geometric mean. In symbols, for a,b,c,d≥0a,b,c,d\geq 0,

a+b+c+d4≥abcd4.\frac{a+b+c+d}{4}\geq \sqrt[4]{abcd}.

The inequality is strict unless all four numbers are equal. A convenient proof groups the numbers into two pairs and uses the two-number AM-GM inequality twice.

Apply AM-GM to two pairs

For any nonnegative xx and yy, the two-number AM-GM inequality says

x+y2≥xy.\frac{x+y}{2}\geq \sqrt{xy}.

Apply it first to a,ba,b and then to c,dc,d:

a+b2≥ab,c+d2≥cd.\frac{a+b}{2}\geq \sqrt{ab}, \qquad \frac{c+d}{2}\geq \sqrt{cd}.

The arithmetic mean of all four numbers is the average of these two pairwise arithmetic means. Therefore,

a+b+c+d4=12(a+b2+c+d2)≥ab+cd2.\frac{a+b+c+d}{4} =\frac{1}{2}\left(\frac{a+b}{2}+\frac{c+d}{2}\right) \geq \frac{\sqrt{ab}+\sqrt{cd}}{2}.

Now use AM-GM once more, this time on ab\sqrt{ab} and cd\sqrt{cd}:

ab+cd2≥ab cd=abcd4.\frac{\sqrt{ab}+\sqrt{cd}}{2} \geq \sqrt{\sqrt{ab}\,\sqrt{cd}} =\sqrt[4]{abcd}.

Combining the two inequalities gives

a+b+c+d4≥abcd4.\boxed{\frac{a+b+c+d}{4}\geq \sqrt[4]{abcd}}.

This proof works even if one or more numbers are zero. If you are given four positive numbers, the same result applies without needing to consider zero-valued cases.

When does equality hold?

Equality in the first two applications requires a=ba=b and c=dc=d. Equality in the last application requires ab=cd\sqrt{ab}=\sqrt{cd}. Together, these conditions mean all four numbers are equal.

Conversely, if a=b=c=d=ka=b=c=d=k for some k≥0k\geq 0, then both means equal kk. Thus the exact statement is: the arithmetic mean is greater than or equal to the geometric mean, with equality exactly when all four numbers are equal. If they are not all equal, the inequality is strict.

Worked example

Take the four numbers 1,2,8,161,2,8,16. Their arithmetic mean is

1+2+8+164=274=6.75.\frac{1+2+8+16}{4}=\frac{27}{4}=6.75.

Their product is 1⋅2⋅8⋅16=2561\cdot2\cdot8\cdot16=256, so their geometric mean is

2564=4.\sqrt[4]{256}=4.

Therefore 6.75>46.75>4, as expected: the four numbers are not all equal. The proof also shows how the comparison can be made pair by pair. Pairing 11 with 22 and 88 with 1616 gives

1+2+8+164≥2+1282=922≥4.\frac{1+2+8+16}{4} \geq \frac{\sqrt{2}+\sqrt{128}}{2} =\frac{9\sqrt{2}}{2} \geq 4.

The intermediate bound need not equal the geometric mean; it only needs to be at least as large as it.

Common mistakes

  • Writing “greater than” without an equality case: If all four numbers are equal, the two means are equal. Use ≥\geq for the general theorem.
  • Forgetting the nonnegative assumption: The usual real-valued geometric mean here is defined for nonnegative inputs. Negative numbers require separate care, since the fourth root of their product may not be real.
  • Taking the wrong root: With four numbers, the geometric mean is the fourth root of the product, not the square root.
  • Assuming every pairing gives the same intermediate bound: The final AM-GM inequality is independent of how you group the numbers, but the intermediate estimates in this proof can vary with the pairing.

Generalization

For nn nonnegative numbers, the AM-GM inequality states that their arithmetic mean is at least the nnth root of their product:

x1+x2+⋯+xnn≥(x1x2⋯xn)1/n.\frac{x_1+x_2+\cdots+x_n}{n} \geq (x_1x_2\cdots x_n)^{1/n}.

The four-number result is the case n=4n=4. The pairwise proof above is a particularly short way to establish that case from the familiar two-number inequality.

References

  1. Inequalities

Spotted an error? Send a correction. Read how we write and check articles in our editorial policy.