Sigma notation is a short way to write a long sum. Use the expander below to type any sum and see every term and the running total, then switch to the generator for new problems with an answer box, a check button and the steps.
Sigma notation term expander
Use k as the index. Type ^ for powers, / for fractions and parentheses to group, for example (-1)^k or 1/(k(k+1)). Up to 40 terms.
| k | Term | Value | Running sum |
|---|
Sigma notation practice generator
Answers can be whole numbers, fractions such as 3/4, or decimals rounded to two or more places. Write products as 3k or 3*k.
Contents
- What sigma notation means
- How to expand and add a sum
- Rules for sums
- Formulas worth memorizing
- Worked examples
- Changing the starting index
- Common mistakes
- Practice problems
- Frequently asked questions
- See also
- Related calculators
What sigma notation means
The Greek capital letter sigma means "add up". Under it you find where the counting starts, above it where the counting stops, and to its right the rule that builds each term.
$$\sum_{k=1}^{5}(3k-1)$$
- The index is the letter, here $latex k$. It takes whole values one at a time.
- The lower limit is the first value of the index, here $latex k=1$.
- The upper limit is the last value, here 5.
- The general term is the rule after the sigma, here $latex 3k-1$.
To expand it, put each value of $latex k$ into the rule and add the results:
$$\sum_{k=1}^{5}(3k-1)=(3\cdot 1-1)+(3\cdot 2-1)+(3\cdot 3-1)+(3\cdot 4-1)+(3\cdot 5-1)=2+5+8+11+14=40$$
Both limits are included, so the number of terms is the upper limit minus the lower limit plus 1. Here that is $latex 5-1+1=5$ terms.
How to expand and add a sum
- Count the terms. Upper limit minus lower limit, plus 1.
- Substitute. Replace the index by each whole number from the lower limit to the upper limit.
- Evaluate each term. Watch signs, powers and fractions.
- Add. Keep a running total so one slip does not spoil the rest.
- Check with a shortcut when one applies (see the next two sections).
The expander does steps 1 to 4 for you and draws the terms and the running total as a chart. Move the slider to reveal one term at a time. Under the chart, a shortcut formula appears whenever the terms are arithmetic, polynomial or geometric, so you can compare it with the long way.
Rules for sums
Three rules split a sum into easier pieces. Here $latex c$ is a constant and $latex a_k$ and $latex b_k$ are any terms.
$$\sum_{k=m}^{n} c\,a_k = c\sum_{k=m}^{n} a_k$$
$$\sum_{k=m}^{n}(a_k+b_k)=\sum_{k=m}^{n}a_k+\sum_{k=m}^{n}b_k$$
$$\sum_{k=1}^{n} c = cn$$
For example, split the sum of $latex 3k+2$ into a part with $latex k$ and a constant part:
$$\sum_{k=1}^{4}(3k+2)=3\sum_{k=1}^{4}k+\sum_{k=1}^{4}2=3\cdot 10+2\cdot 4=30+8=38$$
A sum that starts later is a bigger sum minus the part you do not want:
$$\sum_{k=a}^{b} f(k)=\sum_{k=1}^{b} f(k)-\sum_{k=1}^{a-1} f(k)$$
Formulas worth memorizing
These sums come up all the time. The last column shows each one for $latex n=10$.
| Sum | Formula | Value for n = 10 |
|---|---|---|
| $latex \sum_{k=1}^{n}1$ | $latex n$ | 10 |
| $latex \sum_{k=1}^{n}k$ | $latex \frac{n(n+1)}{2}$ | 55 |
| $latex \sum_{k=1}^{n}k^2$ | $latex \frac{n(n+1)(2n+1)}{6}$ | 385 |
| $latex \sum_{k=1}^{n}k^3$ | $latex \left(\frac{n(n+1)}{2}\right)^2$ | 3025 |
| $latex \sum_{k=0}^{n-1}2^k$ | $latex 2^n-1$ | 1023 |
The sum of the first $latex n$ whole numbers has a famous story. Pair the first and last term, the second and the next to last, and every pair adds to the same amount. For a range such as $latex k=3$ to $latex k=7$, use the formula at 7 and subtract the formula at 2.
Worked examples
Example 1: an arithmetic sum
Evaluate this sum.
$$\sum_{k=1}^{5}(3k-1)=(3\cdot 1-1)+(3\cdot 2-1)+(3\cdot 3-1)+(3\cdot 4-1)+(3\cdot 5-1)=2+5+8+11+14=40$$
The terms go up by 3 each time, so the shortcut applies: number of terms times first plus last, divided by 2.
$$5\cdot\frac{2+14}{2}=40$$
Example 2: a sum that does not start at 1
Evaluate $latex \sum_{k=3}^{7}k^{2}$. Add the five squares directly:
$$\sum_{k=3}^{7}k^{2}=3^{2}+4^{2}+5^{2}+6^{2}+7^{2}=9+16+25+36+49=135$$
With the formula for the sum of squares, take its value at 7 and subtract its value at 2:
$$\frac{7\cdot 8\cdot 15}{6}-\frac{2\cdot 3\cdot 5}{6}=140-5=135$$
Example 3: alternating signs
Evaluate $latex \sum_{k=1}^{6}(-1)^{k}\cdot k$. The factor $latex (-1)^k$ is $latex -1$ for odd $latex k$ and $latex 1$ for even $latex k$.
$$\sum_{k=1}^{6}(-1)^{k}\cdot k=(-1)^{1}\cdot 1+(-1)^{2}\cdot 2+(-1)^{3}\cdot 3+(-1)^{4}\cdot 4+(-1)^{5}\cdot 5+(-1)^{6}\cdot 6=-1+2-3+4-5+6=3$$
Pairing the terms makes it quick: $latex (-1+2)+(-3+4)+(-5+6)=1+1+1=3$.
Example 4: a geometric sum
Evaluate $latex \sum_{k=0}^{4}2^{k}$. Each term is double the previous one.
$$\sum_{k=0}^{4}2^{k}=2^{0}+2^{1}+2^{2}+2^{3}+2^{4}=1+2+4+8+16=31$$
The geometric shortcut agrees: with ratio 2 and 5 terms starting at 1, the sum is $latex \frac{2^{5}-1}{2-1}=\frac{32-1}{1}=31$.
Example 5: a telescoping sum
Evaluate $latex \sum_{k=1}^{9}\frac{1}{k(k+1)}$. Split each term into a difference:
$$\frac{1}{k(k+1)}=\frac{1}{k}-\frac{1}{k+1}$$
Almost every piece cancels with its neighbor:
$$\left(1-\frac12\right)+\left(\frac12-\frac13\right)+\cdots+\left(\frac{1}{9}-\frac{1}{10}\right)=1-\frac{1}{10}=\frac{9}{10}$$
Example 6: writing a sum in sigma notation
Write $latex 4+9+14+19+24$ with sigma notation. The terms go up by 5 each time, so the rule contains $latex 5k$. At $latex k=1$ that gives 5, but the first term is 4, so the constant is −1. There are 5 terms, so the limits are 1 and 5:
$$\sum_{k=1}^{5}(5k-1)=70$$
Other answers are just as good. Starting at $latex k=0$ with $latex 5k+4$ gives the same terms and the same total of 70.
Changing the starting index
You can shift the index without changing the sum, as long as the rule shifts the opposite way. Replace $latex k$ by $latex j+1$ and the limits drop by 1:
$$\sum_{k=1}^{5}k^{2}=\sum_{j=0}^{4}(j+1)^{2}=55$$
Shifting is how you match a sum to a formula that expects the index to start at 1.
Common mistakes
- Miscounting the terms. From $latex k=3$ to $latex k=12$ there are $latex 12-3+1=10$ terms, not 9.
- Treating a sum of products as a product of sums. $latex \sum_{k=1}^{3}k\cdot k=14$, but $latex \left(\sum_{k=1}^{3}k\right)\left(\sum_{k=1}^{3}k\right)=6\cdot 6=36$.
- Confusing $latex \sum k^2$ with $latex \left(\sum k\right)^2$. For $latex n=4$ the first is 30 and the second is 100.
- Losing the sign of $latex (-1)^k$. At $latex k=1$ it equals $latex -1$, so an alternating sum starts negative unless you write $latex (-1)^{k+1}$.
- Pulling out something that depends on $latex k$. Only constants leave the sigma.
- Adding a constant once. $latex \sum_{k=1}^{n}5=5n$, one 5 for every term.
Practice problems
Try these on paper, then open the answer. For endless new problems, use the generator above the contents.
1. Evaluate $latex \sum_{k=1}^{6}(2k-3)$.
The terms are $latex -1+1+3+5+7+9$, so the sum is 24.
2. Evaluate $latex \sum_{k=2}^{5}k^{3}$.
The cubes are $latex 8+27+64+125$, so the sum is 224.
3. Evaluate $latex \sum_{k=1}^{8}(-1)^{k}$.
The terms alternate between $latex -1$ and $latex 1$, so they cancel in pairs. The sum is 0.
4. Evaluate $latex \sum_{k=0}^{5}3\cdot 2^{k}$.
The terms are $latex 3+6+12+24+48+96$, so the sum is 189.
5. How many terms does $latex \sum_{k=3}^{12}k$ have, and what is their sum?
It has 10 terms: $latex 3+4+5+6+7+8+9+10+11+12$, and the sum is 75.
6. Write $latex 2+4+8+16+32$ in sigma notation.
Each term is double the previous one, so $latex \sum_{k=1}^{5}2^{k}$, and the sum is 62.
Frequently asked questions
Can the index be a letter other than k?
Yes. The letters i, j, k and n are common. The index is only a placeholder, so the sum is the same whichever letter you use. The expander accepts i, j or k.
What if the upper limit is smaller than the lower limit?
By convention that is an empty sum and it equals 0. The expander asks for the larger number on top so every sum has at least one term.
Can the upper limit be infinity?
Yes, that is an infinite series, and some of them converge to a number. This page works with finite sums. See the article on the sum to infinity of a geometric sequence for the convergent case.
What is the difference between a sequence and a series?
A sequence is a list of terms. A series is the sum of those terms. Sigma notation is the standard way to write a series.
See also
- Series and Sigma Notation - Examples with Answers
- Sum of an Arithmetic Sequence: Examples and Practice Problems
- Sum of a Geometric Sequence: Examples and Practice Problems
- Sum to Infinity of Geometric Sequences with Examples
- Riemann Sums: Area Under a Curve with Rectangles
- Variance and Standard Deviation Step by Step