arithmetic-geometric mean
If and are non-negative real numbers, we can form their arithmeticmean as well as their geometric mean
.This procedure can be repeated to form a sequence of arithmetic andgeometic means and .By the arithmetic-geometric means inequality we have (with equality holding only when ),hence these sequences converge to a number between and ,with the rate of convergence being superlinear.The arithmetic-geometric mean
of and is defined as this limit
The origin of the name is obvious from the construction. Alternative notationsfor are or .
The AGM lies between the arithmetic and geometricmeans of and ,
with equality holding only in case of equality . The AGM is also ahomogeneous function of degree , namely for . It is also symmetric .These properties are obvious from the construction.
The AGM can be used to numerically evaluate elliptic integrals of thefirst and second kinds. For example,
(1) |
where is the elliptic integral of the first kind as function ofthe modulus .
As a numerical method, the arithmetic-geometric mean has much to recommend it.By its nature, it automatically provides upper and lower bounds for theanswer, so one does not have to separately estimate error. To computethe arithmetic-geometric mean to a certain accuracy, we only need to carryout the computation until the difference between and is smallerthan the desired accuracy.
Because convergence is superlinear, only a few iterations are necessarry toobtain the answer. For instance, if we compute with less thana billion, we already obtain at least fifteen-place accuracy after eightiterations, as the following computation of shows:
The fact that relatively few iterations are necessarry to obtain a highlyaccurate result also means that one does not have to worry much about thecumulative effect of roundoff errors in the various steps of the computation.