Discrete Mathematics and Combinatorics
Telescoping Sums and How to Find Closed Forms
See how sums collapse to a few terms, and learn practical ways to find the difference that makes a closed formula appear.
Key takeaways
- If each term equals a(k+1) − a(k), the whole sum equals the last value of a minus the first.
- Splitting a fraction into partial fractions, rationalizing and rewriting factorials are common ways to expose the difference.
- Summing differences of powers produces the formulas for sums of integers and squares.
- For an infinite series, the surviving tail term must have a limit before you can give the sum a value.
- Not every sum telescopes in terms of familiar functions, but telescoping can still give sharp bounds.
A telescoping sum is a sum in which each term can be written as a difference, so that neighboring pieces cancel and only the ends survive. If every term has the form a(k+1) − a(k), then adding the terms from k = 1 to k = n gives a(n+1) − a(1), however large n is.
The result is a closed form: an expression you can evaluate in a fixed number of steps instead of adding n terms one at a time. The art lies in finding the right sequence a(k). This article shows the main ways to find it.
Why the collapse happens
Write out the sum of differences for n = 4:
(a₂ − a₁) + (a₃ − a₂) + (a₄ − a₃) + (a₅ − a₄)
= a₅ − a₁ (a₂, a₃ and a₄ each appear once with each sign) The name comes from the old collapsing spyglass, whose long run of tubes slides down into a short one.
This is the discrete twin of the fundamental theorem of calculus. In calculus, integrating a derivative gives the difference of the endpoint values. For sums, adding up differences does the same. A sequence a(k) whose differences are your terms is called an antidifference, and it plays the role of an antiderivative.
The classic fraction example
Consider 1/(1·2) + 1/(2·3) + 1/(3·4) + ... + 1/(n(n+1)). Each term splits:
1/(k(k+1)) = 1/k − 1/(k+1)
sum = (1 − 1/2) + (1/2 − 1/3) + ... + (1/n − 1/(n+1))
= 1 − 1/(n+1)
= n/(n+1) Test n = 4: the terms are 1/2, 1/6, 1/12 and 1/20, which add to 48/60 = 4/5. The formula agrees.
The splitting technique is called partial fraction decomposition. When the two factors differ by more than 1, the cancellation is delayed. For instance, 1/(k(k+2)) = ½·(1/k − 1/(k+2)), and now two terms survive at each end:
sum from k = 1 to n = ½·(1 + 1/2 − 1/(n+1) − 1/(n+2)) At n = 1 this gives ½·(2/3) = 1/3, which matches the single term 1/(1·3). Writing out the first three and last two terms is the safest way to see which pieces remain.
Surds, factorials and logarithms
Many other kinds of terms hide a difference.
Square roots. Multiply top and bottom by the conjugate:
1/(√k + √(k+1)) = (√(k+1) − √k) / ((k+1) − k) = √(k+1) − √k So the sum from k = 1 to 99 is √100 − √1 = 9.
Factorials. Since (k+1)! = (k+1)·k!, you have k·k! = (k+1)! − k!. Therefore 1·1! + 2·2! + ... + n·n! = (n+1)! − 1. For n = 3, the left side is 1 + 4 + 18 = 23, and 4! − 1 = 23.
Logarithms. Using the natural logarithm ln, the term ln(1 + 1/k) equals ln(k+1) − ln k. The sum from 1 to n is therefore ln(n+1).
Geometric sums. Because r^(k+1) − r^k = (r − 1)·r^k, summing from k = 0 to n − 1 gives (r − 1)·S = r^n − 1. For r ≠ 1 this is S = (r^n − 1)/(r − 1).
Working backward from differences
You can also choose a difference first and see what it sums. Start with consecutive squares: (k+1)² − k² = 2k + 1. Add from k = 1 to n and let S₁ = 1 + 2 + ... + n:
(n+1)² − 1 = 2·S₁ + n
2·S₁ = n² + n
S₁ = n(n+1)/2 Cubes give the sum of squares S₂ in the same way:
(k+1)³ − k³ = 3k² + 3k + 1
(n+1)³ − 1 = 3·S₂ + 3·n(n+1)/2 + n
S₂ = n(n+1)(2n+1)/6 Each higher power yields the next formula, provided you know the earlier ones. Other routes to the first of these appear in the sum of 1 to 100.
Products of consecutive integers
Powers are awkward to difference, but products of consecutive integers are not. Notice that
k(k+1)(k+2) − (k−1)k(k+1) = 3·k(k+1) Dividing by 3 and summing shows that 1·2 + 2·3 + ... + n(n+1) = n(n+1)(n+2)/3. For n = 3 both sides equal 20. The same pattern works for longer products and mirrors the integration rule for powers.
It works for reciprocals too:
1/(k(k+1)(k+2)) = ½·( 1/(k(k+1)) − 1/((k+1)(k+2)) )
sum from 1 to n = ½·( 1/2 − 1/((n+1)(n+2)) ) In the language of binomial coefficients, Pascal's rule C(k, r) = C(k+1, r+1) − C(k, r+1) telescopes at once. Summing it from k = r to n gives C(n+1, r+1), often called the hockey stick identity. See the binomial theorem for the coefficients involved.
Guessing an antidifference
When no algebraic trick is obvious, guess the form of a(k) and solve for unknown constants. To sum k·2^k, try a(k) = (Ak + B)·2^k:
a(k+1) − a(k) = (Ak + A + B)·2^(k+1) − (Ak + B)·2^k
= (Ak + 2A + B)·2^k
match with k·2^k: A = 1 and 2A + B = 0, so B = −2
a(k) = (k − 2)·2^k
sum from k = 1 to n = a(n+1) − a(1) = (n − 1)·2^(n+1) + 2 At n = 3 the terms 2 + 8 + 24 give 34, and the formula gives 2·16 + 2 = 34.
For a large class of terms involving factorials, powers and rational functions, Gosper's algorithm decides mechanically whether an antidifference of the same general type exists. Computer algebra systems build on ideas of this kind.
A checklist for an unfamiliar sum
Faced with a new sum, try the following in order. Most textbook problems give way within the first few steps.
- Compute the totals for n = 1, 2, 3 and 4. A pattern such as 1/2, 2/3, 3/4, 4/5 suggests the answer before any algebra.
- If the term is a fraction with a factored denominator, split it into simpler fractions.
- If the term contains roots, multiply by a conjugate. If it contains a logarithm of a quotient, split the logarithm.
- If it contains factorials, rewrite a factor such as k as (k+1) − 1 and see what separates.
- If none of this works, guess a general form for a(k) with unknown constants and match coefficients.
Step 4 deserves an example. To sum k/(k+1)! from k = 1 to n, write the numerator k as (k+1) − 1:
k/(k+1)! = (k+1)/(k+1)! − 1/(k+1)!
= 1/k! − 1/(k+1)!
sum from 1 to n = 1 − 1/(n+1)! At n = 2 the terms are 1/2 and 2/6, which add to 5/6, and 1 − 1/6 = 5/6. Letting n grow shows that the infinite series equals 1.
Watch the direction of the difference. Here each term is "this one minus the next one", so the sum is the first value minus the last. In the opening formula the order was reversed. A sign error at this point is the most common slip, and the small case in step 1 catches it immediately.
Solving recurrences by telescoping
Telescoping also solves equations that define a sequence step by step. Suppose x(1) = 3 and x(k+1) = x(k) + 4k. Each difference x(k+1) − x(k) equals 4k, so adding the differences from k = 1 to n − 1 gives x(n) − x(1):
x(n) = 3 + 4·(1 + 2 + ... + (n−1))
= 3 + 2n(n−1)
check: x(2) = 7 = 3 + 4, x(3) = 15 = 7 + 8 When the sequence is multiplied as well as shifted, divide first to create a clean difference. Take y(0) = 0 and y(n) = 2·y(n−1) + 1. Dividing by 2^n gives y(n)/2^n − y(n−1)/2^(n−1) = 1/2^n. The left side telescopes, and the right side is a geometric sum equal to 1 − 1/2^n. So y(n) = 2^n − 1, the move count for the Tower of Hanoi.
The factor 1/2^n here is called a summation factor. It plays the same part as an integrating factor does for differential equations.
Infinite sums need a limit
For an infinite series, take the finite formula and let n grow. From n/(n+1) you get that the sum of 1/(k(k+1)) over all positive k equals 1. The sum of 1/(k(k+2)) equals 3/4.
The surviving tail term has to settle down. The terms √(k+1) − √k telescope beautifully, yet the partial sum √(n+1) − 1 grows without bound, so the series diverges. This is true even though the individual terms shrink to zero. How a sum without end can be finite treats convergence more fully.
Never cancel "all the way to infinity" without first working with a finite number of terms. Doing so can silently discard a term that does not vanish, or rearrange a divergent series into nonsense.
Bounds and products
Some sums have no antidifference among elementary expressions. The reciprocals of the squares are an example for finite n. You can still compare each term with one that telescopes. For k ≥ 2:
1/k² < 1/(k(k−1)) = 1/(k−1) − 1/k
1 + 1/4 + ... + 1/n² < 1 + (1 − 1/n) < 2 So the infinite series converges to a value below 2. Its exact value, π²/6, needs other methods.
Products telescope as well, with cancellation of factors in place of terms. Since 1 − 1/k² = ((k−1)/k)·((k+1)/k), the product from k = 2 to n collapses to (1/n)·((n+1)/2) = (n+1)/(2n). At n = 2 this is 3/4, as it should be.
Checking your answer
Telescoping arguments are short, so errors tend to hide in the bookkeeping. The usual ones are an index that starts at 0 instead of 1, a missing constant such as the ½ in the gap-of-two example, and an end term that was cancelled when it should have survived. Each of these changes the result even for tiny n.
Whenever you reach a closed form, check it at the smallest value of n and one more. If you want a full proof, induction confirms any such formula in a few lines, and recurrence relations offer another route to the same answers.