- #1

- 343

- 1

f(x) = sin(x) at a= pi/2

My answer ended up being the summation from n=0 to infinity of ((x-pi/2)^n ) / n!

And the radius of convergence is R=infinity

This is right ?

You are using an out of date browser. It may not display this or other websites correctly.

You should upgrade or use an alternative browser.

You should upgrade or use an alternative browser.

- Thread starter arl146
- Start date

- #1

- 343

- 1

f(x) = sin(x) at a= pi/2

My answer ended up being the summation from n=0 to infinity of ((x-pi/2)^n ) / n!

And the radius of convergence is R=infinity

This is right ?

- #2

HallsofIvy

Science Advisor

Homework Helper

- 41,847

- 966

- #3

- 343

- 1

Oh yea I followed the example in the book for e^x that's probly why

So where do I start then? All I know about Taylor series stuff is:

F(x)= summation [ (f^n)(a)*(x-a)^n ] / n!

Ok well when I followed it in the book you have (f^n)(pi/2) = sin(pi/2) and then you put the a value which is pi/2 into the definition of a Taylor series so you get:

Summation [ sin(pi/2)(x-pi/2)^n ] / n!

So where do I start then? All I know about Taylor series stuff is:

F(x)= summation [ (f^n)(a)*(x-a)^n ] / n!

Ok well when I followed it in the book you have (f^n)(pi/2) = sin(pi/2) and then you put the a value which is pi/2 into the definition of a Taylor series so you get:

Summation [ sin(pi/2)(x-pi/2)^n ] / n!

Last edited:

- #4

Mark44

Mentor

- 35,237

- 7,057

This is not true.Oh yea I followed the example in the book for e^x that's probly why

So where do I start then? All I know about Taylor series stuff is:

F(x)= summation [ (f^n)(a)*(x-a)^n ] / n!

Ok well when I followed it in the book you have (f^n)(pi/2) = sin(pi/2)

f(x) = sin(x), f(pi/2) = 1

f'(x) = cos(x), f'(pi/2) = 0

f''(x) = -sin(x), f''(pi/2) = -1

etc.

and then you put the a value which is pi/2 into the definition of a Taylor series so you get:

Summation [ sin(pi/2)(x-pi/2)^n ] / n!

- #5

- 343

- 1

It's like f(x) = f'(x)*(x-a) + f''(x)*(x-a)^2 + f'''(x)*(x-a)^3 + .... With the first part has 1! Under it, the second part has 2! Under it, and the third part had 4! Under it??

So you just plug in that stuff? Idk

- #6

Mark44

Mentor

- 35,237

- 7,057

f(x) = f(a) + f'(a) * (x - a)/1! + f''(a) * (x - a)

- #7

- 343

- 1

So when you plug in values you get 1+0-1(((x-pi/2)^3)/2)+0+... right?

So it has (-1)^n. I don't really know what else the series would be... Umm I get this:

Summation n=0 to infinity: (-1)^n * ((x-pi/2)^(n+2)) / (n+2)!

Does that work?

- #8

Mark44

Mentor

- 35,237

- 7,057

No, your exponent on the third term is wrong, and you should show more terms. With too few terms, you won't be able to get the general term correctly.Oh yea I think that's what I meant!

So when you plug in values you get 1+0-1(((x-pi/2)^3)/2)+0+... right?

Make a table with the values for n, f

No.So it has (-1)^n. I don't really know what else the series would be... Umm I get this:

Summation n=0 to infinity: (-1)^n * ((x-pi/2)^(n+2)) / (n+2)!

Does that work?

- #9

- 343

- 1

1+0-1(((x-pi/2)^2)/2)+0+... i just had a typo.

but okay, i did all the way up to f'''''''(x) and when you plug in the a value (pi/2) you get"

1, 0, -1, 0, 1, 0, -1, 0

i ended up getting: f(x) = 1 - (x-pi/2)

so i dont know what the series would be. all i know is (-1)

- #10

Mark44

Mentor

- 35,237

- 7,057

That

1+0-1(((x-pi/2)^2)/2)+0+... i just had a typo.

but okay, i did all the way up to f'''''''(x) and when you plug in the a value (pi/2) you get"

1, 0, -1, 0, 1, 0, -1, 0

i ended up getting: f(x) = 1 - (x-pi/2)^{2}/ 2! + (x-pi/2)^{4}/ 4! + (x-pi/2)^{6}/ 6!

so i dont know what the series would be. all i know is (-1)^{n}should be there.

1) You have a sign error on the last term you show.

2) This is supposed to be an

With these corrections, that is your Taylor series for f(x) = sin(x). Does the series have to be shown in closed form (i.e., as a summation)? If so, you need to be able to identify the general term of the series.

Some things to note:

Only even degree terms show up. IOW, the exponents are 0, 2, 4, 6, 8, ... This means that the exponent should be 2n.

The terms alternate in sign. You can show this by having a factor of (-1)

- #11

- 343

- 1

Yes I realize those corrections. Typo and the second is just me typing slower than im thinking.

But it doesn't say if it had to be in closed form but I think that's how all the answers are so yea.

Ok so te answer is just summation (-1)^n * ((x-pi/2)^(2n))/(2n)! Right?

But it doesn't say if it had to be in closed form but I think that's how all the answers are so yea.

Ok so te answer is just summation (-1)^n * ((x-pi/2)^(2n))/(2n)! Right?

Last edited:

- #12

- 343

- 1

Is my series in the last post at the end the correct answer?

- #13

SammyS

Staff Emeritus

Science Advisor

Homework Helper

Gold Member

- 11,391

- 1,044

Yes I realize those corrections. Typo and the second is just me typing slower than im thinking.

But it doesn't say if it had to be in closed form but I think that's how all the answers are so yea.

OK so the answer is just summation (-1)^n * ((x-pi/2)^(2n))/(2n)! Right?

WolframAlpha says that's sin(x) .

- #14

- 343

- 1

Cool awesome, that's what I wanted!

Share: