This polynomial does what we want it to do, because when x = xj
every one of the basis functions vanishes, except
for Ln,
(x), which has value 1. Thus L(xj
) = yj
for every j and the polynomial interpolates each one of the data points
in the original data set.