Summing Taylor Series: Tips & Tricks

Join the discussion
Ask a follow-up here, or get your own question answered by working scientists, mathematicians and engineers — people, not an autocomplete.
Real named experts · corrections over time · the nuance an AI answer skips
5 replies · 2K views
Cpt Qwark
Messages
45
Reaction score
1
Expanding the series to the [tex]n^{th}[/tex] derivative isn't so hard, however I'm having trouble with the summation. Any tips for the summation?
e.g. taylor series for [tex]sinx[/tex] around x=0 in summation notation is [tex]\sum^\infty_{n=0} \frac{x^{4n}}{2n!}[/tex]
Thanks.
 
Physics news on Phys.org
Cpt Qwark said:
Expanding the series to the [tex]n^{th}[/tex] derivative isn't so hard, however I'm having trouble with the summation. Any tips for the summation?
e.g. taylor series for [tex]sinx[/tex] around x=0 in summation notation is [tex]\sum^\infty_{n=0} \frac{x^{4n}}{2n!}[/tex]
Thanks.
No, it isn't. For one thing, sin(x) is an odd function while your series includes only even power of x. The Taylor's series for sin(x) about x= 0 is [tex]\sum_{n=o}^\infty \frac{(-1)^n x^{2n+1}}{(2n+1)!}[/tex]. What you have appears to be the Taylor's series, about x= 0, for [itex]cos(x^2)[/itex], except that the denominator should be (2n)! rather than 2n!.

In any case, what do you mean "having trouble with the summation". What are you trying to do?
 
(edit: didn't notice HallsOfIvy had already answered)

No, the Taylor series sum around x=0 (i.e. the Maclaurin series sum) for ## \sin x ## is $$ \sum_{k=0}^{\infty} \frac{(-1)^k x^{(1+2 k)}}{(1+2 k)!} $$. How did you get to the expression you wrote?
 
Last edited:
HallsofIvy said:
No, it isn't. For one thing, sin(x) is an odd function while your series includes only even power of x. The Taylor's series for sin(x) about x= 0 is [tex]\sum_{n=o}^\infty \frac{(-1)^n x^{2n+1}}{(2n+1)!}[/tex]. What you have appears to be the Taylor's series, about x= 0, for [itex]cos(x^2)[/itex], except that the denominator should be (2n)! rather than 2n!.

In any case, what do you mean "having trouble with the summation". What are you trying to do?

MrAnchovy said:
(edit: didn't notice HallsOfIvy had already answered)

No, the Taylor series sum around x=0 (i.e. the Maclaurin series sum) for ## \sin x ## is $$ \sum_{k=0}^{\infty} \frac{(-1)^k x^{(1+2 k)}}{(1+2 k)!} $$. How did you get to the expression you wrote?

Yeah sorry turns out it was mistook for another expression.
Anywas, what I meant was I had trouble rewriting the taylor/maclaurin series with a summation notation (Σ). Are there supposed to be patterns that you're supposed to recognise (such as the negative sign for sine and cosine functions) or something?
 
Or is it just getting from ## x - \frac{x^3}{3!} +\frac{x^5}{5!} -\frac{x^7}{7!} +\frac{x^9}{9!} - ... ## to the summation formula that is giving you problems?

If so then yes, you need to practice recognising parts of terms like this:
  • first note you can always write ## x ## as ## \frac{x^1}{1!} ##
  • now notice you have odd numbers 1, 3, 5, 7, 9...: you can generate these with ## 2k + 1 ## - that gives you ## \frac{x^{2k+1}}{(2k+1)!} ##
  • now you just need the alternating + and - signs: -1 to an even power is 1 and to an odd power is -1 so, making sure you start off with the right one (you want the 0th term to have ## 1 = (-1)^0 ## not ## -1 = (-1)^{0+1} ##) you have ## (-1)^k ##
  • put them all together, add the sum remembering to go from ## k=0 ## - full marks!