Lagrange Interpolation Calculator

Calculator for the calculation of the interpolation polynomial

The calculator calculates the Lagrange polynomials and the interpolation polynomial for any definable points. The points can be entered in tabular form or alternatively loaded from a file.


Axes ranges

Load from file:
Number of points =

An alternative input is possible by loading the data from a file. The values must be separated by comma, space or semicolon and must be in pairs x1, y1, x2, y2, ...

Lagrange Polynom

Lagrange interpolation is a method for determining a polynomial function passing through a given number of points. It allows a function to be estimated using some known values, called grid points. Since Lagrange basis functions are non-zero at only one point and 1 at all other points, the Lagrange polynomial at any given point is equal to the corresponding grid point. The Lagrange interpolation method has its applications in areas such as numerics, mathematical modeling, and signal processing. A disadvantage is that it produces very high degree polynomials very quickly with many grid points.

The individual Lagrange polynomials are:

Li(x)= (x-x0)(x-xi-1)(x-xi+1)(x-xn) (xi-x0)(xi-xi-1)(xi-xi+1)(xi-xn)

The Lagrange interpolation polynomial is:

In(x)= i = 0 n yiLi(x)

Screenshot of the Image

Print or save the image via right mouse click.

Releated sites

Here is a list of further useful sites:

Index Newton Interpolation Horners Method Curve fit Fitting Gaussian distribution Mean Value Calculator Fourier series calculator Taylor-Series