Exercise: Lagrange with population data
Building the Lagrange basis functions for the 1971–2011 census and estimating the 2005 population, compared with Newton.
Basis functions and result
Example
With the census data, form and and estimate 2005.
End functions (denominators 240000):
Polynomial as a combination of the data:
Matches Newton up to rounding: