log in sign up
logo
A free, non-profit, educational site for enthusiast and professional mathematicians, physicists and computer scientists.

Part: Sums

editcontribute as guest     [id:261]   
vote:
last edited 7 months ago by

Notation

show notation

Introduction

Sums are very common in mathematics. This part of bookofproofs.org is dedicated to some basic tools to handle sums.

The “Three-Dot” Notation

A general sum is an expression of the form
\[a_1+a_2+\cdots+a_n\]

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\quad\quad ( * )\]
and read “sum over \(k\), from \(1\) to \(n\)”. The terms after \(\Sigma\) (here \(a_k\)) are called the summands. The index \(k\) is said to be bound to the \(\Sigma\) sign, since any other letter could be substituted for \(k\) without changing the meaning of \(( * )\):

\[\sum_{k=1}^n a_k=\sum_{j=1}^n a_j=\sum_{m=1}^n a_m=\cdots.\]

The Generalized \(\Sigma\)-Notation

The 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_{
\substack{
1\le k\le 1000 \\
k \text{ odd}
}}k^2\quad\quad( * * )\]

would be a short-form notation of the sum of all squares of odd positive integers from \(1\) to \(999\):
\[1^2 + 3^2+ 5^2 + \cdots + 997^2 + 999^2 \]
The equivalent of \( ( * * )\) in the delimited notation would be

\[\sum_k^{499}(2k +1)^2 \]
which is less clear and more cumbersome. Another advantage of the general notation is that it allows using separate indices running through different domains or with different limits. For example, the sum

\[\sum_{
\substack{
1\le k\le n \\
0\le j\le m}} a_kb_j\]
is a sum, the summands of which consist of the terms \(a_k\) and \(b_j\) depending on the independent indices \(k\) and \(j\).

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:


General Sum Notation Delimited Sum Notation
\[\sum_{1\le k\le n} a_k=\sum_{1\le k+1\le n} a_{k+1}\] \[\quad\quad\quad\] \[\sum_1^n a_k=\sum_0^{n-1}a_{k+1}\]

Comparison of manipulating the index (here shifting the index from \(k\) to \((k+1\)) in general and delimited sum notations.

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-Notation

Kenneth 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)

Closed Formulas for Sumseditcontribute as guest     
Generating Functionseditcontribute as guest     
Sum Manipulation Methodseditcontribute as guest     

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     


Terms of Use | Privacy Policy | Imprint | This site is a private offer. All rights reserved.
The contents of book of proofs are licensed under the Creative Commons Attribution-ShareAlike 3.0 Unported License.