Let be the vector space of real polynomials of degree of a polynomial at most . Choose distinct real sample points and positive real weights . Then
is an inner product. Symmetry and bilinearity follow from linearity of polynomial evaluation. Its value at is nonnegative, and equality forces all . By the root bound for a polynomial, a nonzero polynomial of degree of a polynomial at most cannot vanish at distinct points. Thus the form has positive definiteness.
Equivalently, the polynomial evaluation map on a finite point set identifies with , equipped with a weighted Euclidean inner product. Too few sample points destroy positive definiteness: if the distinct points number at most , the nonzero polynomial lies in and has zero sampled squared norm.
For three equally weighted samples at , an orthonormal basis is
This construction gives a finite sampling version of orthogonal polynomials and permits exact Gram-Schmidt orthogonalization using only finitely many evaluations.
(A) Use the dimension of a bounded-total-degree polynomial space. The monomials with are a basis, and stars and bars gives
For a finite point set, the polynomial evaluation map on a finite point set is
Its kernel is and its rank is at most , even when some conditions are dependent. The rank-nullity theorem therefore gives
The original PDF specifies here. With twelve points,
No general-position assumption is required.
(B) Let . We seek a polynomial vanishing on a finite set of spatial lines. For each line , choose an affine parametrization with . The polynomial restriction to a line of a degree-at-most- polynomial has form
Each coefficient is a linear functional of . Setting all coefficients to zero is precisely the condition that vanish identically on .
All lines together therefore impose at most homogeneous linear conditions on the -dimensional coefficient space. A nonzero solution exists whenever
Take . Then , so this strict inequality holds. Moreover
Thus the polynomial method in combinatorics gives
Equivalently, one could impose vanishing at distinct points on each line and use the univariate root bound to force the entire restriction to vanish. For an empty line family, the constant polynomial one supplies vacuous vanishing; the strict degree comparison is understood for nonempty families.