1. PF Contest - Win "Conquering the Physics GRE" book! Click Here to Enter
    Dismiss Notice
Dismiss Notice
Join Physics Forums Today!
The friendliest, high quality science and math community on the planet! Everyone who loves science is here!

Finding the MacLaurin Series of a function

  1. Sep 23, 2012 #1
    I have to find the Maclaurin series of:
    (1) f(x)=cos(x)+x,
    (2) g(x)= cos(x^2)+x^2
    (3) h(x)=x*sin(2x).

    I'm stuck at the first one, I kind of understand the concept of how P(0)=f(0)+f'(0)x+(f''(0)x^2)/2+. . .
    What it gave me when I started calculating the value of the fn was this:

    And the pattern kept repeating as follows: 1,0,-1,0,1,0,-1,0.

    So when I want to write the mclaurin series, should it come out as?

    As for the other problems, I really don't know how to start
  2. jcsd
  3. Sep 23, 2012 #2
    You mean -cos(0) = -1.

    Yes, you should get somewhat that pattern. Actually, you are close with the answers you have. It's not x^(2n)(-1)ⁿ/n! since x^(2n) doesn't occur in (cos(x) + x) altogether! You can only express cos(x) as the Maclaurin series.

    See: http://www.wolframalpha.com/input/?i=cos(x)

    You should get the answer.
Know someone interested in this topic? Share this thread via Reddit, Google+, Twitter, or Facebook