Main content

### Course: AP®︎/College Calculus AB > Unit 6

Lesson 3: Riemann sums, summation notation, and definite integral notation- Summation notation
- Summation notation
- Worked examples: Summation notation
- Summation notation
- Riemann sums in summation notation
- Riemann sums in summation notation
- Worked example: Riemann sums in summation notation
- Riemann sums in summation notation
- Definite integral as the limit of a Riemann sum
- Definite integral as the limit of a Riemann sum
- Worked example: Rewriting definite integral as limit of Riemann sum
- Worked example: Rewriting limit of Riemann sum as definite integral
- Definite integral as the limit of a Riemann sum

© 2024 Khan AcademyTerms of usePrivacy PolicyCookie Notice

# 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 $\sum$ . It tells us that we are summing

**sigma**symbol:*something*.Let's start with a basic example:

This is a summation of the expression $2n-1$ for integer values of $n$ from $1$ to $3$ :

Notice how we substituted ${n=1}$ , ${n=2}$ , and ${n=3}$ into $2{n}-1$ and summed the resulting terms.

**index**. When we evaluate a summation expression, we keep substituting different values for our index.

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$ :

We can use any letter we want for our index. For example, this expression has $i$ for its index:

Some summation expressions have variables other than the index. Consider this sum:

Notice that our index is $n$ , $k$ . This means we substitute the values into $n$ , and $k$ remains unknown:

*not***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.

*Want more practice? Try this exercise.*

## Want to join the conversation?

- can there be 2 sigma symbols at a time

and what if such condition occurs(42 votes)- 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.(125 votes)

- 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)- 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)

- How do i derive the formula for summation?

Sum from k to n i = [(n-k+1)(n+k)]/2(7 votes)- 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)

- 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)
- 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) - Why is (sigma; n=1 to 3) (n!) -n undefined?(3 votes)
- 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)

- What would a function like this look like in Khan Academy Javascript?(2 votes)
- 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)

- What if my index is m and is in the exponent of some "not index" variable?(2 votes)
- Then you would still substitute the "m" values into the sum. The base variable would remain unchanged.(4 votes)

- Can the index only increase by 1, or is it possible for an index to increase by a larger number?(2 votes)
- 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)

- This seems kind of sus(3 votes)