Sigma Notation and Finite Sums
Learning objectives
- Evaluate sums using standard summation formulas
- Apply linearity of summation
- Recognize and evaluate telescoping sums
- Manipulate summation indices
Adding up a hundred numbers by hand is a punishment; adding up a billion is impossible. Mathematics needs closed-form expressions for sums, formulas that take the upper index and produce the total in one calculation. This section assembles the standard ones, shows where they come from, and introduces a magic-trick technique called telescoping that collapses huge sums to two terms.
Sigma notation, briefly
The expression , a summation, means . The letter is the dummy index, you can rename it without changing the value. The bottom and top of the sigma fix the range; is the only variable that escapes.
The four standard formulas
These are the building blocks. Memorise the first three. The fourth is striking enough that you will remember it after one look.
The last identity is one of the most beautiful in elementary mathematics: the sum of the first cubes equals the square of the sum of the first integers. Each formula can be proved by induction; the previous section showed exactly how.
- Statistics: The sample mean and sample variance are both sums you will evaluate every day if you do any data work.
- Numerical Integration: Trapezoidal and Simpson's rule approximate by ; telescoping sums (Euler-Maclaurin formula) give the error bound for these schemes.
- Algorithms: Loop runtime is a sum: a
for i in 1..ndoing work per iteration runs in time, the closed-form summation formula is the analysis.
(Set the mode to Arithmetic (an arithmetic sequence), leave and , and slide . The partial-sum line tracks the formula exactly. Change to and the bars become odd numbers; the partial sums become , perfect squares. That is shown geometrically.)
Linearity
Summation distributes over addition and pulls out constants:
So a complicated sum like collapses into three known pieces, just apply linearity, then plug into the standard formulas. The arithmetic is mechanical; the work is choosing how to decompose.
Telescoping, when the middle vanishes
A telescoping sum is one where adjacent terms cancel. The cleanest example is . Write it out:
Every interior term appears once with a plus sign and once with a minus sign, they cancel. Only the very first and the very last survive, so the whole sum collapses to .
The trick to recognising a telescope: rewrite the summand as a difference . Often partial fractions do this work for you, for example, .
Shifting the index
You can rename or shift the dummy variable, just as you can with the variable of integration. Substituting gives . The result is the same number; only the labels move. This is exactly how you align two sums whose ranges look different but whose contents overlap.
Try it
- Predict first: what does the geometric series sum to? Switch to Geometric mode with and , and watch the partial sum climb toward your prediction as grows.
- Use linearity to compute on paper. Compare against direct summation in the widget by setting the right side modes.
- Verify by partial-fractioning the summand and telescoping.
- Show that in two ways: (i) by induction, (ii) using and linearity.
Pause: linearity tells you . Can you also pull a function of , say itself, out of the sigma? Why not?
Try it in code
A trap to watch for
The most common error: writing . Summation does not distribute over multiplication. Try the smallest test: , whereas . The two are not equal, sigma is linear, not multiplicative.
A second trap: telescoping looks like it leaves nothing behind, but it always leaves two leftover terms, the first and the last. Beginners write the answer as just , missing the . Always write out three or four terms before collapsing.
What you now know
You can evaluate the four standard sums in closed form, use linearity to split mixed expressions, recognise a telescoping pattern, and shift indices to align ranges. The next section turns to geometric series, sums of the form , where the same techniques deliver the most useful formula in all of elementary analysis: for .
Quick check
Mark section complete →
References
- Lang, S. (1971). Basic Mathematics. Springer. Chapter 16, §2, the four standard formulas with inductive derivations.
- Spivak, M. (1994). Calculus (3rd ed.). Publish or Perish. Chapter 2: sigma notation and the first taste of summation by induction.
- Knuth, D. E.; Graham, R. L.; Patashnik, O. (1994). Concrete Mathematics (2nd ed.). Addison-Wesley. Chapter 2: the definitive treatment of finite sums, with telescoping as a recurring theme.
- Velleman, D. J. (2006). How to Prove It (2nd ed.). Cambridge University Press. §6.3, how to prove a summation identity by induction.