Skip to content

Arithmetic–Geometric Mean

The arithmetic–geometric mean is the common limit of coupled arithmetic-mean and geometric-mean iterations on two positive numbers.

Version
v1 · 2026-10-03 · History
Domain-specific #
12989
Domain group
Formal Sciences
Origin domain
Mathematics
Subdomains
Elliptic Integrals, Numerical Analysis → Mathematics
Aliases
AGM, AGM Method

Core Idea

For positive \(a_0,g_0\), repeatedly form \(a_{n+1}=(a_n+g_n)/2\) and \(g_{n+1}=\sqrt{a_ng_n}\), using the same current pair for both updates. The two sequences converge to one number \(M(a_0,g_0)\), their arithmetic–geometric mean. It is a limit, not either single-step mean. The gap contracts quadratically near the limit.[1]

How would you explain it like I'm…

Two Middles Meeting

Two friends stand at two different spots on a number path. At every step, each one moves to a new spot, and each uses a different way of finding the middle between them. They get closer and closer very fast until they are at the same spot. That shared spot is the Arithmetic–Geometric Mean.

The Squeezing Averages

Start with two positive numbers. One kind of middle is the ordinary average: add them and divide by two. Another kind is the geometric mean: multiply them and take the square root. Replace your pair with these two new numbers, then do it again and again. The two numbers squeeze together toward one shared value, the Arithmetic–Geometric Mean, and they do it very quickly.

Iterated Two-Mean Limit

Take positive numbers a and g. Replace them with their arithmetic mean (a+g)/2 and their geometric mean √(ag), and repeat. Both sequences converge to the same limit, M(a,g), called the Arithmetic–Geometric Mean. It is not just the first average or the first geometric mean; those early values are only approximations that bracket the answer. Swapping a and g changes nothing, because both rules treat the two inputs the same way. The gap between the two numbers shrinks extremely fast, which makes the AGM useful for computation.

 

For positive reals a₀ and g₀, define a_{n+1} = (a_n + g_n)/2 and g_{n+1} = √(a_n g_n). Both sequences converge to a common limit M(a₀, g₀), the arithmetic–geometric mean. Because both update rules are symmetric, the order of the inputs does not matter. The early iterates are bounds and approximations, not the AGM itself. The gap between the iterates obeys a quadratic recurrence, so near the limit it contracts very rapidly, roughly doubling the number of correct digits at each step. This speed matters because complete elliptic integrals can be expressed through the AGM, so evaluating an integral becomes evaluating an AGM. Fast algorithms for π, such as Gauss–Legendre/Brent–Salamin, build on this connection. They also need an extra correction sequence beyond the two AGM iterates, so the AGM limit alone is not a formula for π.

Scope of Application

The positive-real construction is unambiguous and gives an ordered squeeze. DLMF relates \(M(1,\sqrt{1-k^2})\) to the complete first-kind elliptic integral through \(K(k)=\pi/[2M(1,\sqrt{1-k^2})]\) for \(0\le k<1\). Brent used AGM and elliptic transformations in fast high-precision algorithms, including one for π; that π algorithm needs an auxiliary correction sequence and is not the bare AGM.[1][2]

Clarity

With starting pair \((1,1/\sqrt2)\), the first updated pair is \(a_1=(1+1/\sqrt2)/2\approx0.8535533906\) and \(g_1=2^{-1/4}\approx0.8408964153\). Both coordinates must be updated from the old pair. The first arithmetic value is not the final AGM. Brent's π algorithm also updates \(t_1=1/4-(1-a_1)^2\approx0.2285533906\), producing \(\pi_1=(a_1+g_1)^2/(4t_1)\approx3.1405792505\) after one round. Complex-input extensions need explicit square-root branch choices and are not covered by the positive-real squeeze claim.[1][2]

Manages Complexity

The elliptic identity replaces one complete integral evaluation with a fast two-coordinate recurrence, but the identity and its parameter conversion remain essential. A rapidly convergent AGM of the wrong pair accurately solves the wrong integral. For π, omitting the correction state removes the information needed to recover the constant.[1][2]

Abstract Reasoning

The arithmetic update is no lower than the geometric update. For an ordered positive pair, the upper coordinate decreases and the lower increases toward a common limit. DLMF's gap recurrence \(c_{n+1}=c_n^2/(4a_{n+1})\) explains quadratic contraction. An output quantity is obtained only when a separate identity links it to that limit.[1]

Knowledge Transfer

The recurrence transfers literally to mathematical tasks with proved AGM reductions, such as complete elliptic integrals and high-precision constant algorithms. Calling any repeated compromise an “AGM” is metaphor. The Iteration edge is a composition/presupposes prerequisite for the state-carrying construction, not a claim that the limiting value is an iterative procedure; it does not imply the AGM equations or elliptic identity.

Relationships to Other Abstractions

Local relationship map for Arithmetic–Geometric MeanParents appear above the current abstraction, mutual partners to the right, and children below. Node labels state whether each abstraction is prime or domain-specific; colors identify relation types.Arithmetic–GeometricMeanDOMAINPrime abstraction: Iteration — presupposesIterationPRIME

Current abstraction Arithmetic–Geometric Mean Domain-specific

Parents (1) — outgoing typed relations

  • Arithmetic–Geometric Mean presupposes Iteration Prime

    The AGM value presupposes coupled iteration.

Hierarchy path (1) — routes to 1 parentless root

  • Arithmetic–Geometric Mean → presupposes Iteration

Neighborhood in Abstraction Space

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

Family — Number-Theoretic Properties & Tests (22 abstractions)

Nearest neighbors

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

References

[1] NIST DLMF §19.8(i), equations 19.8.1–19.8.4. registry ↩a ↩b ↩c ↩d ↩e

[2] Brent, original 1976 AGM-based algorithms, §5 full π algorithm. registry ↩a ↩b ↩c