Numerical Methods / Approximation and error
Polynomial Interpolation and Splines
Draw a smooth curve through data points, and learn why more points can make things worse.
Contents 2 sections
By the end you can
- Construct the Lagrange interpolating polynomial
- Describe Runge’s phenomenon
- Explain why cubic splines are preferred
Helps to know: Polynomials
§1One polynomial through all the points
Through points with distinct -values passes exactly one polynomial of degree at most . Lagrange’s form writes it as , where equals 1 at and 0 at the other nodes.
A cubic spline uses a separate cubic between each pair of points, matched in value, slope and curvature. It is what design software and font renderers draw.
Check yourself
- Q1The polynomial of least degree through , , has degree at most…