Gauss-Legendre algorithm:
The validity of the above algorithm can be seen as a consequence of the following fact:
Proof of this formula: It will follows from the relation between Arithmetic-Geometric mean and the elliptic integrals. In fact, it it closely related to Legendre relation between elliptic integrals of first and second kind.
Details:
- Arithmetic-Geometric Mean:
The convergence is very fast- It’s a quadratic convergence
Consider
We see
2. AGM and Elliptic Integrals (First kind):
Proof: The integral can be seen to be invariant under the AM, GM transformation
That is
Hence it should be equal to the quantity obtained by setting both coordinates equal to the limit
(Invariance): Change of variables
gives
And it’s easy to see that
Therefore
Unsymmetric Form of the elliptic integral:
The two forms are related by
The AGM relation looks like
3. Elliptic Integrals of the second kind:
4. Legendre Identity is a relation between first and second elliptic integrals which says:
if and
satisfy
, then we have
To prove this identity, differentiate with respect to
and show that it is zero when
5. AGM iterations and the elliptic integrals:
First integral is invariant
as we have seen before.
Second integral satisfies
Let
Iterating this formula gives
Proof: Introduce
Note that
We can check that
Thus we get
Iterating it
Therefore
Final proof of the formula for :
Legendre identity witj gives
We have from before that
But we have
Hence
Miscellaneous formulae:
Arc length of lemniscate is given by