Algebraic rules for sums [00BX]
- March 18, 2026
Sum of a constant [00BY]
- March 18, 2026
First, notice that \sum _{a \leq n \leq b} 1 = 1 + 1 + 1 + \dots + 1 = b-a+1. Why b-a+1 and not b-a, you ask? This is the “fence post problem”: if we number the posts of a fence, how many fence posts are there between post a and post b? If there is one post every meter, then the distance from post a to post b is certainly b-a meters. But if we try to match up a post to each meter-long section of fence, we find that we have one post left over. For example, if we match up each meter-long section of fence with the post on its left, then the post at the very end is not matched with any section. Hence, the number of posts from a to b is one more than the number of sections.
Factoring out constants [00BZ]
- March 18, 2026
\sum _n ka_n = k \sum _n a_n This works as long as k is a constant with respect to n, that is, k does not contain or depend on n at all. k does not have to be a number; it could be anything at all that does not depend on n. This rule is telling us that if we are adding up a bunch of terms, and every term is k times something, we can factor out all the k’s and simply multiply once by k at the end. If we write out what the \Sigma -notation means, this should become clear: ka_0 + ka_1 + ka_2 + \dots = k(a_0 + a_1 + a_2 + \dots )
Notice, the fact that k does not depend on n is what guarantees that all the k’s will all be the same, unlike the a_n’s which may all be different.
Summing a sum [00C0]
- March 18, 2026
\sum _n (a_n + b_n) = \left (\sum _n a_n\right ) + \left (\sum _n b_n\right ) This follows because addition is commutative and associative. Written out, the above law is really just saying: (a_0 + b_0) + (a_1 + b_1) + (a_2 + b_2) + \dots = (a_0 + a_1 + a_2 + \dots ) + (b_0 + b_1 + b_2 + \dots ) i.e. we are just putting the a_n’s and b_n’s in a different order.
Triangular numbers [00C1]
- March 18, 2026
What is the nth triangular number, \triangle _n = \sum _{j = 1}^n j ?
We can use a cute trick to compute it. First, write out the sum twice, but reversed the second time. Then add the two equations. \begin {array}{ccccccccccc} \triangle _n & = & 1 & + & 2 & + & \dots & + & (n-1) & + & n \\ +\triangle _n & = & n & + & (n-1) & + & \dots & + & 2 & + & 1 \\ \hline 2\triangle _n & = & (n+1) & + & (n+1) & + & \dots & + & (n+1) & + & (n+1) \end {array} We get n copies of n+1, so 2\triangle _n = n(n+1), and hence \triangle _n = \frac {n(n+1)}{2}.
Example Sum of an arithmetic sequence [00C2]
- March 18, 2026
We can now compute the result of our previous example.
Compute \sum _{0 \leq n \leq 49} (2n+1). We can now compute as follows:
Example Another arithmetic sequence [00C3]
- March 18, 2026
Evaluate: \sum _{5 \leq n \leq 22} 3n.
Sum of a geometric sequence [00C4]
- March 19, 2026
What about a geometric sequence such as a_n = r^n, that is, 1 + r + r^2 + r^3 + \dots + r^n? We can use a similar kind of trick as the one we used to find a closed form for triangular numbers. This time, we multiply by r and then subtract: \begin {array}{ccccccccccccc} S & = & 1 & + & r & + & r^2 & + & \dots & + & r^n && \\ rS & = & & & r & + & r^2 & + & \dots & + & r^n & + & r^{n+1} \\ \hline S - rS & = & 1 & & & & & & & & & - & r^{n+1} \end {array} Solving for S yields S = \frac {1 - r^{n+1}}{1-r} = \frac {r^{n+1} - 1}{r - 1}.
Example Powers of two [00C5]
- March 19, 2026
Consider the sum 1 + 2 + 2^2 + 2^3 + \dots + 2^n. This is a geometric series with r = 2. Hence the sum is \frac {2^{n+1} - 1}{2 - 1} = 2^{n+1} - 1.