Estimate number of terms needed for taylor polynomial

  • #1
timnswede
101
0

Homework Statement


For ln(.8) estimate the number of terms needed in a Taylor polynomial to guarantee an accuracy of 10^-10 using the Taylor inequality theorem.

Homework Equations


|Rn(x)|<[M(|x-a|)^n+1]/(n+1)! for |x-a|<d.

The Attempt at a Solution


All I've done so far is take a couple derivatives of ln(x):
1/x
-1/x^2
2!/x^3
-3!/x^4
and made a general (-1)^(n+1) (n-1)!/(x^n)
At this point I am lost, am I supposed to assume a=0? Then M, which is the absolute value of the n+1 derivative would be n!/.8^(n+1). And plugging that into the Taylor inequality equation the .8^(n+1) would cancel and so would the n! and I would be left with 1/n+1<10^-10, which gives me a really big number, even though the answer should be 14. What am I missing?

EDIT: It looks like there might be some missing information. My professor sent the solution out, and to me it looks like he is using a=1. Can someone confirm that?
FyyYfr1.png
 
Last edited:

Answers and Replies

  • #2
36,301
13,374
The relevant equation is missing an important part: "for all a (that satisfy the second inequality)". You have to find the value of "a" that maximized the uppper limit to find the true upper limit.
Also, did you find d?
 

Suggested for: Estimate number of terms needed for taylor polynomial

  • Last Post
Replies
7
Views
418
  • Last Post
Replies
5
Views
447
Replies
12
Views
766
Replies
1
Views
459
Replies
2
Views
471
Replies
27
Views
2K
  • Last Post
Replies
2
Views
442
  • Last Post
Replies
12
Views
729
Replies
4
Views
728
  • Last Post
Replies
9
Views
691
Top