Lagrange interpolation error formula
Statement
Let be -times continuously differentiable on an interval containing distinct nodes and a point , and let be the degree- polynomial interpolating at these nodes. Then there exists in that interval such that .
Why is it true?
The interpolating polynomial matches f exactly at the nodes but knows nothing about f in between, so the leftover error must vanish at every node — exactly what the product term forces — scaled by a leftover derivative that measures how much f curves beyond what a degree-n polynomial can capture.
Proof sketch
Step 1 (a clever auxiliary function). Fix a point that is not one of the nodes (if it is, the error is trivially ). Let and define the constant (well-defined since ). Define the auxiliary function .
Step 2 (count the roots of g). At every node , both (by the interpolation property) and (by definition of ), so for all nodes. Also, by the choice of , . So has distinct roots: the nodes plus itself.
Step 3 (apply Rolle's theorem repeatedly). Between each pair of consecutive roots of (there are such gaps among roots), Rolle's theorem gives a point where vanishes, so has at least roots. Repeating this argument on loses one root each time a derivative is taken, so after applications, has at least one root in the interval.
Step 4 (differentiate and solve for the error). Since has degree at most , its -th derivative is ; and is a monic polynomial of degree , so for every . Differentiating gives , and setting gives . Recalling and solving for the error gives exactly .
Topics that use this theorem
Step-by-step proofs
No step-by-step proof yet for this theorem.