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.
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
(8)
|
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
(9)
|
where
and
(10)
|
Special values of are summarized in the following table. The special
value
(11)
|
(OEIS A014549) is called Gauss's constant. It has the closed form
(12)
| |||
(13)
|
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.4567910310469068692... | |
A084895 | 1.8636167832448965424... | |
A084896 | 2.2430285802876025701... | |
A084897 | 2.6040081905309402887... |
The derivative of the AGM is given by
(14)
| |||
(15)
|
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
(16)
|
The AGM has the properties
(17)
| |||
(18)
| |||
(19)
| |||
(20)
|
Solutions to the differential equation
(21)
|
are given by
and
.
A generalization of the arithmetic-geometric mean is
(22)
|
which is related to solutions of the differential equation
(23)
|
The case
corresponds to the arithmetic-geometric mean via
(24)
| |||
(25)
|
The case
gives the cubic relative
(26)
| |||
(27)
|
discussed by Borwein and Borwein (1990, 1991) and Borwein (1996). For , this function satisfies the functional equation
(28)
|
It therefore turns out that for iteration with and
and
(29)
| |||
(30)
|
so
(31)
|
where
(32)
|