# Sigma and Pi Notation

### Sigma (Summation) Notation

is a capital letter from the Greek alphabet called “Sigma”… it corresponds to “S” in our alphabet (think of the starting sound of the word “sigma”). It is used in mathematics to describe “summation”, the addition or sum of a bunch of terms (think of the starting sound of the word “sum”: **Sss**igma = **Sss**um).

Sigma can be used all by itself to represent a generic sum… the general idea of a sum, of an unspecified number of unspecified terms:

But this is not something that can be evaluated to produce a specific answer, as we have not been told how many terms to include in the sum, nor have we been told how to determine the value of each term.

A more typical use of Sigma notation will include an integer below the Sigma (the “starting term number”), and an integer above the Sigma (the “ending term number”). In the example below, the exact starting and ending numbers don’t matter much since we are being asked to add the same value, two, repeatedly. All that matters in this case is the difference between the starting and ending term numbers… that will determine how many twos we are being asked to add, one two for each term number.

Sigma notation, or as it is also called, summation notation is not usually worth the extra ink to describe simple sums such as the one above… multiplication could do that more simply.

Sigma notation is most useful when the “term number” can be used in some way to calculate each term. To facilitate this, a variable is usually listed below the Sigma with an equal sign between it an the starting term number. If this variable appears in the expression being summed, then the current term number should be substituted in for the variable:

Note that it is possible to have a variable below the Sigma, but never use it. In such cases, just as in the example that resulted in a bunch of twos above, the term being added never changes:

The “starting term number” need not be 1. It can be any value, including 0. For example:

That covers what you need to know to begin working with Sigma notation. However, since Sigma notation will usually have more complex expressions after the Sigma symbol, here are some further examples to give you a sense of what is possible:

Note that the previous example illustrates that, using the commutative property of addition, a sum of multiple terms can be broken up into multiple sums:

And lastly, this notation can be nested:

### Pi (Product) Notation

is a capital letter from the Greek alphabet call “Pi”… it corresponds to “P” in our alphabet (think of the starting sound of the word “pi”). It is used in mathematics to represent the product of a bunch of terms (think of the starting sound of the word “product”: **Ppp**i = **Ppp**roduct). It is used in the same way as the Sigma notation described above, except that succeeding terms are multiplied instead of added:

### Summary

Sigma (summation) and Pi (product) notation are used in mathematics to indicate repeated addition or multiplication. Sigma notation provides a compact way to represent many sums, and is used extensively when working with Arithmetic or Geometric Series. Pi notation provides a compact way to represent many products.

To make use of them you will need a “closed form” expression (one that allows you to describe each term’s value using the term number) that describes all terms in the sum or product (just as you often do when working with sequences and series). Sigma and Pi notation save much paper and ink, as do other math notations, and allow fairly complex ideas to be described in a relatively compact notation.

am very thankful 2 the information above.it is very helpful to me

I always see these equations on in technical papers but I never knew how to decode them. This was so helpful! It’s basically a for loop in scripting, makes so much sense. Also your blog is awesome, thank you for sharing!

Thank you! And yes, a little programming experience with loops makes Sigma and Pi Notation much easier to understand…

Very very useful. Thanks a lot – Sundaram

Thank you, this was very helpful. I was finding how to use Sigma notation, and finally found such a good one.

Indeed a very lucid exposition of Sigma and Pi notations! Thanks :)

Very useful post. But what if the Pi notation is not in closed form, such as

If the index limit above the Pi symbol is a variable, as in the example you gave:

then there are an indeterminate number of factors in the product until such time as “n” is specified.

I suppose a problem could be posed this way if you are being asked to come up with an expression for such a product that does not involve Pi notation: is there some closed form expression involving “n” that represents this product?

So, if n=3, then

and if n=4, then

and if you leave the final index as “n” becomes:

Is there some closed form expression that represents this product?

what is the relation between the two when they are logarithmic differentiated?

It would help if you could provide an example of what you are asking about.

If you need to differentiate a sum, I would not expect logarithmic differentiation to be very useful, as the laws of logarithms do not allow us to do anything with something like

Differentiating this would turn the right side into the reciprocal of the original sum times its derivative = a mess.

However, if you need to differentiate a product, logarithmic differentiation could make life simpler by converting a long succession of product rule applications into a sum of logs. Since

we can rewrite the log of a product as a sum of logs:

which, in many cases, could simplify the differentiation process.

If sigma is for summation, and pi is for multiplication, are there any notations for division and subtraction? Just out of curiosity?

Good question!

Subtraction can be rewritten as the addition of a negative. So Sigma notation describes repeated subtraction when its argument is a negative quantity.

Division can be rewritten as multiplication by the reciprocal. So Pi notation describes repeated division by the reciprocal of its argument.

Therefore, additional notations are not needed to describe repeated subtraction or division… Which is quite convenient.

Sir, how about expressing thing one 1x2x3 + 2x3x4 + 3x4x5 + ….will it be a combination of

sigma and pi? If you can illustrate it please.

You are correct – this can be represented using a combination of Sigma and Pi notation:

In the above notation, i is the index variable for the Sum, and provides the starting number for each product. By having the Product index variable start at zero, the expression to generate each value is a bit simpler. If j went from one to three each time, the expression on the right would have to be (i + j – 1).

what can be the correct answer this equation?

The example was an expression,

notan equation, therefore it cannot be “solved”. This particular example can be simplified to , which would raise the question: “why write it using Sigma Notation when you could just as easily write ?”. My answer to that would be: I probably would not use Sigma Notation to write such a simple expression. This example was intended show how to interpret Sigma Notation in some of the many ways that it can be used.