WIPIVERSE All articles

Arithmetic–geometric mean

The arithmetic–geometric mean (AGM) of two non‑negative real numbers a and b is the common limit of two sequences generated by repeatedly taking arithmetic and geometric means of the previous pair. Formally, define

$$ a_0 = a,\qquad b_0 = b, $$

and for $n\ge 0$

$$ a_{n+1} = \frac{a_n + b_n}{2},\qquad b_{n+1} = \sqrt{a_n b_n}. $$

Both sequences are monotone ($a_n$ decreasing, $b_n$ increasing) and converge to the same value, denoted $\operatorname{agm}(a,b)$.

Historical background

The concept was introduced by Carl Friedrich Gauss in the early 19th century while studying elliptic integrals. Gauss discovered that the AGM provides a rapid method for evaluating the complete elliptic integral of the first kind, leading to the celebrated Gauss–Legendre algorithm for computing π.

Key properties

  • Symmetry: $\operatorname{agm}(a,b)=\operatorname{agm}(b,a)$.
  • Homogeneity: $\operatorname{agm}(\lambda a,\lambda b)=\lambda,\operatorname{agm}(a,b)$ for any $\lambda\ge0$.
  • Bounds: $\min(a,b) \le \operatorname{agm}(a,b) \le \max(a,b)$ with strict inequality unless $a=b$.
  • Relation to elliptic integrals: For $0<b\le a$,

$$ \operatorname{agm}(a,b)=\frac{\pi}{2,K!\left(\sqrt{1-\frac{b^{2}}{a^{2}}}\right)}, $$

where $K(k)$ is the complete elliptic integral of the first kind.

  • Quadratic convergence: The error roughly squares at each iteration, making the AGM an efficient numerical tool.

Applications

  • Computation of π: The Gauss–Legendre algorithm uses the AGM to double the number of correct digits of π each iteration.
  • Elliptic integrals and functions: The AGM provides a fast way to evaluate $K(k)$ and related functions.
  • Number theory: It appears in formulas for periods of elliptic curves and in the study of modular forms.
  • Physics and engineering: AGM‑based methods are used in precise calculations of capacitance, inductance, and other quantities involving elliptic integrals.

Related means

The AGM lies between the arithmetic mean $\frac{a+b}{2}$ and the geometric mean $\sqrt{ab}$. Other classical means include the harmonic mean, quadratic (root‑mean‑square) mean, and the logarithmic mean; each occupies a distinct position in the hierarchy of means.

Computational notes

A practical implementation iterates the arithmetic and geometric updates until $|a_n-b_n|$ falls below a chosen tolerance. Because of quadratic convergence, only a few iterations are needed for high‑precision results.

References

  • C. F. Gauss, Zur Theorie der elliptischen Integrale, 1816.
  • J. M. Borwein and P. B. Borwein, Pi and the AGM, Wiley, 1987.
  • D. H. M. Moll, Numbers and Functions: From a Classical–to a Modern–Perspective, 2020.
Browse

More topics to explore

    Browse all articles