9.2: Summation Notation
( \newcommand{\kernel}{\mathrm{null}\,}\)
In the previous section, we introduced sequences and now we shall present notation and theorems concerning the sum of terms of a sequence. We begin with a definition, which, while intimidating, is meant to make our lives easier.
Given a sequence {an}∞n=k and numbers m and p satisfying k≤m≤p, the summation from m to p of the sequence {an} is written
p∑n=man=am+am+1+…+ap
The variable n is called the index of summation. The number m is called the lower limit of summation while the number p is called the upper limit of summation.
In English, Definition 9.3 is simply defining a short-hand notation for adding up the terms of the sequence {an}∞n=k from am through ap. The symbol Σ is the capital Greek letter sigma and is shorthand for ‘sum’. The lower and upper limits of the summation tells us which term to start with and which term to end with, respectively. For example, using the sequence an=2n−1 for n≥1, we can write the sum a3+a4+a5+a6 as
6∑n=3(2n−1)=(2(3)−1)+(2(4)−1)+(2(5)−1)+(2(6)−1)=5+7+9+11=32
The index variable is considered a ‘dummy variable’ in the sense that it may be changed to any letter without affecting the value of the summation. For instance,
6∑n=3(2n−1)=6∑k=3(2k−1)=6∑j=3(2j−1)
One place you may encounter summation notation is in mathematical definitions. For example, summation notation allows us to define polynomials as functions of the form
f(x)=n∑k=0akxk
for real numbers ak, k=0,1,…n. The reader is invited to compare this with what is given in Definition 3.1. Summation notation is particularly useful when talking about matrix operations. For example, we can write the product of the ith row Ri of a matrix A=[aij]m×n and the jth column Cj of a matrix B=[bij]n×r as
Ri⋅Cj=n∑k=1aikbkj
Again, the reader is encouraged to write out the sum and compare it to Definition 8.9. Our next example gives us practice with this new notation.
- Find the following sums.
- 4∑k=113100k
- 4∑n=0n!2
- 5∑n=1(−1)n+1n(x−1)n
- Write the following sums using summation notation.
- 1+3+5+…+117
- 1−12+13−14+−…+1117
- 0.9+0.09+0.009+…0.0⋯0⏟n−1 zeros9
Solution
-
- We substitute k=1 into the formula 13100k and add successive terms until we reach k=4.
4∑k=113100k=131001+131002+131003+131004=0.13+0.0013+0.000013+0.00000013=0.13131313
- Proceeding as in (a), we replace every occurrence of n with the values 0 through 4. We recall the factorials, n! as defined in number Example 9.1.1, number 6 and get:
4∑n=0n!2=0!2+1!2+2!2+3!2=4!2[10pt]=12+12+2⋅12+3⋅2⋅12+4⋅3⋅2⋅12[10pt]=12+12+1+3+12[10pt]=17
- We proceed as before, replacing the index n, but not the variable x, with the values 1 through 5 and adding the resulting terms.
5∑n=1(−1)n+1n(x−1)n=(−1)1+11(x−1)1+(−1)2+12(x−1)2+(−1)3+13(x−1)3+(−1)1+44(x−1)4+(−1)1+55(x−1)5[10pt]=(x−1)−(x−1)22+(x−1)33−(x−1)44+(x−1)55
- We substitute k=1 into the formula 13100k and add successive terms until we reach k=4.
- The key to writing these sums with summation notation is to find the pattern of the terms. To that end, we make good use of the techniques presented in Section 9.1.
- The terms of the sum 1, 3, 5, etc., form an arithmetic sequence with first term a=1 and common difference d=2. We get a formula for the nth term of the sequence using Equation 9.1 to get an=1+(n−1)2=2n−1, n≥1. At this stage, we have the formula for the terms, namely 2n−1, and the lower limit of the summation, n=1. To finish the problem, we need to determine the upper limit of the summation. In other words, we need to determine which value of n produces the term 117. Setting an=117, we get 2n−1=117 or n=59. Our final answer is
1+3+5+…+117=59∑n=1(2n−1)
- We rewrite all of the terms as fractions, the subtraction as addition, and associate the negatives ‘−’ with the numerators to get
11+−12+13+−14+…+1117
The numerators, 1, −1, etc. can be described by the geometric sequence1 cn=(−1)n−1 for n≥1, while the denominators are given by the arithmetic sequence2 dn=n for n≥1. Hence, we get the formula an=(−1)n−1n for our terms, and we find the lower and upper limits of summation to be n=1 and n=117, respectively. Thus
1−12+13−14+−…+1117=117∑n=1(−1)n−1n
- Thanks to Example 9.1.3, we know that one formula for the n\scriptsize th term is an=910n for n≥1. This gives us a formula for the summation as well as a lower limit of summation. To determine the upper limit of summation, we note that to produce the n−1 zeros to the right of the decimal point before the 9, we need a denominator of 10n. Hence, n is the upper limit of summation. Since n is used in the limits of the summation, we need to choose a different letter for the index of summation.3 We choose k and get
0.9+0.09+0.009+…0.0⋯0⏟n−1 zeros 9=n∑k=1910k
- The terms of the sum 1, 3, 5, etc., form an arithmetic sequence with first term a=1 and common difference d=2. We get a formula for the nth term of the sequence using Equation 9.1 to get an=1+(n−1)2=2n−1, n≥1. At this stage, we have the formula for the terms, namely 2n−1, and the lower limit of the summation, n=1. To finish the problem, we need to determine the upper limit of the summation. In other words, we need to determine which value of n produces the term 117. Setting an=117, we get 2n−1=117 or n=59. Our final answer is
The following theorem presents some general properties of summation notation. While we shall not have much need of these properties in Algebra, they do play a great role in Calculus. Moreover, there is much to be learned by thinking about why the properties hold. We invite the reader to prove these results. To get started, remember, “When in doubt, write it out!”
Suppose {an} and {bn} are sequences so that the following sums are defined.
- p∑n=m(an±bn)=p∑n=man±p∑n=mbn
- p∑n=mcan=cp∑n=man, for any real number c.
- p∑n=man=j∑n=man+p∑n=j+1an, for any natural number m≤j<j+1≤p.
- p∑n=man=p+r∑n=m+ran−r, for any whole number r.
We now turn our attention to the sums involving arithmetic and geometric sequences. Given an arithmetic sequence ak=a+(k−1)d for k≥1, we let S denote the sum of the first n terms. To derive a formula for S, we write it out in two different ways S=a+(a+d)+…+(a+(n−2)d)+(a+(n−1)d)S=(a+(n−1)d)+(a+(n−2)d)+…+(a+d)+a If we add these two equations and combine the terms which are aligned vertically, we get
2S=(2a+(n−1)d)+(2a+(n−1)d)+…+(2a+(n−1)d)+(2a+(n−1)d)
The right hand side of this equation contains n terms, all of which are equal to (2a+(n−1)d) so we get 2S=n(2a+(n−1)d). Dividing both sides of this equation by 2, we obtain the formula
S=n2(2a+(n−1)d)
If we rewrite the quantity 2a+(n−1)d as a+(a+(n−1)d)=a1+an, we get the formula
S=n(a1+an2)
A helpful way to remember this last formula is to recognize that we have expressed the sum as the product of the number of terms n and the average of the first and nth terms.
To derive the formula for the geometric sum, we start with a geometric sequence ak=ark−1, k≥1, and let S once again denote the sum of the first n terms. Comparing S and rS, we get
S=a+ar+ar2+…+arn−2+arn−1rS=ar+ar2+…+arn−2+arn−1+arn
Subtracting the second equation from the first forces all of the terms except a and arn to cancel out and we get S−rS=a−arn. Factoring, we get S(1−r)=a(1−rn). Assuming r≠1, we can divide both sides by the quantity (1−r) to obtain
S=a(1−rn1−r)
If we distribute a through the numerator, we get a−arn=a1−an+1 which yields the formula
S=a1−an+11−r
In the case when r=1, we get the formula
S=a+a+…+a⏟n times=na
Our results are summarized below.
- The sum S of the first n terms of an arithmetic sequence ak=a+(k−1)d for k≥1 is
S=n∑k=1ak=n(a1+an2)=n2(2a+(n−1)d)
- The sum S of the first n terms of a geometric sequence ak=ark−1 for k≥1 is
- S=n∑k=1ak=a1−an+11−r=a(1−rn1−r), if r≠1.
- S=n∑k=1ak=n∑k=1a=na, if r=1.
While we have made an honest effort to derive the formulas in Equation 9.2, formal proofs require the machinery in Section 9.3. An application of the arithmetic sum formula which proves useful in Calculus results in formula for the sum of the first n natural numbers. The natural numbers themselves are a sequence4 1, 2, 3, …which is arithmetic with a=d=1. Applying Equation 9.2,
1+2+3+…+n=n(n+1)2
So, for example, the sum of the first 100 natural numbers5 is 100(101)2=5050.
An important application of the geometric sum formula is the investment plan called an annuity. Annuities differ from the kind of investments we studied in Section 6.5 in that payments are deposited into the account on an on-going basis, and this complicates the mathematics a little.6 Suppose you have an account with annual interest rate r which is compounded n times per year. We let i=rn denote the interest rate per period. Suppose we wish to make ongoing deposits of P dollars at the end of each compounding period. Let Ak denote the amount in the account after k compounding periods. Then A1=P, because we have made our first deposit at the end of the first compounding period and no interest has been earned. During the second compounding period, we earn interest on A1 so that our initial investment has grown to A1(1+i)=P(1+i) in accordance with Equation 6.1. When we add our second payment at the end of the second period, we get
A2=A1(1+i)+P=P(1+i)+P=P(1+i)(1+11+i)
The reason for factoring out the P(1+i) will become apparent in short order. During the third compounding period, we earn interest on A2 which then grows to A2(1+i). We add our third payment at the end of the third compounding period to obtain
A3=A2(1+i)+P=P(1+i)(1+11+i)(1+i)+P=P(1+i)2(1+11+i+1(1+i)2)
During the fourth compounding period, A3 grows to A3(1+i), and when we add the fourth payment, we factor out P(1+i)3 to get
A4=P(1+i)3(1+11+i+1(1+i)2+1(1+i)3)
This pattern continues so that at the end of the kth compounding, we get
Ak=P(1+i)k−1(1+11+i+1(1+i)2+…+1(1+i)k−1)
The sum in the parentheses above is the sum of the first k terms of a geometric sequence with a=1 and r=11+i. Using Equation 9.2, we get
1+11+i+1(1+i)2+…+1(1+i)k−1=1(1−1(1+i)k1−11+i)= (1+i)(1−(1+i)−k)i
Hence, we get
Ak=P(1+i)k−1((1+i)(1−(1+i)−k)i)=P((1+i)k−1)i
If we let t be the number of years this investment strategy is followed, then k=nt, and we get the formula for the future value of an ordinary annuity.
Suppose an annuity offers an annual interest rate r compounded n times per year. Let i=rn be the interest rate per compounding period. If a deposit P is made at the end of each compounding period, the amount A in the account after t years is given by
A=P((1+i)nt−1)i
The reader is encouraged to substitute i=rn into Equation 9.3 and simplify. Some familiar equations arise which are cause for pause and meditation. One last note: if the deposit P is made a the beginning of the compounding period instead of at the end, the annuity is called an annuity-due. We leave the derivation of the formula for the future value of an annuity-due as an exercise for the reader.
An ordinary annuity offers a 6% annual interest rate, compounded monthly.
- If monthly payments of $50 are made, find the value of the annuity in 30 years.
- How many years will it take for the annuity to grow to $100,000?
Solution.
- We have r=0.06 and n=12 so that i=rn=0.0612=0.005. With P=50 and t=30,
A=50((1+0.005)(12)(30)−1)0.005≈50225.75
Our final answer is $50,225.75.
- To find how long it will take for the annuity to grow to $100,000, we set A=100000 and solve for t. We isolate the exponential and take natural logs of both sides of the equation.
100000=50((1+0.005)12t−1)0.005[10pt]10=(1.005)12t−1[4pt](1.005)12t=11[4pt]ln((1.005)12t)=ln(11)[4pt]12tln(1.005)=ln(11)[4pt]t=ln(11)12ln(1.005)≈40.06
This means that it takes just over 40 years for the investment to grow to $100,000. Comparing this with our answer to part 1, we see that in just 10 additional years, the value of the annuity nearly doubles. This is a lesson worth remembering.
We close this section with a peek into Calculus by considering infinite sums, called series. Consider the number 0.¯9. We can write this number as
0.¯9=0.9999...=0.9+0.09+0.009+0.0009+…
From Example 9.2.1, we know we can write the sum of the first n of these terms as
0.9⋯9⏟n nines =.9+0.09+0.009+…0.0⋯0⏟n−1 zeros 9=n∑k=1910k
Using Equation 9.2, we have
n∑k=1910k=910(1−110n+11−110)=1−110n+1
It stands to reason that 0.¯9 is the same value of 1−110n+1 as n→∞. Our knowledge of exponential expressions from Section 6.1 tells us that 110n+1→0 as n→∞, so 1−110n+1→1. We have just argued that 0.¯9=1, which may cause some distress for some readers.7 Any non-terminating decimal can be thought of as an infinite sum whose denominators are the powers of 10, so the phenomenon of adding up infinitely many terms and arriving at a finite number is not as foreign of a concept as it may appear. We end this section with a theorem concerning geometric series.
Given the sequence ak=ark−1 for k≥1, where |r|<1,
a+ar+ar2+…=∞∑k=1ark−1=a1−r
If |r|≥1, the sum a+ar+ar2+… is not defined.
The justification of the result in Theorem 9.2 comes from taking the formula in Equation 9.2 for the sum of the first n terms of a geometric sequence and examining the formula as n→∞. Assuming |r|<1 means −1<r<1, so rn→0 as n→∞. Hence as n→∞,
n∑k=1ark−1=a(1−rn1−r)→a1−r
As to what goes wrong when |r|≥1, we leave that to Calculus as well, but will explore some cases in the exercises.
9.2.1 Exercises
In Exercises 1 - 8, find the value of each sum using Definition 9.3.
- 9∑g=4(5g+3)
- 8∑k=31k
- 5∑j=02j
- 2∑k=0(3k−5)xk
- 4∑i=114(i2+1)
- 100∑n=1(−1)n
- 5∑n=1(n+1)!n!
- 3∑j=15!j!(5−j)!
In Exercises 9 - 16, rewrite the sum using summation notation.
- 8+11+14+17+20
- 1−2+3−4+5−6+7−8
- x−x33+x55−x77
- 1+2+4+⋯+229x−x33+x55−x77
- 2+32+43+54+65
- −ln(3)+ln(4)−ln(5)+⋯+ln(20)
- 1−14+19−116+125−136
- 12(x−5)+14(x−5)2+16(x−5)3+18(x−5)4
In Exercises 17 - 28, use the formulas in Equation 9.2 to find the sum.
- 10∑n=15n+3
- 20∑n=12n−1
- 15∑k=03−k
- 10∑n=1(12)n
- 5∑n=1(32)n
- 5∑k=02(14)k
- 1+4+7+…+295
- 4+2+0−2−…−146
- 1+3+9+…+2187
- 12+14+18+…+125610∑n=1−2n+(53)n
- 3−32+34−38+−⋯+325610∑n=1−2n+(53)n
- 10∑n=1−2n+(53)n [findsumformulalast]
In Exercises 29 - 32, use Theorem 9.2 to express each repeating decimal as a fraction of integers.
- 0.¯7
- 0.¯13
- 10.¯159
- −5.8¯67
In Exercises 33 - 38, use Equation 9.3 to compute the future value of the annuity with the given terms. In all cases, assume the payment is made monthly, the interest rate given is the annual rate, and interest is compounded monthly.
- payments are $300, interest rate is 2.5%, term is 17 years.
- payments are $50, interest rate is 1.0%, term is 30 years.
- payments are $100, interest rate is 2.0%, term is 20 years
- payments are $100, interest rate is 2.0%, term is 25 years
- payments are $100, interest rate is 2.0%, term is 30 years
- payments are $100, interest rate is 2.0%, term is 35 years
- Suppose an ordinary annuity offers an annual interest rate of 2%, compounded monthly, for 30 years. What should the monthly payment be to have $100,000 at the end of the term?
- Prove the properties listed in Theorem 9.1.
- Show that the formula for the future value of an annuity due is A=P(1+i)[(1+i)nt−1i]
- Discuss with your classmates what goes wrong when trying to find the following sums.8
- ∞∑k=12k−1
- ∞∑k=1(1.0001)k−1
- ∞∑k=1(−1)k−1
9.2.2 Answers
- 213
- 341280
- 63
- −5−2x+x2
- 172
- 0
- 20
- 25
- 5∑k=1(3k+5)
- 8∑k=1(−1)k−1k
- 4∑k=1(−1)k−1x2k−12k−1
- 30∑k=12k−1
- 5∑k=1k+1k
- 20∑k=3(−1)kln(k)
- 6∑k=1(−1)k−1k2
- 4∑k=112k(x−5)k
- 305
- 400
- −72
- 10231024
- 63332
- 1365512
- 14652
- −5396
- 3280
- 255256
- 513256
- 1777105059049
- 79
- 1399
- 3383333
- −5809990
- $76,163.67
- $20,981.40
- $29,479.69
- $38,882.12
- 49,272.55
- 60,754.80
- For $100,000, the monthly payment is ≈$202.95.
Reference
1 This is indeed a geometric sequence with first term a=1 and common ratio r=−1.
2 It is an arithmetic sequence with first term a=1 and common difference d=1.
3 To see why, try writing the summation using ‘n’ as the index.
4 This is the identity function on the natural numbers!
5 There is an interesting anecdote which says that the famous mathematician Carl Friedrich Gauss was given this problem in primary school and devised a very clever solution.
6 The reader may wish to re-read the discussion on compound interest in Section 6.5 before proceeding.
7 To make this more palatable, it is usually accepted that 0.¯3=13 so that 0.¯9=3(0.¯3)=3(13)=1. 1. Feel better?
8 When in doubt, write them out!