• 検索結果がありません。

微分の意味と円周率の計算

N/A
N/A
Protected

Academic year: 2021

シェア "微分の意味と円周率の計算"

Copied!
27
0
0

読み込み中.... (全文を見る)

全文

(1)

微分の意味と円周率の計算

黒田紘敏(理学研究院 数学部門)

数理解析学特論A /フロンティア数理物質科学II 第3

2020528

(2)

Review

<高校で学習する微分法の応用>

接線の方程式 関数の極値 グラフの概形 方程式の解の個数 不等式の証明

<代表的な微分公式>

(xn) = nxn1 (ex) =ex (logx) = 1 x (sinx) = cosx (cosx) =−sinx (tanx) = 1

cos2x

数理解析学特論A (第3回) 微分の意味と円周率の計算 2020528 2 / 27

(3)

Review

Theorem (接線の方程式)

曲線 y= f(x)x= aにおける接線(tangent line)の方程式は y = f(a)(x−a)+ f(a)

で与えられる.

(Ref. http://www.ftext.org/text/subsubsection/2469)

(4)

Problem

Problem1

曲線の接線とは何か?(What is a tangent line of a curve?)

A y=f(x)

l

l A y=f(x)

数理解析学特論A (第3回) 微分の意味と円周率の計算 2020528 4 / 27

(5)

Problem

Problem

曲線C: y= x3のグラフのx=0における接線lの方程式を求めよ.ま た,グラフCと接線lの概形を描け.

(Find the equation of the tangent line latx= 0in the graph of the curve C: y = x3. Also, draw an outline of the graphCand the tangentl.)

(6)

Aim and Contents

Aim

直感的な表現を含まない微分の意味を学び,代表的な例を通して自然科 学に応用する方法の一端を理解する.

(Learn the meaning of differentiation that does not include intuitive

expressions, and understand some of the methods of applying it to natural science and so on through typical examples.)

Contents

1 Introduction

2 微分の定義再考(differentiation)

3 テイラー展開(Taylor expansion)

4 円周率πの計算(Calculate of the ratio of the circumference of a circle to its diameter)

数理解析学特論A (第3回) 微分の意味と円周率の計算 2020528 6 / 27

(7)

Answer of Problem 1

A graph usually approaches some line when we expand around some point A on the graph. This line is called the tangent line at A.

A y=f(x)

The graph below doesnotapproach any line even if we expand around x =0. So the function y=|x|is not differentiable atx=0.

y=|x|

O

(8)

Approximate calculation by tangent line

Problem 3

sin 59の近似値を求めよ.

f(x)= sinxとおく.y = f(x)x=π/3における接線は y = f

(π 3

) ( x− π

3 )+ f

(π 3

)= 1 2 x+

√3 2 − π

6 なので,x ≒π/3ならば

sinx≒ 1 2 x+

√3 2 − π

6

が成り立つ.そこで,x=59 =59π/180とすれば

sin 59

√3 2 − π

360 ≒ 1.7320

2 − 3.1415

360 = 0.85727· · ·

(Remark)数理解析学特論sin 59A (第3回)=0.857167微分の意味と円周率の計算in the trigonometric function table.2020528 8 / 27

(9)

Error of Approximate calculation by tangent line

今回求めた近似値は

sin 59

√3 2 − π

360 = 0.85727· · ·

で,三角関数表にあるsin 59 =0.857167· · · と比較すれば小数第3位ま で正しい.接線で近似してもそれなりによい値のように見える.

しかしながら,現実の問題では真の値がわからないため,誤差をこのよ うに見積もることはできない.実際,真の値がわかっていれば近似値を 苦労して求める意味は(計算手法の精度評価以外には)あまりないよう に思う.(However, the error cannot be estimated in this way because the true value is not known in the actual problem.)

Problem 4

真の値がわかっていない場合に,接線で求めた近似値の誤差はどのよう に評価すればよいか.(How to estimate the error of the approximated value obtained by the tangent line when the true value is not known.)

(10)

Definition of differential

Definition (微分係数(differential coefficient))

関数 f(x)x= aで微分可能(Differentiable)であるとは,極限 f(a) = lim

xa

f(x)− f(a) xa

が収束すること.このとき,上の極限値を x= aでの微分係数という.

数理解析学特論A (第3回) 微分の意味と円周率の計算 2020528 10 / 27

(11)

Definition of differential

f(a) = lim

xa

f(x)− f(a) xa

上の定義式を

xlima

f(x)− f(a)

xa = f(a) ⇐⇒ lim

xa

f(x)− {f(a)(x−a)+ f(a)}

xa = 0

と見れば,右側で分母より分子が速く0 収束するときの直線の傾きが微分係数であ ると理解できる.

(It can be understood on the right side that the slope of the line whenthe numerator converges to 0 faster than the denominator is the differential coefficient.)

(12)

First-order approximation1次近似)

xlima

f(x)− {f(a)(x−a)+ f(a)}

xa =0

より,次のように考えられる.

f(x)− {f(a)(x−a)+ f(a)}= terms of(xa)2,(x−a)3,(x−a)4, . . .

1次近似の公式

f(x)を滑らかな関数(smooth function)とすると

f(x) ≒ f(a)+ f(a)(x−a) (|xa| ≪ 1)

が成り立つ.誤差はおよそC|xa|2程度で,定数C2階微分 f′′の大 きさに依存する.

(The error is aboutC|xa|2, and the constantCdepends on the value of the second derivative f′′.)

微分可能であるとは1次近似ができることである.

数理解析学特論A (第3回) 微分の意味と円周率の計算 2020528 12 / 27

(13)

Taylor expansion (Maclaurin expansion)

|x|< 1ならば,無限等比級数(infinite geometric series)の公式より 1

1−x =1+x+x2+x3+· · ·=∑

n=0

xn

が成り立つ.このように,多くの関数をべき級数(無限次の多項式 で表すことができる.もし関数 f(x)

f(x) = a0+a1x+a2x2+a3x3+· · ·+anxn+· · · と表せるならば,次の公式

an= f(n)(0)

n! , f(x) =∑

n=0

f(n)(0) n! xn

が成り立つ.これをx =0におけるテイラー展開という.

(14)

Taylor expansion (Maclaurin expansion)

Example

ex =1+x+ x2 2 + x3

6 +· · ·= ∑

n=0

xn n!

sinx= xx3 6 + x5

120− x7

5040 +· · ·=∑

n=0

(−1)nx2n+1 (2n+1)!

cosx= 1− x2 2 + x4

24 − x6

720 +· · ·=∑

n=0

(−1)nx2n (2n)!

log(1+x) = xx2 2 + x3

3 − x4

4 +· · ·= ∑

n=1

(−1)n1xn

n (|x|<1)

√1+x =1+ x 2 − x2

8 + x3

16 − · · · (|x| <1)

数理解析学特論A (第3回) 微分の意味と円周率の計算 2020528 14 / 27

(15)

Polynomial approximation(多項式近似)

x =0におけるexのテイラー展開は ex= 1+x+ x2

2 + x3

6 +· · ·=∑

n=0

xn n!

である.ここで xn(n≥ 7)の項を無視すれば ex ≒1+x+ x2

2 + x3 6 + x4

24 + x5 120+ x6

720 となる.さらに x=1を代入して

e ≒1+1+ 1 2 + 1

6 + 1 24 + 1

120+ 1

720 = 1957

720 =2.71805· · · このようにeの近似値が計算できる.

(Remark) 無視した最初の項は1/7!= 1/5040=0.0001984· · · (error).

(16)

The circular constantπ

Definition (The circular constant,円周率)

円の周長の直径に対する比率を円周率といい,πで表す.

(円周率は様々な定義があり,これを起点とすると解析学では不便なと ころもあるが今日は細かいところは気にしない)

The value of the circular constant π

3.1415926535897932384626433832795028841971· · · 2020年現在,円周率は50兆桁以上計算されている.

(As of 2020,πis calculated to be more than 50 trillion digits.)

Problem

πの値はどのように計算されているのか?

(How is the value ofπcalculated?)

数理解析学特論A (第3回) 微分の意味と円周率の計算 2020528 16 / 27

(17)

Calculation of the circular constantπ

(2003年 東京大学入試)

円周率が3.05より大きいことを証明せよ.

半径1の円に内接する正8角形の1辺の長さをaとする.余弦定理より a2 =1+1−2 cos 45 = 2− √

2

である.一方,図形より

2π > 8a ∴ π2 >16a2 となるから,

2=1.414· · ·<1.415と合わせて

16a2 >16(2−1.415)=9.36, 3.052 =9.3025 よりπ2 > 16a2 >3.052が成り立つ.よって,π > 3.05である.

(18)

Calculation of the circular constantπ

例えば内接正12角形を考えれば,同様にして新しい評価π > 3.1を得ら れる.図形的には内接正 n角形の nを大きくすれば円に近づいていくの で,得られる評価の精度がよくなるとが期待される.

(Graphically, if the number n of sides of an inscribed regular n-sided polygon is increased, it approaches a circle, so the accuracy of the obtained evaluation is expected to improve.)

しかし,nが大きいときにはsin2nπ などの三角関数の値はよくわからな い.また,正多角形を内接および外接させるアプローチで小数点以下の 桁数を増やすのは大変なため,高精度な計算法としては適さない.

(However, it is generally difficult to find the value of a trigonometric function. Also, it is difficult to increase the number of digits after the decimal point by the approach of inscribing regular polygons, so it is not suitable as a highly accurate calculation method.)

Problem

どうすれば円周率の高精度の近似計算をできるか?

(How can we make a highly accurate approximation ofπ?)

数理解析学特論A (第3回) 微分の意味と円周率の計算 2020528 18 / 27

(19)

Taylor expansion of the inverse tangent function

x =tanθ(−π/2< θ < π/2)の逆関数をθ= arctanxで表す.

x= tanθ ⇐⇒ θ= arctanx

(20)

Taylor expansion of the inverse tangent function

Theorem

d

dx arctanx= 1 1+x2

|t|<1ならば 1

1+ t2 = 1

1−(−t2) =1+(−t2)+(−t2)2+(−t2)3+· · · であるから,両辺を積分すれば

x

0

1

1+t2 d t =

x

0

(1− t2+ t4t6+· · ·) d t

arctanx= xx3 3 + x5

5 − x7

7 +· · · (|x| ≤1) より,x=1を代入して

π

4 = 1− 1 3 + 1

5 − 1

7 +· · ·=∑

n=0

(−1)n 2n+1

数理解析学特論A (第3回) 微分の意味と円周率の計算 2020528 20 / 27

(21)

数学専攻院生向けの数学的補足

1 y= arctanxより x= tanyである.よって dx

dy = 1

cos2y =1+tan2y =1+x2 なので,逆関数の微分法よりy = dy

dx = 1 1+ x2

2

x

0

n=0

(−t2)nd t =∑

n=0

x

0

(−t2)nd tと積分と無限和の交換が出来る のは|x|<1のとき.収束半径の内部であれば項別積分できる.

3 |x|<1で成り立つ等式

arctanx= xx3 3 + x5

5 − x7 7 +· · ·

においてx =±1を代入しても等式が成り立つのはアーベルの連続 性定理より.x =1のときに収束することは,交代級数に関するライ プニッツの定理よりわかる.

(22)

Calculation of the circular constantπ

π

4 = 1− 1 3 + 1

5 − 1

7 +· · ·=∑

n=0

(−1)n 2n+1

そこで,十分大きなmに対して Sm=

m n=0

(−1)n 2n+1

を計算すれば,π/4の近似値が得られるはずである…しかし,この無限級 数の一般項は収束速度が n1と遅すぎるため,近似値を計算してみても

4S10 = 3.2323, 4S30 =3.1738, 4S31 =3.1103

となる.m= 50としても,最後の項が1/101=0.00990· · · なので,こ れらを足し引きしたら小数第2位まですら合わないのも自然である.そ のため,高精度で計算するためには無限級数による表示を改良する必要 がある.

数理解析学特論A (第3回) 微分の意味と円周率の計算 2020528 22 / 27

(23)

Basic idea to compute the circular constantπ 計算速度向上のために,逆三角関数のべき級数展開を工夫する.

Famous formula

arctan1

2 +arctan1 3 = π

4

α =arctan1

2, β=arctan1

3 とおくと

tanα = 1

2, tanβ= 1

3, 0< β < α < π 4 である.よって,加法定理より

tan(α+β) = tanα+tanβ 1−tanαtanβ =

1 2 + 13

1− 16 =1, 0 < α+β < π 2

なのでα+β=π/4となる.これが示すべき等式である.

(24)

Machin’s formula(マチンの公式)

Theorem (1706, Machin) 4 arctan 1

5 −arctan 1 239 = π

4

証明は加法定理を用いて同様に出来る.これにarctanxのテイラー展開 を代入して

π 4 =4

n=0

(−1)n 2n+1

(1 5

)2n+1

−∑

n=0

(−1)n 2n+1

( 1 239

)2n+1

∴ π 4 = lim

m→∞





3m+2 n=0

(−1)n 2n+1 · 4

52n+1

m n=0

(−1)n 2n+1 · 1

2392n+1





収束の速度はかなりよくなっている.このような公式は他にも多く発明 されている.(The convergence speed is considerably improved.)

数理解析学特論A (第3回) 微分の意味と円周率の計算 2020528 24 / 27

(25)

History

Theorem (1982,高野喜久雄) 12 arctan 1

49 +32 arctan 1

57 −5 arctan 1

239 +12 arctan 1

110443 = π 4

(Historyの一部)

2002,東京大学 金田康正教授が約1.2兆桁まで計算

2009,筑波大学 高橋大介准教授(現教授) が約2.6兆桁まで計算

2011,会社員の近藤茂と米国大学院生のアレクサンダー・J・イーが

5兆桁まで計算.当時のギネス記録

2011,近藤茂とアレクサンダー・J・イーが約10兆桁まで計算

2013,近藤茂とアレクサンダー・J・イーが約12.1兆桁まで計算

2019.3.14,グーグルの岩尾エマはるかが約31.4兆桁まで計算

2020, Timothy Mullican50兆桁まで計算

(26)

Conclusion

(Today’s topics)

接線による1次近似計算 テイラー展開

円周率πの計算

微分法とは関数を多項式で近似するための道具である.実は関数の多項 式の近似による結果として,関数の極値がわかるという仕組みである.

例えば f(0)=0, f′′(0)>0ならば,3次以上の項を無視できて f(x) = f(0)+ f(0)x+ f′′(0)

2 x2+ f′′′(0)

6 x3+· · ·≒ f(0)+ f′′(0) 2 x2 とできる.よって,下に凸な放物線なので x=0で極小となる.これが 高校数学IIIで習う「2次導関数を用いた極値判定」の定理の説明である.

多変数関数の極値判定はこのアイデアに基づいている.

数理解析学特論A (第3回) 微分の意味と円周率の計算 2020528 26 / 27

(27)

References

神永正博,「超」入門微分積分(ブルーバックス),講談社,2012.

中村滋,数学のかんどころ22円周率 歴史と数理,共立出版,2013.

川添充・岡本真彦,思考ツールとしての数学,共立出版,2012.

Wikipedia :円周率,円周率の歴史.

荒木修・齋藤智彦,本質から理解する数学的手法,裳華房,2016.

相良紘 著,化学工学会 編,化学工学のための数学の使い方,丸善出版,

2014.

千葉逸人,工学部で学ぶ数学新装版,プレアデス出版,2009.

杉浦光夫,基礎数学2解析入門I,東京大学出版会,1980.

参照

関連したドキュメント

Applications of msets in Logic Programming languages is found to over- come “computational inefficiency” inherent in otherwise situation, especially in solving a sweep of

Shi, “The essential norm of a composition operator on the Bloch space in polydiscs,” Chinese Journal of Contemporary Mathematics, vol. Chen, “Weighted composition operators from Fp,

A Darboux type problem for a model hyperbolic equation of the third order with multiple characteristics is considered in the case of two independent variables.. In the class

[2])) and will not be repeated here. As had been mentioned there, the only feasible way in which the problem of a system of charged particles and, in particular, of ionic solutions

This paper presents an investigation into the mechanics of this specific problem and develops an analytical approach that accounts for the effects of geometrical and material data on

7.1. Deconvolution in sequence spaces. Subsequently, we present some numerical results on the reconstruction of a function from convolution data. The example is taken from [38],

While conducting an experiment regarding fetal move- ments as a result of Pulsed Wave Doppler (PWD) ultrasound, [8] we encountered the severe artifacts in the acquired image2.

Key words: Algebraic equations, k-chordal polygon, k-inscribed chordal polygon, main equation, circumcircle, polygon of first kind, polygon of second kind, index of chordal