Barycentric interpolation formula 2026-10-14
The barycentric interpolation formula evaluates the same Lagrange polynomial using weights that depend only on the distinct interpolation nodes:At , return directly, before dividing; the formula has removable singularities at the interpolation nodes. Multiplying every by the same nonzero constant leaves the answer unchanged. Driscoll and Braun derive this formula as a more efficient, numerically stable way to evaluate polynomial interpolation.[ref]
For the interpolation nodes , the weights are , or equivalently . With data , at the denominator using the latter weights is and the numerator is , giving again. For eleven interpolation nodes in the Runge phenomenon figure, the generator computes the weights by the direct products above and returns stored values exactly at every interpolation node.
The direct products require arithmetic operations once; each subsequent value uses arithmetic operations. Here denotes Big O notation. At large polynomial degree or on poorly scaled intervals, forming these products can exceed the range of floating-point arithmetic; normalization or specialized weight formulas may be needed. Stable evaluation also cannot cure sensitivity intrinsic to the chosen interpolation nodes, measured by the Lebesgue constant of interpolation, or the approximation failure in the Runge phenomenon.
Chebyshev-Lobatto node 2026-10-14
For , the Chebyshev-Lobatto nodes are the extrema of the Chebyshev polynomial on , including both endpoints: . Imagine equally spaced angles on a semicircle and project their points onto the horizontal axis. The interpolation nodes crowd near and because equal angular steps have smaller horizontal projections there. Reversing the order gives the same set. These are distinct from the roots of a polynomial of , which omit the endpoints. Driscoll and Braun call this endpoint-including family Chebyshev points of the second kind or Chebyshev extreme points.[ref]
https://fncbook.com/python/stability-1/. Driscoll and Braun, Fundamentals of Numerical Computation, §9.3.2, equation 9.3.2
On an interval , use . The Runge phenomenon example compares polynomial interpolation at eleven Chebyshev-Lobatto nodes with eleven equally spaced interpolation nodes. The distinction matters whenever sampling locations are a choice rather than fixed observations.
Chebyshev polynomial Created 2026-09-24 Updated 2026-10-18
The first-kind Chebyshev polynomial converts a multiple-angle cosine into a polynomial:The cosine addition formula gives the recurrence relationThis constructs polynomials valid for every real , including outside , where the real-angle description is unavailable. For example,For , has polynomial degree and leading coefficient . On its uniform norm is one, even as its oscillations become more numerous.[ref]
https://dlmf.nist.gov/18.5#i. T. H. Koornwinder and collaborators, NIST Digital Library of Mathematical Functions, §18.5(i), equation 18.5.1: trigonometric representation
[ref]https://dlmf.nist.gov/18.9#i. Koornwinder and collaborators, NIST DLMF, §18.9(i), Table 18.9.1: recurrence coefficients
The polynomial roots of are especially simple:They correspond to equally spaced angles, but their locations in cluster near and . For , the polynomial roots are . For , the positive polynomial roots are approximately , with their negatives completing the set. The distance from the right endpoint to the nearest polynomial root is ; central neighboring polynomial roots are separated on the larger scale . The small change of cosine near angles zero and explains the clustering.
Analytical illustration of the eight roots of T8: equally spaced angles on a semicircle project to endpoint-clustered interpolation nodes
. Details. These polynomial roots supply interpolation nodes for a polynomial interpolation of polynomial degree at most . They differ from the Chebyshev-Lobatto nodes , which include both endpoints. This choice of polynomial roots has nodal polynomialThe monic Chebyshev extremal polynomial minimizes the uniform norm of this product among monic polynomials of polynomial degree on . Consequently, if has continuous derivatives, the usual polynomial interpolation error gives the useful boundThis optimizes the nodal factor in that bound, not the actual error for every function. Endpoint clustering helps control the large endpoint oscillations of equally spaced interpolation associated with Runge's phenomenon. The two node conventions and their geometric construction are discussed in Trefethen's authored text.[ref]
https://people.maths.ox.ac.uk/trefethen/ATAP/ATAPfirst6chapters.pdf. Lloyd N. Trefethen, Approximation Theory and Approximation Practice, Chapters 2–3 and Exercise 2.4: endpoint clustering, first-kind roots and polynomials
The same cosine substitution for polynomial approximation explains the weighted orthogonality:The endpoint singularities of the weight are integrable. Thus the Chebyshev polynomials are orthogonal polynomials for this weight, making coefficients in a least-squares polynomial in an orthogonal-polynomial basis separate cleanly. Their polynomial roots also give Chebyshev–Gauss quadrature, connecting polynomial interpolation to Gaussian quadrature.[ref]
Accuracy still depends on the target function. The absolute value function has a corner at zero, so the hypothesis requiring continuous derivatives in the displayed polynomial interpolation error bound fails. Endpoint clustering cannot remove that corner. A jump poses a stronger obstruction: polynomials are continuous functions, so they cannot converge in the uniform norm to a discontinuous function on the whole interval. Chebfun's documented examples show persistent overshoot for such jumps; these are a limitation of global polynomial interpolation, not a universal promise of rapid accuracy from Chebyshev polynomials.[ref]
https://www.chebfun.org/docs/guide/guide04.html#4.3. Chebfun development team, Chebfun Guide, §4.3: polynomial interpolation of discontinuous functions
Let , , and let be its Lagrange interpolation polynomial at ordered distinct interpolation nodes . Since vanishes at every interpolation node, Rolle's theorem supplies distinct where . The polynomial has polynomial degree at most , so it is the interpolation polynomial for at these new interpolation nodes. Its polynomial interpolation error is the displayed formula, with depending on .
Consequently , where . The existence of the interpolation nodes is enough for this bound; their explicit locations generally depend on . This proof avoids differentiating an unspecified intermediate point in the original polynomial interpolation error formula.
Divided difference Created 2026-09-24 Updated 2026-10-14
For distinct interpolation nodes, the divided difference is the coefficient of in the interpolation polynomial of polynomial degree at most through those interpolation nodes. It is the leading coefficient when that polynomial degree is exactly , and zero when it is smaller. Explicitly,starting with . The divided differences obey the recurrenceFor data , , , the first divided differences are and . The second divided difference is , the leading coefficient of . The first divided difference is the slope of a secant line; higher divided differences supply successive coefficients for the Newton polynomial.
Divided difference table 2026-10-18
A divided difference table arranges divided differences by starting interpolation node and order . Its base column is ; every later entry uses two neighboring entries from the previous column:The denominator spans all interpolation nodes of that entry, even though the numerator uses adjacent table entries. The interpolation nodes must be distinct; they need not be equally spaced or sorted.[ref]
3.3 Interpolation. NIST Digital Library of Mathematical Functions; §3.3(iii), equation 3.3.34: initial values and divided-difference recurrence for distinct nodes
Take the polynomial at the interpolation nodes , giving values . Its divided difference table isThe first divided differences are , , and . The second divided differences use the wider spans: and . The third divided difference is . Reading the top row gives the Newton polynomial coefficients , rather than all the entries in any one column.
The resulting Newton polynomial grows through four partial interpolants:At , misses by ; the correction supplies exactly there and vanishes at the earlier interpolation nodes . At , misses by ; the correction supplies exactly there and vanishes at all three earlier interpolation nodes. Each added term therefore preserves the previous agreements while satisfying the next one.
Divided-difference triangle and successive Newton interpolants for the constructed polynomial x cubed minus 2x plus 1
. Details. For interpolation nodes, the triangle contains recurrence steps. Once the top row is known, nested evaluation of the Newton polynomial uses only multiplications and additions per argument. The triangle organizes the work; the factors explain why the construction works.
Dual basis Created 2026-09-24 Updated 2026-10-14
For a basis of a finite-dimensional vector space , its dual basis consists of linear functionals satisfyingThe Kronecker delta means that each rule gives one on its own basis vector and zero on the others. These rules extract coordinates:Applying to a linear combination removes every term except the th. Consequently the dual basis is a basis of the dual space, and every linear functional has expansion . [ref]
Linear Algebra Done Right by Sheldon Axler (4th edition). Axler, Linear Algebra Done Right, fourth edition, §3F, definitions and results 3.112–3.116
.Coordinate extraction works for a nonorthogonal basis too. With and , the dual basis isThe checks , , , and fix the two rules. For they give coordinates , so . The usual dot products with instead give and do not extract these coordinates: simple projection formulas depend on an orthonormal basis.
The same idea explains polynomial interpolation. On polynomials of polynomial degree at most , evaluation at distinct interpolation nodes gives the dual basis to the Lagrange cardinal polynomials, because . Samples are coordinates in this basis, so the reconstruction is a dual-basis expansion. Differentiation weights from nodal evaluations and factorial monomial basis for polynomial differentiation apply the same principle to different measurements.
At decreasing distinct interpolation nodes , the Lagrange cardinal polynomial has denominator sign . For , its numerator's th derivative at one is times a sum of products of nonnegative factors . At most one factor vanishes, and at least one product avoids it, so that sum is strictly positive. The same alternating nodal signs therefore maximize every endpoint derivative simultaneously.
Generalized Vandermonde matrix 2026-10-25
A generalized Vandermonde matrix evaluates a chosen list of functions at interpolation nodes . For a basis of polynomials of polynomial degree at most and distinct nodes, it is an invertible matrix by uniqueness of polynomial interpolation. Choosing monomials recovers the ordinary Vandermonde matrix.
Hermite interpolating polynomial 2026-10-31
At distinct interpolation nodes , prescribed values and first derivatives determine exactly one Hermite interpolating polynomial of polynomial degree at most . The homogeneous data force a double root of a polynomial at every interpolation node. Hence the kernel of a linear map given by these conditions is zero: a nonzero polynomial with those double roots of a polynomial would have polynomial degree at least . Equal finite dimensions of a vector space then give existence as well as uniqueness. This interpolation polynomial is distinct from the Hermite polynomials forming a classical orthogonal polynomial family.
Hermite interpolation error formula 2026-10-31
Let be distinct interpolation nodes, let , and let be the Hermite interpolating polynomial matching the values and first derivatives of at all nodes. For each in the interval there is an interior point for which the displayed formula holds. At a node the formula is immediate. Otherwise put , and . This function vanishes at the nodes and at , while its derivative vanishes at every node. Rolle's theorem gives additional zeros of its derivative between successive zeros of . Repeating the theorem therefore gives . Since and , rearrangement yields the formula. The extra point is a zero of , not necessarily of its derivative.
For two nodes , this gives the uniform bound , since . The squared nodal factors encode simultaneous matching of values and derivatives.
Interpolation node Created 2026-09-29 Updated 2026-10-14
An interpolation node is an argument value at which an interpolation polynomial must take a prescribed value . The interpolation nodes specify where the constraints apply; the values specify how high the graph must pass there. In the three-point example, the interpolation nodes are , while the prescribed values are . Changing the interpolation nodes changes the Lagrange cardinal polynomials and the polynomial interpolation error, even if their number stays fixed.
Lagrange cardinal polynomial Created 2026-10-05 Updated 2026-10-14
For distinct interpolation nodes , the Lagrange cardinal polynomial has value one at its own interpolation node and zero at every other interpolation node:Here is the Kronecker delta. These Lagrange cardinal polynomials form a basis of the vector space of polynomials of polynomial degree at most : every such polynomial has the unique expansion . The nodal evaluation linear functionals form the dual basis, since .
For the interpolation nodes , the three Lagrange cardinal polynomials areTheir values on the interpolation nodes are the rows of the identity matrix. In the figure, each colored curve passes through its own unit-height marker and through zero at the other two interpolation nodes. Multiplying the curves by the data and adding gives the Lagrange polynomial .
Since the constant polynomial one interpolates data values all equal to one, uniqueness gives . Nevertheless, , so Lagrange cardinal polynomials need not stay between zero and one. If a single data value changes by , the interpolation polynomial changes by exactly . Thus a Lagrange cardinal polynomial describes how one observation influences the entire graph, and controls the worst amplification of simultaneous data errors at ; its maximum is the Lebesgue constant of interpolation.
Lagrange leading-coefficient identity 2026-10-25
For distinct interpolation nodes and an integer ,To prove this, the Lagrange interpolation polynomial for the data is exactly , by uniqueness of polynomial interpolation. The coefficient of in its th Lagrange cardinal polynomial is . Comparing the coefficients of gives the identity. At , values of the constant polynomial are intended even at a zero node. Negative exponents are outside the assertion.
Lagrange polynomial 2026-10-14
The Lagrange polynomial writes the interpolation polynomial as a linear combination of Lagrange cardinal polynomials. Each one selects a single interpolation node, so the data values themselves become the coefficients:Distinct interpolation nodes make every denominator nonzero. At , all terms vanish except . This gives an explicit construction without solving for monomial coefficients. The elegance of the Lagrange polynomial is that it builds all constraints into the basis, leaving no equations to solve for the data values.
For and , substitution givesAt , the Lagrange cardinal polynomial values are , so . A negative Lagrange cardinal polynomial value is allowed: these weights sum to one but need not be probabilities.
The product form is especially useful for deriving differentiation weights from nodal evaluations and quadrature rules. For repeated numerical evaluation, the barycentric interpolation formula reorganizes the same Lagrange polynomial into precomputed weights and sums; it avoids evaluating every full product at every argument.
Linear interpolant 2026-10-31
A linear interpolant is the unique polynomial of polynomial degree at most one taking prescribed values at distinct interpolation nodes . It is an affine function, including the constant function case. For , its two displayed coefficients are nonnegative and sum to one, so changing each sampled value by at most changes every interpolated value by at most . Differentiation instead uses the difference of the two samples divided by , causing noise amplification by differentiation of a linear interpolant.
Newton polynomial Created 2026-10-14 Updated 2026-10-18
The Newton polynomial expresses the interpolation polynomial in products that successively vanish at all previously used interpolation nodes. With , the coefficients are divided differences:A triangular divided difference table computes all its coefficients using exactly divisions. The Newton polynomial and the Lagrange polynomial have the same polynomial degree bound and the same nodal values, hence are equal by uniqueness of polynomial interpolation.
For , , , the complete divided difference table isThe first divided differences are and , and their divided difference is . Reading the top entries givesThe initial term fits ; adding also fits ; adding fits while leaving the first two data values unchanged. This is the practical beauty of the Newton polynomial: each new correction respects all previous interpolation constraints.
If a new distinct interpolation node with value arrives, append one term:For example, appending to the three-point data gives , hence . Changing the order of the interpolation nodes changes the Newton polynomial coefficients and products, but not the final interpolation polynomial in exact arithmetic.
The products also permit nested evaluation analogous to Horner's method. If , start with and work backwards by ; the answer is . The three-point example becomes , needing two multiplications for each evaluation. This organization is useful when adding observations incrementally or evaluating a stored Newton polynomial many times; the Runge phenomenon still depends on the interpolation nodes rather than on which representation is used.
To justify the update formula, its added product vanishes at every previous interpolation node. Choosing by the new residual forces agreement at , so uniqueness of polynomial interpolation identifies the result. For , has polynomial degree at most , and the added product has leading coefficient one. Thus the new coefficient is exactly . The initial state is , with the empty product interpreted as one.[ref]
Appending to the four-point example in divided difference table leaves the Newton polynomial unchanged: , so the new fourth divided difference is zero. If the appended value is instead , the new coefficient isThis polynomial still takes values at the original interpolation nodes, and now takes value at . A zero update is a valid completed step: adding another exact sample of the original polynomial need not increase the polynomial degree.
At distinct interpolation nodes, differentiating Lagrange interpolation gives . The triangle inequality gives the displayed upper bound, attained by prescribing each nodal value to be the sign of the corresponding derivative weight. For increasingly ordered real nodes, the Markov interlacing lemma and monotonicity of polynomial critical points in their roots imply that has at most one sign change, ignoring zero weights. Thus an extremizer has alternating nodal signs with at most one reversal of that alternating pattern. This reduces a choice among sign patterns to candidate polynomials.
Node order in Newton interpolation 2026-10-18
Reordering the interpolation nodes changes the successive subsets used for the divided differences and the factors of the Newton polynomial. The final interpolation polynomial remains unchanged in exact arithmetic. For , reversing gives and values . The successive divided difference columns are nowFor example, the first second divided difference is . The top row becomes , givingThe earlier partial interpolants differ because they fit different subsets: fits , whereas fits . The highest divided difference is invariant because both complete top rows finish with the same set of four interpolation nodes; this is symmetry of divided differences.
Reversing the interpolation nodes changes the Newton construction but gives the same final polynomial
. Details. This distinction is useful when checking a divided difference table: permuting all the interpolation nodes must preserve its final divided difference, even though the intermediate entries change. It also explains why data can be appended in their arrival order. In floating-point arithmetic, the subtractions and divisions may accumulate different rounding errors in different orders; exact invariance describes the mathematical polynomial, rather than guaranteeing bit-for-bit equality of numerical results.
Omitted-node identities for divided differences Created 2026-10-14 Updated 2026-10-18
For distinct interpolation nodes, write for the divided difference with omitted. Symmetry and the divided-difference recurrence give the displayed identity. Consequently, for ,The identity is algebraic and does not require the nodes to be ordered; the coefficients need not be nonnegative.




