fbpx
维基百科

Π的莱布尼茨公式

数学领域,π的莱布尼茨公式说明

右边的展式是一个无穷级数,被称为莱布尼茨级数,这个级数收敛。它通常也被称为格雷戈里-莱布尼茨级数用以纪念莱布尼茨同时代的天文学家兼数学家詹姆斯·格雷戈里。使用求和符号可记作:

证明 编辑

考虑下面的幾何數列

 

对等式两边积分可得到反正切幂级数

 

x = 1 代入,便得莱布尼兹公式(1的反正切是π ⁄ 4)。这种推理产生的一个问题是1不在幂级数的收敛半径以内。因此,需要额外论证当x = 1时级数收敛到tan−1(1)。一种方法是利用交替级数判别法,然后使用阿贝尔定理证明级数收敛到tan−1(1)。然而,也可以用一个完全初等的证明。

初等证明 编辑

考虑如下分解

 

对于|x| < 1,右侧的分式是余下的几何级数的和。然而,上面的方程并没有包含无穷级数,并且对任何实数x成立。上式两端从0到1积分可得:

 

 时,除积分项以外的项收敛到莱布尼茨级数。同时,积分项收敛到0:

  当  

这便证明了莱布尼茨公式。

格点与数论证明 编辑

通过以 为圆心, 为半径的圆上及圆内格点(即横坐标与纵坐标皆为整数)个数计算公式来得出,在这里先考虑费马平方和定理:一个奇素数能表示成两个平方数之和当且仅当该素数模4余1,并且不考虑符号与交换律下其形式唯一(由于必为一奇一偶,因此不考虑符号但考虑交换律下必然为两种形式),比如 可以得出 ,而 因此无法分解成两个平方和形式。

现在对于所有正整数 ,有其唯一的素因数分解形式:

 

其中 为互不相同的模4余1的素数, 为互不相同的模4余3素数。

  • 如果 只要其中一个为奇数,则正整数 不存在表示成两个平方和的形式(比如 ,3的次数为1,因此不能表示成两平方和);
  • 而当 全为偶数时,此时能表示成平方数形式的数量等于 (不考虑符号但考虑交换律的情况,比如 ,其中5与13次数均为1,因此有 ,即 );
  • 2的幂次 不影响 表示两平方和形式的个数,比如不管 是多少, 能表示成两个平方和形式都是4种。

接下来引入狄利克雷特征函数,定义 ,因此为积性函数,满足 

  • 对于模4余1的素数 以及自然数 ,总有 ,因此 
  • 对于模4余3的素数 以及自然数 ,则有 ,因此 
  • 对于2以及自然数 ,当  ,即 ;当 时总有 ,因此 

由于 ,而这些结果正好与上述性质相吻合,因此 表示成两个平方和形式的数量可以由其所有因数 相应的 之和 来表示,比如 ,于是相应地有 

小于等于 能被正整数 整除的正整数有 个,因此对于半径为 圆上及圆内格点数总和为:

 

其中 为不超过 的最大奇数,再由圆面积为 ,当 时,两者比值极限得 [1]

参考文献 编辑

  • Jonathan Borwein, David Bailey & Roland Girgensohn, Experimentation in Mathematics - Computational Paths to Discovery, A K Peters 2003, ISBN 1-56881-136-5, pages 28–30.
  1. ^ . [2022-04-06]. (原始内容存档于2022-04-06). 

外部链接 编辑

  • Implementation of the Leibniz formula for TI Basic (页面存档备份,存于互联网档案馆
  • Leibniz Formula in C, x86 FPU Assembly, x86-64 SSE3 Assembly, and DEC Alpha Assembly (页面存档备份,存于互联网档案馆

Π的莱布尼茨公式, 在数学领域, π的莱布尼茨公式说明, displaystyle, frac, frac, frac, frac, frac, cdots, 右边的展式是一个无穷级数, 被称为莱布尼茨级数, 这个级数收敛到π, displaystyle, frac, 它通常也被称为格雷戈里, 莱布尼茨级数用以纪念莱布尼茨同时代的天文学家兼数学家詹姆斯, 格雷戈里, 使用求和符号可记作, displaystyle, frac, infty, frac, 目录, 证明, 初等证明, 格点与数论证明, 参考文献, 外部. 在数学领域 p的莱布尼茨公式说明 p 4 1 1 3 1 5 1 7 1 9 displaystyle frac pi 4 1 frac 1 3 frac 1 5 frac 1 7 frac 1 9 cdots 右边的展式是一个无穷级数 被称为莱布尼茨级数 这个级数收敛到p 4 displaystyle frac pi 4 它通常也被称为格雷戈里 莱布尼茨级数用以纪念莱布尼茨同时代的天文学家兼数学家詹姆斯 格雷戈里 使用求和符号可记作 p 4 n 0 1 n 2 n 1 displaystyle frac pi 4 sum n 0 infty frac 1 n 2n 1 目录 1 证明 1 1 初等证明 1 2 格点与数论证明 2 参考文献 3 外部链接证明 编辑考虑下面的幾何數列 1 x 2 x 4 x 6 x 8 1 1 x 2 x lt 1 displaystyle 1 x 2 x 4 x 6 x 8 cdots frac 1 1 x 2 qquad x lt 1 nbsp 对等式两边积分可得到反正切的幂级数 x x 3 3 x 5 5 x 7 7 x 9 9 tan 1 x x lt 1 displaystyle x frac x 3 3 frac x 5 5 frac x 7 7 frac x 9 9 cdots tan 1 x qquad x lt 1 nbsp 将x 1 代入 便得莱布尼兹公式 1的反正切是p 4 这种推理产生的一个问题是1不在幂级数的收敛半径以内 因此 需要额外论证当x 1时级数收敛到tan 1 1 一种方法是利用交替级数判别法 然后使用阿贝尔定理证明级数收敛到tan 1 1 然而 也可以用一个完全初等的证明 初等证明 编辑 考虑如下分解 1 1 x 2 1 x 2 x 4 1 n x 2 n 1 n 1 x 2 n 2 1 x 2 displaystyle frac 1 1 x 2 1 x 2 x 4 cdots 1 n x 2n frac 1 n 1 x 2n 2 1 x 2 nbsp 对于 x lt 1 右侧的分式是余下的几何级数的和 然而 上面的方程并没有包含无穷级数 并且对任何实数x成立 上式两端从0到1积分可得 p 4 1 1 3 1 5 1 n 2 n 1 1 n 1 0 1 x 2 n 2 1 x 2 d x displaystyle frac pi 4 1 frac 1 3 frac 1 5 cdots frac 1 n 2n 1 1 n 1 int 0 1 frac x 2n 2 1 x 2 dx nbsp 当n displaystyle n rightarrow infty nbsp 时 除积分项以外的项收敛到莱布尼茨级数 同时 积分项收敛到0 0 0 1 x 2 n 2 1 x 2 d x 0 1 x 2 n 2 d x 1 2 n 3 0 displaystyle 0 leq int 0 1 frac x 2n 2 1 x 2 dx leq int 0 1 x 2n 2 dx frac 1 2n 3 rightarrow 0 nbsp 当 n displaystyle n rightarrow infty nbsp 这便证明了莱布尼茨公式 格点与数论证明 编辑 通过以 0 0 displaystyle 0 0 nbsp 为圆心 R displaystyle R nbsp 为半径的圆上及圆内格点 即横坐标与纵坐标皆为整数 个数计算公式来得出 在这里先考虑费马平方和定理 一个奇素数能表示成两个平方数之和当且仅当该素数模4余1 并且不考虑符号与交换律下其形式唯一 由于必为一奇一偶 因此不考虑符号但考虑交换律下必然为两种形式 比如29 1 mod 4 displaystyle 29 equiv 1 pmod 4 nbsp 可以得出29 2 2 5 2 5 2 2 2 displaystyle 29 2 2 5 2 5 2 2 2 nbsp 而23 3 mod 4 displaystyle 23 equiv 3 pmod 4 nbsp 因此无法分解成两个平方和形式 现在对于所有正整数N displaystyle N nbsp 有其唯一的素因数分解形式 N 2 k p 1 a 1 p 2 a 2 p m a m q 1 b 1 q 2 b 2 q n b n displaystyle N 2 k p 1 alpha 1 p 2 alpha 2 cdots p m alpha m q 1 beta 1 q 2 beta 2 cdots q n beta n nbsp 其中 p 1 p 2 p m displaystyle p 1 p 2 cdots p m nbsp 为互不相同的模4余1的素数 q 1 q 2 q n displaystyle q 1 q 2 cdots q n nbsp 为互不相同的模4余3素数 如果 b 1 b 2 b n displaystyle beta 1 beta 2 cdots beta n nbsp 只要其中一个为奇数 则正整数N displaystyle N nbsp 不存在表示成两个平方和的形式 比如75 3 5 2 displaystyle 75 3 times 5 2 nbsp 3的次数为1 因此不能表示成两平方和 而当 b 1 b 2 b n displaystyle beta 1 beta 2 cdots beta n nbsp 全为偶数时 此时能表示成平方数形式的数量等于 a 1 1 a 2 1 a m 1 displaystyle alpha 1 1 alpha 2 1 cdots alpha m 1 nbsp 不考虑符号但考虑交换律的情况 比如65 5 13 displaystyle 65 5 times 13 nbsp 其中5与13次数均为1 因此有 1 1 1 1 4 displaystyle 1 1 1 1 4 nbsp 即65 1 2 8 2 2 2 7 2 7 2 2 2 8 2 1 2 displaystyle 65 1 2 8 2 2 2 7 2 7 2 2 2 8 2 1 2 nbsp 2的幂次k displaystyle k nbsp 不影响N displaystyle N nbsp 表示两平方和形式的个数 比如不管k displaystyle k nbsp 是多少 2 k 65 displaystyle 2 k times 65 nbsp 能表示成两个平方和形式都是4种 接下来引入狄利克雷特征函数 定义x N 1 N 1 mod 4 1 N 3 mod 4 0 N 0 mod 2 displaystyle chi N begin cases 1 amp N equiv 1 pmod 4 1 amp N equiv 3 pmod 4 0 amp N equiv 0 pmod 2 end cases nbsp 因此为积性函数 满足x a x b x a b displaystyle chi a cdot chi b chi ab nbsp 对于模4余1的素数p displaystyle p nbsp 以及自然数a displaystyle alpha nbsp 总有p a 1 mod 4 displaystyle p alpha equiv 1 pmod 4 nbsp 因此x 1 x p x p 2 x p a a 1 displaystyle chi 1 chi p chi p 2 cdots chi p alpha alpha 1 nbsp 对于模4余3的素数q displaystyle q nbsp 以及自然数b displaystyle beta nbsp 则有q b 1 b mod 4 displaystyle q beta equiv 1 beta pmod 4 nbsp 因此x 1 x q x q 2 x q b 1 b 0 mod 2 0 b 1 mod 2 displaystyle chi 1 chi q chi q 2 cdots chi q beta begin cases 1 amp beta equiv 0 pmod 2 0 amp beta equiv 1 pmod 2 end cases nbsp 对于2以及自然数k displaystyle k nbsp 当k 0 displaystyle k 0 nbsp 时2 0 1 displaystyle 2 0 1 nbsp 即x 1 1 displaystyle chi 1 1 nbsp 当k gt 0 displaystyle k gt 0 nbsp 时总有x 2 k 0 displaystyle chi 2 k 0 nbsp 因此x 1 x 2 x 4 x 2 k 1 displaystyle chi 1 chi 2 chi 4 cdots chi 2 k 1 nbsp 由于x a x b x a b displaystyle chi a cdot chi b chi ab nbsp 而这些结果正好与上述性质相吻合 因此N displaystyle N nbsp 表示成两个平方和形式的数量可以由其所有因数t displaystyle t nbsp 相应的x t displaystyle chi t nbsp 之和 t N x t displaystyle sum t N chi t nbsp 来表示 比如30 2 3 5 displaystyle 30 2 times 3 times 5 nbsp 于是相应地有x 1 x 2 x 3 x 5 x 6 x 10 x 15 x 30 0 displaystyle chi 1 chi 2 chi 3 chi 5 chi 6 chi 10 chi 15 chi 30 0 nbsp 小于等于R 2 displaystyle R 2 nbsp 能被正整数n displaystyle n nbsp 整除的正整数有 R 2 n displaystyle left lfloor frac R 2 n right rfloor nbsp 个 因此对于半径为R displaystyle R nbsp 圆上及圆内格点数总和为 1 4 R 2 1 x 1 R 2 2 x 2 R 2 R x R 1 4 R 2 1 R 2 3 R 2 R R 1 2 displaystyle 1 4 left left lfloor frac R 2 1 right rfloor chi 1 left lfloor frac R 2 2 right rfloor chi 2 cdots left lfloor frac R 2 R right rfloor chi R right 1 4 left left lfloor frac R 2 1 right rfloor left lfloor frac R 2 3 right rfloor cdots left lfloor frac R 2 R right rfloor frac R 1 2 right nbsp 其中R displaystyle R nbsp 为不超过R displaystyle R nbsp 的最大奇数 再由圆面积为p R 2 displaystyle pi R 2 nbsp 当R displaystyle R to infty nbsp 时 两者比值极限得1 1 3 1 5 1 7 p 4 displaystyle 1 frac 1 3 frac 1 5 frac 1 7 cdots frac pi 4 nbsp 1 参考文献 编辑Jonathan Borwein David Bailey amp Roland Girgensohn Experimentation in Mathematics Computational Paths to Discovery A K Peters 2003 ISBN 1 56881 136 5 pages 28 30 官方双语 隐藏在素数规律中的p 哔哩哔哩 bilibili 2022 04 06 原始内容存档于2022 04 06 外部链接 编辑Implementation of the Leibniz formula for TI Basic 页面存档备份 存于互联网档案馆 use the Leibniz formula to approximate pi Leibniz Formula in C x86 FPU Assembly x86 64 SSE3 Assembly and DEC Alpha Assembly 页面存档备份 存于互联网档案馆 取自 https zh wikipedia org w index php title P的莱布尼茨公式 amp oldid 74055017, 维基百科,wiki,书籍,书籍,图书馆,

文章

,阅读,下载,免费,免费下载,mp3,视频,mp4,3gp, jpg,jpeg,gif,png,图片,音乐,歌曲,电影,书籍,游戏,游戏。