Integrating infinite sums and macluarin's expansion

Join the discussion
Registration is free. Ask a follow-up in this thread, or start your own.
3 replies · 6K views
Messages
6,221
Reaction score
31

Homework Statement


Using the macluarin's expansion for sinx show that [itex]\int sinx dx=-cosx+c[/itex]

Homework Equations



[tex]sinx=\sum_{n=0} ^\infty \frac{(-1)^nx^{2n+1}}{(2n+1)!}[/tex]

The Attempt at a Solution


Well I can easily write out some of the series and just show that it is equal to -cosx

but if I integrate the representation for the infinite series i get

[tex]\int sinx dx= \sum_{n=0} ^\infty \frac{(-1)^nx^{2n+2}}{(2n+1)!}[/tex]
shouldn't -cosx be:
[tex]\int sinx dx= \sum_{n=0} ^\infty \frac{(-1)^{n+1}x^{2n+2}}{(2n+1)!}[/tex]

and also I am supposed to get [itex]x^{2n}[/itex] not what I got
 
Physics news on Phys.org
Your denominators should be (2n+2)! in the last two lines.

With this correction, your last series is cos(x)-1; write out the first few terms to see.
 
ah yes I made a typo...but even if I change it
how do I manipulate

[tex]\sum_{n=0} ^\infty \frac{(-1)^nx^{2n+2}}{(2n+2)!}[/tex] (what I integrated and got)

Into

[tex]-\sum_{n=0} ^\infty \frac{(-1)^nx^{2n}}{(2n)!}[/tex] (What I am supposed to get)