TOPICS
Search

Barycentric Interpolation


Barycentric interpolation is a method of interpolation that evaluates a Lagrange interpolating polynomial using precomputed weights. For distinct nodes x_1, ..., x_n and values y_1, ..., y_n, its second barycentric form is

 P(x)=(sum_(j=1)^(n)(w_jy_j)/(x-x_j))/(sum_(j=1)^(n)(w_j)/(x-x_j))

for x!=x_j, where w_j=1/product_(k!=j)(x_j-x_k) and P(x_j)=y_j. The expression evaluates the unique polynomial of polynomial degree at most n-1 that interpolates the data (Berrut and Trefethen 2004).

The weights depend only on the nodes, so they can be reused for different data values on the same nodes. Once the weights have been computed, each evaluation takes O(n) arithmetic operations. Multiplying all weights by the same nonzero factor leaves the result unchanged. This formulation avoids repeatedly forming products for each evaluation, but it does not remove the sensitivity associated with an unfavorable choice of nodes (Berrut and Trefethen 2004).


See also

Interpolation, Lagrange Interpolating Polynomial

Explore with Wolfram|Alpha

References

Berrut, J.-P. and Trefethen, L. N. "Barycentric Lagrange Interpolation." SIAM Rev. 46, 501-517, 2004. https://doi.org/10.1137/S0036144502417715.

Cite this as:

Weisstein, Eric W. "Barycentric Interpolation." From MathWorld--A Wolfram Resource. https://mathworld.wolfram.com/BarycentricInterpolation.html

Subject classifications