Sigma notation is used to write sums of many terms in a compact way.
a1+a2+a3+...+an=i=1∑nai,
It uses Greek letter sigma, which is why it is called sigma-notation.
Here, i is called the running index. The running index in this case varies through integer values from lower limit 1 to the upper limitn. ai is called the summand.
In general, given a sequence {ak}k=lu, then the summation from over k from l to u is
k=l∑uak=al+al+1+al+2+...+au−1+au,
The above form of the summation is called as delimited form.
General sigma notation is a way to write sigma notation in the form ∑P(k)ak, where instead of giving the limits we mention the property P(k) which is satisfied by integers and we take the summation over those integers only for which P(k) is true.
e.g. ∑1≤k≤nak, means the same thing as ∑i=1nai,
k=1∑10a2k−1=a1+a3+a5+...+a19
which in generalized form can be written as ∑1≤k≤19k is odd(ak),
Sometimes the generalized form is much better than the delimited form.
Expanding the summation notation means expressing the compact form of a sum represented by the sigma symbol Σ into its individual terms. To do this, you follow the index of the summation from its lower limit to its upper limit, writing out each term in the sequence. Here’s how it works with a couple of examples:
To expand the summation ∑k=1nk+1k, you would write out the terms of the sequence for each value of k from 1 to n. Here is how the expansion looks:
k=1∑nk+1k=1+11+2+12+3+13+…+n+1n
Simplifying each fraction, you get:
k=1∑nk+1k=21+32+43+…+n+1n
This gives you a clear picture of the series of terms that are being summed.
This is the opposite on expansion. Sometimes you are given a series in expanded form and you need to write in summation form. If the general term, like nth term, rth term, etc is known we can easily write in sigma form. But when the general term is not given, we may have to identify the general term by observing some patterns. It can be understood via some examples.
The index of summation is a “dummy” variable. The value of summation does not change if you change the index variable. It is bound to the sigma symbol and has no existence out of it.
Splitting the Summation Range:
k=1∑nak=k=1∑mak+k=m+1∑nak
where 1≤m≤n: We can “break” the summation into two summations.
Factoring Out Constants:
k=1∑ncak=ck=1∑nak
A constant which is independent of index variable can be taken outside the sigma operator.
Distributive Property
k=1∑n(ak+bk)=k=1∑nak+k=1∑nbk
Substitution of index variable:
k=1∑nak=k=m∑n+m−1ak−m+1
Many a times substitution of index variable may simplify the summation and it becomes easier to do the problem.
Let there be a summation S=∑k=1nak. Suppose that for some reason we wish to change the lower limit from 1 to m. Then we substitute k−1=j−m⇒k=j−m+1
We get ∑k=1nak=∑j=m+1n+maj−m+1=∑j=mn+m−1aj−m+1
So now the lower limit is m
But since j is a dummy variable we may change it back to k
i.e. ∑k=1nak=∑k=mn+m−1ak−m+1
More frequently though, suppose the lower limit of summation is m and we wish to change it to 1 in the summation ∑k=mnak, then we substitute k−m=j−1⇒k=m+j−1
Thus we get, ∑k=mnak=∑m+j−1=jnam+j−1=∑j=1n−m+1aj+m−1=∑k=1n−m+1ak+m−1 (j is a dummy variable)
Reversing the series:
k=0∑nak=k=0∑nan−k
Observe that LHS =∑k=0nak=a0+a1+a2+…+an, and RHS =∑k=0nan−k=an+an−1+…+a0
The second series is opposite order. This is very helpful in calculating the sum of many series.
Observe that index k begins from 0. When k begins from 1, we have,
Double summation is a mathematical operation that involves taking the summation of a summation, effectively summing over two indices. It is denoted by two sigma symbols, one nested inside the other, and is used to sum terms that are dependent on two different indices. For terms denoted by aij, which are functions of two indices i and j, the double summation is defined as:
i=1∑m(j=1∑naij)
Here, the inner summation ∑j=1naij is performed first for a fixed value of i, summing over the index j. Once this is done for every i, the outer summation ∑i=1m is then executed, summing the results of the inner summations across the index i.
This operation can be visualized as summing the entries of an m×n matrix, where m represents the number of rows (controlled by the outer summation index i), and n represents the number of columns (controlled by the inner summation index j). Each term aij in the matrix is summed to produce the total sum of all entries.
It is not necessary to enclose the inner summation in brackets, as we did above in the definition. The summation can be written succinctly without brackets, and it is understood that the inner summation is to be performed first. Here's the brief notation for a general double summation:
i=1∑mj=1∑naij
This implies that for each fixed i, the sum over j is to be calculated first, and then the resulting sums are to be added together as i varies from 1 to m.
Factorization of Double Summations with Separable Terms§
If the general term aij can be expressed as the product of two terms bi and cj, where bi is solely dependent on the index i and cj is solely dependent on the index j, then the double summation of aij across the indices i and j can be simplified. This is because the summation can be separated into the product of two single summations due to the independence of bi and cj:
i=1∑mj=1∑naij=i=1∑mj=1∑nbicj
Since bi does not depend on j and cj does not depend on i, the summation can be decomposed into:
Consider ∑i=1n∑j=1naij. Here m=n, therefore we get a square matrix. It is the sum of all elements in the square matrix.
i=1∑nj=1∑naij=1≤i,j≤n∑aij(in general notation)a11a21a31⋮an1a12a22a32⋮an2a13a23a33⋮an3………⋱…a1na2na3n⋮annn×n
Now consider ∑i=1n∑j=inaij. Observe that the lower limit of the inner summation dependent on the index of the outer summation. If we expand this we get,
Expanding the summation ∑i=1n∑j=inaij:
For i=1, the terms are:
a11+a12+a13+…+a1n
For i=2, the terms are:
a22+a23+…+a2n
For i=3, the terms are:
a33+…+a3n
Continuing this pattern until i=n, where the term is:
ann
Thus, the expanded summation is:
(a11+a12+a13+…+a1n)+(a22+a23+…+a2n)+…+ann
If you observe the above expansion carefully, the summation ∑i=1n∑j=inaij corresponds to summing the elements in the upper triangular portion of the matrix, including the diagonal. This means that for each row i, we start summing from the element on the diagonal (aii) to the end of the row (ain).
Red elements are those that are included in the summation.
Non-colored elements are not included in the summation.
The summation starts at the diagonal element aii of each row i and includes all elements to the right of the diagonal in that row, up to and including ain. Therefore, the sum is the total of all red-highlighted elements, which form the upper triangular part of the matrix.
Alternative Notation
i=1∑nj=i∑naij can be written as 1≤i≤j≤n∑aij
In the matrix above the elements in red, the index i in always less than or euqal to index j. That's why we can write the double summation alternatively as ∑1≤i≤j≤naij.
Excluding the main diagonal, the sum of the lower triangular matrix.
Commuting summations in case of dependent indices§
We know that when indices are not dependent, the double summation is commutative. On the other hand, when indices are dependent, we can interchange summations order with the following rules. If you observe the matrix representation, these rules quite easy to understand.