What Is a Summation Calculator?
A summation calculator evaluates expressions written in sigma notation, the compact mathematical shorthand for adding a sequence of terms. The notation Σ (the Greek capital letter sigma) tells you to add up the value of a function \(f(i)\) for every integer \(i\) starting at a lower limit a and ending at an upper limit b, inclusive. This tool handles several of the most common functions: \(f(i) = i\), \(i^{2}\), \(i^{3}\), \(1/i\) (the harmonic series), and a constant 1.
How to Use It
Pick the function \(f(i)\) you want to sum, then enter the lower limit (a) and upper limit (b). The calculator loops from \(i = a\) to \(i = b\), evaluates \(f(i)\) at each step, and adds the results together. It also reports how many terms were added so you can sanity-check the range.
The Formula Explained
Sigma notation expands like this: $$\sum_{i=a}^{b} f(i) = f(a) + f(a+1) + \ldots + f(b).$$ For example, \(\sum_{i=1}^{4} i\) means \(1 + 2 + 3 + 4\). Many sums have neat closed forms — the sum of the first \(n\) positive integers is \(\frac{n(n+1)}{2}\), and the sum of squares is \(\frac{n(n+1)(2n+1)}{6}\) — but this calculator works for any integer range, including negative starting values.
Worked Example
Suppose you want \(\sum_{i=1}^{5} i^{2}\). Evaluate each term: $$1^{2} + 2^{2} + 3^{2} + 4^{2} + 5^{2} = 1 + 4 + 9 + 16 + 25 = 55.$$ The closed form confirms it: $$\frac{5 \cdot 6 \cdot 11}{6} = \frac{330}{6} = 55.$$ There are 5 terms in the sum.
Common Summation Formulas and Closed Forms
These closed forms give the sum from \(i=1\) to \(n\), where \(n\) is a positive integer and \(c\) is a constant. They let you skip adding every term one by one.
| Sum | Closed form |
|---|---|
| \(\sum_{i=1}^{n} c\) | \(cn\) |
| \(\sum_{i=1}^{n} i\) | \(\frac{n(n+1)}{2}\) |
| \(\sum_{i=1}^{n} i^2\) | \(\frac{n(n+1)(2n+1)}{6}\) |
| \(\sum_{i=1}^{n} i^3\) | \(\left[\frac{n(n+1)}{2}\right]^2\) |
| \(\sum_{i=1}^{n} \frac{1}{i}\) | Harmonic number \(H_n\). It has no simple closed form, but \(H_n \approx \ln n + 0.5772\) for large \(n\). |
Range-shift rule
To sum over a range that does not start at 1, subtract the partial sum before the start. Write \(S(n)\) for the sum from 1 to \(n\):
$$\sum_{i=a}^{b} f(i) = S(b) - S(a-1)$$
Example: \(\sum_{i=3}^{6} i^2 = S(6) - S(2) = 91 - 5 = 86\), which matches \(9+16+25+36\).
Linearity
- Constant factor: \(\sum_{i=a}^{b} c\,f(i) = c\sum_{i=a}^{b} f(i)\)
- Sum of functions: \(\sum_{i=a}^{b} \left(f(i)+g(i)\right) = \sum_{i=a}^{b} f(i) + \sum_{i=a}^{b} g(i)\)
Note that a constant summed over a general range \(a\) to \(b\) has \(b-a+1\) terms, so it equals \(c\,(b-a+1)\). If \(b<a\), the sum is empty and equals 0.
FAQ
What does i mean in sigma notation? It is the index of summation — a counter that increases by 1 from the lower limit to the upper limit.
Can the lower limit be larger than the upper limit? Conventionally an empty sum (when \(a > b\)) equals 0, which is what this calculator returns.
Does it include both endpoints? Yes. Sigma notation is inclusive of both a and b, so \(\sum_{i=2}^{4}\) sums \(i = 2, 3\) and \(4\).