$f(x)=(1-x)^{-1}$ and $x_0=0$. Find the nth taylor polynomial $P_n(x)$ for $f(x)$ about $x_0$

Find a value of n needed for $P_n$ to to approximate $f(x)$ to within $10^{-6}$

on the interval $[0,.5]$

Using the Taylor formula I was able to get my taylor series



$f(x)=\frac{1}{1-x}$ so $f(1/2)=2$

But how do what value of n do I chose so that the diffrence is less than


I think

$x^n\le 10^{-6}$

  • $\begingroup$ the difference is $x^{n+1}+x^{n+2}+...=x^{n+1}(1+x+x^2+...)=\frac{x^{n+1}}{1-x}$ so you want $\frac{x^{n+1}}{1-x} \le 10^{-6}$ $\endgroup$ – jack Sep 4 '15 at 17:06
  • $\begingroup$ So would x be for example 1/2 and then I would go $\frac{1/2^{n+1}}{1-1/2}\le10^{-6}$ $\endgroup$ – Fernando Martinez Sep 4 '15 at 17:48
  • $\begingroup$ yes, i think that is it $\endgroup$ – jack Sep 4 '15 at 17:51
  • $\begingroup$ Ok I will test and see if it works $\endgroup$ – Fernando Martinez Sep 4 '15 at 17:54

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Browse other questions tagged or ask your own question.