Lagrange polynomials (named after their inventor Joseph Louis Lagrange) are polynomials used for polynomial interpolation. Rather than solving the huge Vandermonde matrix equation obtained in the polynomial interpolation by Gauss-Jordan elimination, we may prepare the polynomial by just inserting the function values into a combination of equations created using the variable e.g. and the given points and respective values. Given a data set:

where no two are the same, we assume the :s are values of a function, , at some certain -points named . We know from Weierstrass' theorem that there exists a unique polynomial of degree that pass through all these points, and we write it thusly:

Lagrange polynomials can be used for e.g. deriving formulas for numerical integration. For calculating the value in some given point not in the data set from the data set, newton polynomials are commonly preferred.

See Also