Interpolation and splines · Definition

Runge phenomenon

numerical methodsinterpolation and splines

Before you start you need to know

Increasing the degree of an interpolating polynomial should improve the approximation. However, with equally spaced nodes the opposite happens near the endpoints of the interval.

Definition

The Runge phenomenon is the oscillatory, divergent behavior of polynomial interpolation errors at high degree when the nodes are equally spaced on an interval.

\[f(x)=\frac{1}{1+25x^2},\quad x\in[-1,1]\]

The interpolation error depends on the nodal product \( \prod_{i=0}^{n}(x-x_i) \) and on the derivative \( f^{(n+1)} \). With equally spaced nodes this product grows sharply near \( x=\pm1 \), and if the derivatives of \( f \) grow fast, the error blows up at the endpoints.

Take \( f(x)=\frac{1}{1+25x^2} \) on \( [-1,1] \). Interpolating with 5 equally spaced nodes gives a reasonable fit, but with 15 nodes the polynomial oscillates with large amplitude near \( x=\pm1 \) while the true function stays smooth. Raising the degree makes the approximation worse instead of better.

A typical mistake is to assume that more nodes always give a better result. To avoid it, use Chebyshev nodes, which cluster toward the endpoints and greatly reduce the nodal product.

One would expect more nodes to improve interpolation, but without care in node placement this is not the case. The phenomenon is corrected by changing the nodes or by using piecewise interpolation.

Think about it

If the derivatives of \( f \) were bounded by a constant \( M \) for every order, would the interpolation error with equally spaced nodes tend to zero as \( n \) increases?

Yes. The error is bounded by \( \frac{M\,2^{n+1}}{(n+1)!} \), which tends to zero because the factorial grows faster than \( 2^{n+1} \). The problem appears when the derivatives grow so fast that they overcome that factorial.

Exercises 10

References

  • Richard L. Burden, J. Douglas Faires, Annette M. Burden, Numerical Analysis, 10th edition, Cengage Learning, 2016.
  • Lloyd N. Trefethen, David Bau III, Numerical Linear Algebra, 1st edition, SIAM, 1997.