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 polynomial
Thus 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.
Dividing a polynomial by leaves the constant polynomial remainder . Polynomial division makes the polynomial remainder constant because its polynomial degree must be below one; polynomial evaluation at identifies that constant. In particular, it is zero exactly when is a root of a polynomial of , which is the factor theorem.[ref]
In the worked example, division by leaves and division by leaves . Division by their product leaves , a polynomial remainder that stores both values at once. The argument also holds over a commutative ring for in that ring, because is a monic polynomial.
Remainder of polynomial division Created 2026-10-14 Updated 2026-10-18
The polynomial remainder is the polynomial in polynomial division . Division by has a constant polynomial remainder , as expressed by the factor theorem.
For any identity , polynomial evaluation at a root of a polynomial of gives
This substitution requires no division by . In the worked example, polynomial factorization gives , so its two roots of a polynomial are and . The cubic polynomial and its linear polynomial remainder agree there:
A cubic expression has been compressed into a straight line carrying exactly these two values.
Figure 1.
The original polynomial and its polynomial remainder agree at both polynomial roots of because vanishes there
. Details.
Conversely, those two values determine the linear polynomial remainder by polynomial interpolation. Write ; then and , giving and . The polynomial degree bound is essential: adding any multiple of preserves the two values, but generally raises the polynomial degree. The plot also shows agreement at , where rather than . Agreement of and at a point therefore does not imply that the point is a root of a polynomial of the divisor.