+ All Categories
Home > Documents > Calculus and Analytic Geometry II Chapter 11 - Sequences ... Sequences and S… · Calculus and...

Calculus and Analytic Geometry II Chapter 11 - Sequences ... Sequences and S… · Calculus and...

Date post: 25-Jul-2020
Category:
Upload: others
View: 27 times
Download: 0 times
Share this document with a friend
28
Calculus and Analytic Geometry II Chapter 11 - Sequences and Series 1. Sequences Definition 1. A sequence is a list of numbers written in a definite order, {a 1 ,a 2 ,a 3 ,...} = {a n } n=1 . We call a n the general term of the sequence. Example 1. Assuming that the pattern of the first few terms continues, find a formula for the general term a n of each sequence. (1) 1, 1 2 , 1 3 , 1 4 ,... = 1 n n=1 (2) - 1 4 , 2 9 , - 3 16 , 4 25 ,... = (-1) n n (n + 1) 2 n=1 (3) 1 4 , - 2 9 , 3 16 , - 4 25 ,... = (-1) n+1 n (n + 1) 2 n=1 Remark. Some sequences (actually, many sequences) do not have a simple formula. Con- sider the Fibonacci sequence {1, 1, 2, 3, 5, 8, 13, 21,...}. This is an example of a recursive sequence. There is a closed formula expression for the nth Fibonnaci number F (n) but it is harder to write down than the previous problem. Let φ = 1 2 (1 + 5) (the golden ratio) and ψ = 1 2 (1 - 5). Then F (n)= φ n - ψ n 5 . Definition 2 (Informal). A sequence {a n } has the limit L if we can make the terms a n as close to L as we like by taking n sufficiently large. We write lim n→∞ a n = L or a n L as n →∞. If the limit exists, we say the sequences converges. Otherwise, we say the sequence diverges. Definition 3 (Formal). A sequence {a n } has the limit L if for every ε> 0 there is a corresponding number N> 0 such that |a n - L| for all n>N . 1
Transcript
Page 1: Calculus and Analytic Geometry II Chapter 11 - Sequences ... Sequences and S… · Calculus and Analytic Geometry II Chapter 11 - Sequences and Series 1. Sequences De nition 1. A

Calculus and Analytic Geometry II

Chapter 11 - Sequences and Series

1. Sequences

Definition 1. A sequence is a list of numbers written in a definite order,

{a1, a2, a3, . . .} = {an}∞n=1.

We call an the general term of the sequence.

Example 1. Assuming that the pattern of the first few terms continues, find a formula for

the general term an of each sequence.

(1)

{1,

1

2,1

3,1

4, . . .

}=

{1

n

}∞n=1

(2)

{−1

4,2

9,− 3

16,

4

25, . . .

}=

{(−1)n

n

(n+ 1)2

}∞n=1

(3)

{1

4,−2

9,

3

16,− 4

25, . . .

}=

{(−1)n+1 n

(n+ 1)2

}∞n=1

Remark. Some sequences (actually, many sequences) do not have a simple formula. Con-

sider the Fibonacci sequence {1, 1, 2, 3, 5, 8, 13, 21, . . .}. This is an example of a recursive

sequence. There is a closed formula expression for the nth Fibonnaci number F (n) but it is

harder to write down than the previous problem. Let

φ =1

2(1 +

√5) (the golden ratio) and ψ =

1

2(1−

√5).

Then

F (n) =φn − ψn√

5.

Definition 2 (Informal). A sequence {an} has the limit L if we can make the terms an as

close to L as we like by taking n sufficiently large. We write

limn→∞

an = L or an → L as n→∞.

If the limit exists, we say the sequences converges. Otherwise, we say the sequence diverges.

Definition 3 (Formal). A sequence {an} has the limit L if for every ε > 0 there is a

corresponding number N > 0 such that |an − L| < ε for all n > N .1

Page 2: Calculus and Analytic Geometry II Chapter 11 - Sequences ... Sequences and S… · Calculus and Analytic Geometry II Chapter 11 - Sequences and Series 1. Sequences De nition 1. A

Definition 4. The expression

limn→∞

an =∞

means that for every positive number M there is an integer N such that an > M for all

n > N .

Example 2. Show that

limn→∞

1

n= 0.

Let ε > 0. We must find a number N such that∣∣∣∣ 1n − 0

∣∣∣∣ < ε.

This is equivalent to 1n< ε. Solving for n gives n > 1

ε. Set N = 1

ε. Then if n > N then

1n< ε.

Example 3. Show that

limn→∞

ln(n) =∞.

Let M > 0. To find N , set ln(n) > M . This is equivalent to n > eM . Set N = eM .

Now if n > N we have ln(n) > M .

Remark. Note that we can plot these points on a graph using the ordered pairs (n, an). If

our sequence is determined by a function, then the long term behavior of the sequence is

identical to that of the function. The following theorem formalizes that concept.

Definition 5. Let {an} be a sequence. If f is a function such that f(n) = an for each integer

n, then we say the function f models the sequence {an}.

Theorem 4. If f is a function which models the sequence {an} and

limx→∞

f(x) = L

then

limn→∞

an = L.

Remark. Note that the above theorem does not apply when f diverges. Consider the

sequence {sin(πn)}. This sequence converges to 0, in fact, every term in the sequence is 0.

However, while f(x) = sin(πx) does model {an}, the limit of f(x) as x→∞ does not exist.2

Page 3: Calculus and Analytic Geometry II Chapter 11 - Sequences ... Sequences and S… · Calculus and Analytic Geometry II Chapter 11 - Sequences and Series 1. Sequences De nition 1. A

Example 5. Use the previous theorem to evaluate the limit of the sequence

an =n√n2 + 1

.

Let f(x) = x√x2+1

. Now,

limx→∞

f(x) = limx→∞

x√x2 + 1

= limx→∞

√x2

x2 + 1=

√limx→∞

x2

x2 + 1=√

1 = 1.

Theorem 6. Let an = p(n)q(n)

where p(n) and q(n) are polynomials in n with leading coefficients

b and c, respectively. Then

limn→∞

an =

0 if deg q(n) > deg p(n)

∞ if deg p(n) > deg q(n)

bc

if deg p(n) = deg q(n).

Example 7. Find the limit of the sequence,{n!

(n+ 2)!

}.

Notice that we could rewrite the general term

n!

(n+ 2)!=

n!

(n+ 2)(n+ 1)n!=

1

(n+ 2)(n+ 1)→ 0.

Remark. We’ll now discuss several theorems that help us to evaluate limits of sequences.

Many of these should remind you of corresponding theorems for limits of functions. The last

one relates the two types of limits.

Theorem 8 (Limit Laws for sequences). If {an} and {bn} are convergent sequences and c

is a constant, then

(1) limn→∞

(an ± bn) = limn→∞

an ± limn→∞

bn

(2) limn→∞

can = c limn→∞

an and limn→∞

c = c

(3) limn→∞

(anbn) = limn→∞

an · limn→∞

bn

(4) limn→∞

anbn

=limn→∞ anlimn→∞ bn

if limn→∞

bn 6= 0

Theorem 9 (Squeeze Theorem for Sequences). Let {an}, {bn}, {cn} be sequences such that

for some number M ,

bn ≤ an ≤ cn for n > M and limn→∞

bn = limn→∞

cn = L,

3

Page 4: Calculus and Analytic Geometry II Chapter 11 - Sequences ... Sequences and S… · Calculus and Analytic Geometry II Chapter 11 - Sequences and Series 1. Sequences De nition 1. A

then

limn→∞

an = L.

Example 10. Evaluate the limit of the sequence with general term an = 1/√n4 + n8.

We can bound an by1√2n4≤ an ≤

1√2n2

.

Each of these sequences converges to 0 and then by the Squeeze Theorem, so does {an}.

Theorem 11. If limn→∞ |an| = 0, then limn→∞ an = 0.

Proof. We have −|an| ≤ an ≤ |an|. Since limn→∞ |an| = 0, then so too do we have

limn→∞−|an| = 0. Hence, by the Squeeze Theorem, limn→∞ an = 0. �

Remark. The previous theorem only works if the limit is 0. Consider the sequence

{(−1)n} = {1,−1, 1,−1, 1,−1, . . .}. Then the limit of the absolute values is 1 but the

sequence diverges.

Theorem 12. If f(x) is continuous and

limn→∞

an = L

then

limn→∞

f(an) = f(

limn→∞

an

)= f(L).

Remark. The sequence {rn} is convergent if −1 < r ≤ 1 and otherwise it is divergent.

limn→∞

rn =

0 −1 < r < 1

1 r = 1

∞ r > 1.

2. Series

Remark. Consider the process of adding all of the integers. We could do this by hand,

1 + 2 + 3 + · · · ,

but that would take a while, and we’re pretty sure its infinity. Thankfully, there is a formula

that tells us the sum of the first n integers

Sn =n(n+ 1)

2,

4

Page 5: Calculus and Analytic Geometry II Chapter 11 - Sequences ... Sequences and S… · Calculus and Analytic Geometry II Chapter 11 - Sequences and Series 1. Sequences De nition 1. A

and we can prove this with induction. Now we just increase n to get bigger and bigger sums.

The total sum is just the limit of these partial sums, so∑an = lim

n→∞Sn =∞.

Now let’s consider a similar problem, the sequence given by {1/2n}. The more successive

terms we add, the closer we get to 1. Hence, we might guess that∑

12n

= 1.

We can see this geometrically by drawing a square, cutting it in half and then cutting

the remaining half in half...

This forms a sequence, {1

2,3

4,7

8,15

16, . . .

}.

Hence, a general term in the sequence has the form

2n − 1

2n= 1− 1

2n.

This sequence clearly converges to 1.

Definition 6. A series (or infinite series) is the infinite sum of the terms in a sequence {an}.We denote it

∞∑n=1

an or∑

an.

Let SN denote its Nth partial sum, that is,

SN =N∑n=1

an = a1 + a2 + · · ·+ aN .

If the sequence {SN} is convergent and limN→∞ sN = S exists, we say the series∑an is

convergent and write ∑an = S.

The number S is called the sum of the series. If the sequence {Sn} is divergent, then the

series is called divergent.

Remark. We will often use the notation,

∞∑n=1

an = limn→∞

n∑i=1

ai.

We can add and subtract series termwise (see page 551). Moreover, a scalar multiple of

an infinite series is the same as the infinite series of the terms multiplied by that scalar.5

Page 6: Calculus and Analytic Geometry II Chapter 11 - Sequences ... Sequences and S… · Calculus and Analytic Geometry II Chapter 11 - Sequences and Series 1. Sequences De nition 1. A

Theorem 13. The geometric series∞∑n=1

crn−1

is convergent if |r| < 1 and its sum is

∞∑n=1

crn−1 =c

1− r.

If |r| ≥ 1, the geometric series diverges.

Proof. If r = 1 then the series clearly diverges. If r 6= 1, then observe that

SN = c+ cr + cr2 + · · ·+ crN−1

rSN = cr + cr2 + · · ·+ crN

SN − rSN = c− crN

SN(1− r) = c(1− rN).

Thus,

S = limn→∞

SN = limn→∞

c(1− rN

)1− r

=c

1− r− c

1− rlimn→∞

rN .

Thus, the series converges if |r| < 1 and otherwise it diverges. �

Example 14. Determine whether each series converges or diverges. If it is convergent, find

its sum.

(1) 1− 3

2+

9

4− 27

8+ · · ·

This is a geometric series with r = −3/2. Since |r| > 1, then this series diverges.

(2)∞∑n=0

4n+1

5n

We rewrite the series as

∞∑n=0

4n+1

5n= 4 +

∞∑n=1

4n+1

5n= 4 +

∞∑n=1

42 · 4n−1

5 · 5n−1= 4 +

∞∑n=1

16

5·(

4

5

)n−1= 4 +

16/5

1− (4/5)= 4 + 16 = 20.

6

Page 7: Calculus and Analytic Geometry II Chapter 11 - Sequences ... Sequences and S… · Calculus and Analytic Geometry II Chapter 11 - Sequences and Series 1. Sequences De nition 1. A

Example 15. Express the number 6.254 = 6.254545454 · · · as a ratio of integers. We can

write this number as the series as

6.254 = 6.2 +54

1000+

54

100000+ · · · = 6.2 +

54

103+

54

105+

54

107+ · · ·

= 6.2 +54

103

(1 +

1

102+

1

104+ · · ·

)= 6.2 +

54

103

(1 +

1

100+

(1

100

)2

+ · · ·

)

= 6.2 +∞∑n=1

54

103

(1

100

)n−1.

This is a geometric series with c = 54/103 and |r| = 541100 < 0. Hence, the series converges

to 54/103

1−1/100 = 541000−10 = 54

990= 6

110. Thus, the value of the number is 62

10+ 6

110= 344

55.

Example 16. The series∑∞

n=11n

is known as the harmonic series. The harmonic series

diverges. We will show why below.

Instead of looking for each partial sum, we will bound some of them. We use the

following fact: If {an} is a sequence containing a subsequence {bn} which diverges, then

{an} diverges.

We have

s2 = 1 +1

2

s4 = 1 +1

2+

1

3+

1

4> 1 +

1

2

(1

4+

1

4

)= 1 +

2

2

s8 = 1 +1

2+

(1

3+

1

4

)+

(1

5+

1

6+

1

7+

1

8

)> 1 +

1

2+

(1

4+

1

4

)+

(1

8+

1

8+

1

8+

1

8

)= 1 +

3

2.

This continues and we find s2n > 1 + n2

and so s2n →∞ as n→∞. Hence {sn} diverges.

Example 17. Determine the convergence of the series

∞∑n=1

1

n(n+ 1).

If it converges, find its sum.

First note that 1n+1≤ 1

n2 . And so the given series should converge if∑∞

n=11n2 converges.

(We have not yet formalized a comparison theorem for series, but it should be rather in-

tuitive.) This series should remind us of the indefinite integral∫∞1

1x2

dx, which converges.

Hence, our intuition should tells us that the given series converges.7

Page 8: Calculus and Analytic Geometry II Chapter 11 - Sequences ... Sequences and S… · Calculus and Analytic Geometry II Chapter 11 - Sequences and Series 1. Sequences De nition 1. A

We use the identity1

n(n+ 1)=

1

n− 1

n+ 1,

which comes from partial fraction decomposition. Hence,

SN =

(1− 1

2

)+

(1

2− 1

3

)+

(1

3− 1

4

)+ · · ·+

(1

N − 1− 1

N

)= 1− 1

N + 1.

Since

limN→∞

SN = 1,

then the sum of the series is 1.

Remark. The series in Example 17 is known as a telescoping series. The strategy for finding

the sum of any telescoping series is the same as in that example.

Theorem 18. If the series∑an is convergent, then

limn→∞

an = 0.

Theorem 19 (Divergence Test). If limn→∞ an 6= 0, then the series∑an diverges.

Example 20. Show that the following series diverges∞∑n=1

n

10n+ 12.

Let an = n10n+12

, then an → 110

as n→∞. Hence, the series diverges by the Divergence

Test.

Remark. Note that the converse of the Divergence Test does not hold. There are sequences

such that the limit of the terms tends to zero but the series does not converge, e.g. the

harmonic series.

3. The Integral Test

Remark. We now turn to the question of when certain series converge or diverge. In this

section and the next, we will focus exclusively on series of the form∑an with an ≥ 0 for all

n.

Remark. Consider the series∑∞

n=11√n. We treat each summand as the area of a rectangle

with base 1 and height 1√n. All of these rectangles can be position so that they lie above the

curve 1√x. Thus,

∞∑n=1

1√n≥∫ ∞1

1√x.

8

Page 9: Calculus and Analytic Geometry II Chapter 11 - Sequences ... Sequences and S… · Calculus and Analytic Geometry II Chapter 11 - Sequences and Series 1. Sequences De nition 1. A

Hence, the sum diverges.

Now consider the series∑∞

n=11n2 . Starting with n = 2, we proceed as above by treating

each summand as a rectangle with base 1 and height 1n2 . then we see that these rectangles

lie below the curve 1x2

. Hence, it is easy to see that

∞∑n=2

1

n2≤∫ ∞1

1

x2.

Since this series converges, it has a finite sum. Thus, the sum of the original series is 1 plus

this sum, and is stil infinite.

Theorem 21 (The Integral Test). Suppose f(x) is continuous, positive, and decreasing

function on [1,∞) which models the sequence {an}.

(1) If

∫ ∞1

f(x) dx converges, then so does∞∑n=1

an,

(2) If

∫ ∞1

f(x) dx diverges, then so does∞∑n=1

an.

Example 22. Determine whether the following series converges or diverges.

∞∑n=1

lnn

n2.

We will consider the integral, ∫ ∞1

lnx

x2dx

and apply IBP. Let u = lnx and dv = x−2 dx so du = x−1 dx and v = −x−1. Then∫ ∞1

lnx

x2dx = lim

b→∞

∫ b

1

lnx

x2dx = lim

b→∞

([− lnx

x

]b1

+

∫ b

1

1

x2dx

)

= limb→∞

(− ln b

b+ 0 +

[−1

x

]b1

)= 0 + lim

b→∞

[−1

b+ 1

]= 1.

Hence, by the integral test, the given series converges.

Caution! The above argument does not tell us that the sum of the series is 1. It only tells

us that the series converges. The actual value of the series is a bit less than 1 (approx .9375)

but this is difficult to determine.9

Page 10: Calculus and Analytic Geometry II Chapter 11 - Sequences ... Sequences and S… · Calculus and Analytic Geometry II Chapter 11 - Sequences and Series 1. Sequences De nition 1. A

Example 23. Determine whether each series converges or diverges.

(1)∞∑n=1

14√n.

Let f(x) = 1x1/4

. Then f models the sequence{

14√n

}. Since∫ ∞

1

1

x1/4dx

diverges (p-integral type I, p = 1/4), then so does the given series.

(2)∞∑n=1

3

5n4.

Let f(x) = 35x4

. Then f models the sequence{

35n4

}. Since∫ ∞

1

3

5x4dx =

3

5

∫ ∞1

1

x4dx

converges (p-integral type I, p = 4), the so does the given series.

Theorem 24 (p-test for series). The infinite series

∞∑n=1

1

np

converges if p > 1 and diverges otherwise.

4. Comparison Tests

Remark. In this section we will consider two different comparison tests. The first should

seem very familiar.

Theorem 25 (The Comparison Test for Series). Assume there exists M > 0 such that

0 ≤ an ≤ bn for n ≥M .

• If∑bn converges, then

∑an also converges.

• If∑an diverges, then

∑bn also diverges.

Remark. Why do we care about n ≥ M in the above theorem and don’t just say ‘for all

n’? The point is that it only matters what happens eventually in the sequence, not what

happens in the early terms.10

Page 11: Calculus and Analytic Geometry II Chapter 11 - Sequences ... Sequences and S… · Calculus and Analytic Geometry II Chapter 11 - Sequences and Series 1. Sequences De nition 1. A

Example 26. Determine whether each series converges or diverges.

(1)∞∑n=1

lnn

n.

For n > e, ln(n)n

> 1n. Since the harmonic series diverges, then so too does our given series

by the Comparison Test.

(2)∞∑n=1

1

n2 + n+ 1.

We have n2 + n+ 1 > n2 for n > 0. Hence, 1n2+n+1

< 1n2 . Since the series

∑1n2 converges by

the p-test, p > 1, then by the Comparison Test so too does the given series.

(3)∞∑n=1

1√n2 + 1

.

Since√n2 + 1 >

√n2 = n, then 1√

n2+1< 1

n. Thus, our series is smaller than a divergent

series and so the Comparison Test does not apply.

Remark. The Comparison Test gives us a way of comparing series in which the terms in

the series are bigger or smaller than those in a convergent or divergent series. The next test

is similar, but compares growth rates of series.

Theorem 27 (The Limit Comparison Test). Suppose that∑an and

∑bn are series with

positive terms. If

limn→∞

anbn

= c

where c is a finite number with c > 0, then either both series converge or both diverge.

Example 28. Use the Limit Comparison test to determine whether the following series

converges or diverges∞∑n=1

1√n2 + 1

.

We compare to the harmonic series, which has terms bn = 1/n.

limn→∞

1/√n2 + 1

1/n= lim

n→∞

n√n2 + 1

= limn→∞

√n2

n2 + 1=

√limn→∞

n2

n2 + 1= 1 > 0.

Thus, by the Limit Comparison Test, the given series diverges.

Example 29. Determine whether the following series converges or diverges.

∞∑n=1

cos2(3n)

1 + (1.2)n.

11

Page 12: Calculus and Analytic Geometry II Chapter 11 - Sequences ... Sequences and S… · Calculus and Analytic Geometry II Chapter 11 - Sequences and Series 1. Sequences De nition 1. A

First note that 0 ≤ cos2(3n) ≤ 1. Hence,

cos2(3n)

1 + (1.2)n≤ 1

1 + (1.2)n≤ 1

(1.2)n.

The sequence∑∞

n=11

(1.2)nis geometric (r = 5

6so |r| < 1) and so it converges. Thus, by the

Comparison Test, the given series converges.

Example 30. Determine whether the following series converges or diverges.

∞∑n=1

3n3 + 2n− 1

5n5 − 2n3 + 3.

It would be difficult to apply the Comparison Test (though not impossible perhaps).

We will instead apply the Limit Comparison Test. Set an = 3n3+2n−15n5−2n3+3

. To determine the

comparing series, look for the highest power of n in the numerator and denominator. We

will compare to the series∑∞

n=1 bn where bn = n3

n5 = 1n2 . By the p-test, this series converges

(p > 1). Thus, if limn→∞anbn

= c where c > 0 and finite, then the given series converges.

limn→∞

anbn

= limn→∞

(3n3 + 2n− 1)/(5n5 − 2n3 + 3)

(1/n2)= lim

n→∞

3n5 + 2n3 − n2

5n5 − 2n3 + 3=

3

5> 0.

Hence, the given series converges by the Limit Comparison Test.

Remark. The next example illustrates that there may be times when it is advantageous to

use both theorems in conjunction.

Example 31. Show that the series∑∞

n=11n!

converges.

Since n! grows fast, we will conjecture that the series converges. For n > 1 we have

n! > n(n− 1) so1

n!<

1

n(n− 1).

By the Comparison Test, our given series will converge if the series∑

1n(n−1) converges.

We will use the Limit Comparison Test. Let an = 1n(n−1) and bn = 1

n2 . Then

limn→∞

anbn

= limn→∞

n2

n(n− 1)= 1.

Thus, by the LCT,∑

1n(n−1) converges.

Remark. We will see that there is a much quicker way to show convergence of this series in

Section 6.12

Page 13: Calculus and Analytic Geometry II Chapter 11 - Sequences ... Sequences and S… · Calculus and Analytic Geometry II Chapter 11 - Sequences and Series 1. Sequences De nition 1. A

5. Alternating series

Definition 7. An alternating series is a series whose terms are alternately positive and

negative.

Example 32. Consider the alternating harmonic series

∞∑n=1

(−1)n−11

n,

or its variation∞∑n=1

(−1)n1

n,

which is just the additive inverse of the one before. We saw previously that the alternating

harmonic series converges. It turns out that the sum is ln(2), though the reason for this will

come later. (If you want a hint, start thinking about the derivatives of ln(x).

Remark. What we will consider in this section is a test for convergence of alternating series.

Theorem 33 (The Alternating Series Test). If the alternating series,

∞∑n=1

(−1)n−1bn = b1 − b2 + b3 − b4 + b5 − b6 + · · · bn > 0

satisfies

(i) bn+1 ≤ bn for all n (decreasing) and (ii) limn→∞

bn = 0.

then the series is convergent.

Remark. The Alternating Series Test works similarly if (−1)n−1 is replaced by (−1)n. It is

also not affected by the starting value.

Example 34. Use the alternating series test to give another explanation of why the alter-

nating harmonic series converges.

We need to check two things: that the series is decreasing and the limit of the summands

in zero. The second is obvious,

limn→∞

1

n= 0.

For the first, we need to show 1n+1≤ 1

nfor all n. This is clear because the denominator on

the left is always larger. Equivalently, we could cross multiply to be n ≤ n + 1, or 0 ≤ 1.

Hence, by the Alternating Series Test, the series converges.13

Page 14: Calculus and Analytic Geometry II Chapter 11 - Sequences ... Sequences and S… · Calculus and Analytic Geometry II Chapter 11 - Sequences and Series 1. Sequences De nition 1. A

Remark. Why does this test work? We give a weak argument based on observation. A

more complete argument is in your textbook.

Start with b1, drawn out on a line segment. We then subtract from that b2, which is

less than b1 by hypothesis. Next, we add on b3, which is less than b2 and subtract b4. This

difference is completely contained in b2. Continuing in this process, we see that the limit of

partial sums is bounded by b1. Hence, the sequence of partial sums is increasing (monotonic)

and bounded, therefore convergent. What issues are this argument ignoring?

Remark. Given a series as in the theorem above, we have 0 < S < b1 and S2N < S < S2N+1.

Example 35. Determine the convergence of the series∞∑n=1

(−1)n√n2 + 1

.

This is similar to the above. Note that the fact that the powers of −1 are off from the

test does not affect the convergence.

Example 36. Determine the convergence of the series∑ cos(πn)

n!.

This is an alternating series in disguise since n even implies cos(πn) = −1 and n odd

implies cos(πn) = 1. We can then apply the alternating series test to show the series

converges.

Example 37. Determine whether the series converges or diverges∞∑n=1

(−1)n−12n

5n+ 1.

For part (i), we want

bn+1 ≤ bn

2(n+ 1)

5(n+ 1) + 1≤ 2n

5n+ 1

(2n+ 2)(5n+ 1) ≤ 2n(5n+ 6)

10n2 + 12n+ 2 ≤ 10n2 + 12n

2 ≤ 0.

Hence, our original statement reduces (is equivalent to) a false statement, so the series fails

part (i).14

Page 15: Calculus and Analytic Geometry II Chapter 11 - Sequences ... Sequences and S… · Calculus and Analytic Geometry II Chapter 11 - Sequences and Series 1. Sequences De nition 1. A

For the second part, note that,

limn→∞

2n

5n+ 1=

2

56= 0.

Thus, this series fails both parts of the AST. (Note: if the series fails one part it fails the

AST. I just wanted you to see an example where it fails both parts.)

This alone does not guarantee divergence. However, the limit

limn→∞

(−1)n−12n

5n+ 1

does not exist. Hence, by the Divergence Test, this series diverges.

Example 38. Determine whether the series converges or diverges

∞∑n=1

(−1)n−1sin2

(π2n)

n2.

In this case, condition (ii) holds (Squeeze Theorem). On the other hand, the series is

not decreasing. Note that, if n is odd, then bn = 1n2 but if n is even then bn = 0. Thus, this

series fails the Alternating Series Test.

However, this series still converges. Part of the reason is that this series is not

really an alternating series. The ‘negative terms’ are all 0, and so this is in fact a positive

series. It is actually the series∞∑n=1

1

(2n− 1)2

which converges by the Limit Comparison Test.

Example 39. Determine the convergence of the series

∞∑n=1

(−1)n+1 n2

n3 + 1.

Condition (ii) is easy to check and we omit that here. The real challenge is to check

whether it is decreasing. It is enough, however, to show that the function f(x) = x2

x3+1

is decreasing (why?!). To determine intervals of increase and decrease, we look for critical

points. Note that f ′(x) = x(2−x3)(x3+1)2

. This has critical points at x = −1, 0, 3√

2. We only care

about x ≥ 1, so we check that f ′(x) < 0 for x > 3√

2. Hence, f is decreasing for x ≥ 2.

The statement of the theorem indicates that the decreasing condition must hold for all

n, but as with most of our theorems, it is enough that it holds eventually.15

Page 16: Calculus and Analytic Geometry II Chapter 11 - Sequences ... Sequences and S… · Calculus and Analytic Geometry II Chapter 11 - Sequences and Series 1. Sequences De nition 1. A

Example 40. Test the series for convergence or divergence,

∞∑n=1

(−1)n(√

n+ 1−√n).

Let bn =√n+ 1−

√n. We first check the limit,

limn→∞

√n+ 1−

√n = lim

n→∞

(√n+ 1−

√n)(√n+ 1 +

√n)√

n+ 1 +√n

= limn→∞

1√n+ 1 +

√n

= 0.

Now to show decreasing, we could argue as above. Instead, we will do this algebraically.

The following statements are equivalent because all values considered are positive.

bn+1 ≤ bn√n+ 2−

√n+ 1 ≤

√n+ 1−

√n

√n+ 2 +

√n ≤ 2

√n+ 1

(n+ 1) + 2√n√n+ 2 ≤ 4(n+ 1)

2√n√n+ 2 ≤ 2(n+ 1)

√n√n+ 2 ≤ (n+ 1)

n(n+ 2) ≤ (n+ 1)2

0 ≤ 1.

Remark. Alternating series are particularly nice because there is an easy formula to deter-

mine a bound for the error of the Nth partial sum SN .

Theorem 41 (Alternating series estimation theorem). If S =∑

n=1(−1)n−1bn is the sum of

a series satisfying the AST, then

|RN | = |S − SN | ≤ bN+1.

Remark. Another way of stating the above is that

SN − bN+1 ≤ S ≤ SN − bN .

Example 42. Find the sum of the series∑∞

n=0(−1)nn!

correct to three decimal places.

First check the Alternating Series Test. The fact that the summation starts at n = 0

does not affect the AST. Set bn = 1n!

. It is clear that

limn→∞

bn = limn→∞

1

n!= 0.

16

Page 17: Calculus and Analytic Geometry II Chapter 11 - Sequences ... Sequences and S… · Calculus and Analytic Geometry II Chapter 11 - Sequences and Series 1. Sequences De nition 1. A

Then

bn+1 ≤ bn

1

(n+ 1)!≤ 1

n!

1 ≤ (n+ 1)!

n!

1 ≤ n+ 1

0 ≤ n.

This last statement is true by assumption. Hence, {bn} is a decreasing sequence and so the

series converges by the Alternating Series Test.

Let S be the sum of the series. The idea of the above theorem is that we must find a

bn such that the difference does not affect the third decimal place of the sum. This is a bit

of trial and error.

We compute the bn and find that b7 = 0.0002. Hence, |S − S6| ≤ b7 = 0.0002. We

compute S6 ≈ 0.368056. Hence,

0.367856 ≈ S6 − 0.0002 ≤ S ≤ S6 + 0.002 ≈ 0.368256.

Round both sides to three decimal places gives 0.368 ≤ S ≤ 0.368, so S ≈ 0.368.

6. Absolute convergence, ratio and root tests

Remark. In the previous section, we limited ourselves to only series with positive terms.

We now consider series with negative terms.

Definition 8. A series∑an is called absolutely convergent if the series of absolute values∑

|an| is convergent. We say∑an is conditionally convergent if

∑an converges but

∑|an|

diverges.

Example 43. The series∑∞

n=1(−1)n−1

n2 is absolutely convergent. It is also convergent (by

the alternating series test).

The alternating harmonic series converges but it is not absolutely convergent.

Theorem 44. If a series∑an is absolutely convergent, then it is convergent.

17

Page 18: Calculus and Analytic Geometry II Chapter 11 - Sequences ... Sequences and S… · Calculus and Analytic Geometry II Chapter 11 - Sequences and Series 1. Sequences De nition 1. A

Proof. We know −|an| ≤ an ≤ |an| so 0 ≤ an + |an| ≤ 2|an|. Since∑|an| converges then∑

2|an|, so∑

(an + |an|) converges by the Comparison Test. Since∑an =

∑(an + |an|)−

∑|an|,

is the difference of two convergent series, then∑an converges. �

Example 45. Study the convergence of

∞∑n=1

cosn

n2.

We have | cosn| ≤ 1, so ∣∣∣cosn

n2

∣∣∣ ≤ 1

n2.

Hence, the series is absolutely convergent by the Comparison Test, and therefore convergent.

Remark. We will now consider two tests, the Ratio Test and the Root test, which can in

certain cases determine whether a series is absolutely convergent.

Theorem 46 (The Ratio Test). Assume the following limit exists:

L = limn→∞

∣∣∣∣an+1

an

∣∣∣∣ .• If L < 1, then the series

∑an is absolutely convergent.

• If L > 1 or L =∞, then the series∑an is divergent.

• If L = 1, then the Ratio Test is inconclusive.

Example 47. Study the convergence of each example.

(1)∞∑n=1

n

2n

Set an = n2n

. Then

L = limn→∞

∣∣∣∣an+1

an

∣∣∣∣ = limn→∞

∣∣∣∣(n+ 1)/2n+1

n/2n

∣∣∣∣ = limn→∞

∣∣∣∣(n+ 1)2n

n2n+1

∣∣∣∣ =1

2.

Since L < 1, then the series∑an converges absolutely by the Ratio Test.

(2)∞∑n=1

1

n3

Set an = 1n3 . Now we compute

L = limn→∞

∣∣∣∣an+1

an

∣∣∣∣ = limn→∞

∣∣∣∣1/(n+ 1)3

1/n3

∣∣∣∣ = limn→∞

∣∣∣∣ n3

(n+ 1)3

∣∣∣∣ = 1.

18

Page 19: Calculus and Analytic Geometry II Chapter 11 - Sequences ... Sequences and S… · Calculus and Analytic Geometry II Chapter 11 - Sequences and Series 1. Sequences De nition 1. A

Thus, the Ratio Test is inconclusive in this case. Thankfully, since the terms are always

positive, we know already that this series converges absolutely by the p-test.

(3)∞∑n=1

n!

6n

Set an = n!6n

. Then

L = limn→∞

∣∣∣∣an+1

an

∣∣∣∣ = limn→∞

∣∣∣∣(n+ 1)!/6n+1

n!/6n

∣∣∣∣ = limn→∞

∣∣∣∣(n+ 1)!6n

n!6n+1

∣∣∣∣ = limn→∞

n+ 1

6=∞.

Since L =∞, then the series∑an diverges by the Ratio Test.

(4)∞∑n=1

(−3)n−1√n

Set an = (−3)n−1√n

. Then

L = limn→∞

∣∣∣∣an+1

an

∣∣∣∣ = limn→∞

∣∣∣∣(−3)n/√n+ 1

(−3)n−1/√n

∣∣∣∣ = limn→∞

√n3n√

n+ 13n−1= 3.

Since L > 1, then the series∑an diverges by the Ratio Test.

Remark. A quick reminder that for any finite number p ≥ 1,

limn→∞

(np)1/n = limn→∞

np/n = 1.

This can be shown by writing a function which models the sequence and L’Hospital’s Rule.

Theorem 48 (The Root Test). Assume the following limit exists:

L = limn→∞

n√|an|.

• If L < 1, then the series∑an is converges absolutely.

• If L > 1 or L =∞, then the series∑an diverges.

• If L = 1, then the Root Test is inconclusive.

Example 49. Study the convergence of each example.

(1)∞∑n=1

(n2 + 1

2n2 + 1

)n.

Set an =(n2+12n2+1

)n. Then

L = limn→∞

n√|an| = lim

n→∞n

√∣∣∣∣( n2 + 1

2n2 + 1

)n∣∣∣∣ = limn→∞

n2 + 1

2n2 + 1=

1

2.

19

Page 20: Calculus and Analytic Geometry II Chapter 11 - Sequences ... Sequences and S… · Calculus and Analytic Geometry II Chapter 11 - Sequences and Series 1. Sequences De nition 1. A

Since L < 1, then the series∑an converges absolutely by the Root Test.

(2)∞∑n=1

(−5)n

n2.

This one could be done (fairly easily) with the Ratio Test. But we’ll use the Root Test along

with the fact mentioned above.

Set an = (−5)nn2 . Then

L = limn→∞

n√|an| = lim

n→∞n

√∣∣∣∣(−5)n

n2

∣∣∣∣ = limn→∞

5

n2/n= 5.

Since L > 1, then the series∑an diverges by the Root Test.

8. Power Series

Remark. Recall that in a geometric series, the coefficients were assumed to be constant.

We now generalize this and allow the coefficients to vary. We then have what is known as a

power series. We will study when power series converge using many of the tools developed

in previous sections.

Definition 9. A power series with center a is a series of the form

F (x) =∞∑n=0

cn(x− a)n = c0 + c1(x− a) + c2(x− a)2 + · · · .

The cn are constants called the coefficients of the series.

Remark. Notice that, in contrast to our previous convention, we typically start a power

series at the index n = 0.

Example 50. You have already seen an example of a power series, the geometric series,∑n=1

crn−1 =∑n=0

crn.

Hence, cn = c for all n.

We already know when this series converges, that is, when |r| < 1. In terms of power

series, we call 1 the radius of convergence and (−1, 1) the interval of convergence.

Remark. As we saw in the last example, a power series F (x) may converge for some values

of x and diverge for other values of x. It turns out that there is always interval I, called

the interval of convergence, such that F (x) converges for values of x in I and diverges for20

Page 21: Calculus and Analytic Geometry II Chapter 11 - Sequences ... Sequences and S… · Calculus and Analytic Geometry II Chapter 11 - Sequences and Series 1. Sequences De nition 1. A

values outside (there is a question of what happens at the endpoints which must be checked

separately).

Theorem 51 (Radius of covergence). Every power series F (x) has a radius of convergence

R, which is either a nonnegative number of infinity. If R is finite, F (x) converges absolutely

when |x− c| < R and diverges when |x− c| > R. If R =∞, then F (x) converges absolutely

for all x.

Remark. In each example, we must first find the radius of convergence. We then must

check the endpoints individually.

Example 52. Find the radius and interval of convergence for the series

∞∑n=0

(−1)nxn

n+ 1.

The center here is 0. We apply the Ratio Test,

limn→∞

∣∣∣∣(−1)n+1xn+1/(n+ 2)

(−1)nxn/(n+ 1)

∣∣∣∣ = limn→∞

∣∣∣∣xn+1/(n+ 2)

xn/(n+ 1)

∣∣∣∣ = limn→∞

∣∣∣∣xn+ 1

n+ 2

∣∣∣∣ = |x| limn→∞

n+ 1

n+ 2= |x|.

This power series converges when |x| < 1 and diverges when |x| > 1, so the radius of

convergence is 1. Now we need to check the endpoints x = −1 and x = 1.

When x = 1, this series is just the alternating harmonic series. On the other hand,

when x = −1, this is the harmonic series. Hence, the interval of convergence is (−1, 1].

Example 53. Find the radius and interval of convergence for the series

∞∑n=0

n!xn.

Again we apply the Ratio Test (this will be our primary tool, but occasionally we may

apply the Root Test as well).

limn→∞

∣∣∣∣(n+ 1)!xn+1

n!xn

∣∣∣∣ = limn→∞

|(n+ 1)x| = |x| limn→∞

(n+ 1).

This limit is infinite unless x = 0. Thus, the radius of convergence of the series is 0.

Example 54. Find the radius and interval of convergence for the series

∞∑n=1

(−1)n(x+ 2)n

n2n.

21

Page 22: Calculus and Analytic Geometry II Chapter 11 - Sequences ... Sequences and S… · Calculus and Analytic Geometry II Chapter 11 - Sequences and Series 1. Sequences De nition 1. A

Note that this series is forced to start at n = 1. However, that will not affect the radius

or interval of convergence. We will apply the Root Test here, but the Ratio Test would also

work.

limn→∞

n

√∣∣∣∣(−1)n(x+ 2)n

n2n

∣∣∣∣ = limn→∞

|x+ 2|n√n2

=|x+ 2|

2limn→∞

1n√n

=|x+ 2|

2.

Thus, we need |x+2|2

< 1 which is equivalent to |x+ 2| < 2. Thus, R = 2.

The condition |x + 2| < 2 implies −2 < x + 2 < 2 or −4 < x < 0. Thus, we need to

check the series when x = −4 and when x = 0.

When x = 0 this is the alternating harmonic series. When x = −4 it is the harmonic

series. Thus the interval is (−4, 0].

Example 55. Find the radius and interval of convergence for the series

∞∑n=0

(−1)nx2n

(2n)!.

Applying the ratio test,

limn→∞

∣∣∣∣(−1)n+1x2(n+1)/(2(n+ 1))!

(−1)nx2n/(2n)!

∣∣∣∣ = limn→∞

x2(n+1)(2n)!

x2n(2(n+ 1))!

= limn→∞

x2

(2n+ 2)(2n+ 1)

= x2 limn→∞

1

(2n+ 2)(2n+ 1)= 0.

Hence, the series converges for all x and the radius of convergence is R =∞.

Example 56. Find the radius and interval of convergence for the series

∞∑n=1

n5(x− 2)n

5n.

Again applying the Ratio Test,

limn→∞

∣∣∣∣(n+ 1)5(x− 2)n+1/5n+1

n5(x− 2)n/5n

∣∣∣∣ =|x− 2|

5limn→∞

(n+ 1)5

n5=|x− 2|

5.

Hence, R = 5 and the endpoints are x = −3, 7.

When x = 7, the series becomes∑n5 and when x = −3, the series becomes

∑(−1)nn5.

Both diverge by the Divergence Test.

Thus, the interval of convergence is (−3, 7).22

Page 23: Calculus and Analytic Geometry II Chapter 11 - Sequences ... Sequences and S… · Calculus and Analytic Geometry II Chapter 11 - Sequences and Series 1. Sequences De nition 1. A

9. Representations of functions as power series

Remark. Suppose |x| < 1. Then

1

1− x=∑n=0

xn = 1 + x+ x2 + x3 + · · · .

Said another way, the function 1/(1− x) may be represented by the power series. This has

many practical applications. In particular, power series are often better to work with because

they resemble polynomials. Hence, if a function like ex can be represented by a power series

(and it can) then we can approximate e5 by using the power series representation.

In this section we will study multiple techniques for representing certain functions by

power series. We expand this in the next section using Taylor series.

Example 57. Express 1/(1 + x2) as the sum of a power series and find its interval of

convergence.

We apply substitution to the power series form of 1/(1− x) by replacing x with −x2.1

1 + x2=

1

1− (−x2)=∑n=0

(−x2)n =∑

(−1)nx2n = 1− x2 + x4 − x6 + x8 + · · · .

Because this is a geometric series, it converges when | − x2| < 1, that is, when x2 < 1.

But this is just equivalent to |x| < 1. So the interval of convergence is (−1, 1).

Example 58. Express 1/(x − 3) as the sum of a power series and find its interval of con-

vergence.

We first need to write this in the form of the sum of a geometric series. We do this by

factoring out a −3 from the denominator.

1

x− 3=

1

(−3)(1− (x/3))= −1

3

(1

1− x3

)= −1

3

∞∑n=0

(x3

)n= −1

3

∞∑n=0

1

3nxn.

This series converges when |x/3| < 1 or |x| < 3. Thus, the interval of convergence is (−3, 3).

Example 59. Express x2/(x − 3) as the sum of a power series and find its interval of

convergence.

We can use our work from the previous example.

x2

x− 3= x2 · 1

x− 3= x2 ·

(−1

3

∞∑n=0

1

3nxn

)= −1

3

∞∑n=0

1

3nxn+2 = −1

3

∞∑n=2

1

3n−2xn.

The interval of convergence is (−3, 3).23

Page 24: Calculus and Analytic Geometry II Chapter 11 - Sequences ... Sequences and S… · Calculus and Analytic Geometry II Chapter 11 - Sequences and Series 1. Sequences De nition 1. A

Theorem 60 (Term-by-term differentiation and integration). If the power series

F (x) =∞∑n=0

cn(x− a)n

has radius of convergence R > 0, then F (x) is differentiable (and therefore continuous) on

(a−R, a+R) (or all x if R =∞). Furthermore, we can integrate and differentiate term by

term. For x ∈ (a−R, a+R),

(1) F ′(x) = c1 + 2c2(x− a) + 3c3(x− a)2 + · · · =∞∑n=1

ncn(x− a)n−1

(2)

∫F (x) dx = C + c0(x− a) + c1

(x− a)2

2+ · · · = C +

∞∑n=0

cnn+ 1

(x− a)n+1

Moreover, these series have the same radius of convergence R.

Example 61. Express 1(1−x)2 as a power series by differentiating the power series represen-

tation for 11−x .

Using term-by-term differentiation,

1

(1− x)2=

d

dx

(1

1− x

)=

d

dx(1 + x+ x2 + x3 + · · · )

= 0 + 1 + 2x+ 3x2 + · · · =∞∑n=1

nxn−1.

Since term-by-term differentiation does not affect the radius of convergence, then we get

radius of convergence R = 1.

Remark. The radius of convergence will remain the same when we differentiate and inte-

grate, but the interval of convergence may change. Check endpoints!

Example 62. Find a power series expansion for arctan(x).

By Example 57, (1 + x2)−1 = 1− x2 + x4 − x6 + · · · when |x| < 1. Then

arctanx =

∫(1 + x2)−1 dx =

∫(1− x2 + x4 − x6 + · · · ) dx

= C + x− x3

3+x5

5− x7

7+ · · · .

When x = 0, C = arctan(0) = 0. Hence,

arctanx =∞∑n=0

(−1)nx2n+1

2n+ 1.

This expansion is valid for −1 < x < 1 but not at the endpoints.24

Page 25: Calculus and Analytic Geometry II Chapter 11 - Sequences ... Sequences and S… · Calculus and Analytic Geometry II Chapter 11 - Sequences and Series 1. Sequences De nition 1. A

Example 63. Find a power series expansion for ln(1 + x).

We have1

1 + x=

1

1− (−x)=∞∑n=0

(−1)nxn

and this series had radius of convergence 1. Now

ln(1 + x) =

∫1

1 + xdx

=

∫(1− x+ x2 − x3 + x4 + · · · ) dx

=

(x− x2

2+x3

3− x4

4+x5

5+ · · ·

)+ C

= C +∞∑n=0

(−1)nxn+1

n+ 1.

When x = 0, ln(1 + x) = ln(1) = 0. Hence, C = 0. This has radius of convergence R = 1.

10. Taylor Series

Remark. For a function f(x), the linearization at x = a is the function L(x) = f ′(x)(x −a) + f(a). The linearization approximates the function near x = a. But more than that,

f(x) and L(x) agree at x = a and their derivatives agree at x = a. That is, f(a) = L(a)

and f ′(a) = L′(a). The question in this section is whether we can construct functions that

agree at higher derivatives as well and how well do these coincide with each other. It turns

out that functions that can be represented by a power series can always be represented by a

very special series.

Remark. Suppose f can be represented by a power series centered at a, that is

f(x) =∞∑n=0

cn(x− a)n, |x− a| < R.

Can we determine a formula for the cn in general?

First note that f(a) = c0. Now if we take the derivative we find,

f ′(x) =∞∑n=1

ncn(x− a)n−1.

Thus, f ′(a) = c1. Similarly,

f ′′(x) =∞∑n=2

n(n− 1)cn(x− a)n−2,

25

Page 26: Calculus and Analytic Geometry II Chapter 11 - Sequences ... Sequences and S… · Calculus and Analytic Geometry II Chapter 11 - Sequences and Series 1. Sequences De nition 1. A

so f ′′(a) = 2c2. Continuing in this way, we find that f (n)(a) = n!cn. Said another way,

cn = f (n)(a)n!

.

Theorem 64 (Taylor’s Formula). If f has a power series representation centered at a, that

is,

f(x) =∞∑n=0

cn(x− a)n, |x− a| < R,

then its coefficients are given by the formula,

cn =f (n)(a)

n!(x− a)n.

Remark. The above series is called the Taylor Series of f at a and, when a = 0, it is called

the Maclaurin series.

Example 65. Find the Maclaurin Series of f(x) = ex and its radius of convergence.

First note that f (n)(x) = ex for all n and so f (n)(0) = 1 for all n. Hence,

ex =∞∑n=0

xn

n!.

Using the ratio test, we find the radius of convergence is R = ∞ (this was a WebAssign

problem).

Example 66. Find the Maclaurin series for sinx.

Let f(x) = sin x, then f ′(x) = cos x, f ′′(x) = − sinx, f ′′′(x) = − cosx and f (4) = sinx.

Hence, this cycle repeats indefinitely. We have f(0) = 0, f ′(0) = 1, f ′′(0) = 0, and f ′′′(0) =

−1. Thus, the Maclaurin series for sinx is

∞∑n=0

(−1)nx2n+1

(2n+ 1)!.

Example 67. Find the Taylor series of f(x) = 1/x at a = −3.

We have f(x) = x−1, f ′(x) = −x−2, f ′′(x) = 2x−3, f ′′′(x) = −6x−4. Thus, we conclude

that f (n)(x) = (−1)n(n!)x−(n+1). Hence,

f (n)(−3) = (−1)n(n!)(−3)−(n+1) = −(n!)3−(n+1).

Therefore, the Taylor series expansion of f(x) = 1/x at a = −3 is

∞∑n=0

−(n!)3−(n+1)

n!(x− (−3))n =

∞∑n=0

−1

3n+1(x+ 3)n.

26

Page 27: Calculus and Analytic Geometry II Chapter 11 - Sequences ... Sequences and S… · Calculus and Analytic Geometry II Chapter 11 - Sequences and Series 1. Sequences De nition 1. A

Remark. Our understanding of Taylor series gives us a way to realize a very important

series which you are probably already familiar with.

Example 68 (The Binomial Series). Find the Maclaurin series for f(x) = (1 + x)k, where

k is any real number.

We can show that

f (n)(x) = k(k − 1)(k − 2) · · · (k − n+ 1)(1 + x)k−n,

so that

f (0)(x) = k(k − 1)(k − 2) · · · (k − n+ 1).

Hence, the Maclaurin series of f(x) is

∞∑n=0

f (0)(x)

n!xn =

∞∑n=0

k(k − 1)(k − 2) · · · (k − n+ 1)

n!xn.

The coefficients in this series are known as binomial coefficients,(k

n

)=k(k − 1)(k − 2) · · · (k − n+ 1)

n!.

Hence, we can write the series in shorthand as,

(1 + x)k =∞∑n=0

(k

n

)xn.

Remark. Now we turn to the question of whether a function is truly represented by its

Taylor/Maclaurin series. One way to do this is to find the radius of convergence. In the

first two examples, the radius of convergence is R =∞. On the other hand, in the previous

example, the radius of convergence is 3. There is a shortcut which can save time in certain

instances.

Remark. We call the partial sums of the Taylor series the Taylor polynomials of f at a. Let

Tn(x) represent the nth Taylor polynomial of a function f . Then Rn(x) = f(x) − Tn(x) is

called the remainder of the Taylor series.

Theorem 69. If f(x) = Tn(x) +Rn(x) and

limn→∞

Rn(x) = 0 for |x− a| < d,

then f is equal to the sum of its Taylor series on the interval |x− a| < d.

Theorem 70. Suppose there exists M > 0 such that |f (n+1)(x)| ≤ M for all n and all x

such that |x− a| ≤ d, then f(x) is equal to the sum of its Taylor series on (a− d, a+ d).27

Page 28: Calculus and Analytic Geometry II Chapter 11 - Sequences ... Sequences and S… · Calculus and Analytic Geometry II Chapter 11 - Sequences and Series 1. Sequences De nition 1. A

Remark. This actually follows from two facts: The first is Taylor’s Inequality which states

that

|Rn(x)| ≤ M

(n+ 1)!|x− a|n+1,

and from the fact that

limn→∞

xn/n! = 0

for any real number x.

Example 71. Prove ex equals the sum of its Taylor Series at x = a.

We have |f (k)(x)| ≤ ea+R for x ∈ (a−R, a+R).

Remark. One way of finding Taylor/Maclaurin series is to obtain them from old ones. In

particular, one could substitute/integrate/derive known Taylor series to obtain the Taylor

series for a new function.

Example 72. Show that sinx equals the sum of its Maclaurin series at a = 0 and, find the

Maclaurin series for x sinx.

Let g(x) = sin x. From above, we know that the Maclaurin series for sinx is

sinx =∞∑n=0

(−1)nx2n+1

(2n+ 1)!.

Since |g(k)(x)| ≤ 1 for all x, then sinx equals the sum of its Maclaurin series. Hence,

x sinx =∞∑n=0

(−1)nx2(n+1)

(2n+ 1)!.

Example 73. Evaluate the following indefinite integral as an infinite series.∫e−x

2

dx

We have

ex =∞∑n=0

xn

n!.

Hence, by substitution,

e−x2

=∞∑n=0

(−1)nx2n

n!.

Now, by term-by-term integration,∫e−x

2

dx = C +∞∑n=0

(−1)nx2n+1

n!(2n+ 1).

28


Recommended