← Back to course

Sigma Notation

Sigma notation ∑i=mnai\sum_{i=m}^{n} a_i is shorthand for adding terms following a pattern. Substitute integers from mm to nn into the formula aia_i and sum the results. Linearity and closed-form formulas simplify evaluation with variable upper limits.

Sigma Notation: Compact Summation

Sigma notation is a compact way to express the sum of many terms that follow a pattern. Instead of writing f(x1)+f(x2)+⋯+f(xn)f(x_1) + f(x_2) + \cdots + f(x_n) repeatedly, we use:

∑i=mnai=am+am+1+am+2+⋯+an\sum_{i=m}^{n} a_i = a_m + a_{m+1} + a_{m+2} + \cdots + a_n

Here, ii is the index of summation, mm is the lower limit, nn is the upper limit, and aia_i is the formula determining each term.

Evaluating a Sum

To evaluate a sum, substitute each integer from the lower to upper limit into the formula and add:

∑i=14i2=12+22+32+42=1+4+9+16=30\sum_{i=1}^{4} i^2 = 1^2 + 2^2 + 3^2 + 4^2 = 1 + 4 + 9 + 16 = 30

The index disappears after evaluation—the result is a single number.

Key Properties: Linearity

Sigma notation follows linearity rules that simplify complex sums:

∑i=mnc⋅ai=c∑i=mnai(constants factor out)\sum_{i=m}^{n} c \cdot a_i = c \sum_{i=m}^{n} a_i \quad \text{(constants factor out)}

∑i=mn(ai+bi)=∑i=mnai+∑i=mnbi(sums split apart)\sum_{i=m}^{n} (a_i + b_i) = \sum_{i=m}^{n} a_i + \sum_{i=m}^{n} b_i \quad \text{(sums split apart)}

Closed-Form Formulas

Rather than computing term-by-term, use these standard formulas:

FormulaResult
∑i=1nc\sum_{i=1}^{n} ccncn
∑i=1ni\sum_{i=1}^{n} in(n+1)2\frac{n(n+1)}{2}
∑i=1ni2\sum_{i=1}^{n} i^2n(n+1)(2n+1)6\frac{n(n+1)(2n+1)}{6}

These enable symbolic evaluation with variable nn.

Example

Evaluate ∑i=1n(2i+3)\sum_{i=1}^{n} (2i+3) using linearity:

∑i=1n(2i+3)=2∑i=1ni+∑i=1n3=2⋅n(n+1)2+3n=n2+4n\sum_{i=1}^{n} (2i+3) = 2\sum_{i=1}^{n} i + \sum_{i=1}^{n} 3 = 2 \cdot \frac{n(n+1)}{2} + 3n = n^2 + 4n

Check: For n=2n=2, direct gives (2⋅1+3)+(2⋅2+3)=12(2 \cdot 1+3)+(2 \cdot 2+3) = 12; formula gives 4+8=124+8=12 ✓

Pitfall to Avoid

The index ii is a dummy variable—it exists only within the summation. Once you evaluate, the index vanishes. Confusing this can lead to errors when translating between expanded and compact forms.

Practice problems

Practice similar problems interactively, with instant feedback.

Start Closing the Gap