산술기하평균함수(AGM)와 파이값의 계산
이 항목의 스프링노트 원문주소
개요
- 산술기하평균함수(AGM, arithmetic-geometric mean)을 활용하여 파이값을 빠르게 계산할 수 있는 알고리즘
타원적분
- 타원적분 항목 참조
타원적분에 대한 르장드르 항등식
- 르장드르 항등식
- 특별히 다음과 같은 관계가 성립함
- 타원적분 항목 참조
산술기하평균함수
-
양수 k가 주어졌을 때, 산술기하평균을 이용하여 다음과 같이 두 수열을 정의할 수 있다
,
,
,
- 두 수열
과
은 같은 수로 수렴한다
- 이 수렴값
를 이용하여 정의된 함수 M을 산술기하평균함수라 하자
렘니스케이트 곡선과 파이
-
렘니스케이트(lemniscate) 곡선과 타원적분 에서 다음을 알 수 있다
타원적분과 AGM의 관계
- 위의 렘니스케이트에 등장하는 공식 또는 란덴변환(Landen's transformation) 에 의해 다음이 성립함.
특별히,
-
AGM 수열과 타원적분
,
,
,
,
가우스-살라민 알고리즘
다음과 같이 수열 을 정의하자.
,
수열 은
로 수렴한다.
(증명)
,
,
로 두면,
즉,
이다.
따라서
■
-
수열
의 처음 여섯항을 계산한 결과
3.1405792505221682483113312689758233117734402375129
3.1415926462135422821493444319826957743144372233456
3.1415926535897932382795127748018639743812255048354
3.1415926535897932384626433832795028841971146782836
3.1415926535897932384626433832795028841971693993751
3.1415926535897932384626433832795028841971693993751
또다른 알고리즘
,
,
,
,
- 위에 정의된 수열
은 파이로 수렴하게 된다. 다음은 처음 여섯개의 항을 계산한 결과.
3.1426067539416226007907198236183018919713562462772
3.1415926609660442304977522351203396906792842568645
3.1415926535897932386457739917571417940347896238675
3.1415926535897932384626433832795028841972241204666
3.1415926535897932384626433832795028841971693993751
3.1415926535897932384626433832795028841971693993751
- 한번씩 계산할 때마다, 대략 두 배 정도 정확한 자리수
- 9번째까지 계산한다면, 1000자리 이상의 파이값을 계산
관련된 학부 과목과 미리 알고 있으면 좋은 것들
관련된 항목들
매스매티카 파일 및 계산 리소스
- https://docs.google.com/leaf?id=0B8XXo8Tve1cxNjc0NTM0ZGUtNWVmYS00YjFjLWE1OWMtZTVmMDkxNTI5OWRk&sort=name&layout=list&num=50
- http://www.wolframalpha.com/input/?i=
- The On-Line Encyclopedia of Integer Sequences
사전형태의 자료
- http://en.wikipedia.org/wiki/Arithmetic-geometric_mean
- http://en.wikipedia.org/wiki/Salamin-Brent_algorithm
관련도서
-
- Jonathan M. Borwein, Peter B. Borwein, 1998
관련논문
-
Multiple-precision zero-finding methods and the complexity of elementary function evaluation
- R. P. Brent, Analytic Computational Complexity (edited by J. F. Traub), Academic Press, New York, 1975, 151–176
-
The arithmetic-geometric mean of Gauss (pdf)
- D.A. Cox, Enseignement Math. 30 (1984) 275-330
-
Gauss and the arithmetic-geometric mean
- D.A. Cox, Notices Amer. Math. Soc. 32(2) (1985) 147-151
-
Gauss, Landen, Ramanujan, the Arithmetic-Geometric Mean, Ellipses, π, and the Ladies Diary
-
Ramanujan, Modular Equations, and Approximations to Pi or How to Compute One Billion Digits of Pi
-
Recent Calculations of π: The Gauss-Salamin Algorithm
-
-
The Arithmetic-Geometric Mean and Fast Computation of Elementary Functions
Comments (0)