I'm trying to solve the following question:

"Find the minimum value of $n$ for which is guaranteed $T_1^n\left(\frac{1}{x}\right)$ approximates $\frac{1}{x}$ with an error less than $10^{-3}$ on the interval ${x}\in{[\,0.9\,,\;1.1\,]}$ using Lagrange reminder."

Here's what I've done so far:

First I found a closed form for the derivatives of $f(x)=\frac{1}{x}$:


Then I found the Lagrange reminder $R_1^n\left(\frac{1}{x}\right)$:


I know I have to maximize $|f^{(n+1)}(\xi)|$ by some $M\gt0$ but, as


${x}\in{[\,0.9\,,\;1.1\,]}$, and ${\xi}\in{V_{|x-1|}^{(1)}}$, I simply can't find $M$ (because $\xi$ is, at least $0.9$, the absolute value of $f^{(n+1)}(\xi)$ could be as great as we want).

Am I missing something?

  • I think $R_1^n(1/x)$ should be denoted $R_1^n(x)$.
  • You need to bound the remainder: $$ | R_1^n(x) | = \left| \frac{(-1)^{n+1}}{\xi^{n+2}} (x - 1)^{n+1} \right| \leq \left| \frac{1}{\xi} \left( \frac{0.1}{\xi} \right)^{n+1} \right| $$ The maximum is indeed reached for $\xi = 0.9$. $n = 4$ gives you the accuracy you want.
  • $\begingroup$ Got it! I was considering $1.1^{n+1}$ as the numerator. That's why I wasn't able to reach the maximum. Thanks! By the way, I'm from Portugal and here we write $R_c^n[f(x)]$, eh eh! $\endgroup$ – Pspl Aug 13 at 7:41

Your Answer

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

Not the answer you're looking for? Browse other questions tagged or ask your own question.