<<

Series: Infinite Sums

Series are a way to make sense of certain types of infinitely long sums. We will need to be able to do this if we are to attain our goal of approximating transcen- dental functions by using ‘infinite degree’ . But before we try to add together an infinite number of polynomials, we first explore what it means to add an infinite number of numbers. Here’s the issue: We know how to add two numbers: a1 + a2. Using associativity (and parentheses) we can add three numbers

a1 +(a2 + a3) four numbers a1 +(a2 +(a3 + a4)) or even n numbers

a1 +(a2 +(a3 +(a4 +( +(an 1 + an) ...)))). ··· But where would we start (or end) when trying to add an infinite number of terms? And does the sum add up to a finite number or not? Since all we know how to do is add a finite number of terms, we will have to use finite addition and limits to make sense of the process.

Introduction to Series

OK, enough of this finite stuff. What we want to do is add up the terms of an infinite a • . More precisely, given a sequence a • , we can form { n}n=1 { n}n=1 the infinite sum • a1 + a2 + a3 + + an + = Â ak ··· ··· k=1 which is called an infinite series or more simply just a series. Can we do this? Here are several examples. • (a) Â k = 1 + 2 + 3 + 4 + = •. The sum is clearly not finite; the series k=1 ··· diverges. • 1 1 1 1 (b) Â = 1 + + + + . Do these terms add up to a finite sum? k=1 k 2 3 4 ··· • 1 1 1 1 (c) Â n = 1 + + + + . Do these terms add up to a finite sum? n=0 2 2 4 8 ··· • 1 1 1 1 (d) = 1 + + . Do these terms add up to a finite sum? Â ( 2)n 2 4 8 ··· n=0 math 131 infinite series, part vii: absolute and 2

• DEFINITION 13.1. To find the sum of an infinite series Âk=1 ak we form the sequence of partial sums that are often denoted by Sn.

S1 = a1

S2 = a1 + a2

S3 = a1 + a2 + a3 . . n Sn = a1 + a2 + a3 + + an = Â ak (Sn is called the nth partial sum of the series) ··· k=1

If the sequence of partial sums S • has a limit a limit L (converges), we say that the { n}n=1 series converges to L and we write:

• n a = lim a = lim Sn = L Â k n • Â k n • k=1 ! k=1 ! or just • Â ak = L. k=1 Otherwise the series diverges.

EXAMPLE 13.1. Here’s a simple example. Find the sum of the series

• 1 1 1 1 1 = + ++ + + , Â k k=1 2 2 4 8 16 ··· if it exists.

SOLUTION. We first determine each partial sum and then rewrite it in a more conve- nient form. 1 1 S = = 1 1 2 2 1 1 3 1 S = + = = 1 2 2 4 4 4 1 1 1 7 1 S = + + = = 1 2 2 4 8 8 8 . . 1 1 1 1 1 S = + + + = 1 n 2 4 8 ···2n 2n • • 1 So the sequence of partial sums is Sn =1 = 1 n and { }n 2 n=1 n o 1 lim Sn = lim 1 = 1 0 = 1, n • n • 2n ! ! where we have used Theorem 13.2 to evaluate the limit. In other words,

• 1 = 1. Â k k=1 2 Pretty cool!

• 1 EXAMPLE 13.2. Here’s a another fun example. Find the sum of the series  2 if k=1 k + k it exists.

SOLUTION. Using partial fractions (check this)

• 1 • 1 1 1 1 1 1 1 1 1 = = 1 + + + +  k2 + k  k k + 1 2 2 3 3 4 4 5 ··· k=1 k=1 ✓ ◆ ✓ ◆ ✓ ◆ ✓ ◆ ✓ ◆ 3

Notice that most of the terms cancel out. The sum collapses and we see that

1 1 1 1 1 1 1 1 1 1 S = 1 + + + + + = 1 . n 2 2 3 3 4 4 5 ··· n n + 1 n + 1 ✓ ◆ ✓ ◆ ✓ ◆ ✓ ◆ ✓ ◆ Such a sum is called a telescoping sum. We are left with only the first and last terms in the partial sum. This time

1 lim Sn = lim 1 = 1 0 = 1. n • n • + 1 ! ! n In other words, • 1 Â 2 = 1. k=1 k + k

• 1 1 YOU TRY IT 13.1. Try this telescoping sum. Find the sum of the series if it  k k + 2 k=1 ✓ ◆ exists. This time there will be a few more terms that do not cancel. See if you can figure it out.

EXAMPLE 13.3 (Partial Fractions). Here’s another example that uses partial fractions. • 4 Find the sum of the series  2 if it exists. k=0 k + 3k + 2

SOLUTION. Since the degree of the numerator is smaller than the degree of the de- nominator a nd since the denominator factors into linear factors, we can write 4 4 A B Ak + 2A + Bk + B = = + = . k2 + 3k + 2 (k + 1)(k + 2) k + 1 k + 2 (k + 1)(k + 2) Solving we get: k’s : 0 = A + B.(13.1) and constants : 4 = 2A + B.(13.2) Subtracting (13.1) from (13.2) gives

4 = A.(13.3)

Putting A = 4 in (13.1) makes B = 4. So we see that 4 4 4 = . k2 + 3k + 2 k + 1 k + 2 (Check that this is correct!) This means that

• 4 • 4 4 = Â k2 + 3k + 2 Â k + 1 k + 2 k=0 k=0 ✓ ◆ which is another telescoping series. This time

4 4 4 4 4 4 4 4 4 S = + + + + = 4 . n 1 2 2 3 3 4 ··· n + 1 n + 2 n + 2 ✓ ◆ ✓ ◆ ✓ ◆ ✓ ◆ So 4 lim Sn = lim 4 = 4 0 = 4. n • n • + 2 ! ! n In other words, • 4 Â 2 = 4. k=0 k + 3k + 2 Wow!

EXAMPLE 13.4 (Telescoping). Here’s a more complicated example that uses partial • (k + 1) fractions. Find the sum of the series  ln if it exists. k=1 k math 131 infinite series, part vii: absolute and conditional convergence 4

SOLUTION. We can use a log property to rewrite the partial sum as

n k + 1 n S = ln = ln(k + 1) ln k n  k  k=1 ✓ ◆ k=1 =(ln 2 ln 1)+(ln 3 ln 2)+(ln 4 ln 3)+ +[ln(n + 1) ln n] ··· = ln n ln 1. Therefore lim Sn = lim ln n ln 1 = • (diverges) n • n • ! ! and the series • k + 1 ln  k k=1 ✓ ◆ diverges.

EXAMPLE 13.5 (Partial Fractions). Here’s a more complicated example that uses partial • 8 fractions. Find the sum of the series  2 if it exists. k=0 k + 4k + 3 SOLUTION. Since the degree of the numerator is smaller than the degree of the de- nominator a nd since the denominator factors into linear factors, we can write 8 4 A B Ak + 3A + Bk + B = = + = . k2 + 4k + 3 (k + 1)(k + 3) k + 1 k + 3 (k + 1)(k + 3) Solving we get: k’s : 0 = A + B.(13.4) and constants : 8 = 3A + B.(13.5) Subtracting (13.4) from (13.5) gives

8 = 2A.(13.6)

Putting A = 4 in (13.4) makes B = 4. So we see that 8 4 4 = . k2 + 4k + 3 k + 1 k + 3 This means that • 8 • 4 4 = Â k2 + 4k + 3 Â k + 1 k + 3 k=0 k=0 ✓ ◆ which is another telescoping series.

S = 4 4 + 4 4 + 4 4 + 4 4 + n 1 3 2 4 3 5 4 5 ··· ⇣ ⌘ ⇣ ⌘4 ⇣ 4 ⌘ ⇣4 4⌘ 4 4 + n 1 n+1 + n n+2 + n+1 n+3 ··· S = 4 + 2 4 4⇣ . ⌘ ⇣ ⌘ ⇣ ⌘ n n+2 n+3 So 4 4 lim Sn = lim 6 = 6. n • n • + 2 + 3 ! ! n n In other words, • 8 Â 2 = 6. k=0 k + 4k + 3 YOU TRY IT 13.2 (Partial fractions). Here are two others that are similar to the last example in that they use partial fractions. See if you can solve them. Find the sums of these series if they exist. • 1 (a) Â 2 k=0 k + 7k + 12 • 1 (b) Â k2 + 4k + 3 k=0 1 3 Answers: (a) 4 ; (b) 2 . 5

Geometric Series

Geometric series are among the simpler with which to work. We will see that we can determine which ones converge and what their limits are fairly easily.

• DEFINITION 13.2. A geometric series is a series that has the form  arn, where a is a real n=0 constant and r is a real number.

YOU TRY IT 13.3. Here are a few examples. Identify a and r in each.

• • • n 2n n 1 n 2 1 (a)  6 4 (b)  n (c)  2 3 (d)  5 (e)  2 Answers: (a) 6 and 4; (b) 1 and 1/2; (c) n=0 · n=0 2 n=0 · n=2 · 3 n=1 · 3 2 and 1/3; (d) a = 20/9 and r = 2/3; ✓ ◆ ✓ ◆ (e) = 2/9 and = 1/9. • a r Determining the sum of a geometric series  arn is relatively simple. We begin n=0 by comparing the nth partial sum Sn with rSn. We find:

S = a + ar + ar2 + ar3 + + arn (13.7) n ··· rS = ar + ar2 + ar3 + + arn + arn+1 (13.8) n ··· So subtracting (13.8) from (13.7) we obtain

n 1 S rS = a ar n n or (1 r)S = a(1 rn+1). n So a(1 rn+1) S = .(13.9) n 1 r We know from the Key Limit Theorem 13.2 that

0 if r < 1 | | lim rn = 81 if r = 1 (13.10) n • ! > Thus, putting (13.9) and (13.10) together:> we find

n+1 a a(1 r ) 1 r if r < 1 lim Sn = lim = | | n • n • 1 r 8diverges otherwise. ! ! < So we have proved :

• THEOREM 13.1 (Geometric Series Test). If r < 1, then the geometric series  arn converges | | n=0 and • a arn = .  1 r n=0 • If r 1, then the geometric series  arn diverges. | | n=0

EXAMPLE 13.6. Here are some examples that get progressively more complex. • 2 n (a) Find the sum of the series if it exists. Â 5 n=0 ✓ ◆ math 131 infinite series, part vii: absolute and conditional convergence 6

SOLUTION. In this example a = 1 and r = 2 and r < 1. So by Theorem 13.1 the 5 | | series converges to 1 = 5 . 1 2 3 5 • 6 n (b) Find the sum of the series 4 if it exists. Â 7 n=0 ✓ ◆ SOLUTION. In this example a = 4 and r = 6 and r < 1. So by Theorem 13.1 the 7 | | series converges to 4 = 28 = 28. 1 6 1 7 • 3 n (c) Find the sum of the series 2 if it exists. Â 2 n=0 ✓ ◆ SOLUTION. In this example a = 2 and r = 3 . Since r > 1, by Theorem 13.1 the 2 | | series diverges.

• 1 n+2 (d) Find the sum of the series 5 if it exists. Â 2 n=0 ✓ ◆ SOLUTION. Before we can apply the Geometric Series Test, we have to adjust the power. Notice that we can rewrite the series using the nth power using

• 1 n+2 • 1 2 1 n • 5 1 n 5 = 5 = . Â 2 Â 2 2 Â 4 2 n=0 ✓ ◆ n=0 ✓ ◆ ✓ ◆ n=0 ✓ ◆ 5 1 Now a = 4 and r = 2 and r < 1. So by Theorem 13.1 the series converges to 5 5 | | 4 = 4 = 5 . 1 ( 1 ) 3 6 2 2 SOLUTION. Alternative Method. Another way that we can approach this prob- lem is to write out the first few terms of the series and identify a and r.

• 1 n+2 5 5 5 5 5 = + + . Â 2 4 8 16 32 ··· n=0 ✓ ◆ a ar ar2 ar3

5 |{z} |{z} |{z} |{z} 1 Now a = 4 and the ratio of a term to the previous one is r = 2 and r < 1. So 5 5 | | by Theorem 13.1 the series converges to 4 = 4 = 5 . I find this easier! 1 ( 1 ) 3 6 2 2 1 n (e) Find the sum of the series 2 if it exists. Â 3 n=2 ✓ ◆ SOLUTION. We use the Alternative Method. Write out the first few terms of the series and identify a and r.

1 n 2 2 2 2 2 = + + + + . Â 3 9 27 81 243 ··· n=2 ✓ ◆ a ar ar2 ar3

2 |{z} |{z} |{z} |{z} 1 Now a = 9 and the ratio of a term to the previous one is r = 3 and r < 1. So by 2 2 | | Theorem 13.1 the series converges to 9 = 9 = 1 . 1 ( 1 ) 2 3 3 3 Some series start at n = 1 or n = 2 or some other index n = 0. For instance, • 6 consider the general series  an. We can write it as a series starting at n = 0 if we n=2 are careful to also subtract off the first two terms:

• • Â an = Â an (a0 + a1). n=2 n=0 !

We can apply this to geometric series. 7

EXAMPLE 13.7. Here are a two more examples. • 2 n (a) Find the sum of the series if it exists. Â 3 n=3 ✓ ◆ SOLUTION. First rewrite the series adding back and then subtracting the first few ‘missing’ terms.

• 2 n • 2 n 2 4 = 1 + + . Â 3 Â 3 3 9 n=3 ✓ ◆ n=0 ✓ ◆ ! ✓ ◆

1 2 4 19 8 By Theorem 13.1 the series converges to 2 1 + 3 + 9 = 3 9 = 9 . 1 3 ⇣ ⌘ Alternative Method. Write out the first few terms of the series and identify a and r. • 2 n 8 16 32 64 = + + + + . Â 3 27 81 243 729 ··· n=3 ✓ ◆ a ar ar2 ar3 8 2 Now a = 27 and the ratio of a term|{z} to|{z} the previous|{z} one|{z} is r = 3 and r < 1. So 8 | | by Theorem 13.1 the series converges to 27 = 8 . 1 ( 2 ) 9 3 • 1 n (b) Find the sum of the series 4 if it exists. Â 3 n=2 ✓ ◆ SOLUTION. First rewrite the series; be careful of the signs.

• 1 n • 1 n 4 4 = 4 4 . Â 3 Â 3 3 n=2 ✓ ◆ n=0 ✓ ◆ ! ✓ ◆

4 4 8 1 By Theorem 13.1 the series converges to 1 4 3 = 3 3 = 3 . 1 ( 3 ) ⇣ ⌘ Alternative Method. Write out the first few terms of the series and identify a and r. • 1 n 4 4 4 4 4 = + + . Â 3 9 27 81 243 ··· n=2 ✓ ◆ a ar ar2 ar3 4 1 Now a = 9 and the ratio of a term|{z} to the|{z} previous|{z} one|{z} is r = 3 and r < 1. So by 4 | | Theorem 13.1 the series converges to 9 = 1 . 1 ( 1 ) 3 3

(Optional) Application: Repeating Decimals

You may (or may not) remember from your high school math days that every repeating decimal can be expressed as a rational number, that is, as a fraction using integers. There are some familiar ones such as

1 0.3333 = 0.3 = . ··· 3

Similarly we have Note: We use a horizontal bar to 2 indicate which part of the decimal 0.6666 = 0.6 = ··· 3 repeats. and 1 0.1111 = 0.1 = . ··· 9 math 131 infinite series, part vii: absolute and conditional convergence 8

But what about something like 0.12 = 0.121212 . . . ? We can write any such expres- sion as a geometric series. In this case

0.12 = 0.121212 . . . = 0.12 + 0.0012 + 0.000012 + ··· 12 12 12 12 = + + + + (10)2 (10)4 (10)6 (10)8 ··· 12 1 1 1 = 1 + + + + (10)2 (10)2 (10)4 (10)6 ··· ✓ ◆ 12 1 1 2 1 3 = 1 + + + + (10)2 (10)2 (10)2 (10)2 ··· ✓ ◆ ✓ ◆ ! 12 1 1 2 1 3 = 1 + + + + 100 100 100 100 ··· ✓ ◆ ✓ ◆ ! • 12 1 n = Â 100 100 n=0 ✓ ◆ 12 = 100 1 1 100 12 100 = 99 100 12 = . 99

12 So 0.12 = 0.121212 . . . is rational since it can be written as the fraction 99 .

123 abcd 1222 EXAMPLE 13.8. Here are a few more repeating decimals to try. Answers: (b) 999 ; (c) 9999 ; (d) 9900 . (a) Express 0.9 = 0.9999 . . . as a rational number. What is interesting about the answer? (b) Express 0.123 as a rational number. (c) Express 0.abcd as a rational number, where a, b, c, and d are nonnegative integers. (d) Express 0.1234 as a rational number. Basic Properties of Series

The Algebra of Series

There are several simple properties that apply to series that converge. We have already been using the first of these results.

• • THEOREM 14.1. Suppose that we have two :  an = A and  bn = B. n=0 n=0 Then • (a) If c is a constant, then  can = cA. n=0 • (b)  an bn = A B. n=0 ± ±

• 1 n 1 n EXAMPLE 14.1. Determine the sum of the series 3 + 3 if it exists. Â 2 2 n=0 ✓ ◆ ✓ ◆ SOLUTION. Using the Geometric Series Test (Theorem 13.1) and Theorem 14.1 we have • 1 n 1 n • 1 n • 1 n 3 + 3 = 3 + 3 Â 2 2 Â 2 Â 2 n=0 ✓ ◆ ✓ ◆ n=0 ✓ ◆ n=0 ✓ ◆ 3 3 = + 1 1 1 ( 1 ) 2 2 = 6 + 2 = 8.

The Test

The next theorem shows that for a series to converge, the terms of the series must get small as n gets large.

• THEOREM 14.2 (The nth ). If an converges to A, then lim an = 0. Â n • n=0 !

Proof. We make use of a comment we made earlier. Let Sn be the nth partial sum of the series. We know that lim Sn = lim Sn 1 = A because both are n • n • really just the same set of numbers.! But!

Sn = a1 + a2 + + an 1 + an ··· and

Sn 1 = a1 + a2 + + an 1. ··· So

Sn Sn 1 = an. math 131 infinite series, part vii: absolute and conditional convergence 10

Therefore

lim an = lim (Sn Sn 1)= lim Sn lim Sn 1 = A A = 0, n • n • n • n • ! ! ! ! which is what we wanted to prove.

The theorem is seldom used in the form as stated above. Rather, if the nth term of a series does not converge to 0, then series cannot convergence. This is a more useful way of stating of Theorem 14.2 and in this form it is a test for divergence.

• THEOREM 14.3 (The nth term test for divergence). If lim an = 0, then an diverges. n • Â ! 6 n=0

Warning! The nth term test for divergence never allows us to conclude that a series converges, only that it does not converge. If lim an = 0, we can’t conclude n • anything. The series may or may not converge. The! test simply fails to provide us with any useful information in such a case.

• n2 + 1 EXAMPLE 14.2. Determine whether the series  2 converges. n=0 3n + n + 1

SOLUTION. Notice that 2 + 1 n + 1 1 n2 1 lim an = lim = lim = = 0. n • n • 3n2 + n + 1 n • 1 1 3 6 ! ! ! 3 + n + n

• n2 + 1 By the nth term test for divergence (Theorem 14.3), the series  2 di- n=0 3n + n + 1 verges.

• k n EXAMPLE 14.3. Determine whether the series 1 + converges. Â n n=1 ✓ ◆ SOLUTION. This time using using one of our key limits (see Theorem 13.2)

n k k lim an = lim 1 + = e = 0. n • n • n 6 ! ! ✓ ◆ • k n By the nth term test for divergence (Theorem 14.3), the series 1 + diverges.  n n=1 ✓ ◆ • EXAMPLE 14.4. Determine whether the series  pn n converges. n=1

SOLUTION. Using another of our key limits (see Theorem 13.2)

n lim an = lim pn = 1 = 0. n • n • ! ! 6 • By the nth term test for divergence (Theorem 14.3), the series  pn n diverges. n=1

• 2n 2 4 8 EXAMPLE 14.5. Determine whether the series  2 = + + + converges. k=1 n 1 4 9 ···

SOLUTION. Notice that both numerator and denominator both tend to infinity. So converting to x and using l’Hôpital’s rule (twice!) We will need to use the formula d (ax)=ax ln a, which is valid n x x x dx 2 2 (ln 2)2 (ln 2)(ln 2)2 when a > 0. lim = lim = lim = lim = •. n • 2 x • 2 x • 2 x • 2 ! n ! x ! x ! By the nth term test for divergence (Theorem 14.3), the series diverges. 11

• 1 • 1 EXAMPLE 14.6. Determine whether the series  and  2 converge. k=1 n k=1 n

SOLUTION. Notice that both 1 lim = 0. n • ! n and 1 lim = 0. n • 2 ! n In this situation the nth term test for divergence (Theorem 14.3) fails to provide us with any information. The series may or may not converge. In fact, we will soon see that one of these series converges while the other diverges.

• 1 EXAMPLE 14.7. Determine whether the series  cos n converges. k=1

SOLUTION. Notice that

lim cos 1 = cos 0 = 1 = 0. n • n ! 6 By the nth term test for divergence (Theorem 14.3) the series diverges.

YOU TRY IT 14.4. Here are six series. Which of them can you say diverge by the nth term test for divergence? For which series is this test not helpful. Explain.

• • • 3n + 1 n n (a)  (b)  2 (c)  (1.1) n=1 2n + 5 n=1 2n + 1 n=1 • 4 n • • n! (d) 1 + (e) pn n (f )  n   nn n=1 ✓ ◆ n=1 n=1