How Mathematics Works

Sigma and Product Notation Explained With Worked Examples

Read and use the ∑ and ∏ symbols with confidence, from expanding terms to shifting indices, double sums and telescoping, all worked out.

Key takeaways

  • In ∑ and ∏, an index steps through consecutive integers from the lower limit to the upper limit, and the rule gives one term for each.
  • A sum from a to b, with a ≤ b, has b − a + 1 terms, which is the quickest guard against off-by-one errors.
  • Sums can be split over addition and can have constant factors pulled out, but a sum of products is not a product of sums.
  • By convention an empty sum equals 0 and an empty product equals 1.

Sigma notation, written with the Greek capital ∑, is a compact instruction to add up a list of terms that follow a pattern. Product notation, written with the capital ∏, does the same for multiplication.

Both have the same four parts: the symbol, an index letter, a starting value and ending value, and a rule for the terms. Once you can unpack those, even a crowded formula turns into ordinary arithmetic.

Reading the symbol

In print, the index and starting value sit below the ∑ and the ending value sits above it. On this page we write the limits in words or parentheses:

∑ (k = 1 to 5) k²
= 1² + 2² + 3² + 4² + 5²
= 1 + 4 + 9 + 16 + 25
= 55

Here k is the index, 1 is the lower limit, 5 is the upper limit and k² is the summand, the rule for each term. The index increases by 1 each time.

The lower limit need not be 1:

∑ (k = 3 to 7) (2k − 1)
= 5 + 7 + 9 + 11 + 13
= 45

There are 7 − 3 + 1 = 5 terms. Forgetting the "+ 1" is the classic counting slip.

The index is a placeholder. Replacing every k with j changes nothing, because the letter does not survive into the answer. Other letters in the summand, though, stay put. In ∑ (k = 1 to 3) ck, the result is c + 2c + 3c = 6c. The distinction is explored in the roles a letter can play.

From a list to a formula

Writing a sum in sigma notation means finding the rule behind the terms. Number the terms 1, 2, 3 and so on, and ask how each term depends on its number.

Written out Rule for term k Notation
2 + 4 + 6 + 8 + 10 2k ∑ (k = 1 to 5) 2k
1 + 3 + 5 + 7 2k − 1 ∑ (k = 1 to 4) (2k − 1)
1 + 1/2 + 1/4 + 1/8 (1/2)ᵏ, from k = 0 ∑ (k = 0 to 3) (1/2)ᵏ
1 − 2 + 3 − 4 + 5 (−1)ᵏ⁺¹ · k ∑ (k = 1 to 5) (−1)ᵏ⁺¹ k

The last row shows a standard device. The factor (−1)ᵏ⁺¹ equals +1 when k is odd and −1 when k is even, so it flips the sign at each step.

Always test your rule on the first term and the last one. A formula that fits the first two terms can easily fail further on, and a short list of terms does not determine a unique pattern. Sigma notation removes that ambiguity, which is one reason to prefer it to a row of dots in careful work.

Some sums use a condition instead of two limits. "The sum of d over all positive divisors d of 6" means 1 + 2 + 3 + 6 = 12. The condition under the symbol says which values the index takes.

Three rules that do most of the work

Because ∑ is just repeated addition, it inherits the rules of addition.

Rule Statement
Split a sum ∑ (aₖ + bₖ) = ∑ aₖ + ∑ bₖ
Pull out a constant ∑ c·aₖ = c · ∑ aₖ
Sum a constant ∑ (k = 1 to n) c = n·c

The first two require both sides to run over the same finite range. "Constant" means anything that does not depend on the index.

Here they are in action, using the fact that 1 + 2 + ... + 10 = 55.

∑ (k = 1 to 10) (3k + 2)
= 3 · ∑ k + ∑ 2            split and pull out 3
= 3 · 55 + 10 · 2
= 165 + 20
= 185

Formulas worth knowing

A closed form is an expression that gives the value of a sum without adding term by term. These hold for every positive integer n.

Sum from k = 1 to n Closed form
k n(n + 1) / 2
k² n(n + 1)(2n + 1) / 6
k³ (n(n + 1) / 2)²

Check the second at n = 5: 5 · 6 · 11 / 6 = 55, matching the direct computation above. A check like this does not prove a formula, but it catches miscopied ones. Several proofs of the first appear in the sum of 1 to 100, and the others can be proved by mathematical induction.

The geometric sum, in which each term is r times the previous one, has a closed form for r ≠ 1:

∑ (k = 0 to n − 1) rᵏ = (rⁿ − 1) / (r − 1)

r = 2, n = 5:  1 + 2 + 4 + 8 + 16 = 31 = (32 − 1) / 1

When r = 1 the formula would divide by zero, and the sum is simply n.

Shifting the index

The same sum can be labeled in more than one way. Often you need to relabel so that two sums line up. Let j = k − 1, so that k = j + 1. When k runs from 1 to n, j runs from 0 to n − 1:

∑ (k = 1 to n) aₖ = ∑ (j = 0 to n − 1) aⱼ₊₁

Three things change together: both limits and the expression inside. Changing only some of them is the usual error. To check a shift, write out the first and last terms of each version. Here both begin with a₁ and end with aₙ.

Here is a shift put to use. To evaluate the sum of (k + 2)² for k from 1 to 3, let j = k + 2. Then j runs from 3 to 5:

∑ (k = 1 to 3) (k + 2)² = ∑ (j = 3 to 5) j²
= (sum of j² from 1 to 5) − (1² + 2²)
= 55 − 5
= 50

The direct calculation, 9 + 16 + 25 = 50, agrees. The same subtraction trick handles any sum that starts above 1: take the full sum and remove the part you did not want.

You can also peel off terms. A sum to n + 1 equals the sum to n plus the term numbered n + 1, which is exactly the move used in induction proofs.

Telescoping sums

Sometimes neighboring terms cancel and almost everything disappears. Note that 1/(k(k + 1)) = 1/k − 1/(k + 1). Then:

∑ (k = 1 to n) 1/(k(k + 1))
= (1 − 1/2) + (1/2 − 1/3) + ... + (1/n − 1/(n + 1))
= 1 − 1/(n + 1)

n = 4:  1/2 + 1/6 + 1/12 + 1/20 = 4/5

The collapse, like a folding telescope, gives the technique its name. Further patterns appear in telescoping sums and closed forms.

The parts of a sum
∑ Add the terms Term count 7 − 3 + 1 = 5 Summand 2k − 1 for each k Index k, the counter Lower limit Start at k = 3 Upper limit Stop after k = 7 ∑ Add the terms Index k, the counter Lower limit Start at k = 3 Upper limit Stop after k = 7 Summand 2k − 1 for each k Term count 7 − 3 + 1 = 5

Example: ∑ (k = 3 to 7) of (2k − 1), which equals 45.

Double sums

A sum inside a sum works from the inside out. For each value of the outer index, run the whole inner sum.

∑ (i = 1 to 3) ∑ (j = 1 to 2) ij
i = 1:  1 + 2 = 3
i = 2:  2 + 4 = 6
i = 3:  3 + 6 = 9
total = 18

With fixed limits like these, you may swap the order. This example even factors, as (1 + 2 + 3)(1 + 2) = 18, because each term is a part depending on i times a part depending on j.

When the inner limit depends on the outer index, swapping takes care.

∑ (i = 1 to 3) ∑ (j = 1 to i) j  =  1 + 3 + 6  =  10
swapped:
∑ (j = 1 to 3) ∑ (i = j to 3) j  =  3 + 4 + 3  =  10

Both describe the pairs with 1 ≤ j ≤ i ≤ 3. Drawing those pairs as a triangle of dots shows how to rewrite the limits.

Product notation

∏ works the same way, with multiplication in place of addition. The product of k from 1 to n is n factorial:

∏ (k = 1 to n) k = n!        for example 5! = 120

Products can telescope too. For n ≥ 2:

∏ (k = 2 to n) (1 − 1/k)
= (1/2) · (2/3) · (3/4) · ... · ((n − 1)/n)
= 1/n

Note one rule that differs from sums. A constant factor inside a product of n terms comes out as a power: ∏ (k = 1 to n) c·aₖ = cⁿ · ∏ aₖ. And if every aₖ is positive, the logarithm of ∏ aₖ equals ∑ log aₖ in any fixed base, which turns long products into sums.

A longer example, step by step

Find a closed form for the sum of k(k + 1) for k from 1 to n. First expand the summand, then split, then use the table.

∑ k(k + 1)
= ∑ k² + ∑ k                         expand and split
= n(n + 1)(2n + 1)/6 + n(n + 1)/2    use the closed forms
= n(n + 1) · (2n + 1 + 3)/6          factor out n(n + 1)/6
= n(n + 1)(n + 2)/3

Test n = 3. The direct sum is 2 + 6 + 12 = 20, and the formula gives 3 · 4 · 5 / 3 = 20.

The strategy is typical. Break a complicated summand into pieces whose sums you already know, and keep common factors together instead of multiplying everything out.

Empty sums and mistakes to avoid

If the upper limit is one less than the lower limit, there are no terms. An empty sum is defined as 0 and an empty product as 1, the values that leave addition and multiplication unchanged. This is one reason 0! = 1.

Watch for these traps.

  • ∑ aₖbₖ is generally not (∑ aₖ)(∑ bₖ). With terms 1, 2 and 3, 4: the first is 11, the second is 21.
  • ∑ aₖ² is generally not (∑ aₖ)². For 1 and 2: 5 against 9.
  • You cannot pull a factor involving the index outside the sum.
  • Infinite upper limits, written with ∞, mean a limit of partial sums, which may not exist. See how a sum without end can be finite.

Practice with answers

Cover the right-hand column, work each item on paper, then compare.

Expression Value
∑ (k = 1 to 4) (k + 1) 2 + 3 + 4 + 5 = 14
∑ (k = 0 to 3) 2ᵏ 1 + 2 + 4 + 8 = 15
∑ (k = 1 to 6) (−1)ᵏ −1 + 1 − 1 + 1 − 1 + 1 = 0
∏ (k = 1 to 4) 2k 2 · 4 · 6 · 8 = 384
∑ (k = 5 to 5) k² 25

The fourth item can be checked with the product rule for constants: 2⁴ · 4! = 16 · 24 = 384. The last one is a reminder that equal limits give exactly one term.

If an answer differs, locate the first term where your expansion and the table disagree. The error is almost always in a limit or in a missing pair of parentheses. Note that ∑ (k + 1) and (∑ k) + 1 are different: over k from 1 to 4, the first is 14 and the second is 11.

Where you will meet it

The average of n data values is (1/n) · ∑ xₖ. For 4, 7 and 10 that is 21/3 = 7. Variance, polynomials, the binomial theorem, probability distributions and the definition of the integral all lean on the same notation.

When a formula looks intimidating, write out the first three terms and the last one. That single habit resolves most confusion, and it often suggests the next step as well.

Written for 4Mathematics with AI writing tools and not reviewed line by line by a person. Check anything you rely on against a textbook or primary source. Report an error.

Keep reading

All 32 articles in How Mathematics Works →

Latest news on this topic