Polynomial interpolation Created 2026-09-24 Updated 2026-10-14
Polynomial interpolation constructs a polynomial that passes exactly through prescribed data. Given distinct interpolation nodes and values , there is exactly one interpolation polynomial of polynomial degree at most with for every . The values may be samples of a function, but no knowledge of that function between the interpolation nodes is needed to construct . The Lagrange polynomial and Newton polynomial are two representations of this same answer.[ref]
For example, the three data points give the quadratic polynomialThus polynomial interpolation supplies as an intermediate value. Whether this approximates an unknown underlying function well is a separate question about polynomial interpolation error.
Both hypotheses in the uniqueness statement matter. The Lagrange cardinal polynomials prove existence constructively. If two polynomials of polynomial degree at most fit the data, their difference has distinct roots of a polynomial, so it must be zero. Repeated interpolation nodes with conflicting values have no solution, and repeated equal values provide no additional independent condition; prescribed derivatives instead lead to Hermite interpolation. Without the polynomial degree restriction there are infinitely many solutions:where is any polynomial. By the factor theorem, this describes every polynomial fitting the same data. In the example, fits for every , but at its value is ; exact agreement at the three interpolation nodes alone says nothing about that intermediate value.
The usefulness of polynomial interpolation is that data become an explicit function whose values, derivatives, and integrals can be calculated. Differentiating or integrating the Lagrange cardinal polynomials produces differentiation weights from nodal evaluations or a quadrature rule. Exact passage through observations is the defining constraint. In polynomial regression, linear least squares instead chooses a polynomial degree and minimizes a sum of squared residuals, generally without passing through every observation. Interpolating noisy values reproduces their errors at the interpolation nodes and can amplify them between interpolation nodes; polynomial interpolation does not itself smooth measurement noise. A linear least squares problem with distinct interpolation nodes and polynomial degree at most does happen to attain zero residual at the same interpolation polynomial.
Rational interpolant 2026-10-25
A rational interpolant is a rational function agreeing with given data at every interpolation node. If the representation is required to have no zero denominator at those nodes, this condition is part of the problem, in addition to the degree restrictions. Even when removable common factors are cancelled before evaluation, the resulting rational function must still take the prescribed values. For example, at the data there is no interpolant : the first value forces when its denominator is nonzero, and then the second value cannot be one. The cleared equations nevertheless have the unique coefficient solution .
Rational interpolation 2026-10-25
Rational interpolation seeks a rational function with prescribed bounds on the polynomial degrees of its numerator and denominator and prescribed values at distinct interpolation nodes. A rational interpolant must have a well-defined value at each interpolation node. With a specified numerator-denominator representation, this requires for every . A normalization such as a monic polynomial denominator removes the common scaling freedom but does not guarantee existence or uniqueness. Multiplying by a zero denominator can create spurious solutions to the rational interpolation linearization.
Rational interpolation linearization 2026-10-25
For rational interpolation with and a monic denominator , multiplying through gives the linear systemThese equations are equivalent to the fraction conditions only when all are nonzero. If and , the coefficient matrix is the Vandermonde matrix with rows , so distinct interpolation nodes give a unique coefficient solution. More constructively, divide by as , . Then , , since is the unique monic degree- polynomial vanishing at all the interpolation nodes. The quotient may vanish at a node, so unique solvability of this linear system does not prove existence of a rational interpolant.
Runge's phenomenon 2026-10-14
The Runge phenomenon is the failure of increasing-degree polynomial interpolation at equally spaced interpolation nodes to converge to some smooth target functions, with large oscillations near the ends of the interval. It is a property of the approximation problem, and can occur even with exact arithmetic. A numerically stable evaluation method cannot remove it. Endpoint clustering, as in Chebyshev-Lobatto nodes, changes the approximation problem and can greatly improve it.[ref]
https://fncbook.com/python/stability-1/. Driscoll and Braun, Fundamentals of Numerical Computation, §9.3.1–9.3.2
Take on and polynomial degree at most . Use either or for . Each interpolation polynomial passes through all eleven of its own samples, yet the first has severe endpoint oscillations and the second stays much closer to the target function. Evaluating both by the barycentric interpolation formula on equally spaced points, including the endpoints, gives sampled maximum absolute errors of approximately and , respectively: about a -fold reduction. These are maxima over the stated grid, not certified maxima over the continuous interval. The generator separately checks exact reproduction of all stored nodal values.
Degree-10 interpolation of the Runge function at equally spaced and Chebyshev-Lobatto nodes, with absolute errors
. Details. The polynomial interpolation error formula explains why interpolation nodes enter the analysis. If has continuous derivatives on an interval containing and all the interpolation nodes, then for a suitable in that interval,At an interpolation node the error is zero directly. Away from the interpolation nodes, both the product and the high-order derivative matter. A short proof applies Rolle's theorem repeatedly to , which vanishes at distinct points.[ref]
https://fncbook.com/polynomial/. Driscoll and Braun, Fundamentals of Numerical Computation, §9.1.2, Theorem 9.1.3
The successful comparison here does not assert that Chebyshev-Lobatto nodes solve every approximation problem for every function. The derivatives, the polynomial degree, and measurement errors still matter. The Lebesgue constant of interpolation measures worst-case amplification of nodal errors, while the polynomial reproduction error bound relates interpolation to the best uniform approximation available at that polynomial degree.
Symmetry of divided differences 2026-10-18
A divided difference depends on the chosen interpolation nodes and their data, but is unchanged by any permutation of those same interpolation nodes. The explicit sum in divided difference makes this visible: a permutation merely rearranges its summands.[ref]
There is also a short explanation using Lagrange cardinal polynomials. The coefficient of in the th Lagrange cardinal polynomial is . Taking that coefficient in their weighted sum gives exactly the explicit divided difference formula. Since polynomial interpolation has a unique answer for a fixed set of distinct interpolation nodes, this coefficient cannot depend on their ordering. If the interpolation polynomial has polynomial degree below , the coefficient is zero.
For the four-point example in divided difference table, every ordering gives third divided difference . This does not make every Newton polynomial coefficient invariant: whereas , because these use different pairs of interpolation nodes. Even at second order, and use different triples. The node order in Newton interpolation determines which subsets occur along the top row.
