Comparative numerical laboratory

Interpolation: Equispaced vs Chebyshev Nodes — Chapter 3

Interpolate the Runge-type function and compare node choices for the same degree.

\[ f(x)=\frac{1}{1+25x^2}, p_N(x_i)=f(x_i). \]

Methods compared

MethodConvenienceInconvenience / warning
Equispaced interpolationSimple nodes; easy to understand.Can produce endpoint oscillations for high degree.
Chebyshev interpolationControls endpoint growth and reduces Runge oscillations.Nodes are nonuniform; implementation is less elementary.
Piecewise thinkingSplines avoid one huge polynomial.Need smoothness and boundary choices.

Illustrative plot / animation

Numerical diagnostics

What the student must compare