Math Help Forum: Taylor Series

  1. #1
    Member
    Joined
    Jun 2008
    Posts
    77

    Taylor Series

    Find the Taylor Series for (im not asking you to do it. i just want to make sure that what i want to do will work)
    Sin4x and e^x+e^-x

    For Sin 4x can I use the sinx Taylor series and multiply each component by 4 and get:
    4x- (4x^3)/3! + (4x^5)/5! ...

    and for e^x+e^-x can i just find 2 separate series (one for e^x and one for e^-x) and then just add them together?
    Follow Math Help Forum on Facebook and Google+

  2. Welcome to Math Help Forum - Click here to Register

    Welcome to the largest Math Help Forum, a free community dedicated to math help and math discussions.

    We welcome everyone and the community is free to join so register today and become part of our math family!

  3. #2
    MHF Contributor Mathstud28's Avatar
    Joined
    Mar 2008
    From
    Pennsylvania
    Posts
    3,641
    Quote Originally Posted by PensFan10 View Post
    Find the Taylor Series for (im not asking you to do it. i just want to make sure that what i want to do will work)
    Sin4x and e^x+e^-x

    For Sin 4x can I use the sinx Taylor series and multiply each component by 4 and get:
    4x- (4x^3)/3! + (4x^5)/5! ...

    and for e^x+e^-x can i just find 2 separate series (one for e^x and one for e^-x) and then just add them together?
    \begin{aligned}\forall{x}\in\mathbb{R}~\sin(x)&=\s  um_{n=0}^{\infty}\frac{(-1)^nx^{2n+1}}{(2n+1)!}\\<br />
&\implies\forall{x}\in\mathbb{R}~\sin(4x)=\sum_{n=  0}^{\infty}\frac{(-1)^n(4x)^{2n+1}}{(2n+1)!}\\<br />
&=4\sum_{n=0}^{\infty}\frac{(-1)^n16^nx^{2n+1}}{(2n+1)!}<br />
\end{aligned}

    Yes, there are two approaches. The first is to just note that

    \forall{x}\in\mathbb{R}~e^{x}=\sum_{n=0}^{\infty}\  frac{x^n}{n!}

    And

    \begin{aligned}\forall{x}\in\mathbb{R}~e^{-x}&=\sum_{n=0}^{\infty}\frac{(-x)^n}{n!}\\<br />
&=\sum_{n=0}^{\infty}\frac{(-1)^nx^n}{n!}<br />
\end{aligned}

    So

    \begin{aligned}\forall{x}\in\mathbb{R}\cap\mathbb{  R}=\mathbb{R}~e^{x}+e^{-x}&=\sum_{n=0}^{\infty}\frac{x^n}{n!}+\sum_{n=0}^{  \infty}\frac{(-1)^nx^n}{n!}\\<br />
&=\sum_{n=0}^{\infty}\frac{\left(1+(-1)^n\right)x^n}{n!}<br />
\end{aligned}

    And realize that
    \left(1+(-1)^n\right) = \left\{ \begin{array}{rcl}<br />
2 & \mbox{if} & n\in2\mathbb{N} \\ 0 & \mbox{if} & n\in2\mathbb{N}+1<br />
\end{array}\right.

    So

    \begin{aligned}\sum_{n=0}^{\infty}\frac{\left(1+(-1)^n\right)x^n}{n!}&=\sum_{n=1,3,5\cdots}^{\infty}  \frac{\left(1+(-1)^n\right)x^n}{n!}+\sum_{n=0,2,4,6\cdots}^{\infty  }\frac{\left(1+(-1)^n\right)x^n}{n!}\\<br />
&=0+2\sum_{n=0,2,4,6\cdots}^{\infty}\frac{x^n}{n!}  \\<br />
&=2\sum_{n=0}^{\infty}\frac{x^{2n}}{(2n)!}<br />
\end{aligned}

    So we can conclude that

    \forall{x}\in\mathbb{R}~e^x+e^{-x}=2\sum_{n=0}^{\infty}\frac{x^{2n}}{(2n)!}

    The other easier approach is to see that

    \begin{aligned}e^x+e^{-x}&=2\cosh(x)\\<br />
&=2\cos(ix)\\<br />
&=2\sum_{n=0}^{\infty}\frac{(-1)^n(ix)^{2n}}{(2n)!}\\<br />
&=2\sum_{n=0}^{\infty}\frac{(-1)^n\left(i^2\right)^nx^{2n}}{(2n)!}\\<br />
&=2\sum_{n=0}^{\infty}\frac{x^{2n}}{(2n)!}<br />
\end{aligned}
    Follow Math Help Forum on Facebook and Google+

  4. #3
    Member
    Joined
    Jun 2008
    Posts
    77

    Okay

    For the Sin4x i got the same thing you got until the last part. I do not know where the 16^n came from.

    Then for the e^x+e^-x i got the same thing for the end result. Is your "realize that" part just the place where it converges? If so, did you use the ratio test to find that?
    Follow Math Help Forum on Facebook and Google+

  5. #4
    MHF Contributor Mathstud28's Avatar
    Joined
    Mar 2008
    From
    Pennsylvania
    Posts
    3,641
    Quote Originally Posted by PensFan10 View Post
    For the Sin4x i got the same thing you got until the last part. I do not know where the 16^n came from.
    4^{2n}=16^n
    Then for the e^x+e^-x i got the same thing for the end result. Is your "realize that" part just the place where it converges? If so, did you use the ratio test to find that?
    Do you mean <br />
\left(1+(-1)^n\right) = \left\{ \begin{array}{rcl}<br />
2 & \mbox{if} & n\in2\mathbb{N} \\ 0 & \mbox{if} & n\in2\mathbb{N}+1<br />
\end{array}\right. ? If so I was not talking about where it converges but what its behavior was when n was odd or even.
    Follow Math Help Forum on Facebook and Google+

Similar Math Help Forum Discussions

  1. Getting stuck on series - can't develop Taylor series.
    Posted in the Differential Geometry Forum
    Replies: 6
    Last Post: October 5th, 2010, 08:32 AM
  2. Replies: 0
    Last Post: January 26th, 2010, 08:06 AM
  3. Formal power series & Taylor series
    Posted in the Differential Geometry Forum
    Replies: 2
    Last Post: April 19th, 2009, 09:01 AM
  4. Taylor Series / Power Series
    Posted in the Calculus Forum
    Replies: 6
    Last Post: March 4th, 2009, 01:56 PM
  5. Replies: 9
    Last Post: April 3rd, 2008, 05:50 PM

/mathhelpforum @mathhelpforum