Skip to content

AM–GM Inequality

For any nonempty finite list of nonnegative real numbers, its geometric mean does not exceed its arithmetic mean, with equality exactly when all entries are equal.

Version
v1 · 2026-10-03 · History
Domain-specific #
12978
Domain group
Formal Sciences
Origin domain
Mathematics
Subdomain
Inequalities → Mathematics
Aliases
Inequality of arithmetic and geometric means

Core Idea

For \(n\geq1\) nonnegative real numbers \(a_1,\ldots,a_n\), the AM–GM inequality says $$ (a_1\cdots a_n)^{1/n}\leq\frac{a_1+\cdots+a_n}{n}, $$ with equality exactly when all entries are equal. Zero entries remain within the theorem, although a proof taking their logarithms would not be valid. This is a typed comparison of the geometric and arithmetic means of the same equally weighted list.[1]

How would you explain it like I'm…

The Square Garden Rule

Take a long string and make a rectangle with it. If you use the same string to make a square instead, the square holds at least as much space inside. The space is exactly the same only when the rectangle already is a square. That's a little piece of a math rule about two kinds of averages.

Two Averages Contest

The AM–GM inequality compares two kinds of average for the same list of numbers that are zero or bigger. The arithmetic mean is the usual one: add them up and divide by how many. The geometric mean multiplies them and then takes a root, like the square root for two numbers. The rule says the geometric mean is never bigger than the arithmetic mean, and they're equal only when all the numbers are the same. For example, for 2 and 8, the usual average is 5 but the geometric mean is 4.

Geometric Mean ≤ Arithmetic Mean

The AM–GM inequality says that for any list of n nonnegative numbers, the geometric mean G = (a₁·…·aₙ)^(1/n) is at most the arithmetic mean A = (a₁ + … + aₙ)/n. Equality holds exactly when all the numbers are equal. Zero is allowed: a zero makes G equal 0, and then equality happens only if every number is 0. It gives useful conclusions: if the sum is fixed at S, the product is at most (S/n)ⁿ, and if the product is a fixed positive P, the sum is at least n·P^(1/n). It's a statement about order with a precise equality case, not a general claim that equal things are always better. A proof using logarithms works only when all numbers are positive, since log 0 is undefined, so zeros need separate handling.

 

The AM–GM Inequality states that for n ≥ 1 and a_1, …, a_n ≥ 0, with A = (a_1 + … + a_n)/n and G = (a_1⋯a_n)^(1/n), we have G ≤ A, with equality if and only if all a_i are equal. Zero entries remain within the domain. They force G = 0, so equality then holds only if every entry is zero. Eberl's formalization proves a weighted version for nonnegative reals and derives the equal-weight case as a corollary. The theorem yields conditional optimization bounds. With a fixed nonnegative sum S, the product is at most (S/n)^n, and with a fixed positive product P, the sum is at least nP^(1/n). Each requires its stated domain. A standard proof applies Jensen's inequality to the concave log function, but this needs all a_i > 0. The zero case must be treated separately or by a limiting argument, since log 0 is undefined. The result is an order statement with a sharp equality case, not a universal preference for uniformity.

Scope of Application

With a fixed nonnegative sum \(S\), the product cannot exceed \((S/n)^n\); equality requires equal entries. For a rectangle of perimeter $20$, sides \(x+y=10\) yield \(xy\leq25\), attained by the $5\(-by-\$5\) square. This is a direct two-variable derivation from the sourced inequality, not a general rule that every equal allocation remains feasible under other constraints.[2][1]

In a separate financial-summary setting, use nonnegative gross period factors \(g_i=1+r_i\), not possibly negative net rates themselves. Their geometric mean minus one describes an equivalent compounded net rate; their arithmetic mean minus one is the ordinary average net rate. CFA's historical return tables report both, including US real equities in 1900–2015 at 6.4% geometric and 8.3% arithmetic. This is descriptive mathematics, not investment advice.[3][1]

Clarity

For two nonnegative entries, \((x+y)/2\geq\sqrt{xy}\) follows from \((x-y)^2\geq0\), with equality only at \(x=y\). In the full finite-list result, any zero factor makes the geometric mean zero; equality with the nonnegative arithmetic mean then requires every entry to be zero. A log-concavity proof must first assume strictly positive entries, then treat zero separately or by a limit.[2][1]

Manages Complexity

AM–GM replaces many possible products at a fixed sum with one sharp bound and a named equality case. In the rectangle, the two side lengths have a fixed additive total, so the area product is bounded without checking every shape. For sequential gross returns, it condenses a product path into a comparable per-period factor, while leaving the interpretation of that factor to the financial setting.[1][3]

Abstract Reasoning

Identify the exact nonnegative list, verify both means use it with equal weights, and apply \(G\leq A\). If solving a fixed-sum or fixed-positive-product problem, rearrange only after checking the domain and whether the equal-entry equality case is feasible. An illustrative pair of gross factors $1.5$ and $0.5$ has arithmetic gross mean $1$ but geometric gross mean \(\sqrt{0.75}\approx0.866\): net summaries are $0\%$ versus roughly \(-13.4\%\) per period. This constructed calculation is not a historical observation or a forecast.[1][3]

Knowledge Transfer

The identical order/equality pattern travels from rectangle sides to compounded gross factors, but the applications ask different questions. A fixed perimeter is a design constraint; a realized return sequence is a measurement record. Weighted AM–GM is a broader generalization, and Log-Sum Inequality is a distinct relation. General prime Comparison does not itself supply AM–GM's numeric domain and sharp order, so the staged DAG node is unparented. A more portable additive-versus-multiplicative aggregate pattern remains a future-prime question.[1]

Neighborhood in Abstraction Space

AM–GM Inequality sits in a sparse region of the domain-specific corpus (67th percentile for distinctiveness): few abstractions share its structure, so a faithful description tends to retrieve it precisely.

Family — Codes, Matrices & Combinatorial Problems (33 abstractions)

Nearest neighbors

Computed from structural-signature embeddings · 2026-11-14

References

[1] Manuel Eberl, “Pólya’s Proof of the Weighted Arithmetic–Geometric Mean Inequality”, Archive of Formal Proofs (2022), abstract and unweighted corollary. registry ↩a ↩b ↩c ↩d ↩e ↩f ↩g

[2] Anders Björner and Richard P. Stanley, A Combinatorial Miscellany (2010), Chapter 6, Eq. (6.3), PDF p. 55. registry ↩a ↩b

[3] David Chambers and Elroy Dimson, eds., Financial Market History, CFA Institute Research Foundation (2016), Chapter 1 appendix introduction, PDF p. 37, and Appendix 1.2, PDF p. 39. registry ↩a ↩b ↩c