4.8.11 · D5Numerical Methods
Question bank — Error in polynomial interpolation

The two panels above show the two independent knobs. On the left, the node polynomial : it is pinned to zero at each node and swings widest between nodes — especially near the endpoints for equal spacing. On the right, why moving nodes toward the ends (Chebyshev nodes) flattens those swings.

And the classic failure to keep in mind: raising the degree with equally spaced nodes makes the true error grow near the endpoints — the Runge phenomenon — even though the function is perfectly smooth.
True or false — justify
TRUE / FALSE — At every node , the interpolation error is exactly zero.
True. By construction , so ; equivalently because the factor vanishes there.
TRUE / FALSE — Between two adjacent nodes the error must also be zero somewhere.
False in general. The error is guaranteed zero at the nodes but is typically nonzero throughout the open interval between them — that "guessing gap" is the whole reason the topic exists.
TRUE / FALSE — Adding one more node always shrinks the maximum error.
False. Adding a node raises to , so there are now nodes and the error term uses one order higher derivative, times the new (each extra node contributes an extra factor and an extra required derivative). If grows faster than the factorial (and blows up at the ends, as for equally spaced nodes), the bound and the true error can grow — this is the Runge phenomenon.
TRUE / FALSE — The factor guarantees the error goes to zero as .
False. The factorial alone does not decide the limit; it fights against , which can grow super-factorially, and against . Convergence depends on all three factors together, not on the factorial in isolation.
TRUE / FALSE — For a polynomial of degree , the interpolation error is identically zero.
True. Then , so the whole error term vanishes for every ; equivalently is because the interpolating polynomial of degree through points is unique.
TRUE / FALSE — The single point in the formula is the same for every .
False. moves as moves; the theorem only promises that for each some works. Treating it as one fixed number is a classic error.
TRUE / FALSE — The error formula requires to have continuous derivatives.
True. The hypothesis is ; the derivation differentiates the helper function times via Rolle, so must exist and be continuous for the argument to land.
TRUE / FALSE — Choosing better nodes can reduce the factor.
False. The derivative belongs to the function itself and is untouched by node placement; you only control through where you sample. Node choice fixes the "distance from data" knob, never the "twistiness" knob.
TRUE / FALSE — Equally spaced nodes minimise over .
False. They actually make blow up near the endpoints; the placement that minimises clusters points toward the ends — the Chebyshev nodes.
TRUE / FALSE — Interpolation error and Taylor's remainder are unrelated results.
False. They share the identical factor; Taylor uses one node repeated times , interpolation spreads the same degree across distinct nodes . Interpolation is "Taylor with derivatives traded for data."
Spot the error
WRONG: "." What is missing?
The denominator. The Rolle differentiations turn into , and that constant lands in the denominator — dropping it overstates the error by a factor of .
WRONG: "Since at nodes, the polynomial equals everywhere, so error is always zero." Where's the flaw?
Matching at finitely many points does not force agreement between them. is only pinned to zero at the nodes; the free "wiggle" is exactly what measures the disagreement off the nodes.
WRONG: "I'll compute by solving and plug it in for an exact error." What's wrong operationally?
The theorem is an existence statement; is generally not computable in closed form and depends on . In practice you replace by , the largest magnitude of the -th derivative over the domain, to get a usable bound, not an exact value.
WRONG: "For linear interpolation the worst error sits at a node." Correct it.
For , is a downward parabola with roots at the nodes, so is largest at the midpoint, giving and . The nodes are where error is smallest (zero), not largest.
WRONG: "The formula needs inside specifically." Fix the interval.
is only guaranteed to lie between and — the smallest interval containing the evaluation point and every node. If sits outside the outermost nodes (extrapolation), can lie beyond too.
WRONG: " depends on , so it changes across the interval." Correct it.
, and the -th derivative of a degree- polynomial is the constant . All the lower-degree terms differentiate away, so is a pure constant.
Why questions
WHY does the derivation invent the auxiliary , and what is the constant ?
is chosen to make vanish at one extra chosen point (the fixed evaluation point where we want the error): set , i.e. is the unknown error-per-unit- we are trying to identify. With that choice has known zeros (the nodes plus ), exactly what Rolle needs to be applied times — a lever alone doesn't give you.
WHY do we use a new symbol (bar-x) rather than the page's ?
is one frozen evaluation point held fixed while the auxiliary function runs over a free variable ; keeping the names separate stops us confusing "the place we are measuring the error" () with "the running variable Rolle chases zeros in" (). Once is pinned we rename back to .
WHY does applying Rolle times produce precisely and not some other derivative order?
Each Rolle step reduces the guaranteed zero count by one, so starting from zeros you can differentiate exactly times before you are down to a single guaranteed zero ; that final order matches the number of nodes-plus-one and pins the factor.
WHY does appear in the derivation, and what does it accomplish?
A polynomial of degree has zero -th derivative, so silently drops out of , leaving only — which is what lets us solve cleanly for .
WHY do "wiggly" functions interpolate badly even with many nodes?
Wiggliness means large high-order derivatives , and that factor multiplies the whole error; no amount of clever node placement touches it, so the roller-coaster function fights every polynomial fit.
WHY do Chebyshev nodes beat equally spaced nodes for the worst-case error?
They are chosen to minimise , flattening the node polynomial's peaks (which for equal spacing spike near the endpoints), so the one factor you can control is made as small as possible.
WHY is the error for equally spaced nodes with spacing ?
The node polynomial is a product of factors each of size , so ; multiplied by the bounded derivative factor, the error scales like .
WHY can't we simply keep raising the degree to reach any accuracy we like?
Because increasing can inflate both and (for equal spacing) faster than suppresses them, producing divergence near the endpoints — the Runge warning that piecewise/spline methods sidestep.
Sign of the error
WHY is the sign of the error at a given , not just its size, worth thinking about?
Because is a product, so its sign is (sign of ) (sign of ); knowing whether over- or under-shoots often matters as much as the magnitude.
SIGN: For linear interpolation () of a convex function (), does the line lie above or below between the nodes?
Below. Between the two nodes and , so , meaning : the chord sits above the convex curve, exactly the picture of a chord over a bowl.
SIGN: How does behave as crosses a node?
Each factor flips sign as passes , so alternates sign in successive between-node intervals; the error therefore tends to swing over-then-under-then-over as you sweep across the nodes.
SIGN: If keeps a constant sign on , what can you say about where over- and under-estimates ?
The over/under pattern is then dictated entirely by 's alternating sign, so crosses near each node in a predictable ripple — useful for guessing the shape of the error curve without computing it.
Edge cases
EDGE: What is the error when the evaluation point coincides with a node?
It is exactly zero, because there; the derivation's construction of explicitly sets this trivial case aside and handles only non-nodes.
EDGE: What happens to the formula if two nodes are allowed to merge, ?
The distinct-node hypothesis breaks; in the limit the repeated node forces to match a derivative too (Hermite interpolation), and gains a squared factor — the interpolation picture bends toward Taylor.
EDGE: Is the error formula valid when lies outside the node interval (extrapolation)?
The formula still holds with between and , but grows very fast beyond the outermost nodes, so the bound explodes — extrapolation is where interpolation error is least trustworthy.
EDGE: What does the error term say when is a constant function?
Every derivative , so for all and any node set — a constant is fit perfectly by even a single node, matching intuition.
EDGE: With only one node (, so is a constant), what is the error term?
It becomes , which is exactly the Mean Value Theorem statement — the interpolation error is the MVT, the base case the whole formula generalises.
EDGE: If changes sign on , does the bound still hold?
Yes; the bound uses , the largest magnitude regardless of sign, so sign changes only make the true error smaller than the bound, never larger.
EDGE: Does the error formula apply to the connected topic of numerical integration error?
Yes — integrating the interpolation error term over the interval is precisely how quadrature error formulas (e.g. trapezoid's , Simpson's ) are derived, inheriting the same -and- structure.
Recall One-line survival summary
Error = (twistiness ) (distance-from-data ) (softening factorial). You control only ; merely exists and moves with ; the sign comes from times ; more nodes is not always better.