178 CHAPTER 8. POWER SERIES

All that is required is to multiplyex︷ ︸︸ ︷

1+ x+x2

2!+

x3

3!· · ·



sinx︷ ︸︸ ︷x− x3

3!+

x5

5!+ · · ·

From the above theorem the result should be

x+ x2 +

(− 1

3!+

12!

)x3 + · · ·

= x+ x2 +13

x3 + · · ·

You can continue this way and get the following to a few more terms.

x+ x2 +13

x3− 130

x5− 190

x6− 1630

x7 + · · ·

I don’t see a pattern in these coefficients but I can go on generating them as long as I want.(In practice this tends to not be very long.) I also know the resulting power series willconverge for all x because both the series for ex and the one for sinx converge for all x.

Example 8.10.3 Find the Taylor series for tanx centered at x = 0.

Lets suppose it has a Taylor series a0 +a1x+a2x2 + · · · . Then

(a0 +a1x+a2x2 + · · ·

)cosx︷ ︸︸ ︷

1− x2

2+

x4

4!+ · · ·

=

(x− x3

3!+

x5

5!+ · · ·

).

Using the above, a0 = 0,a1x = x so

a1 = 1,(

0(−12

)+a2

)x2 = 0

so a2 = 0. (a3−

a1

2

)x3 =

−13!

x3

so a3− 12 =− 1

6 so a3 =13 . Clearly one can continue in this manner. Thus the first several

terms of the power series for tan are

tanx = x+13

x3 + · · · .

You can go on calculating these terms and find the next two yielding

tanx = x+13

x3 +2

15x5 +

17315

x7 + · · ·

This is a very significant technique because, as you see, there does not appear to be a verysimple pattern for the coefficients of the power series for tanx. Of course there are some

178 CHAPTER 8. POWER SERIESAll that is required is to multiplye2 ra 3 5From the above theorem the result should be11sett (—p 4 {81Hx torteYou can continue this way and get the following to a few more terms.1 1 | 12 §3_ —~p— —;6_ __,7 ceeT+ 3 — 397 — 907 — 307 1I don’t see a pattern in these coefficients but I can go on generating them as long as I want.(In practice this tends to not be very long.) I also know the resulting power series willconverge for all x because both the series for e* and the one for sinx converge for all x.Example 8.10.3 Find the Taylor series for tanx centered at x = 0.Lets suppose it has a Taylor series ag + a,x +apx? +--+. ThenCcOSxx x4 3 5(ap +a1x+apx° +--+) a tee f= |x +o +e2 A! 3! 5! ‘Using the above, ap = 0,a;x = x so—1 2ay =1,{0| — ]}+a@ ])x° =02SO a2 = 0.a\ 3 —1 3(4 ~ ze = 31SO a3 — 5 = —4 SO a3 = =. 5. Clearly one can continue in this manner. Thus the first severalterms of the power series for tan areI 3tanx =x 3x +::-You can go on calculating these terms and find the next two yieldingtanx=xtoe pps 4..ANS BN Ts 1 315%This is a very significant technique because, as you see, there does not appear to be a verysimple pattern for the coefficients of the power series for tanx. Of course there are some