Derivation: Newton coefficients via divided differences
Where and come from when forcing the polynomial through the points, and how the recursion generates every higher-order coefficient.
Forcing it through two points
Start from the linear form and require it to pass through and :
From the first equation . Substituting into the second and solving for :
is called the first-order divided difference. Repeating the same argument with three points gives the second-order difference, and so we reach the general recursion.