Borwein's algorithm

In mathematics, Borwein's algorithm is an algorithm devised by Jonathan and Peter Borwein to calculate the value of 1/π. They devised several other algorithms. They published the book Pi and the AGM – A Study in Analytic Number Theory and Computational Complexity.[1]

Ramanujan–Sato series

These two are examples of a Ramanujan–Sato series. The related Chudnovsky algorithm uses a discriminant with class number 1.

Class number 2 (1989)

Start by setting

Then

Each additional term of the partial sum yields approximately 25 digits.

Class number 4 (1993)

Start by setting

Then

Each additional term of the series yields approximately 50 digits.

Iterative algorithms

Quadratic convergence (1984)

Start by setting[2]

Then iterate

Then pk converges quadratically to π; that is, each iteration approximately doubles the number of correct digits. The algorithm is not self-correcting; each iteration must be performed with the desired number of correct digits for π's final result.

Cubic convergence (1991)

Start by setting

Then iterate

Then ak converges cubically to 1/π; that is, each iteration approximately triples the number of correct digits.

Quartic convergence (1985)

Start by setting[3]

Then iterate

Then ak converges quartically against 1/π; that is, each iteration approximately quadruples the number of correct digits. The algorithm is not self-correcting; each iteration must be performed with the desired number of correct digits for π's final result.

One iteration of this algorithm is equivalent to two iterations of the Gauss–Legendre_algorithm. A proof of these algorithms can be found here:[4]

Quintic convergence

Start by setting

Then iterate

Then ak converges quintically to 1/π (that is, each iteration approximately quintuples the number of correct digits), and the following condition holds:

Nonic convergence

Start by setting

Then iterate

Then ak converges nonically to 1/π; that is, each iteration approximately multiplies the number of correct digits by nine.[5]

gollark: ``` CheatingYou agree that you will not attempt to "cheat" or bypass any site restrictions in any way. Cheating includes, but is not limited to: Attempts to force or trick users to click The People's eggs, hatchlings, or Comrades without their consent. Abuse of any unintended behaviors in the site’s code. Using browser addons, scripts, or other tools that modify pages on the site in order to give users of said addons an advantage over other users.```
gollark: It'd only be cheating if it gave me an actual advantage.
gollark: Whatever.
gollark: I went to Russia just this last week.
gollark: Site Discussion maybe...

See also

References

  1. Jonathan M. Borwein, Peter B. Borwein, Pi and the AGM – A Study in Analytic Number Theory and Computational Complexity, Wiley, New York, 1987. Many of their results are available in: Jorg Arndt, Christoph Haenel, Pi Unleashed, Springer, Berlin, 2001, ISBN 3-540-66572-2
  2. Arndt, Jörg; Haenel, Christoph (1998). π Unleashed. Springer-Verlag. p. 236. ISBN 3-540-66572-2.
  3. Mak, Ronald (2003). The Java Programmers Guide to Numerical Computation. Pearson Educational. p. 353. ISBN 0-13-046041-9.
  4. Milla, Lorenz (2019), Easy Proof of Three Recursive π-Algorithms, arXiv:1907.04110
  5. "Nonic Iterations". sfu.ca. Retrieved 13 December 2016.
This article is issued from Wikipedia. The text is licensed under Creative Commons - Attribution - Sharealike. Additional terms may apply for the media files.