If you're seeing this message, it means we're having trouble loading external resources on our website.

If you're behind a web filter, please make sure that the domains *.kastatic.org and *.kasandbox.org are unblocked.

Main content

Summation notation

We can describe sums with multiple terms using the sigma operator, Σ. Learn how to evaluate sums written this way.
Summation notation (or sigma notation) allows us to write a long sum in a single expression.

Unpacking the meaning of summation notation

This is the sigma symbol: . It tells us that we are summing something.
Let's start with a basic example:
Stop at n=3(inclusive)n=132n1Expression for eachStart at n=1term in the sum
This is a summation of the expression 2n1 for integer values of n from 1 to 3:
=n=132n1=[2(1)1]n=1+[2(2)1]n=2+[2(3)1]n=3=1+3+5=9
Notice how we substituted n=1, n=2, and n=3 into 2n1 and summed the resulting terms.
n is our summation index. When we evaluate a summation expression, we keep substituting different values for our index.
Problem 1
n=14n2=?
Choose 1 answer:

We can start and end the summation at any value of n. For example, this sum takes integer values of n from 4 to 6:
=n=46n1=(41)n=4+(51)n=5+(61)n=6=3+4+5=12
We can use any letter we want for our index. For example, this expression has i for its index:
=i=023i5=[3(0)5]i=0+[3(1)5]i=1+[3(2)5]i=2=5+(2)+1=6
Problem 2
k=35k(k+1)=
  • Your answer should be
  • an integer, like 6
  • a simplified proper fraction, like 3/5
  • a simplified improper fraction, like 7/4
  • a mixed number, like 1 3/4
  • an exact decimal, like 0.75
  • a multiple of pi, like 12 pi or 2/3 pi

Problem 3
Consider the sum 4+25+64+121.
Which expression is equal to the above sum?
Choose all answers that apply:

Some summation expressions have variables other than the index. Consider this sum:
n=14kn+1.
Notice that our index is n, not k. This means we substitute the values into n, and k remains unknown:
=n=13kn+1=k(1)+1+k(2)+1+k(3)+1=k2+k3+k4
Key takeaway: Before evaluating a sum in summation notation, always make sure you identified the index, and that you are only substituting into that index. Other unknowns should remain as they are.
Problem 4
m=148k6m=?
Choose 1 answer:

Want more practice? Try this exercise.

Want to join the conversation?

  • piceratops ultimate style avatar for user s.v.jayachand
    can there be 2 sigma symbols at a time
    and what if such condition occurs
    (41 votes)
    Default Khan Academy avatar avatar for user
    • leaf green style avatar for user kubleeka
      Yes, there can. Something like Σ³ᵢ₌₁Σ⁴ⱼ₌₁ ij

      In this case, we evaluate the innermost (rightmost) sum first. In the end, this will give us a function of i, which we then compute normally.

      The inner sum is i+2i+3i+4i, or 10i. So this simplifies to Σ³ᵢ₌₁ 10i, or 10+20+30=60.
      (121 votes)
  • duskpin tree style avatar for user G Y
    In the first section (Unpacking Sigma Notation), I've seen the index equal 0. But my calculus teacher says that the index can't be 0, because you can't have the 0th term of a sequence. But all else being equal (the sequence and summation index remaining the same), what would be the difference between a sum with i = 0 and a sum with i = 1?

    Thank you.
    (11 votes)
    Default Khan Academy avatar avatar for user
    • mr pink red style avatar for user andrewp18
      Nothing really. Nothing changes if you shift all the indices down by 1. In fact, you can really start at any index you want because there's no convention that the subscript has to denote which number the term is in the sequence. Generally, people start at index 1 because it happens to be convenient to use the subscripts (and so the indices) to keep track of the number of the terms.
      (17 votes)
  • blobby green style avatar for user Grave Watcher 69421
    How do i derive the formula for summation?

    Sum from k to n i = [(n-k+1)(n+k)]/2
    (7 votes)
    Default Khan Academy avatar avatar for user
    • primosaur seed style avatar for user Ian Pulizzotto
      Another way to derive this formula is to let
      S = Sum from k to n of i, write this sum in two ways, add the equations, and finally divide both sides by 2. We have

      S = k + (k+1) + ... + (n-1) + n
      S = n + (n-1) + ... + (k+1) + k.

      When we add these equations, we get 2S on the left side, and n-k+1 column sums that are each n+k on the right side.

      So 2S = (n-k+1)(n+k).
      Dividing both sides by 2 gives S = [(n-k+1)(n+k)]/2.
      (6 votes)
  • orange juice squid orange style avatar for user Cassie Areff
    In my physics class the derivative of momentum was taken and the summation went from having k=1 on the bottom and N on the top to just k on the bottom, why is this? Is it the same thing, but short hand?
    (8 votes)
    Default Khan Academy avatar avatar for user
  • blobby green style avatar for user Ross Metcalf
    How do I solve for the number on top of the Sigma?

    If I know the starting index, and I know the formula and the final sum, how do I solve for the ending index?

    Example, how do I solve for X?
    X
    E f(n * 500) = 18000
    n = 1
    (5 votes)
    Default Khan Academy avatar avatar for user
  • blobby green style avatar for user 372447
    Why is (sigma; n=1 to 3) (n!) -n undefined?
    (3 votes)
    Default Khan Academy avatar avatar for user
    • piceratops ultimate style avatar for user Hecretary Bird
      I have no idea, it doesn't look like it should be undefined. If we just calculate the sum from 1 to 3, we get a perfectly defined number:
      Sum = (1! - 1) + (2! - 2) + (3! - 3)
      = 0 + 0 + 3 = 3
      If you set n to infinity though, the series will diverge and there will be no sum. Could you be confusing it with that?
      (4 votes)
  • spunky sam blue style avatar for user brickbuilderchallenge
    What would a function like this look like in Khan Academy Javascript?
    (2 votes)
    Default Khan Academy avatar avatar for user
    • starky ultimate style avatar for user Cedar
      Basic summation demo with example in article:

      // Your function
      function f(x){ return 2*x - 1; }

      // Summation
      function summation(lower, upper, f){
      var sum = 0;
      for(var i = lower; i <= upper; i++){
      sum += f(i);
      }
      return sum;
      }

      // Result gives 9, which is equal to what's expected.
      // Arguments: lower bound on x, upper bound on x, f(x)
      println(summation(1, 3, f));

      You can modify the function 'f' in any way you want.
      (5 votes)
  • piceratops ultimate style avatar for user ZS
    What if my index is m and is in the exponent of some "not index" variable?
    (2 votes)
    Default Khan Academy avatar avatar for user
  • leafers ultimate style avatar for user Nick Voelckers
    Can the index only increase by 1, or is it possible for an index to increase by a larger number?
    (2 votes)
    Default Khan Academy avatar avatar for user
    • female robot grace style avatar for user loumast17
      You can decide that. you give it a starting point and ending point, but you can use terms in the function to make it go faster or slower.

      You could say the sum from i=0 to n of something with i^2. or you could even have something to the i power. But you will go through the integers with i, yes.So any manipulation of skipping numbers would have to be done in the function. For instance if you only wanted even numbers you would have a 2i in the function.
      (3 votes)
  • piceratops seed style avatar for user kimj171
    Additionally, does the "i" simply go up by integer values? What if I wanted a different manner of arithmetically changing "i"?
    (2 votes)
    Default Khan Academy avatar avatar for user
    • leaf green style avatar for user kubleeka
      Some books/teachers will accept writing, for example, 'step 0.5' to indicate that i is going up in increments of 1/2.
      However, this isn't necessary, since you can just change the expression inside the sum to get the same effect.

      So if you have the sum from i=1 to 10 of i², and you want to i to step by 1/3 instead of 1, you can change the expression i² to (1+(i-1)/3)², and have i go from i=1 to 28. This will get you the same sequence of numbers as just changing the step.
      (3 votes)