Freeks_old/Freek4_68_66.book(保存済みの内容) … 編集へ / ファイル一覧へ

ページ 1 / 2 … 1 2 … 次のページ →

等差数列・等比数列の和(Freek2 の土台・旧)
import /Freeks/Freek4.book(section 2 まで)

Freek4 の #68・#66。軽い土台の本(Freeks/Freek21)に新しい版があるため、ここへ移した。別証明(Gauss の和・先頭と末尾を組にする)と半環の版を含む。

1 #68 等差数列の和 forget

初項 \(a\)・公差 \(d\) の等差数列の和 \(2 \sum_{i=0}^{n} (a + i d) = (n + 1)(2a + n d)\) を、\(a, d\) が可換な加法をもつ集合 \(X\)(単位元 \(\textit{0}\))の元の場合に示す。自然数 \(n\) は \(X\) に \(0 \cdot x = \textit{0}\)、\((n + 1) \cdot x = n \cdot x + x\) で作用する。

1.1 可換な加法をもつ集合で

和を \(S(n)\) とおき、\(S(0) = a + 0 \cdot d\)・\(S(n+1) = S(n) + (a + (n+1)d)\) から \(n\) についての帰納法。\(2 S(n+1) = 2 S(n) + 2(a + (n+1)d)\) と \((n+2)(2a + (n+1)d) = (n+1)(2a + nd) + (n+1)d + 2a + (n+1)d\) を比べる。
T68 … \(( X , \textit{0} , [+] ) :\underline{2}\mathsf{C}\mathsf{A}\mathsf{E} , ( X , \textit{0} , [+] , [\cdot] ) :\mathbb{M}\mathsf{Act} , a , d \in X , \forall n \in \mathbb{M} . {S} ( n ) \in X , {S} ( 0 ) = a + 0 \cdot d , \forall n \in \mathbb{M} . {S} ( n + 1 ) = {S} ( n ) + ( a + ( n + 1 ) \cdot d ) \Longrightarrow \forall n \in \mathbb{M} . 2 \cdot {S} ( n ) = ( n + 1 ) \cdot ( 2 \cdot a + n \cdot d )\) \(\blacktriangleleft\) L∈ ,L∂ ,L2 ,\(\mathbb{W}.\) ,Axℤ
主定理:T68 の \(S(n)\) に \(\sum_{i=0}^{n} (a + i d)\) を入れる(和の漸化式は節「和」の T∑S)。
G68 … \(( X , \textit{0} , [+] ) :\underline{2}\mathsf{C}\mathsf{A}\mathsf{E} , ( X , \textit{0} , [+] , [\cdot] ) :\mathbb{M}\mathsf{Act} , a , d \in X \Longrightarrow \forall n \in \mathbb{M} . 2 \cdot \sum_{ i \in 0 \mathinner{\ldotp\ldotp} n } a + i \cdot d = ( n + 1 ) \cdot ( 2 \cdot a + n \cdot d )\) \(\blacktriangleleft\) T68 ,T∑S ,T∑∈ ,L∈ ,\(\mathbb{W}.\) ,Axℤ ,AxΣ
系(Freek #68):初項・公差が整数のとき。\(\mathbb{Z}\) は 0 を単位元とする可換モノイドで、\(0 \cdot x = 0\)・\((n+1) \cdot x = n \cdot x + x\) なので G68 が使える。
\(a , d \in \mathbb{Z} \Longrightarrow \forall n \in \mathbb{M} . 2 \cdot \sum_{ i \in 0 \mathinner{\ldotp\ldotp} n } a + i \cdot d = ( n + 1 ) \cdot ( 2 \cdot a + n \cdot d )\) \(\blacktriangleleft\) G68 ,\(\mathbb{W}.\) ,Axℤ ,AxΣ

1.2 別証明:Gauss の和に帰着 forget

和を分けて \(\sum_{i=0}^{n} (a + i d) = (n+1) a + d \sum_{i=0}^{n} i\)。Gauss の和 \(2 \sum i = n(n+1)\) を入れると \(2 \sum (a + i d) = (n+1)(2a + n d)\)。
\(a , d \in \mathbb{Z} \Longrightarrow \forall n \in \mathbb{M} . 2 \cdot \sum_{ i \in 0 \mathinner{\ldotp\ldotp} n } a + i \cdot d = ( n + 1 ) \cdot ( 2 \cdot a + n \cdot d )\) \(\blacktriangleleft\) Gauss ,T∑S ,T∑∈ ,T∑= ,\(\mathbb{W}.\) ,Axℤ ,AxΣ

ページ 1 / 2 … 次のページ →