Polynomial Interpolation and Uniqueness
Construct a polynomial from distinct evaluation points and prove uniqueness by counting possible roots.
- Source
- Anbloq
- Language
- English
- Created
- Updated
- Chapters
- 2
- Reading time
- 1 min
In this article2 chapters
Basis polynomials isolate individual samples
For distinct \(x_0,\ldots,x_d\) in a field, construct the polynomial \(L_j\) as the product of \((x-x_i)/(x_j-x_i)\) over \(i\ne j\). The denominators are nonzero. This basis function is one at \(x_j\) and zero at every other chosen point. Summing \(y_jL_j(x)\) therefore interpolates \((x_j,y_j)\) with degree at most \(d\). The points \((0,1),(1,3),(2,7)\), for instance, give \(x^2+x+1\).
Two different polynomials would have too many roots
Their difference would be a nonzero polynomial of degree at most \(d\) with \(d+1\) roots. That is impossible by repeated factoring of the linear root factors. This algebraic uniqueness holds in a finite field as long as the evaluation points are distinct. Streaming fingerprints reverse the argument to bound the chance of agreement at a random point.[1][2]