The arithmetic-geometric mean of two numbers
and
(often also written
or
)
is defined by starting with
and
,
then iterating
|
(1)
| |||
|
(2)
|
until
to the desired precision.
and
converge towards each other since
|
(3)
| |||
|
(4)
|
But , so
|
(5)
|
Now, add
to each side
|
(6)
|
so
|
(7)
|
The top plots show for
and
for
,
while the bottom two plots show
for complex values of
.
The AGM is very useful in computing the values of complete elliptic integrals and can also be used for finding the inverse tangent.
For
with
, the elliptic curve
has the positive real period
|
(8)
|
measured using the differential .
Grayson (1989) derives this relation using degree-two isogenies
of elliptic curves. The resulting AGM iteration
also gives algorithms for the elliptic
exponential function and elliptic logarithm.
In genus two, a four-variable AGM is related to duplication formulas for theta constants (Jarvis 2008). Donagi and Livné (1999) study AGM iterations arising from isogenies of hyperelliptic curves. Spandaw and van Straten (2012) use a generalized AGM to compute certain determinants of periods of real hyperelliptic curves. In a different direction, Cardoso and Ralha (2016) develop a matrix AGM for evaluating the matrix logarithm.
It is implemented in the Wolfram Language as ArithmeticGeometricMean[a, b].
can be expressed in closed form in terms of the complete elliptic integral of
the first kind
as
|
(9)
|
where the argument of is the elliptic modulus
.
The definition of the arithmetic-geometric mean also holds in the complex plane, as illustrated above for .
The Legendre form of the arithmetic-geometric mean is given by
|
(10)
|
where
and
|
(11)
|
Special values of are summarized in the following table. The special
value
|
(12)
|
(OEIS A014549) is called Gauss's constant. It has the closed form
|
(13)
| |||
|
(14)
|
where the above integral is the lemniscate function and the equality of the arithmetic-geometric mean to this integral was known to Gauss (Borwein and Bailey 2003, pp. 13-15).
| OEIS | value | |
| A068521 | 1.4567910310469068691... | |
| A084895 | 1.8636167832448965423... | |
| A084896 | 2.2430285802876025701... | |
| A084897 | 2.6040081905309402886... |
The derivative of the AGM is given by
|
(15)
| |||
|
(16)
|
where ,
is a complete
elliptic integral of the first kind, and
is the complete
elliptic integral of the second kind.
A series expansion for is given by
|
(17)
|
Here
denotes big-O notation.
The AGM has the properties
|
(18)
| |||
|
(19)
| |||
|
(20)
| |||
|
(21)
|
Solutions to the differential equation
|
(22)
|
are given by
and
.
A generalization of the arithmetic-geometric mean is
|
(23)
|
which is related to solutions of the differential equation
|
(24)
|
The case
corresponds to the arithmetic-geometric mean via
|
(25)
| |||
|
(26)
|
For , the same integral gives the Carlson
elliptic integrals representation
|
(27)
|
The case
gives the cubic relative
|
(28)
| |||
|
(29)
|
discussed by Borwein and Borwein (1990, 1991) and Borwein (1996). For , this function satisfies the functional
equation
|
(30)
|
It therefore turns out that for iteration with and
and
|
(31)
| |||
|
(32)
|
so
|
(33)
|
where
|
(34)
|