Part: Sumseditcontribute as guest [id:261]vote: last edited 7 months ago by bookofproofs Notation show notationIntroduction Sums are very common in mathematics. This part of bookofproofs.org is dedicated to some basic tools to handle sums. The “Three-Dot” NotationA general sum is an expression of the form where the elements \(a_k\) are called the terms of the sum. The three dots “\(\cdots\)” in the sum indicate that we have to complete the pattern established by the surrounding terms. For instance, if we write \[1 + 2 + \cdots + n\] then it means that we sum over all integers from \(1\) to \(n\). Sometimes, this notation is ambiguous. For example, if we write \[1 + 2 + \cdots + 2^n\] this could mean that the sum goes over all integers from \(1\) to \(2^n\) or that it goes over all powers of \(2\), from \(2^0\) to \(2^n\). To avoid such ambiguities, we should then write explicitly \[2^0 + 2^1 + \cdots + 2^n\] The Delimited \(\Sigma\)-Notation (“Sigma”-Notation)The Greek letter \(\Sigma\) (upper case sigma) is used to write a delimited form of sums. The sum \(a_1+a_2+\cdots+a_n\) can be written as \[\sum_{k=1}^n a_k=\sum_{j=1}^n a_j=\sum_{m=1}^n a_m=\cdots.\] The Generalized \(\Sigma\)-NotationThe generalized \(\Sigma\)-notation is characterized by writing one or more conditions under the \(\Sigma\) sign for the index. For instance, the sum \( ( * ) \) can be also written as \[\sum_{1\le k\le n} a_k\] The generalized \(\Sigma\)-notation is even more useful than the delimited \(\Sigma\) notation, since it allows to work with sums over index sets that aren’t restricted to consecutive integers. For example, the sum \[\sum_{ would be a short-form notation of the sum of all squares of odd positive integers from \(1\) to \(999\): \[\sum_k^{499}(2k +1)^2 \] \[\sum_{ The probably biggest advantage of the general \(\Sigma\)-notation is that it is more easy to manipulate than the delimited form. Consider for example changing the index from \(k\) to \((k+1)\) in both notations, as shown in the below table:
The manipulation in the general notation is more simply done than in the delimited form. In the latter, it is harder to see what happened and it is more likely to make a mistake. The Iverson-NotationKenneth I. Iverson introduced in his APL programming language a very useful concept of a relational statement \([\alpha~R~\beta]\), which is a logical variable defined by: \[[\alpha~R~\beta]:=\cases{1,\quad \alpha R \beta\\0\quad\text{else}}\] This concept was adopted in some literature1112 to write sums in the form \[\sum_{k}a_k[P(k)],\] which allows to create any constraints whatsoever on the index of summation. The attached variable in brackets \([P(k)]\) is a logical true-or-false variable and the summands equal \[a_k[P(k)]:=\cases{a_k,\text{ if }P(k)\text{ is true for the index }k\\0\quad\text{else}}\] This notation is very powerful, since it significantly simplifies the manipulation of sums by allowing logical and set operations inside the summation terms. In this notation, the sum \( ( * * )\) above would have the form \[\sum_{k}k\cdot[(1\le k \le 1000)\wedge (k\text{ odd})]=\sum_{k}k\cdot[1\le k \le 1000]\cdot[k\text{ odd}],\] Historical notes The \(\Sigma\)-notation was introduced in 1870 by Joseph Fourier. Further Reading [1112] Graham L. Ronald, Knuth E. Donald, Patashnik Oren: “Concrete Mathematics”, Addison-Wesley, 1994, 2nd Edition Subordinated Structure: Chapters (3)
Contribute to BoP: add a new Chapter addcontribute as guest add a new Motivation addcontribute as guest add a new Example addcontribute as guest add a new Application addcontribute as guest add a new Explanation addcontribute as guest add a new Interpretation addcontribute as guest add a new Axiom addcontribute as guest add a new Definition addcontribute as guest add a new Proposition addcontribute as guest add a new Lemma addcontribute as guest add a new Theorem addcontribute as guest add a new Algorithm addcontribute as guest add a new Open Problem addcontribute as guest add a new Bibliography (Branch) addcontribute as guest add a new Comment (Branch) addcontribute as guest |
The contents of book of proofs are licensed under the Creative Commons Attribution-ShareAlike 3.0 Unported License.
