Arithmetic–geometric mean
In mathematics, the arithmetic–geometric mean (AGM or agM[1]) of two positive real numbers x and y is the mutual limit of a sequence of arithmetic means and a sequence of geometric means. The arithmetic–geometric mean is used in fast algorithms for exponential, trigonometric functions, and other special functions, as well as some mathematical constants, in particular, computing π.
The AGM is defined as the limit of the interdependent sequences and . Assuming , we write:These two sequences converge to the same number, the arithmetic–geometric mean of x and y; it is denoted by M(x, y), or sometimes by agm(x, y) or AGM(x, y).
The arithmetic–geometric mean can be extended to complex numbers and, when the branches of the square root are allowed to be taken inconsistently, it is a multivalued function.[1]
Example
[edit | edit source]To find the arithmetic–geometric mean of a0 = 24 and g0 = 6, iterate as follows:The first five iterations give the following values:
| n | an | gn |
|---|---|---|
| 0 | 24 | 6 |
| 1 | 15 | 12 |
| 2 | 13.5 | 13.416 407 864 998 738 178 455 042... |
| 3 | 13.458 203 932 499 369 089 227 521... | 13.458 139 030 990 984 877 207 090... |
| 4 | 13.458 171 481 745 176 983 217 305... | 13.458 171 481 706 053 858 316 334... |
| 5 | 13.458 171 481 725 615 420 766 820... | 13.458 171 481 725 615 420 766 806... |
The number of digits in which an and gn agree (underlined) approximately doubles with each iteration. The arithmetic–geometric mean of 24 and 6 is the common limit of these two sequences, which is approximately 13.4581714817256154207668131569743992430538388544.[2]
History
[edit | edit source]The first algorithm based on this sequence pair appeared in the works of Joseph-Louis Lagrange. Its properties were further analyzed by Carl Friedrich Gauss.[1]
Properties
[edit | edit source]Both the geometric mean and arithmetic mean of two positive numbers x and y are between the two numbers. (They are strictly between when x ≠ y.) The geometric mean of two positive numbers is never greater than the arithmetic mean.[3] So the geometric means are an increasing sequence g0 ≤ g1 ≤ g2 ≤ ...; the arithmetic means are a decreasing sequence a0 ≥ a1 ≥ a2 ≥ ...; and gn ≤ M(x, y) ≤ an for any n. These are strict inequalities if x ≠ y.
M(x, y) is thus a number between x and y; it is also between the geometric and arithmetic mean of x and y.
If r ≥ 0 then M(rx, ry) = r M(x, y).
There is an integral-form expression for M(x, y):[4]where K(k) is the complete elliptic integral of the first kind:Since the arithmetic–geometric process converges so quickly, it provides an efficient way to compute elliptic integrals, which are used, for example, in elliptic filter design.[5]
The arithmetic–geometric mean is connected to the Jacobi theta function by[6]which upon setting gives
Related concepts
[edit | edit source]The reciprocal of the arithmetic–geometric mean of 1 and the square root of 2 is Gauss's constant.In 1799, Gauss proved[note 1] thatwhere is the lemniscate constant.
In 1941, (and hence ) was proved transcendental by Theodor Schneider.[note 2][7][8] The set is algebraically independent over ,[9][10] but the set (where the prime denotes the derivative with respect to the second variable) is not algebraically independent over . In fact,[11]The geometric–harmonic mean GH can be calculated using analogous sequences of geometric and harmonic means, and in fact GH(x, y) = 1/M(1/x, 1/y) = xy/M(x, y).[12]
The arithmetic–harmonic mean is equivalent to the geometric mean.
The arithmetic–geometric mean can be used to compute – among others – logarithms, complete and incomplete elliptic integrals of the first and second kind,[13] and Jacobi elliptic functions.[14]
Proof of existence
[edit | edit source]The inequality of arithmetic and geometric means implies thatand thusthat is, the sequence gn is nondecreasing and bounded above by the larger of x and y. By the monotone convergence theorem, the sequence is convergent, so there exists a g such that:However, we can also see that: and so:
Proof of the integral-form expression
[edit | edit source]This proof is given by Gauss.[1] Let
Changing the variable of integration to , where
This yields
gives
Thus, we have
The last equality comes from observing that .
Finally, we obtain the desired result
Applications
[edit | edit source]The number π
[edit | edit source]According to the Gauss–Legendre algorithm,[15]
where
with and , which can be computed without loss of precision using
Complete elliptic integral K(sinα)
[edit | edit source]Taking and yields the AGM
where K(k) is a complete elliptic integral of the first kind:
That is to say that this quarter period may be efficiently computed through the AGM,
Other applications
[edit | edit source]Using this property of the AGM along with the ascending transformations of John Landen,[16] Richard P. Brent[17] suggested the first AGM algorithms for the fast evaluation of elementary transcendental functions (ex, cos x, sin x). Subsequently, many authors went on to study the use of the AGM algorithms.[18]
See also
[edit | edit source]References
[edit | edit source]Notes
[edit | edit source]- ^ By 1799, Gauss had two proofs of the theorem, but neither of them was rigorous from the modern point of view.
- ^ In particular, he proved that the beta function is transcendental for all such that . The fact that is transcendental follows from
Citations
[edit | edit source]- ^ a b c d Lua error in Module:Citation/CS1/Configuration at line 2172: attempt to index field '?' (a nil value).
- ^ agm(24, 6) at Wolfram Alpha
- ^ Lua error in Module:Citation/CS1/Configuration at line 2172: attempt to index field '?' (a nil value).
- ^ Lua error in Module:Citation/CS1/Configuration at line 2172: attempt to index field '?' (a nil value)..
- ^ Lua error in Module:Citation/CS1/Configuration at line 2172: attempt to index field '?' (a nil value).
- ^ Lua error in Module:Citation/CS1/Configuration at line 2172: attempt to index field '?' (a nil value). pages 35, 40
- ^ Lua error in Module:Citation/CS1/Configuration at line 2172: attempt to index field '?' (a nil value).
- ^ Lua error in Module:Citation/CS1/Configuration at line 2172: attempt to index field '?' (a nil value).
- ^ G. V. Choodnovsky: Algebraic independence of constants connected with the functions of analysis, Notices of the AMS 22, 1975, p. A-486
- ^ G. V. Chudnovsky: Contributions to The Theory of Transcendental Numbers, American Mathematical Society, 1984, p. 6
- ^ Lua error in Module:Citation/CS1/Configuration at line 2172: attempt to index field '?' (a nil value). p. 45
- ^ Lua error in Module:Citation/CS1/Configuration at line 2172: attempt to index field '?' (a nil value).
- ^ Lua error in Module:Citation/CS1/Configuration at line 2172: attempt to index field '?' (a nil value).
- ^ Lua error in Module:Citation/CS1/Configuration at line 2172: attempt to index field '?' (a nil value).
- ^ Lua error in Module:Citation/CS1/Configuration at line 2172: attempt to index field '?' (a nil value).
- ^ Lua error in Module:Citation/CS1/Configuration at line 2172: attempt to index field '?' (a nil value).
- ^ Lua error in Module:Citation/CS1/Configuration at line 2172: attempt to index field '?' (a nil value).
- ^ Lua error in Module:Citation/CS1/Configuration at line 2172: attempt to index field '?' (a nil value).
Sources
[edit | edit source]- Lua error in Module:Citation/CS1/Configuration at line 2172: attempt to index field '?' (a nil value).
- Lua error in Module:Citation/CS1/Configuration at line 2172: attempt to index field '?' (a nil value).
- Lua error in Module:Citation/CS1/Configuration at line 2172: attempt to index field '?' (a nil value).