TheoremComplete

Interpolation Error Theorem

The interpolation error theorem quantifies how well a polynomial approximates a function, revealing the dependence on data spacing and function smoothness.

TheoremPolynomial Interpolation Error

Let f∈Cn+1[a,b]f \in C^{n+1}[a,b] and let pnp_n be the polynomial of degree ≀n\leq n interpolating ff at distinct nodes x0,…,xn∈[a,b]x_0, \ldots, x_n \in [a,b]. Then for any x∈[a,b]x \in [a,b], there exists ΞΎx∈(a,b)\xi_x \in (a,b) such that: f(x)βˆ’pn(x)=f(n+1)(ΞΎx)(n+1)!∏i=0n(xβˆ’xi)f(x) - p_n(x) = \frac{f^{(n+1)}(\xi_x)}{(n+1)!} \prod_{i=0}^n (x - x_i)

Consequently: βˆ₯fβˆ’pnβˆ₯βˆžβ‰€Mn+1(n+1)!βˆ₯Ο‰n+1βˆ₯∞\|f - p_n\|_\infty \leq \frac{M_{n+1}}{(n+1)!} \|\omega_{n+1}\|_\infty where Mn+1=max⁑x∈[a,b]∣f(n+1)(x)∣M_{n+1} = \max_{x \in [a,b]} |f^{(n+1)}(x)| and Ο‰n+1(x)=∏i=0n(xβˆ’xi)\omega_{n+1}(x) = \prod_{i=0}^n (x - x_i).

This theorem has a form similar to Taylor's theorem, but the error depends on the product Ο‰n+1(x)\omega_{n+1}(x) rather than (xβˆ’x0)n+1(x-x_0)^{n+1}. The choice of interpolation nodes significantly affects βˆ₯Ο‰n+1βˆ₯∞\|\omega_{n+1}\|_\infty.

ExampleError for Chebyshev vs Uniform Nodes

On [βˆ’1,1][-1,1] with n+1n+1 nodes:

Uniform spacing: βˆ₯Ο‰n+1βˆ₯∞=O(1)\|\omega_{n+1}\|_\infty = O(1) (grows unboundedly with nn)

Chebyshev nodes: βˆ₯Ο‰n+1βˆ₯∞=2βˆ’n\|\omega_{n+1}\|_\infty = 2^{-n} (exponentially decaying)

For f(x)=exf(x) = e^x on [βˆ’1,1][-1,1] with n=5n=5:

  • Uniform: max error β‰ˆ0.005\approx 0.005
  • Chebyshev: max error β‰ˆ0.0002\approx 0.0002

The factor-of-25 improvement demonstrates the value of optimal node placement.

Remark

Implications:

  1. If ff is smooth (f(n+1)f^{(n+1)} bounded), error decreases as O(hn+1)O(h^{n+1}) where h=max⁑i∣xi+1βˆ’xi∣h = \max_i |x_{i+1} - x_i|
  2. For analytic functions with bounded derivatives, Chebyshev interpolation converges exponentially
  3. For functions with singularities, convergence can be arbitrarily slow regardless of node choice

The theorem explains the Runge phenomenon: interpolating f(x)=1/(1+25x2)f(x) = 1/(1+25x^2) with equally-spaced nodes gives Mn+1=O((n+1)!)M_{n+1} = O((n+1)!), which grows faster than (n+1)!(n+1)! shrinks, causing divergence near endpoints.

The error formula extends to piecewise polynomial approximation. For cubic splines with spacing hh, the error is O(h4)O(h^4) for C4C^4 functions, independent of the number of knots. This makes splines more practical than global polynomial interpolation for large datasets.

Understanding interpolation error guides numerical method design: finite difference formulas derive from polynomial interpolation, inheriting the same error behavior. Higher-order methods require more function evaluations but achieve faster convergence, balancing computational cost against accuracy requirements.