Ma · Mathematics

What Does a Double Sigma Notation Mean?

Published By the 9to5Science editorial team

At a glance

  1. 1. Read the bounds

    Identify the outer and inner indices and the range assigned to each.

  2. 2. Evaluate the inner sum

    For each outer-index value, sum over all allowed inner-index values.

  3. 3. Add the outer terms

    Sum the inner results over the outer index.

  4. 4. Check the index region

    If one bound depends on the other index, the sum may cover a triangular rather than rectangular region.

A double sigma is shorthand for adding terms indexed by two variables. It does not have one special formula that applies to every problem: the bounds and the summand determine what is being added.

For a finite sum, the basic rule is simple: calculate the inner sum for each value of the outer index, then sum those results. This article shows how to read the notation, when you can change the order, and how to recognize useful special cases.

How to read a double sum

A typical expression is

∑i=1m∑j=1naij.\sum_{i=1}^{m}\sum_{j=1}^{n} a_{ij}.

The inner sum, over jj, is evaluated first. For each fixed ii, let jj run from 11 to nn. Then add the results as ii runs from 11 to mm:

∑i=1m∑j=1naij=∑i=1m(ai1+ai2+⋯+ain).\sum_{i=1}^{m}\sum_{j=1}^{n} a_{ij} =\sum_{i=1}^{m}\left(a_{i1}+a_{i2}+\cdots+a_{in}\right).

Equivalently, this adds every entry aija_{ij} in an mm-by-nn rectangular array. There are mnmn terms if every pair of indices is included.

The inner sum is not necessarily written on the right. Read the bounds attached to each sigma: the index that appears in the inner sigma is the one summed inside the outer sum.

Worked example

Evaluate

∑i=13∑j=12(i+2j).\sum_{i=1}^{3}\sum_{j=1}^{2}(i+2j).

For each fixed ii, substitute j=1j=1 and j=2j=2 into the summand:

∑j=12(i+2j)=(i+2)+(i+4)=2i+6.\begin{aligned} \sum_{j=1}^{2}(i+2j) &=(i+2)+(i+4)\\ &=2i+6. \end{aligned}

Now sum that result over i=1,2,3i=1,2,3:

∑i=13(2i+6)=(2+6)+(4+6)+(6+6)=30.\sum_{i=1}^{3}(2i+6) =(2+6)+(4+6)+(6+6)=30.

So the double sum equals 3030. You can check by listing all six terms: 3+5+4+6+5+7=303+5+4+6+5+7=30.

When can you switch the order?

For finite sums over independent bounds, changing the order does not change the result:

∑i=1m∑j=1naij=∑j=1n∑i=1maij.\sum_{i=1}^{m}\sum_{j=1}^{n}a_{ij} =\sum_{j=1}^{n}\sum_{i=1}^{m}a_{ij}.

Both expressions include exactly the same terms, once each. In the example above, switching the sums means summing first over ii for each fixed jj; the answer remains 3030.

The bounds may depend on an index, however. For example,

∑i=13∑j=1i1\sum_{i=1}^{3}\sum_{j=1}^{i}1

adds one term when i=1i=1, two when i=2i=2, and three when i=3i=3. Its value is 1+2+3=61+2+3=6. The index pairs form a triangular region, not a rectangle. If you reverse the order, you must rewrite the bounds to describe that same region; you cannot simply swap the two sigma symbols and keep the old limits.

For infinite sums, changing the order needs additional conditions. It is valid for nonnegative terms, and it is valid for absolutely convergent sums. A conditionally convergent double series can behave differently when its terms are rearranged.

A useful product formula

If the bounds are independent and the summand separates into a function of ii times a function of jj, then the double sum factors:

∑i=1m∑j=1nf(i)g(j)=(∑i=1mf(i))(∑j=1ng(j)).\sum_{i=1}^{m}\sum_{j=1}^{n} f(i)g(j) =\left(\sum_{i=1}^{m}f(i)\right) \left(\sum_{j=1}^{n}g(j)\right).

For example,

∑i=13∑j=12ij=(1+2+3)(1+2)=6⋅3=18.\sum_{i=1}^{3}\sum_{j=1}^{2}ij =\left(1+2+3\right)\left(1+2\right) =6\cdot 3=18.

This shortcut works because every product f(i)g(j)f(i)g(j) appears once for each allowed pair (i,j)(i,j). It does not apply directly when the bounds couple the indices, as in a triangular sum.

Common mistakes

  • Treating both sums as one undifferentiated operation. The inner index runs through its full range for each fixed value of the outer index.
  • Assuming every double sum has rectangular bounds. A limit such as j=1j=1 to ii makes the range depend on the outer index.
  • Switching dependent bounds without changing them. To reverse a sum, preserve the same set of index pairs.
  • Using the product formula for a nonseparable term. The shortcut requires the summand to be a product of an ii-only factor and a jj-only factor, with independent bounds.
  • Reordering an infinite sum without checking convergence. The finite-sum rule alone does not justify rearranging every infinite series.

Spotted an error? Send a correction. Read how we write and check articles in our editorial policy.