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 satisfying
The 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].
Coordinate extraction works for a nonorthogonal basis too. With and , the dual basis is
The 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.
Figure 1.
The dual basis extracts coefficients in a skew basis by two scalar-valued measurements
. Details.
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.
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 gives
At , 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.
The dual space is , the vector space of all linear functionals with pointwise operations. For finite , choose a basis and define its dual basis by . Every linear functional is , and evaluation on each proves that the are linearly independent. Thus . This dimension formula is a finite-dimensional assertion.
On the space of polynomials of degree at most , define the evaluation map . Its kernel is zero: a nonzero degree-at-most- polynomial cannot have distinct roots. Since domain and codomain both have dimension , is an isomorphism. The evaluations therefore form a basis of the dual space. The linear functional has a unique expansion in that basis, proving the existence and uniqueness of the requested weights.
Explicitly, use the Lagrange interpolation polynomial basis
The differentiation weights from nodal evaluations are . If a node is zero, no singular reciprocal formula is needed: differentiate the finite product directly. For the sole weight is zero.
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.