Easy Proof of Three Recursive $\pi$-Algorithms -- Einfacher Beweis dreier rekursiver $\pi$-Algorithmen
Lorenz Milla

TL;DR
This paper provides elementary algebra and calculus proofs demonstrating that Borwein's quartic algorithm and the Brent-Salamin algorithm both converge to pi, with the former being more iteration-efficient and having quartic convergence.
Contribution
It offers new elementary algebra and calculus proofs establishing the equivalence, convergence, and convergence rates of Borwein's and Brent-Salamin pi algorithms.
Findings
Borwein's quartic algorithm matches Brent-Salamin's output with fewer iterations.
Brent-Salamin algorithm converges to pi using integral calculus.
Borwein's algorithm exhibits quartic convergence, faster than quadratic.
Abstract
This paper consists of three independent parts: First we use only elementary algebra to prove that the quartic algorithm of the Borwein brothers has exactly the same output as the Brent-Salamin algorithm, but that the latter needs twice as many iterations. Second we use integral calculus to prove that the Brent-Salamin algorithm approximates . Combining these results proves that the Borwein brothers' quartic algorithm also approximates . Third, we prove the quadratic convergence of the Brent-Salamin algorithm, which also proves the quartic convergence of Borwein's algorithm. -- -- Dieses Paper besteht aus drei unabh\"angigen Teilen: Erstens beweisen wir mit elementarer Algebra, dass der Borwein-Algorithmus vierter Ordnung die gleichen Ergebnisse liefert wie der Brent-Salamin-Algorithmus, wobei letzterer doppelt so viele Iterationen ben\"otigt. Zweitens beweisen wir mit…
Peer Reviews
No public reviews on file for this paper yet. If you reviewed it on a platform where reviews are public (OpenReview, ICLR, NeurIPS, ICML), you can paste yours below so the community can read it here.
Videos
No videos yet. Explain this paper in a talk, walkthrough, or lecture? Add one.
Taxonomy
TopicsAdvanced Algebra and Logic · Approximation Theory and Sequence Spaces · Rings, Modules, and Algebras
\setlength
-12.08mm\setlength-17.08mm
defi]Theorem
Easy Proof of Three Recursive -Algorithms
Einfacher Beweis dreier rekursiver -Algorithmen
Lorenz Milla, August 2019
Abstract. This paper consists of three independent parts:
First we use only elementary algebra to prove that the quartic algorithm of the Borwein brothers has exactly the same output as the Brent-Salamin algorithm, but that the latter needs twice as many iterations.
Second we use integral calculus to prove that the Brent-Salamin algorithm approximates . Combining these results proves that the Borwein brothers’ quartic algorithm also approximates .
Third, we prove the quadratic convergence of the Brent-Salamin algorithm, which also proves the quartic convergence of Borwein’s algorithm.
English version: pp. Easy Proof of Three Recursive -Algorithms Einfacher Beweis dreier rekursiver -Algorithmen–3.2
Zusammenfassung. Dieses Paper besteht aus drei unabhängigen Teilen:
Erstens beweisen wir mit elementarer Algebra, dass der Borwein-Algorithmus vierter Ordnung die gleichen Ergebnisse liefert wie der Brent-Salamin-Algorithmus, wobei letzterer doppelt so viele Iterationen benötigt.
Zweitens beweisen wir mit Integralrechnung, dass der Brent-Salamin-Algo-rithmus gegen konvergiert. Hieraus folgt, dass der Borwein-Algorithmus vierter Ordnung ebenfalls gegen konvergiert.
Drittens beweisen wir die quadratische Konvergenz des Brent-Salamin-Algo-rithmus und somit auch die quartische Konvergenz des Borwein-Algorithmus.
Deutsche Version: S. Easy Proof of Three Recursive -Algorithms Einfacher Beweis dreier rekursiver -Algorithmen–3.2
Introduction: The Algorithms
This paper is about the following three recursive -algorithms:
We prove that these three algorithms produce the same approximations of , where the number of correct digits is being doubled or quadrupled with each iteration.
These results have been proven before, but we elaborate all intermediate calculations and we use only elementary algebra and integral calculus.
Our proof consists of three independent chapters:
1**. Proof of Equivalence of the Algorithms 1**
We prove that the algorithms have the same outputs: and .
2**. Proof of the Brent-Salamin Algorithm 2**
We prove that the output of Brent-Salamin converges to as .
3**. Proof of Brent-Salamin’s Quadratic Convergence 3**
We prove the quadratic convergence of : .Here denotes the limit of .
1. Proof of Equivalence of the Algorithms
We call two algorithms “equivalent” if they produce the same outputs. In this chapter we will prove that the three algorithms on p. 2 are equivalent. More precisely:
{theo}
For the outputs of the three algorithms on p. 1, where
- •
is the output of the Brent-Salamin Alg. 1,
- •
is the output of the Borweins’ quadratic Alg. 2,
- •
is the output of the Borweins’ fourth order Alg. 3,
it holds:
[TABLE]
thus these algorithms produce the same sequence of outputs if the outputs are calculated exactly.
Proof.
This has been proven by Brent [1] who used elliptic modular functions and by Guillera [2] who used a theorem of Gauss, but we will need only elementary algebra for the proof of in Prop. 1.2 and for the proof of in Prop. 1.3. ∎
Remark 1.1**.**
When the computations are done using floating-point or interval arithmetic, the initial values and the iterations can only be done with finite precision. This produces rounding errors which propagate differently in the three algorithms. The outputs of the algorithms thus differ in the last decimals. To compute decimals of correctly, one has to compute all initial and intermediate values to some extended precision (e.g. to decimals), and the additional decimals have to be cut off in the end.
Proposition 1.2**.**
For the sequences defined in the Brent-Salamin Alg. 1 and the Borweins’ Alg. 2 on p. 1 it holds and . In particular it holds
[TABLE]
thus these two algorithms produce the same sequence of outputs.
Proof.
We set and and prove by induction that it holds and :
- •
First we prove and :
[TABLE]
- •
Now we prove and using the induction hypothesis (which states and ):
[TABLE]
Using the induction hypothesis this yields :
[TABLE]
From we obtain
[TABLE]
This yields
[TABLE]
Using we get:
[TABLE]
Here we replace by and obtain
[TABLE]
But we already proved . Thus the induction hypothesis implies:
[TABLE]
Here we recognize the definition of , thus we have proven .
This proves for all , thus the two algorithms produce the same sequence of outputs. ∎
Proposition 1.3**.**
For the sequences defined in the Borweins’ Alg. 2 and 3 on p. 2 it holds and . In particular it holds
[TABLE]
thus one iteration of Alg. 3 is equivalent to two iterations of Alg. 2.
Proof.
We set and and prove by induction that it holds and :
- •
First we observe that . Then it holds , because .
- •
Now we prove and using the induction hypothesis (which states and ):
From we get and thus
[TABLE]
Next, yields and . This implies:
[TABLE]
Thus we have proven using the induction hypothesis in the last step. It remains to prove :
From the definition of in Alg. 2 we obtain
[TABLE]
Putting this representation of into the one of yields:
[TABLE]
Using and we obtain:
[TABLE]
Here we use the induction hypothesis :
[TABLE]
Thus we have proven that holds for all , thus that Alg. 3 produces every second output of Alg. 2. ∎
Proof of Thm. 1.
In Prop. 1.2 we proved and in Prop. 1.3 we proved – thus both statements from Thm. 1 are proven, and the algorithms are equivalent. ∎
Remark 1.4**.**
The first outputs of the three equivalent algorithms are:
[TABLE]
2. Proof of the Brent-Salamin Algorithm
In this chapter we prove that the Brent Salamin algorithm converges to . This proof elaborates [3] and uses only integral calculus like integration by parts or by substitution (also: two-dimensional substitution).
{theo}
It holds the following formula due to Gauß (1809), Brent (1976) and Salamin (1976):
[TABLE]
Here, denotes the arithmetic-geometric mean (i.e. the common limit of and from the Brent-Salamin algorithm on p. 1). In particular, the sequence
[TABLE]
of the Brent-Salamin algorithm on p. 1 converges to .
Proof.
First we generalize initial values of the Brent-Salamin algorithm to
[TABLE]
Later (from Prop. 2.9 onwards) we will use and . On p. 2 we will continue the proof of Thm. 2, but first we proof some auxiliary propositions: ∎
Proposition 2.1**.**
The geometric mean and the arithmetic mean of two positive real numbers satisfy:
[TABLE]
Proof.
From we deduce:
[TABLE]
This yields and proves that the geometric mean is less than the arithmetic mean . ∎
Proposition 2.2**.**
The sequences and of the Brent-Salamin algorithm 1 converge to a common limit which we call . The convergence of and of is strictly monotonic and it holds .
Proof.
Prop. 2.1 tells that holds for all . This implies the strict monotonicity of and . Both sequences are bounded by and thus convergent. For it holds:
[TABLE]
This proves that converges to zero and that and have the same limit. ∎
Proposition 2.3**.**
The value of
[TABLE]
is constant on the whole AGM sequence, i.e. it holds for all .
Proof.
First we substitute . Then yields and . Further, it holds , thus . This shows that the substitution yields the following representation of :
[TABLE]
Now we substitute . This yields and t=x\mathbin{\vbox{\hbox{\oalign{\hfil\scriptstyle+\scriptscriptstyle({-})\cr}}}}\sqrt{x^{2}+ab} (since ). Thus it holds and:
[TABLE]
Here we have denoted by (remember ). About it holds:
[TABLE]
This yields:
[TABLE]
Here we use the fact that the integrand is even, thus yields :
[TABLE]
Now we have proven that for any it holds . By induction this yields for all . ∎
Proposition 2.4**.**
Let be the integral from Prop. 2.3. Then it holds:
[TABLE]
Proof.
With , Prop. 2.2 tells that and converge to . If we interchange the limit and the integration, Prop. 2.3 yields:
[TABLE]
∎
Proposition 2.5**.**
If we denote
[TABLE]
then it holds and .
Proof.
To prove the first equation, we substitute . Then it holds and , thus
[TABLE]
With we deduce the first equation:
[TABLE]
Next we prove an alternative representation of , similar to the one of in eq. (2.2): again we substitute and obtain
[TABLE]
Then we calculate by interchanging and :
[TABLE]
From we deduce:
[TABLE]
And, as with , we substitute :
[TABLE]
where again it holds and thus:
[TABLE]
In this integral we recognize the representation (2.3) of . This yields:
[TABLE]
Thus we have also proven the second equation. ∎
Proposition 2.6**.**
Denoting it holds:
[TABLE]
Proof.
From we deduce (using both equations of Prop. 2.5):
[TABLE]
With the definition of this reads:
[TABLE]
Thus it holds for all :
[TABLE]
Here we multiply with and use from Prop. 2.3:
[TABLE]
Now we add these equations for and obtain:
[TABLE]
In the second sum we shift the index :
[TABLE]
This shows that the left side of (2.4) is a telescoping series, thus nearly all terms cancel each other out:
[TABLE]
Here we estimate and use from Prop. 2.2:
[TABLE]
Thus the second term of (2.5) tends to [math] (for ) and we obtain:
[TABLE]
Finally we use from Prop. 2.5 and obtain:
[TABLE]
∎
Proposition 2.7**.**
The Gamma function satisfies for :
[TABLE]
Proof.
We prove the functional equation integrating by parts:
[TABLE]
To calculate we substitute and obtain and :
[TABLE]
We square this integral to obtain a twodimensional integral:
[TABLE]
Now we use polar coordinates and :
[TABLE]
Thus the value of is also proven. ∎
Proposition 2.8**.**
The Beta function satisfies for and :
[TABLE]
Proof.
We start with :
[TABLE]
The substitution of or yields and . The Jacobian matrix of this substitution is
[TABLE]
This yields:
[TABLE]
A final division by proves the equation of Prop. 2.8. ∎
Proposition 2.9**.**
It holds
[TABLE]
Proof.
First, yields:
[TABLE]
Then we substitute with and thus :
[TABLE]
Next we substitute with to obtain the Beta function from Prop. 2.8:
[TABLE]
Now we replace the Beta function by Gamma functions as in Prop. 2.8 and use the properties of the Gamma function from Prop. 2.7:
[TABLE]
∎
Proof of Thm. 2.
The integrals and satisfy:
[TABLE]
This implies and and then with Prop. 2.9:
[TABLE]
Prop. 2.6 yields
[TABLE]
Here we use and , thus :
[TABLE]
And now Prop. 2.4 proves:
[TABLE]
Solving this for proves the Gaussian formula:
[TABLE]
The numerator of is which converges to (cf. Prop. 2.2), thus the sequence converges to . ∎
Remark 2.10**.**
Now we have proven that the Brent-Salamin algorithm approximates . We have already proven the equivalence of the three algorithms, thus the two algorithms by the Borwein brothers also approximate .
3. Proof of Brent-Salamin’s Quadratic Convergence
This chapter does not use the fact that the Brent-Salamin sequence converges to . We only use the monotonic convergence of and from Prop. 2.2 and use the symbol as a placeholder for the limit of this sequence .
{theo} The sequence of the Brent-Salamin algorithm converges quadratically to its limit which we denote with the symbol :
[TABLE]
In particular, the number of significant digits is approximately doubled with each iteration, but one has to do all calculations with the desired accuracy.
Proof.
First we denote the (de)nominator of the Brent-Salamin sequence with and . In Prop. 2.2 we proved that , thus it holds:
[TABLE]
Now we denote the differences with
[TABLE]
In Prop. 2.2 we proved that holds for all . This yields:
[TABLE]
Since the summation of contains only positive terms, it holds . Finally we have proven in Prop. 2.2 that , thus we can use the geometric series to estimate (by setting the summation index to ):
[TABLE]
Thus we have proven:
[TABLE]
The difference between and its limit is:
[TABLE]
Here we use and to obtain:
[TABLE]
Now, eq. (3.1) yields:
[TABLE]
In the proof of Prop. 2.2 we proved . Thus it holds:
[TABLE]
Here we see the quadratic convergence:
[TABLE]
Using first (3.2) and then (3.3) yields:
[TABLE]
Here we use (Prop. 2.2) and and to obtain:
[TABLE]
This proves the quadratic convergence of . ∎
Remark 3.1**.**
Using , Thm. 3 yields . Thus is closer to than the current world record of digits (March 2019).
Remark 3.2**.**
For , it even holds . This follows from the stronger error bound which is proven in [1, eq. (20)].
Einleitung: Die Algorithmen
Dieses Paper handelt von den folgenden drei rekursiven -Algorithmen:
Wir beweisen, dass diese drei Algorithmen die gleichen Näherungen der Zahl berechnen, wobei die Anzahl korrekter -Dezimalen mit jeder Iteration ungefähr verdoppelt bzw. vervierfacht wird.
Diese Resultate wurden bereits anderswo bewiesen, aber wir führen alle Rechnungen explizit aus und wir verwenden nur elementare Algebra und Integralrechnung.
Unser Beweis besteht aus drei unabhängigen Kapiteln:
1**. Beweis der Äquivalenz der Algorithmen 1**
Wir beweisen, dass die drei Algorithmen die gleiche Ausgabe liefern, also dass und gilt.
2**. Beweis des Brent-Salamin-Algorithmus 2**
Wir beweisen, dass die Ausgabe des Brent-Salamin-Algorithmus gegen konvergiert.
3**. Beweis der quadratischen Konvergenz 3**
Wir beweisen, dass quadratisch konvergiert: . Hierbei bezeichnet den Grenzwert von .
1. Beweis der Äquivalenz der Algorithmen
Zwei Algorithmen, die exakt die gleichen Ergebnisse ausgeben, nennen wir äquivalent. Wir werden beweisen, dass die drei Algorithmen von S. 1 äquivalent sind. Genauer:
{theo}
Für die Ausgaben der drei Algorithmen auf S. 1, wobei
- •
die Ausgabe des Brent-Salamin Alg. 1 bezeichne,
- •
die Ausgabe des quadratischen Borwein-Alg. 2 bezeichne und
- •
die Ausgabe des quartischen Borwein-Alg. 3 bezeichne,
gilt:
[TABLE]
d.h. dass diese Algorithmen genau die gleichen Ergebnisse liefern, falls die Ergebnisse exakt berechnet werden.
Beweis.
Das wurde bereits von Brent [1] mit Hilfe elliptischer Modulfunktionen bewiesen und von Guillera [2], der eine Formel von Gauss verwendet. Wir benötigen nur elementare Algebra für den Beweis von in Satz 1.2 und von in Satz 1.3. ∎
Bemerkung 1.1**.**
Bei einer tatsächlichen Implementierung der Algorithmen mit Hilfe von Gleitkomma- oder Intervallarithmetik kann man die Startwerte und die Iterationen nur mit einer endlichen Genauigkeit berechnen. Hier entstehen Rundungsfehler, die sich bei den verschiedenen Algorithmen unterschiedlich fortpflanzen. Die Ausgaben der Algorithmen unterscheiden sich also in den letzten Dezimalen. Um Dezimalen von korrekt zu berechnen, muss man von Anfang an alle Zwischenergebnisse auf einige zusätzliche Dezimalen berechnen (z.B. auf Dezimalen), die man am Ende wieder abschneidet.
Satz 1.2**.**
Für die Größen des Brent-Salamin-Algorithmus 1 und des Borwein-Alg. 2 auf S. 1 gilt und . Insbesondere gilt
[TABLE]
d.h. diese beiden Algorithmen liefern genau die gleichen Ergebnisse.
Beweis.
Wir setzen und und beweisen dann per vollständiger Induktion, dass und gilt:
- •
Für den Induktionsanfang beweisen wir und :
[TABLE]
- •
Beweise jetzt unter Verwendung der Induktionsvoraussetzungen ( und ), dass und gilt:
[TABLE]
Hieraus folgt nun aufgrund der Induktionsvoraussetzung:
[TABLE]
Schließlich gilt und somit
[TABLE]
Das liefert
[TABLE]
Mit folgt:
[TABLE]
Hier ersetzen wir durch und erhalten
[TABLE]
Aber wir haben bereits bewiesen und nach Induktionsvoraussetzung gilt :
[TABLE]
Hier erkennen wir die Definition von , also ist auch bewiesen.
Somit haben wir für alle bewiesen, dass gilt, d.h. dass die beiden Algorithmen genau die gleichen Ergebnisse liefern. ∎
Satz 1.3**.**
Für die Größen der Algorithmen 2 und 3 auf Seite 2 gilt und . Insbesondere gilt
[TABLE]
d.h. eine Iteration des Algorithmus 3 entspricht genau zwei Iterationen des Algorithmus 2.
Beweis.
Wir setzen und und beweisen dann per vollständiger Induktion, dass und gilt:
- •
Für den Induktionsanfang erkennen wir zunächst . Außerdem gilt , also folgt .
- •
Beweise jetzt unter Verwendung der Induktionsvoraussetzungen ( und ), dass und gilt:
Aus folgt und somit
[TABLE]
Aus folgt und . Hieraus folgt:
[TABLE]
Somit ist bewiesen, dass ist, wobei wir im letzten Schritt die Induktionsvoraussetzung benutzt haben. Wir müssen nun noch beweisen:
Aus der Definition von in Algorithmus 2 folgt
[TABLE]
Wenn wir diese Darstellung von in die für einsetzen erhalten wir:
[TABLE]
Mit und folgt:
[TABLE]
Hier nutzen wir die Induktionsvoraussetzung :
[TABLE]
Somit haben wir für alle bewiesen, dass gilt, d.h. dass also Algorithmus 3 genau jedes zweite Ergebnis von Algorithmus 2 produziert. ∎
Beweis des Thm. 1.
In Satz 1.2 haben wir bewiesen und in Satz 1.3 haben wir bewiesen – somit sind beide Aussagen des Thm. 1 bewiesen, und die drei Algorithmen sind äquivalent. ∎
Bemerkung 1.4**.**
Die ersten Ausgaben der drei äquivalenten Algorithmen sind:
[TABLE]
2. Beweis des Brent-Salamin-Algorithmus
In diesem Kapitel beweisen wir, dass der Brent-Salamin-Algorithmus gegen konvergiert. Der vorliegende Beweis arbeitet [3] aus und setzt nur Integrationstechniken wie partielle Integration und Integration durch Substitution (auch zweidimensional – also den Transformationssatz) voraus.
{theo}
Es gilt die Formel von Gauß (1809), Brent (1976) und Salamin (1976)
[TABLE]
wobei das arithmetisch-geometrische Mittel (also den gemeinsamen Grenzwert der Folgen und des Brent-Salamin-Algorithmus auf S. 1) bezeichnet. Insbesondere konvergiert die Folge
[TABLE]
des Brent-Salamin-Algorithmus auf S. 1 gegen .
Beweis.
Wir verallgemeinern den Brent-Salamin-Algorithmus zunächst auf die Startwerte
[TABLE]
Später (ab Satz 2.9) werden wir und setzen. Auf Seite 2 wird der Beweis von Thm. 2 fortgesetzt, zunächst beweisen wir einige Hilfssätze: ∎
Satz 2.1**.**
Für das geometrische Mittel und das arithmetische Mittel zweier positiver reeller Zahlen gilt:
[TABLE]
Beweis.
Zunächst gilt (weil n.V. ist):
[TABLE]
Hieraus folgt und somit, dass das geometrische Mittel kleiner als das arithmetische Mittel ist. ∎
Satz 2.2**.**
Die Folgen und des Brent-Salamin-Algorithmus 1 konvergieren gegen einen gemeinsamen Grenzwert, den wir nennen. Die Konvergenz von und erfolgt streng monoton und es gilt .
Beweis.
Aus Satz 2.1 folgt, dass für alle gilt. Hieraus folgt die strenge Monotonie und .Beide Folgen sind durch beschränkt und somit konvergent. Für ihre Abweichung gilt:
[TABLE]
Hiermit ist bewiesen, dass gegen Null konvergiert, und dass und also gegen den selben Grenzwert konvergieren. ∎
Satz 2.3**.**
Das Integral
[TABLE]
bleibt konstant über die ganze AGM-Folge, d.h. es gilt für alle .
Beweis.
Wir führen zunächst die Substitution durch: Aus folgt dann und . Außerdem erhalten wir , also . Die genannte Substitution liefert also folgende alternative Darstellung von :
[TABLE]
Nun substituieren wir . Das führt auf und (weil ) auf t=x\mathbin{\vbox{\hbox{\oalign{\hfil\scriptstyle+\scriptscriptstyle({-})\cr}}}}\sqrt{x^{2}+ab}. Somit gilt , also:
[TABLE]
Hier haben wir zu zusammengefasst (beachte ). Für gilt:
[TABLE]
Für erhalten wir also:
[TABLE]
Hier nutzen wir, dass der Integrand eine gerade Funktion ist, weshalb in übergeht:
[TABLE]
Wir haben also für beliebige bewiesen, dass gilt. Per vollständiger Induktion folgt hieraus für alle . ∎
Satz 2.4**.**
Für das Integral aus Satz 2.3 gilt:
[TABLE]
Beweis.
Mit gilt nach Satz 2.2, dass und konvergieren. Vertauschen von Grenzwertbildung und Integration liefert dann mit Satz 2.3:
[TABLE]
∎
Satz 2.5**.**
Für das Integral
[TABLE]
gilt und .
Beweis.
Um die erste Gleichung zu beweisen, substituieren wir . Dann gilt und , also
[TABLE]
Schließlich folgt aus , dass gilt:
[TABLE]
Als Nächstes beweisen wir eine alternative Darstellung von . Genau wie bei in Gleichung (2.2) substituieren wir hierfür und erhalten:
[TABLE]
Dann bilden wir die gesuchte Differenz , wobei für den Ausdruck die Variablen und vertauscht werden:
[TABLE]
Hier gilt , also:
[TABLE]
Und genau wie bei substituieren wir nun :
[TABLE]
wobei wieder gilt, also:
[TABLE]
In diesem Integral erkennen wir die Darstellung (2.3) von . Es folgt:
[TABLE]
Somit ist auch die zweite Gleichung bewiesen. ∎
Satz 2.6**.**
Mit gilt:
[TABLE]
Beweis.
Zunächst gilt . Daraus folgt (unter Nutzung beider Gleichungen aus Satz 2.5):
[TABLE]
Mit der Definition der können wir das wie folgt abkürzen:
[TABLE]
Also gilt für alle :
[TABLE]
Hier multiplizieren wir noch mit und nutzen aus Satz 2.3:
[TABLE]
Nun summieren wir diese Gleichungen für und erhalten:
[TABLE]
In der zweiten Summe führen wir einen Indexshift durch:
[TABLE]
Somit erkennen wir, dass auf der linken Seite von (2.4) eine Teleskopsumme steht, in der sich fast alle Summanden gegenseitig auslöschen:
[TABLE]
Hier schätzen wir noch und nutzen aus Satz 2.2:
[TABLE]
Also geht der zweite Ausdruck aus (2.5) gegen Null (für ) und wir erhalten:
[TABLE]
Schließlich setzen wir noch aus Satz 2.5 ein und erhalten
[TABLE]
∎
Satz 2.7**.**
Für die Gamma-Funktion gilt für :
[TABLE]
Beweis.
Die Funktionalgleichung folgt durch partielle Integration:
[TABLE]
Für substituieren wir zunächst und erhalten und :
[TABLE]
Dieses Integral quadrieren wir, um auf ein zweidimensionales Integral zu kommen:
[TABLE]
Hier bietet sich ein Übergang zu Polarkoordinaten an, also und :
[TABLE]
Also ist auch der Wert bewiesen. ∎
Satz 2.8**.**
Für die Betafunktion gilt im Bereich und :
[TABLE]
Beweis.
Wir beginnen mit :
[TABLE]
Mit der Substitution bzw. gilt und . Die Jacobi-Matrix der Substitution ist
[TABLE]
Also gilt:
[TABLE]
Eine abschließende Division durch liefert die zu beweisende Gleichung. ∎
Satz 2.9**.**
Es gilt
[TABLE]
Beweis.
Zunächst gilt wegen :
[TABLE]
Dann substituieren wir , wobei und somit gilt:
[TABLE]
Schließlich substituieren wir mit , um auf die Betafunktion aus Satz 2.8 zu kommen:
[TABLE]
Jetzt ersetzen wir die Betafunktionen durch Gammafunktionen mit Satz 2.8 und verwenden dann die Eigenschaften der Gammafunktion aus Satz 2.7:
[TABLE]
∎
Beweis des Thm. 2.
Zunächst gilt für und ebenso für :
[TABLE]
Hieraus folgt und und dann mit Satz 2.9:
[TABLE]
Satz 2.6 liefert
[TABLE]
Hier setzen wir und ein, also :
[TABLE]
Nun verwenden wir Satz 2.4:
[TABLE]
Wenn wir diese Formel nach auflösen, erhalten wir die Gauß’sche Formel:
[TABLE]
Der Zähler der Folge ist und konvergiert (Satz 2.2) gegen, also konvergiert die Folge gegen . ∎
Bemerkung 2.10**.**
Nun haben wir bewiesen, dass der Brent-Salamin-Algorithmus gegen konvergiert. Wir haben bereits die Äquivalenz der drei Algorithmen bewiesen, also folgt dass auch die beiden Algorithmen der Borwein-Brüder gegen konvergieren.
3. Beweis der quadratischen Konvergenz
Dieses Kapitel setzt nicht voraus, dass die Brent-Salamin-Folge gegen konvergiert. Wir setzen nur die monotone Konvergenz von und aus Satz 2.2 voraus und verwenden als Platzhalter für den Grenzwert von .
{theo} Die Folge des Brent-Salamin-Algorithmus konvergiert quadratisch gegen ihren Grenzwert, den wir mit bezeichnen:
[TABLE]
Insbesondere wird die Anzahl gültiger Stellen mit jeder Iteration ungefähr verdoppelt, wobei man von Anfang an mit der gewünschten Zielgenauigkeit rechnen muss.
Beweis.
Zunächst benennen wir Zähler und Nenner der Brent-Salamin-Folge mit und . In Satz 2.2 haben wir bewiesen, dass gilt, also folgt:
[TABLE]
Wir bezeichnen jetzt die Abweichungen mit
[TABLE]
Weil für alle gilt (vgl. Satz 2.2) folgt
[TABLE]
Weiter werden bei nur positive Zahlen summiert, also gilt . Schließlich ist (vgl. Satz 2.2), also kann die Summe in mit der geometrischen Reihe abgeschätzt werden (setze hierfür den Summationsindex ):
[TABLE]
Insgesamt haben wir also bewiesen:
[TABLE]
Für die Abweichung zwischen dem Folgenglied und dem Grenzwert gilt:
[TABLE]
Weiter ist und , also gilt:
[TABLE]
Dann folgt mit (3.1):
[TABLE]
Im Beweis von Satz 2.2 haben wir bewiesen. Hieraus folgt:
[TABLE]
In dieser Zeile erkennen wir die quadratische Konvergenz:
[TABLE]
Hieraus folgt mit (3.2):
[TABLE]
Hier nutzen wir (Satz 2.2) bzw. und und erhalten:
[TABLE]
Somit ist die quadratische Konvergenz von gegen bewiesen. ∎
Bemerkung 3.1**.**
Mit folgt aus Thm. 3: . Insbesondere liegt näher an als der aktuelle Rekord von Dezimalen (März 2019).
Bemerkung 3.2**.**
Tatsächlich gilt sogar , was aus der in [1, Glg. (20)] bewiesenen Fehlerabschätzung von folgt.
Literatur
- [1]
Richard P. Brent.
The Borwein brothers, and the AGM, 2018.
https://arxiv.org/abs/1802.07558.
- [2]
Jesus Guillera.
Easy Proofs of Some Borwein Algorithms for , 2008.
https://arxiv.org/abs/0803.0991.
- [3]
Nick Lord.
Recent Calculations of : the Gauss-Salamin Algorithm.
The Mathematical Gazette, 76(476):231–242, 1992.
The reference list from the paper itself. Each links out to its DOI / PubMed record.
- 1[1] Richard P. Brent. The Borwein brothers, π 𝜋 \pi and the AGM, 2018. https://arxiv.org/abs/1802.07558 .
- 2[2] Jesus Guillera. Easy Proofs of Some Borwein Algorithms for π 𝜋 \pi , 2008. https://arxiv.org/abs/0803.0991 .
- 3[3] Nick Lord. Recent Calculations of π 𝜋 \pi : the Gauss-Salamin Algorithm. The Mathematical Gazette , 76(476):231–242, 1992. https://doi.org/10.2307/3619132 . · doi ↗
- 4[1] Richard P. Brent. The Borwein brothers, π 𝜋 \pi and the AGM, 2018. https://arxiv.org/abs/1802.07558 .
- 5[2] Jesus Guillera. Easy Proofs of Some Borwein Algorithms for π 𝜋 \pi , 2008. https://arxiv.org/abs/0803.0991 .
- 6[3] Nick Lord. Recent Calculations of π 𝜋 \pi : the Gauss-Salamin Algorithm. The Mathematical Gazette , 76(476):231–242, 1992. https://doi.org/10.2307/3619132 . · doi ↗
