Lagrange interpolation formula
Let be points in the plane ( for ). Then there exists a unique polynomial of degree at most such that for .
Such polynomial can be found using Lagrange’s interpolation formula:
where .
To see this, notice that the above formula is the same as
and that for all , every numerator except one vanishes, and this numerator will be identical to the denominator, making the overall quotient equal to 1. Therefore, each equals .