Math Fundamentals18 sections · 814 units
Open in Course

Telescoping Sums

When terms cancel

A telescoping sum is one where most terms cancel out, leaving only the first and last. Consider i=1n(aiai1)\sum_{i=1}^{n} (a_i - a_{i-1}).

Expand it: (a1a0)+(a2a1)+(a3a2)+...+(anan1)(a_1 - a_0) + (a_2 - a_1) + (a_3 - a_2) + ... + (a_n - a_{n-1}). Notice a1a_1 cancels with a1-a_1, a2a_2 cancels with a2-a_2, and so on.

What remains is ana0a_n - a_0. The sum collapses to just two terms. This pattern appears when computing differences or analyzing algorithms that maintain running totals.