Discovering the Taylor Series for cos(x) at PI: Finding the Right Pattern

Click For Summary

Homework Help Overview

The discussion revolves around finding the Taylor Series for cos(x) centered at x0 = π. Participants are exploring the terms of the series and the behavior of the coefficients, particularly focusing on the alternating signs and the presence of even powers.

Discussion Character

  • Exploratory, Conceptual clarification, Mathematical reasoning

Approaches and Questions Raised

  • Participants are attempting to identify the pattern in the Taylor series expansion, noting that every other term appears to be zero. There is a discussion about the alternating signs in the series and how to appropriately represent them. Some participants question the validity of using k + 1 for sign alternation, while others clarify the reasoning behind their approaches.

Discussion Status

The discussion is active, with participants providing insights into the structure of the Taylor series and addressing concerns about the correctness of terms. There is a focus on the representation of even powers and the manipulation of the series to account for sign changes. Multiple interpretations of the series are being explored, and guidance has been offered regarding the formulation of terms.

Contextual Notes

Participants are working under the assumption that the Taylor series should be expressed in terms of x - π rather than x. There is also a mention of potential mistakes in earlier attempts, which adds to the complexity of the discussion.

bobber205
Messages
26
Reaction score
0
Trying to find the Taylor Series for cos(x) where x0 is PI.
I've gotten

Code:
cos(x) -1
-sin(x) 0
-cos(x) 1
sin(x) 0
cos(x) -1

It's clearly 0 every other term so I need 2k or 2k-1. But the -1 term switches between -1 and 1
How in world do I deal with this? xD

Thanks for any suggestions. I am assuming I've made a mistake somewhere.
I've asked my fellow students and they're cheating with k+1 which does work.

Thanks! :)
 
Physics news on Phys.org
bobber205 said:
Trying to find the Taylor Series for cos(x) where x0 is PI.
I've gotten

Code:
cos(x) -1
-sin(x) 0
-cos(x) 1
sin(x) 0
cos(x) -1

It's clearly 0 every other term so I need 2k or 2k-1. But the -1 term switches between -1 and 1
How in world do I deal with this? xD

Thanks for any suggestions. I am assuming I've made a mistake somewhere.
I've asked my fellow students and they're cheating with k+1 which does work.
Thanks! :)
Why would you think k + 1 is cheating? I'm assuming you're talking about the exponent on -1 to give sign alternation.
 
Is it correct?
 
Is what correct?
 
So far, you have, for the Taylor's series of cosine(x), about [itex]\pi[/itex],
-1 + (1/2)x2- (1/4!)x4+ ...

First, it should be clear that you will only have even powers of x and even numbers can be written "2n". That is, (1/(2(2))!)x4= (1/(2!) x2(2) and (1/6!)x6 = 1/(3(2))! x2(3). The only problem, then, is the power of -1.

The first term is n= 1 and that is positive. (-1)n would give (-1)1= -1. To fix that you could just multiply the entire sum by -1:
(-1)(-1+ (1/2!)x2- (1/6!)x6+ ...+ (-1)^n/(2n)! x2n+ ...)

That is the same as multiplying the -1 in each term:
1- (1/2!)x2- (1/6!)x6+ ...+ (-1)(-1)n/(2n)! x2n+...

Which can also be written with (-1)n+1:
1- (1/2!) x2- (1/6!)x6+ ...+ (-1)n+1/(2n)! x2n+ ...

Nothing "cheating" about that.
 
HallsofIvy said:
So far, you have, for the Taylor's series of cosine(x), about [itex]\pi[/itex],
-1 + (1/2)x2- (1/4!)x4+ ...
Since this is a Taylor's series about [itex]\pi[/itex], all of the terms should be powers of [itex]x - \pi[/itex], not powers of x.
HallsofIvy said:
First, it should be clear that you will only have even powers of x and even numbers can be written "2n". That is, (1/(2(2))!)x4= (1/(2!) x2(2) and (1/6!)x6 = 1/(3(2))! x2(3). The only problem, then, is the power of -1.

The first term is n= 1 and that is positive. (-1)n would give (-1)1= -1. To fix that you could just multiply the entire sum by -1:
(-1)(-1+ (1/2!)x2- (1/6!)x6+ ...+ (-1)^n/(2n)! x2n+ ...)

That is the same as multiplying the -1 in each term:
1- (1/2!)x2- (1/6!)x6+ ...+ (-1)(-1)n/(2n)! x2n+...

Which can also be written with (-1)n+1:
1- (1/2!) x2- (1/6!)x6+ ...+ (-1)n+1/(2n)! x2n+ ...

Nothing "cheating" about that.
 

Similar threads

  • · Replies 1 ·
Replies
1
Views
2K
  • · Replies 27 ·
Replies
27
Views
4K
  • · Replies 14 ·
Replies
14
Views
2K
  • · Replies 10 ·
Replies
10
Views
2K
Replies
6
Views
3K
Replies
5
Views
2K
  • · Replies 11 ·
Replies
11
Views
3K
  • · Replies 16 ·
Replies
16
Views
20K
  • · Replies 3 ·
Replies
3
Views
2K
  • · Replies 5 ·
Replies
5
Views
3K