Barycentric interpolation evaluates an interpolating polynomial through reusable weights instead of first expanding it into powers of the input. Its gold standard is a calculation that reproduces the supplied data, remains numerically dependable on the intended interval, and passes independent checks between the nodes. A stable evaluation formula helps, but it cannot rescue unsuitable sampling points or make noisy observations exact.
This guide develops that distinction through original worked examples. You will calculate weights, evaluate a quadratic, handle a query at a node, measure sensitivity, differentiate the interpolant and test a change of units. The focus is one-dimensional polynomial barycentric interpolation. Rational barycentric formulas and geometric barycentric coordinates are connected ideas with different requirements.
- Begin with the Gold Standard master for the wider collection.
- Use the Education parent for understanding that transfers to new situations.
- Explore How X Works and the related Rational Interpolation root.
Choose your barycentric interpolation route
Chapters 1–3: Problem, representation and weights
Chapters 4–6: Evaluation, polynomial identity and nodes
Chapters 7–9: Sensitivity, extrapolation and node choice
Chapters 10–12: Derivatives, reuse and diagnostics
Chapter index
Problem, representation and weights · Chapters 1–3
1. The problem: recover values between distinct nodes
Evaluation, polynomial identity and nodes · Chapters 4–6
4. Evaluate a complete quadratic example
Sensitivity, extrapolation and node choice · Chapters 7–9
7. Cardinal functions expose sensitivity
Derivatives, reuse and diagnostics · Chapters 10–12
10. Derivatives are new outputs with new error concerns
Transfer and continue learning · Chapters 13–14
13. Changed-context transfer: move the interval and preserve the meaning
CHAPTER 1 OF 14 · Problem, representation and weights
1. The problem: recover values between distinct nodes
Suppose you know values y₀ through yₙ at distinct real inputs x₀ through xₙ. Polynomial interpolation asks for a polynomial of degree at most n whose value at each xᵢ is yᵢ. Distinct inputs matter: repeated observations at the same input do not provide another ordinary interpolation condition of the same kind.
For three distinct nodes, a quadratic or lower-degree polynomial always satisfies the three value conditions uniquely. To see uniqueness, imagine two such polynomials. Their difference has degree at most two and vanishes at all three nodes. A nonzero quadratic cannot have three distinct roots, so the difference must be zero.
This argument establishes a unique polynomial in the selected family. It does not establish that the unknown process between the samples is that polynomial. Infinitely many non-polynomial functions can pass through the same values. Interpolation is a construction; physical truth or predictive usefulness requires additional evidence.
State the intended use
You might be tabulating a smooth mathematical function, resampling a numerical solution or building a calibration curve. Those tasks have different error budgets and data properties. Exact function evaluations can justify interpolation in situations where uncertain measurements would call for smoothing or regression instead.
Specify the interval on which you will use the result and the quantity that matters. Value accuracy does not automatically imply accurate derivatives. Good behaviour between the outermost nodes does not automatically imply good extrapolation beyond them. A clear use statement prevents a successful calculation from being stretched into an unsupported claim.
The existing Lagrange interpolation and data-fitting guide explains the polynomial construction. Barycentric interpolation changes how that polynomial is represented and evaluated, rather than introducing a different polynomial for the same data and exact arithmetic.
CHAPTER 2 OF 14 · Problem, representation and weights
2. Separate the function from its representation
A polynomial can be written in powers, in a Newton basis or as a sum of Lagrange cardinal functions. These expressions can be algebraically identical while behaving differently in finite-precision arithmetic. The function is one object; the numerical instructions used to evaluate it are another.
Consider p(x) = (x − 1)². Its expanded form is x² − 2x + 1. At x close to one, the expanded expression subtracts terms of order one to obtain a very small result. The factored form exposes that small quantity directly. This example does not concern barycentric interpolation yet; it shows why representation deserves attention.
An interpolating polynomial of moderate or high degree can have large coefficients in a power basis even when its values on a particular interval remain moderate. Computing and then evaluating those coefficients may introduce avoidable difficulty. A data-centred representation can retain the useful structure of the interpolation problem.
Three errors to distinguish
- Approximation error is the difference between the exact interpolating polynomial and the target function.
- Data error comes from uncertainty or perturbations in the supplied nodes or values.
- Arithmetic error comes from finite-precision construction and evaluation.
Improving an evaluation algorithm mainly addresses the third category. It does not remove the first two. A perfectly evaluated polynomial can still oscillate badly or reproduce measurement noise that should not have been treated as exact information.
The primary paper Barycentric Lagrange Interpolation by Berrut and Trefethen develops the representation and its computational advantages. Its usefulness is best understood alongside the limits of polynomial interpolation, rather than as a promise that every dataset becomes safe when written as a quotient.
CHAPTER 3 OF 14 · Problem, representation and weights
3. Calculate the weights once
For distinct nodes, define wᵢ = 1 divided by the product of all differences xᵢ − xⱼ with j unequal to i. These weights depend on the nodes, not on the sampled values. That separation allows the same weights to support several datasets measured at the same locations.
Take nodes −1, 0 and 2. The first denominator is (−1 − 0)(−1 − 2) = 3, giving w₀ = 1/3. The middle denominator is (0 + 1)(0 − 2) = −2, giving w₁ = −1/2. The last denominator is (2 + 1)(2 − 0) = 6, giving w₂ = 1/6.
Multiplying every weight by six gives the simpler proportional weights 2, −3 and 1. A common nonzero multiplier cancels from the barycentric quotient, so these proportional weights represent the same interpolant in exact arithmetic.
Keep signs and ordering together
The negative middle weight is not an error. Polynomial interpolation weights need not be probabilities or positive averaging coefficients. Discarding signs changes the construction. Likewise, sorting nodes without applying the same permutation to values and weights breaks the correspondence between each location and its data.
Store a node-value association explicitly. If the same nodes are used for several measured channels, verify the interpolation axis and array dimensions. A plausible-looking curve can result from transposed data, so shape checks are part of numerical verification rather than clerical housekeeping.
Generic direct weight construction requires products of many differences. For large node sets, their magnitudes can become extreme. Scaling coordinates and using an established implementation or structured-node formulas can help. A common rescaling of already valid weights is allowed; arbitrary independent rescaling of individual weights generally changes the represented function.
CHAPTER 4 OF 14 · Evaluation, polynomial identity and nodes
4. Evaluate a complete quadratic example
At a query x different from every node, evaluate p(x) as the sum of wᵢyᵢ/(x − xᵢ), divided by the sum of wᵢ/(x − xᵢ). Use the nodes −1, 0 and 2 with proportional weights 2, −3 and 1. Sample the function x², giving values 1, 0 and 4.
At x = 1, the three denominator terms are 2/2 = 1, −3/1 = −3, and 1/(−1) = −1. Their sum is −3. The numerator is 1 times 1, plus −3 times 0, plus −1 times 4, giving −3. The quotient is one, matching 1².
At x = 1/2, the denominator terms are 4/3, −6 and −2/3. Their sum is −16/3. The numerator is 4/3 + 0 − 8/3 = −4/3. Dividing gives 1/4, again matching the generating quadratic.
What has actually been checked?
The polynomial interpolant through these three quadratic samples must equal x² everywhere, because x² already belongs to the degree-two family and satisfies the conditions. The two calculations verify the evaluation arithmetic against an independent known answer. They do not estimate interpolation error for a general unknown function.
Now replace the values with 3, 5 and 9, sampled from 2x + 5. The same weights should reproduce that line. At x = 1, the numerator is 3 − 15 − 9 = −21, and division by −3 gives 7. The geometry stayed fixed while the data changed.
This reuse is especially useful when many time steps or output channels share the same sampling nodes. The official SciPy BarycentricInterpolator documentation describes an implementation that supports reusing weights and changing sampled values. Check the installed version’s interface before translating the mathematics into code.
CHAPTER 5 OF 14 · Evaluation, polynomial identity and nodes
5. Why a quotient can represent a polynomial
The barycentric expression looks rational because it is written as one sum divided by another. With the polynomial weights, however, its apparent denominator structure cancels algebraically. The resulting function is the unique interpolating polynomial, with suitable values defined at the nodes.
Let L(x) be the product of x − xⱼ over all nodes. Multiplying the numerator by L(x) removes each term’s factor x − xᵢ and produces the usual weighted Lagrange contributions. For the unscaled polynomial weights, the denominator sum equals 1/L(x) away from the nodes. With a common weight multiplier, the same identity acquires that multiplier.
For our three nodes, L(x) = (x + 1)x(x − 2). Using weights 2, −3 and 1, the denominator sum is 6/L(x). At x = 1, L(1) = −2, so 6/L(1) = −3, matching the direct denominator calculation.
The weights decide the family
Changing the relative weights generally destroys the polynomial identity. A quotient can still interpolate the supplied values at removable node limits while representing a genuinely rational function elsewhere. It may then have denominator zeros that require a different analysis.
The Rational Interpolation root explains those questions. The distinction is substantive: this article studies polynomial weights and polynomial behaviour, while rational methods select weights or numerator-denominator structures for a different approximation family.
Do not infer a physical pole from the large individual terms near a polynomial interpolation node. Those terms belong to the representation and cancel in the complete expression. Conversely, do not assume every denominator zero in a custom barycentric formula is harmless. Identify the mathematical family before deciding what cancellation is guaranteed.
CHAPTER 6 OF 14 · Evaluation, polynomial identity and nodes
6. At a node, return the corresponding value
If x equals xₖ, the direct quotient contains divisions by zero. The interpolant itself is well defined there: p(xₖ) = yₖ. An implementation should recognise the node and return the associated value rather than evaluating an undefined intermediate expression and hoping that cancellation will occur numerically.
This branch is not a mathematical shortcut that reduces accuracy. It implements the interpolation condition directly. The difficulty comes from representing a removable limit with separate infinite terms, not from any uncertainty about the value at the node.
Near a node, one can understand the limit by multiplying both numerator and denominator by x − xₖ. The dominant terms become wₖyₖ and wₖ. Every other term contains a factor x − xₖ and tends to zero. Their ratio therefore tends to yₖ, assuming the other nodes remain distinct.
Equality and tolerance are different decisions
An exact comparison with a stored node handles a query that is exactly that floating-point number. A broad proximity tolerance can instead snap a range of distinct queries to one data value. That may be a deliberate application choice, but it changes the evaluated function near the nodes and can flatten small-scale variation.
Test queries exactly at nodes and at representable values immediately around them. Compare against a known polynomial at several scales. Avoid judging relative error alone when the true value is near zero: a small absolute error divided by an almost-zero reference can create a misleadingly large ratio.
Repeated nodes need separate treatment before evaluation. If the same x appears with conflicting y values, no ordinary single-valued interpolating function can satisfy both. If repeated nodes are intended to specify derivatives, that is a Hermite-type problem requiring a suitable formulation. Silently perturbing duplicate coordinates invents a different dataset.
CHAPTER 7 OF 14 · Sensitivity, extrapolation and node choice
7. Cardinal functions expose sensitivity
Write the interpolant as p(x) = Σℓᵢ(x)yᵢ, where ℓᵢ are cardinal functions. At node xⱼ, ℓᵢ equals one if i = j and zero otherwise. Away from nodes, their signs and magnitudes reveal how perturbations in individual sampled values affect the result.
For nodes −1, 0 and 2, the cardinal functions are ℓ₀(x) = x(x − 2)/3, ℓ₁(x) = −(x + 1)(x − 2)/2, and ℓ₂(x) = x(x + 1)/6. Their sum is identically one. This guarantees reproduction of constants, but individual coefficients need not lie between zero and one.
At x = 1, the values are −1/3, 1 and 1/3. Their absolute values sum to 5/3. If every data-value error is bounded in magnitude by ε, the prediction error at this query is bounded by 5ε/3. Choosing error signs to match the cardinal-function signs attains that bound for this fixed point.
Interpolation is not always a convex average
The negative coefficient explains why an interpolating polynomial can exceed the range of its sampled values. A method can reproduce every observation and still overshoot between them. If positivity, monotonicity or a physical bound must be preserved, verify it explicitly or choose a method designed for that requirement.
The sum of absolute cardinal values is the local Lebesgue function. Its maximum over an interval measures a worst-case amplification bound for value perturbations on that interval. It concerns the interpolation problem itself; a stable evaluation routine cannot make that inherent amplification disappear.
As a diagnostic exercise, perturb just the first sample by 0.03. At x = 1, the result changes by −0.01 because ℓ₀(1) = −1/3. That exact prediction gives you a simple test of data ordering and linear dependence on y before considering larger numerical experiments.
CHAPTER 8 OF 14 · Sensitivity, extrapolation and node choice
8. Extrapolation changes the sensitivity calculation
Use the same three nodes, but query x = 3, outside their range. The cardinal functions become 1, −2 and 2. Their absolute sum is five, compared with 5/3 at x = 1. A common value-error bound can therefore produce three times the worst-case prediction error at this exterior point.
For the quadratic data, the predicted value is 1 − 2(0) + 2(4) = 9, which is exactly correct because the generating function is quadratic. Exactness on this carefully chosen test does not mean extrapolation is generally reliable. It only confirms polynomial reproduction.
Suppose the unknown target were x² + a(x + 1)x(x − 2), with any real coefficient a. The extra term vanishes at every sampled node, so the data would remain 1, 0 and 4. At x = 3, however, the true value would be 9 + 12a. The observations alone do not identify a.
A direct limit on what the data reveal
This construction also affects interior queries. At x = 1, the extra term equals −2a. The interpolation assumption selects a particular degree-limited description; it does not exclude all other functions consistent with the data. Independent knowledge about smoothness, function family or physical mechanism is therefore important.
Use the intended operating interval as an explicit model boundary. If queries outside it are possible, decide whether to reject them, flag them or apply a separately justified extrapolation model. Returning a finite number is not evidence that the number is supported.
For calibration work, collect checks near the ends as well as in the centre. A small average error over centrally concentrated queries may conceal poor edge performance. Report errors in the regions where the interpolant will actually be used rather than relying on one global summary alone.
CHAPTER 9 OF 14 · Sensitivity, extrapolation and node choice
9. Node placement controls the approximation problem
Uniformly spaced nodes are easy to describe, but increasing the degree of a global interpolant on such nodes can lead to severe oscillation for some smooth functions. Barycentric evaluation improves representation; it does not change that exact polynomial. Node placement and evaluation stability are separate decisions.
When you can choose sampling locations on [−1,1], one important family is xⱼ = cos(jπ/n), for j = 0 through n. These Chebyshev–Lobatto points include both endpoints and cluster toward them. For n = 4, they are 1, √2/2, 0, −√2/2 and −1.
Their proportional polynomial barycentric weights alternate in sign, with endpoint magnitudes half those of the interior weights: 1/2, −1, 1, −1, 1/2 for that ordering. The node ordering and sign convention must be kept consistent. A common overall sign change does not alter the quotient.
Sampling freedom is a real constraint
If your nodes are fixed measurement times, you cannot simply move them to a preferred grid without obtaining new information. Relabelling the original values as though they were sampled elsewhere changes the data. Alternatives include lower-degree local interpolation, splines or a suitable regression model, depending on the task.
When sampling an expensive deterministic function, you may have genuine control over the locations. Then compare node designs using independent evaluations and a stated cost budget. Adding nodes is useful when it reduces the relevant error; it is not a goal in itself.
The Berrut–Trefethen paper and SciPy documentation linked earlier discuss structured nodes and the distinction between arithmetic and interpolation difficulties. For your own work, verify the exact node formula: roots and endpoint-including extrema are different Chebyshev grids, with different weight formulas. Similar terminology does not make their arrays interchangeable.
CHAPTER 10 OF 14 · Derivatives, reuse and diagnostics
10. Derivatives are new outputs with new error concerns
An interpolating polynomial can be differentiated, but accurate values do not automatically imply accurate derivatives of the unknown target. Differentiation changes the sensitivity to data and may magnify uncertainty. Decide whether you need the derivative of the fitted polynomial or a reliable estimate of a physical derivative; those are related but different claims.
At distinct nodes, a polynomial differentiation matrix has off-diagonal entries Dᵢⱼ = wⱼ divided by wᵢ(xᵢ − xⱼ). Choose each diagonal entry as minus the sum of the other entries in its row. The resulting row sum is zero, ensuring that the derivative of a constant is zero.
For nodes −1, 0 and 2 with weights 2, −3 and 1, the row for the central node x = 0 is (−2/3, 1/2, 1/6). Applied to data (1,0,4), it gives −2/3 + 4/6 = 0, matching the derivative of x² at zero.
A noise calculation
Assume the three sampled values have independent zero-mean errors, each with variance σ². The derivative estimate’s error variance is σ² times the sum of the squared row entries: 4/9 + 1/4 + 1/36 = 13/18. Correlated observation errors require the more general expression DΣDᵀ for the relevant row and covariance matrix.
If the node coordinates are all scaled by a length factor h, derivative weights scale by 1/h and this noise variance scales by 1/h². Finer spacing can help approximation while amplifying observational noise in differentiation. Both effects belong in the error assessment.
The Differential Quadrature specialist guide develops derivative-weight matrices and their use in differential equations. Before assembling a solver, verify its derivative rows on constants, linear functions and low-degree polynomials with known answers.
CHAPTER 11 OF 14 · Derivatives, reuse and diagnostics
11. Reuse geometry carefully when data change
Because polynomial barycentric weights depend only on the nodes, changing y while keeping x fixed does not require recomputing the geometry. Suppose a simulation produces a field on the same nodes at each time step. One set of weights can support repeated interpolation of that evolving field.
For N nodes, a straightforward evaluation at one query uses O(N) terms after the weights are available. Evaluating M queries directly uses O(MN) arithmetic. Generic direct weight construction uses O(N²) work, although structured nodes and specialised algorithms can alter preparation costs.
These counts explain where reuse helps. If only the values change thousands of times, repeatedly rebuilding the same weights wastes work. If the nodes move, however, the old weights no longer describe the new polynomial interpolation problem. Reuse must follow the mathematical dependency, not just an unchanged array length.
Adding a node changes every old weight
With unscaled weights, adding a distinct node x_new changes each old weight to wᵢ/(xᵢ − x_new). The new weight is the reciprocal of the product of x_new − xᵢ over the old nodes. If the stored old weights have a common scale factor, the new weight must use that same scale.
For our unscaled weights 1/3, −1/2 and 1/6, adding x_new = 3 gives old weights −1/12, 1/6 and −1/6. The new weight is 1/[(3 + 1)3(3 − 2)] = 1/12. Multiplying all four by twelve gives −1, 2, −2 and 1.
Do not keep the first three weights unchanged and merely append the fourth. That would define a different barycentric expression. After an update, test all node values and polynomial reproduction again. Incremental construction is useful only if the updated representation remains internally consistent.
CHAPTER 12 OF 14 · Derivatives, reuse and diagnostics
12. Diagnose failures in an order that reveals the cause
Start with the inputs: finite coordinates, finite values, distinct nodes, correct units and matching ordering. Then inspect the weights for zero, infinite or invalid entries. Check exact-node evaluation before testing difficult queries. These small checks often reveal an implementation error more directly than a large plot.
Next use known polynomials of degree below the node count. Constants test the sum-to-one property, linear functions test first-degree reproduction, and a quadratic tests more of the construction. Evaluate at points not used as nodes so that a routine that merely returns stored values cannot pass the entire test.
Interpret the pattern of failure
- Failure at nodes suggests indexing, equality handling or inconsistent data associations.
- Failure on low-degree polynomials suggests incorrect weights or evaluation arithmetic.
- Good polynomial tests but poor target-function accuracy suggest an approximation or sampling issue.
- Strong changes after tiny value perturbations suggest sensitivity that should be compared with cardinal-function bounds.
- Problems only far outside the node interval suggest extrapolation and cancellation deserve separate attention.
Compare against an independent method on small examples, such as exact rational arithmetic or a directly derived low-degree polynomial. Agreement between two routines that share the same incorrectly ordered inputs does not independently verify the data meaning.
For a real target function, reserve additional evaluation points where possible. Report maximum error as well as an average if local spikes matter. Include edge regions and queries near nodes. If the target crosses zero, choose an absolute or mixed error measure instead of dividing every error by the target value.
Finally distinguish a reproducible result from an accurate one. Fixed software versions and saved inputs allow another person to repeat the calculation, but a repeated bias is still a bias. A useful record includes the node set, values, weight convention, interval, tests and the evidence used to judge the error acceptable.
A test that should reveal approximation error
Sample x³ on the three nodes −1, 0 and 2. The values are −1, 0 and 8. The interpolating quadratic is p(x) = x² + 2x: substitution verifies every node. At x = 1/2 it predicts 5/4, whereas the generating cubic equals 1/8. The error, prediction minus target, is 9/8. A correct implementation should display this error rather than somehow eliminate it.
The discrepancy has an exact explanation. The difference x³ − p(x) factors as (x + 1)x(x − 2), the node product. At the check point this product is −9/8. The test therefore distinguishes an evaluation bug from a deliberate limitation of the degree-two approximation space. It is particularly useful after a successful quadratic reproduction test, because it confirms that you are measuring the target error independently.
Adding the fourth sample at x = 3 allows a degree-three interpolant. For these exact cubic data it recovers x³ throughout the domain in exact arithmetic. That improvement follows from the generating function entering the approximation space. It is not evidence that adding one more node will eliminate error for an arbitrary measured function.
CHAPTER 13 OF 14 · Transfer and continue learning
13. Changed-context transfer: move the interval and preserve the meaning
Let a new coordinate be t = ax + b, with a nonzero. For N nodes, every difference tᵢ − tⱼ equals a(xᵢ − xⱼ). The unscaled barycentric weights therefore acquire a common factor a⁻⁽ᴺ⁻¹⁾. Since a common factor cancels in the quotient, proportional weights can be reused under this affine change when queries and nodes are transformed consistently.
Take the three original nodes −1, 0 and 2 and set t = 10x + 100. The transformed nodes are 90, 100 and 120. Each unscaled weight is divided by 100, but proportional weights 2, −3 and 1 remain usable. The query x = 1 becomes t = 110 and should still return the same field value one for the original quadratic samples.
Derivatives transform differently from values
The transformed function is g(t) = p((t − 100)/10). Its derivative is g′(t) = p′(x)/10. At t = 110, p′(1) = 2, so g′(110) = 0.2. Returning the derivative value 2 without converting coordinates would confuse derivatives with respect to different units.
If you change metres to millimetres, function values may remain unchanged while slopes per millimetre differ from slopes per metre by a factor of one thousand. A unit label is therefore part of the numerical result. Second derivatives require the square of the coordinate-scale factor.
An affine transformation can improve numerical scaling, but it cannot separate nodes that were already rounded to the same stored number. Nor does it remove the approximation difficulty caused by an unsuitable relative node arrangement. Transforming the coordinate system preserves the underlying interpolation geometry up to that affine map.
To demonstrate understanding, predict which quantities should change before running the transformed case: coordinates and derivative units change, while corresponding function values remain invariant. Then check both values and derivatives. A successful transfer test catches errors that ordinary node matching may miss.
CHAPTER 14 OF 14 · Transfer and continue learning
14. Questions, practice routes and a usable standard
Is barycentric interpolation a different answer from Lagrange interpolation?
With polynomial weights, the same distinct nodes and the same values, it represents the same polynomial in exact arithmetic. Its benefit lies in evaluation and reuse. If two implementations disagree substantially, investigate arithmetic, weight conventions and data associations before assuming that the formulas define different mathematical answers.
Does it remove the Runge phenomenon?
No. A better evaluation formula does not change the exact polynomial determined by the data. If the polynomial oscillates because of the degree and node arrangement, evaluate it more accurately and you obtain the same oscillation more accurately. Change the approximation strategy or sampling design when that is the actual problem.
Can I use arbitrary weights?
You can form a barycentric quotient with other weights, but it is not generally the polynomial interpolant. Rational methods intentionally exploit different choices. Their pole behaviour and guarantees must be assessed under their own assumptions. Do not label an arbitrary quotient a polynomial merely because it matches values at nodes.
Should I interpolate uncertain measurements exactly?
Only when exact reproduction is justified by the task. Interpolation passes observation error into the fitted function and can amplify it. Regression, smoothing or a physically constrained model may better match the information available. Compare their predictions with independent observations and account for measurement uncertainty.
What is a productive first implementation?
Use the three-node example in this guide. Verify the weights, both interior queries, exact-node returns, the constant and linear tests, the derivative row and the affine transformation. Then try a smooth non-polynomial function with additional check points. Increase complexity only after you can explain the source of the observed error.
The linked Lagrange guide provides the basic polynomial construction; Differential Quadrature extends it to derivative operators; Rational Interpolation explains what changes when the function family changes. The primary paper and official documentation provide further numerical details. The arithmetic examples here are constructed teaching cases with explicit assumptions, not experimental claims.
A dependable interpolation result states its nodes, values, domain, representation and error evidence. It distinguishes exact reproduction of the supplied samples from accuracy between them, and separates accurate evaluation from an appropriate model. That distinction makes barycentric interpolation useful far beyond a formula remembered for an examination.
