Docsity

Quiz 5 Solution: Convergence of a Series and Taylor Series Expansion, Exercises of Calculus

Toggle sidebar
bg1
Answer Key for Quiz 5 (section A)
1. Start by using the ratio test:
an=(xโˆ’5)2nโˆ’1
2nโˆ’1,so an+1 =(xโˆ’5)2(n+1)โˆ’1
2(n+ 1) โˆ’1=(xโˆ’5)2n+1
2n+ 1 ,
and therefore
lim
nโ†’โˆž ยฏ
ยฏ
ยฏ
ยฏ
an+1
anยฏ
ยฏ
ยฏ
ยฏ
= lim
nโ†’โˆž ยฏ
ยฏ
ยฏ
ยฏ
(xโˆ’5)2n+1
2n+ 1
2nโˆ’1
(xโˆ’5)2nโˆ’1ยฏ
ยฏ
ยฏ
ยฏ
= (xโˆ’5)2lim
nโ†’โˆž
2nโˆ’1
2n+ 1
= (xโˆ’5)2lim
nโ†’โˆž
1โˆ’1
2n
1 + 1
2n
= (xโˆ’5)21โˆ’0
1 + 0 = (xโˆ’5)2.
So the series converges if (xโˆ’5)2<1, it diverges if (xโˆ’5)2>1, and we donโ€™t know yet what it does if
(xโˆ’5)2= 1. If (xโˆ’5)2= 1 then either xโˆ’5 = 1 or xโˆ’5 = โˆ’1; in other words, either x= 6 or x= 4. We
know so far that the series converges if 4 <x<6 and that the only other places where it might converge
are x= 4 and x= 6. Plugging x= 6 into the series we get
โˆž
X
n=1
(6 โˆ’5)2nโˆ’1
2nโˆ’1=
โˆž
X
n=1
1
2nโˆ’1>
โˆž
X
n=1
1
2n=โˆž
since it is half of a diverging p-series. So we have divergence when x= 6. When x= 4 the series becomes
โˆž
X
n=1
(4 โˆ’5)2nโˆ’1
2nโˆ’1=
โˆž
X
n=1
(โˆ’1)2nโˆ’1
2nโˆ’1=โˆ’
โˆž
X
n=1
1
2nโˆ’1
since an odd power of โˆ’1 equals โˆ’1. This is the negative of the series we got for x= 6, so it diverges too.
Therefore the series
โˆž
P
n=1
(xโˆ’5)2nโˆ’1
2nโˆ’1converges only for 4 < x < 6.
We can find what function the series converges to by looking at its derivative, which is
โˆž
X
n=1
(2nโˆ’1)(xโˆ’5)2nโˆ’2
2nโˆ’1=
โˆž
X
n=1
(xโˆ’5)2nโˆ’2= 1 + (xโˆ’5)2+ (xโˆ’5)4+ (xโˆ’5)6+. . .
This is geometric with ratio (xโˆ’5)2and first term 1, so it converges to
1
1โˆ’(xโˆ’5)2=1
[1 โˆ’(xโˆ’5)][1 + (xโˆ’5)] =1
(6 โˆ’x)(xโˆ’4) for โˆ’1< x โˆ’5<1, which means 4 < x < 6.
Therefore
โˆž
X
n=1
(xโˆ’5)2nโˆ’1
2nโˆ’1=Zdx
(6 โˆ’x)(xโˆ’4)
=1
2Z(6 โˆ’x)+(xโˆ’4)
(6 โˆ’x)(xโˆ’4) dx
=1
2Zdx
xโˆ’4โˆ’1
2Zdx
xโˆ’6
=1
2(ln |xโˆ’4| โˆ’ ln |xโˆ’6|) + C
pf2

Partial preview of the text

Download Quiz 5 Solution: Convergence of a Series and Taylor Series Expansion and more Exercises Calculus in PDF only on Docsity!

Answer Key for Quiz 5 (section A)

  1. Start by using the ratio test:

an = (x โˆ’ 5)^2 nโˆ’^1 2 n โˆ’ 1 , so an+1 = (x โˆ’ 5)2(n+1)โˆ’^1 2(n + 1) โˆ’ 1

(x โˆ’ 5)^2 n+ 2 n + 1

and therefore

nlimโ†’โˆž

โˆฃโˆฃ^ an+ an

โˆฃโˆฃ = lim nโ†’โˆž

โˆฃโˆฃ^ (x^ โˆ’^ 5) 2 n+ 2 n + 1

2 n โˆ’ 1 (x โˆ’ 5)^2 nโˆ’^1

= (x โˆ’ 5)^2 nlimโ†’โˆž 2 n โˆ’ 1 2 n + 1 = (x โˆ’ 5)^2 nlimโ†’โˆž 1 โˆ’ (^21) n 1 + (^21) n = (x โˆ’ 5)^2

= (x โˆ’ 5)^2.

So the series converges if (x โˆ’ 5)^2 < 1, it diverges if (x โˆ’ 5)^2 > 1, and we donโ€™t know yet what it does if (x โˆ’ 5)^2 = 1. If (x โˆ’ 5)^2 = 1 then either x โˆ’ 5 = 1 or x โˆ’ 5 = โˆ’1; in other words, either x = 6 or x = 4. We know so far that the series converges if 4 < x < 6 and that the only other places where it might converge are x = 4 and x = 6. Plugging x = 6 into the series we get

โˆ‘^ โˆž n=

(6 โˆ’ 5)^2 nโˆ’^1 2 n โˆ’ 1

โˆ‘^ โˆž

n=

2 n โˆ’ 1

โˆ‘^ โˆž

n=

2 n

since it is half of a diverging p-series. So we have divergence when x = 6. When x = 4 the series becomes

โˆ‘^ โˆž n=

(4 โˆ’ 5)^2 nโˆ’^1 2 n โˆ’ 1

โˆ‘^ โˆž

n=

(โˆ’1)^2 nโˆ’^1 2 n โˆ’ 1

โˆ‘^ โˆž

n=

2 n โˆ’ 1

since an odd power of โˆ’1 equals โˆ’1. This is the negative of the series we got for x = 6, so it diverges too.

Therefore the series

n=

(xโˆ’5)^2 nโˆ’^1 2 nโˆ’ 1 converges only for 4^ < x <^ 6.

We can find what function the series converges to by looking at its derivative, which is

โˆ‘^ โˆž n=

(2n โˆ’ 1)(x โˆ’ 5)^2 nโˆ’^2 2 n โˆ’ 1 =

โˆ‘^ โˆž

n=

(x โˆ’ 5)^2 nโˆ’^2 = 1 + (x โˆ’ 5)^2 + (x โˆ’ 5)^4 + (x โˆ’ 5)^6 +...

This is geometric with ratio (x โˆ’ 5)^2 and first term 1, so it converges to

1 1 โˆ’ (x โˆ’ 5)^2

[1 โˆ’ (x โˆ’ 5)][1 + (x โˆ’ 5)]

(6 โˆ’ x)(x โˆ’ 4) for โˆ’ 1 < x โˆ’ 5 < 1, which means 4 < x < 6.

Therefore

โˆ‘^ โˆž n=

(x โˆ’ 5)^2 nโˆ’^1 2 n โˆ’ 1 =

dx (6 โˆ’ x)(x โˆ’ 4)

=^1 2

(6 โˆ’ x) + (x โˆ’ 4) (6 โˆ’ x)(x โˆ’ 4) dx

=^1 2

dx x โˆ’ 4

dx x โˆ’ 6 =

(ln |x โˆ’ 4 | โˆ’ ln |x โˆ’ 6 |) + C

for some constant C. If we plug in x = 5 then the series becomes zero and so does everything on the right except C, so C = 0. Since we also know that 4 < x < 6, we can say |x โˆ’ 4 | = x โˆ’ 4 and |x โˆ’ 6 | = 6 โˆ’ x, so we finally have โˆ‘โˆž n=

(x โˆ’ 5)^2 nโˆ’^1 2 n โˆ’ 1

=^1

ln

x โˆ’ 4 6 โˆ’ x

if 4 < x < 6.

  1. We have to plug into the formula

f (a) + f โ€ฒ(a)(x โˆ’ a) + f โ€ฒโ€ฒ(a) (x^ โˆ’^ a)

2 2!

  • f โ€ฒโ€ฒโ€ฒ(a) (x^ โˆ’^ a)

3 3!

with a = 1 and f (x) =

x + 2. We can plug the 1 in right away: we need to work out

(T) f (1) + f โ€ฒ(1)(x โˆ’ 1) + f โ€ฒโ€ฒ(1) (x^ โˆ’^ 1)

2 2!

  • f โ€ฒโ€ฒโ€ฒ(1) (x^ โˆ’^ 1)

3 3! In particular we need the first three derivatives of f (x) = (x + 2)โˆ’^1 , which are

f โ€ฒ(x) = (โˆ’1)(x + 2)โˆ’^2 = โˆ’

(x + 2)^2 f โ€ฒโ€ฒ(x) = โˆ’(โˆ’2)(x + 2)โˆ’^3 = 2(x + 2)โˆ’^3 = 2 (x + 2)^3 f โ€ฒโ€ฒโ€ฒ(x) = 2(โˆ’3)(x + 2)โˆ’^4 = โˆ’

(x + 2)^4 Plugging in x = 1 we get

f (1) =

3 ,^ f^

9 ,^ f^

27 ,^ f^

Putting these numbers in formula (T) we get the answer

1 3

(x โˆ’ 1) +

(x โˆ’ 1)^2 2!

(x โˆ’ 1)^3 3!

(x โˆ’ 1) 9

(x โˆ’ 1)^2 27

(x โˆ’ 1)^3 81

We can get the full Taylor series by realizing that

f (n)(x) = (โˆ’1)n^ n! (x + 2)n+^ and therefore f (n)(1) = (โˆ’1)n^ n! (1 + 2)n+^

)n n! 3

So the general formula โˆ‘^ โˆž n=

f (n)(1) (x โˆ’ 1)n n! becomes

โˆ‘^ โˆž

n=

n! 3

(x โˆ’ 1)n n!

)n

โˆ‘^ โˆž

n=

1 โˆ’ x 3

)n .

Another way to get this is to recall that

(G)

1 โˆ’ r =

โˆ‘^ โˆž

n=

rn^ if โˆ’ 1 < r < 1.

If we rewrite 1 x + 2

x โˆ’ 1 + 3

=^1

1 + xโˆ’ 31

=^1

1 โˆ’ 1 โˆ’ 3 x

and use (G) with r = 1 โˆ’ 3 xthen we get

1 x + 2

โˆ‘^ โˆž

n=

1 โˆ’ x 3

)n

as before, and the series converges if

โˆ’ 1 < 1 โˆ’ x 3 < 1 which implies โˆ’ 2 < x < 4.