A method of constructing new data points within the range of a discrete set of known data points. The constructed function passes through all given points.
Weierstrass Approximation Theorem
Suppose is continuous on . Then , a polynomial such that :
Types
Linear Interpolation
Fits a straight line between 2 adjacent data points and :
Simple but only accurate when the underlying function is nearly linear between nodes.
Polynomial Interpolation
Fits a single polynomial of degree through data points. Methods include Lagrange and Newton’s divided differences.
High-degree polynomials can oscillate wildly near the endpoints (Runge’s phenomenon).
Spline Interpolation
Fits piecewise polynomials between consecutive data points, joined smoothly at knots. Cubic splines are most common: each piece is degree 3 and the join points satisfy continuity (matching function value, first derivative, and second derivative).
Avoids Runge’s phenomenon while remaining smooth.