What is a summation (sigma) calculator?
Sigma notation, written Σ, is a compact way to express the sum of many terms. The expression \( \sum_{i=a}^{b} f(i) \) means: evaluate \( f(i) \) for every integer \( i \) starting at the lower limit \( a \) and ending at the upper limit \( b \), then add all those values together. This calculator evaluates that sum for several common expressions — \( i \), \( i^2 \) (squares), \( i^3 \) (cubes), \( c \cdot i \), and a constant \( c \) — so you can check homework, verify formulas, or get a quick total without writing every term by hand.
How to use it
Pick the expression type for \( f(i) \). If you choose \( c \cdot i \) or \( c \), enter the constant \( c \). Then set the lower limit \( a \) and upper limit \( b \) (both integers, with \( b \ge a \)). The calculator loops through each integer \( i \) in that range, computes \( f(i) \), and reports the total along with the number of terms it added.
The formula explained
The general definition is $$ \sum_{i=a}^{b} f(i) = f(a) + f(a+1) + \dots + f(b). $$ Closed-form shortcuts exist for the most common cases: the sum of the first \( n \) integers is \( \frac{n(n+1)}{2} \), the sum of squares is \( \frac{n(n+1)(2n+1)}{6} \), and the sum of cubes is \( \left[\frac{n(n+1)}{2}\right]^2 \). This tool computes the result by direct iteration, which matches those formulas exactly.
Worked example
Compute \( \sum_{i=1}^{5} i^2 \). The terms are $$ 1 + 4 + 9 + 16 + 25 = 55. $$ Using the closed form: $$ \frac{5 \cdot 6 \cdot 11}{6} = \frac{330}{6} = 55. $$ The calculator returns 55 with 5 terms.
Common Summation Formulas and Closed Forms
Sigma notation \(\sum_{i=a}^{b} f(i)\) adds the values of \(f(i)\) for every integer \(i\) from \(a\) to \(b\). The number of terms is \(n = b - a + 1\) (when \(b \ge a\)). The closed forms below let you skip the term-by-term addition.
| Sum | Closed form | Notes |
|---|---|---|
| \(\sum_{i=1}^{n} c\) | \(c\,n\) | Constant added n times |
| \(\sum_{i=1}^{n} i\) | \(\frac{n(n+1)}{2}\) | Triangular numbers |
| \(\sum_{i=1}^{n} i^2\) | \(\frac{n(n+1)(2n+1)}{6}\) | Square pyramidal numbers |
| \(\sum_{i=1}^{n} i^3\) | \(\left(\frac{n(n+1)}{2}\right)^2\) | Equals the square of \(\sum i\) |
| \(\sum_{i=1}^{n} c\,i\) | \(\frac{c\,n(n+1)}{2}\) | Constant factor pulled out |
| \(\sum_{i=1}^{n} \big(a_1+(i-1)d\big)\) | \(\frac{n}{2}(\text{first}+\text{last})\) | Arithmetic series with common difference \(d\) |
Properties
- Additivity: \(\sum (f(i)+g(i)) = \sum f(i) + \sum g(i)\)
- Constant multiple: \(\sum c\,f(i) = c\sum f(i)\)
- Range rule: if \(S(n)=\sum_{i=1}^{n} f(i)\), then \(\sum_{i=a}^{b} f(i) = S(b) - S(a-1)\)
- Number of terms: \(n = b - a + 1\)
Example of the range rule: \(\sum_{i=5}^{10} i = S(10) - S(4) = 55 - 10 = 45\).
Comparing Results for Different Expressions and Limits
The table shows how the expression and the limits change the number of terms and the sum. All values are integer sums over \(i\) from a to b.
| Expression | a | b | Number of terms | Sum |
|---|---|---|---|---|
| \(i\) | 1 | 10 | 10 | 55 |
| \(i^2\) | 1 | 10 | 10 | 385 |
| \(i^3\) | 1 | 10 | 10 | 3025 |
| \(3i\) | 1 | 10 | 10 | 165 |
| constant 4 | 1 | 10 | 10 | 40 |
| \(i\) | 5 | 10 | 6 | 45 |
| \(i^2\) | −2 | 3 | 6 | 19 |
| any expression | 5 | 3 | 0 (b < a) | 0 |
Checks
- \(\sum_{i=1}^{10} i^2 = \frac{10\cdot 11\cdot 21}{6} = 385\)
- \(\sum_{i=1}^{10} i^3 = \left(\frac{10\cdot 11}{2}\right)^2 = 55^2 = 3025\)
- \(\sum_{i=1}^{10} 3i = 3\cdot 55 = 165\)
- \(\sum_{i=1}^{10} 4 = 4\cdot 10 = 40\)
- \(\sum_{i=-2}^{3} i^2 = 4+1+0+1+4+9 = 19\)
When the upper limit is below the lower limit, the sum is empty: it has 0 terms and equals 0 by convention.
FAQ
Can the limits be negative? Yes — \( a \) and \( b \) can be any integers as long as \( b \ge a \). The loop simply runs from \( a \) up to \( b \).
What does the "constant" type do? Choosing \( c \) sums the same value \( c \) once for each integer in the range, so the result is \( c \times (\text{number of terms}) \).
Why is the result 0? If \( b \) is less than \( a \) there are no terms to add, so the sum is 0.