Results 1 to 2 of 2

Math Help - Taylor series approximations

  1. #1
    Senior Member
    Joined
    Apr 2010
    Posts
    487

    Taylor series approximations

    The question:

    Find a value for n such that the absolute error in the approximation f(2) \approx p_n(2) is less than 10^{-6}, given that |R_{n+1}(x)| = |\frac{sin(c) x^{n + 1}}{(n + 1)!}| about 0.

    (Note: f(x) = cos(x))

    My attempt:
    I replace sin(c) with 1, since it is an upper bound, and x with 2:

    |\frac{2^{n + 1}}{(n + 1)!}|

    We want this error to be less that 10^{-6}, so:

    |\frac{2^{n + 1}}{(n + 1)!}| < 10^{-6}

    This is equivalent to finding:

    2^{n + 1} < 10^{-6}

    (n + 1)ln(2) < -6ln(10)
    (n + 1) < \frac{-6ln(10)}{ln(2)}
    n < -20.93

    This isn't right. The answer should be n = 14. Where have I gone wrong? Thanks.
    Follow Math Help Forum on Facebook and Google+

  2. #2
    Banned
    Joined
    Oct 2009
    Posts
    4,261
    Quote Originally Posted by Glitch View Post
    The question:

    Find a value for n such that the absolute error in the approximation f(2) \approx p_n(2) is less than 10^{-6}, given that |R_{n+1}(x)| = |\frac{sin(c) x^{n + 1}}{(n + 1)!}| about 0.

    (Note: f(x) = cos(x))

    My attempt:
    I replace sin(c) with 1, since it is an upper bound, and x with 2:

    |\frac{2^{n + 1}}{(n + 1)!}|

    We want this error to be less that 10^{-6}, so:

    |\frac{2^{n + 1}}{(n + 1)!}| < 10^{-6}

    This is equivalent to finding:

    2^{n + 1} < 10^{-6}


    Why?! Of course that then you get what you get since the LHS is the power of a number greater than 2, whereas the RHS

    is a negative power of a number greater than 1...! You forgot, or for some reason you

    thought, that you can dismiss the LHS's denominator:

    \displaystyle{\frac{2^{n+1}}{(n+1)!}<10^{-6}\Longrightarrow (n+1)\ln 2<-6\ln 10+\sum\limits^{n+1}_{k=1}\ln k<-6\ln 10+(n+1)\ln (n+1)\Longrightarrow}

    \displaystyle{\Longrightarrow (n+1)[\ln 2-\ln(n+1]<-6\ln 10\Longrightarrow n+1>\frac{6\ln 10}{\ln 2-\ln(n+1)}>\frac{6\ln 10}{\ln 2} \cong 19.9\Longrightarrow}

    \displaystyle{ n>18.9}

    So I get n=19 .

    Tonio



    (n + 1)ln(2) < -6ln(10)
    (n + 1) < \frac{-6ln(10)}{ln(2)}
    n < -20.93

    This isn't right. The answer should be n = 14. Where have I gone wrong? Thanks.
    .
    Follow Math Help Forum on Facebook and Google+

Similar Math Help Forum Discussions

  1. Replies: 0
    Last Post: January 26th 2010, 08:06 AM
  2. taylor approximations
    Posted in the Calculus Forum
    Replies: 1
    Last Post: August 6th 2009, 10:46 PM
  3. Taylor series and error approximations
    Posted in the Pre-Calculus Forum
    Replies: 2
    Last Post: February 18th 2009, 07:21 AM
  4. approximations using Taylor sries
    Posted in the Calculus Forum
    Replies: 1
    Last Post: April 21st 2008, 10:45 PM
  5. Replies: 9
    Last Post: April 3rd 2008, 05:50 PM

Search Tags


/mathhelpforum @mathhelpforum