Lagrange interpolation formula
Statement
Suppose is a field with at least elements. Suppose are distinct elements of . Suppose . Define the polynomial:
.
Then, is the only polynomial satisfying these two conditions:
- The degree of is at most .
- .
Facts used
Proof
Given: A field with at least elements. are distinct elements of . . Define:
.
To prove: is the only polynomial satisfying these two conditions:
- The degree of is at most .
- .
Proof:
- The fact that the degree of is at most follows from the fact that is a sum of polynomials, each of which is a product of linear polynomials (multipled by some constant).
- The fact that follows by just substituting in the expression. Notice that for , the product is zero, since the factor for is zero. Thus, the only product that survives is the one for , and in this case, the expression simplifies to .
- The fact that it is the unique polynomial follows from the fact that if is another polynomial of degree at most with , the polynomial has each as a root. Hence, is a polynomial of degree at most with distinct roots. This is a contradiction to fact (1).