Estimate number of terms needed for taylor polynomial

timnswede
Messages
100
Reaction score
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:
Physics news on Phys.org
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?
 
Prove $$\int\limits_0^{\sqrt2/4}\frac{1}{\sqrt{x-x^2}}\arcsin\sqrt{\frac{(x-1)\left(x-1+x\sqrt{9-16x}\right)}{1-2x}} \, \mathrm dx = \frac{\pi^2}{8}.$$ Let $$I = \int\limits_0^{\sqrt 2 / 4}\frac{1}{\sqrt{x-x^2}}\arcsin\sqrt{\frac{(x-1)\left(x-1+x\sqrt{9-16x}\right)}{1-2x}} \, \mathrm dx. \tag{1}$$ The representation integral of ##\arcsin## is $$\arcsin u = \int\limits_{0}^{1} \frac{\mathrm dt}{\sqrt{1-t^2}}, \qquad 0 \leqslant u \leqslant 1.$$ Plugging identity above into ##(1)## with ##u...
Back
Top