Interpolation estimates values between known data points.
Given points with distinct nodes
find a function satisfying
Use for . This is interpolation. Values outside this interval are extrapolation. They are less reliable.
Choosing an Interpolant
Choose the form from the data.
| Data | Interpolant | Key Property |
|---|---|---|
| Few points | Polynomial | One formula through every point |
| Many non-periodic points | Piecewise polynomial | Low-degree formula on each interval |
| Periodic data | Trigonometric | Repeating sine and cosine terms |
| Poles or sharp changes | Rational | Ratio of polynomials |
| Values and slopes known | Hermite | Matches values and derivatives |
Polynomial Interpolation
Theorem
For distinct nodes and values , exactly 1 polynomial of degree at most satisfies
The Lagrange form is
Each basis polynomial has 1 job.
Therefore . At node , every term disappears except .
Piecewise Polynomial Interpolation
Split into intervals. Use a low-degree polynomial on each interval.
- Piecewise linear
Straight segments. Continuous with corners at the nodes. - Piecewise quadratic
Parabolic segments. Slopes can jump at the nodes. - Cubic spline
Cubic segments with continuous value, slope and curvature.
Other Forms
For periodic data,
For rational interpolation,
For Hermite interpolation, matches both and at each node.