Exercise · ZW-INTERPOLATION-ERROR-010 · ★★★ Advanced

For \(f(x)=\ln(x)\) with nodes \(1,2,3\) (\(n=2\)), what error bound at \(x=2.5\) follows from \(|f'''(x)|=2/x^3\le 2\) on \([1,3]\)?

Choose one option.

Show answer
  • B. \(\frac{1}{8}\)

Explanation

Using \(\frac{2}{3!}\cdot|1.5\cdot0.5\cdot(-0.5)|=\frac{1}{3}\cdot\frac{3}{8}=\frac{1}{8}\), which is the option with denominator 8.

Study Numerical methods in ZWMath →

Review the concept: Interpolation error

The interpolation error is the difference between \(f(x)\) and the polynomial \(P(x)\) that approximates it at the nodes \(x_0,\dots,x_n\); it depends on \(f^{(n+1)}\) and on \(\prod(x-x_i)\).

\[f(x)-P_n(x)=\frac{f^{(n+1)}(\xi)}{(n+1)!}\prod_{i=0}^{n}(x-x_i)\]

More practice problems: interpolation error

← ZW-INTERPOLATION-ERROR-009