4.8.11 · D1Numerical Methods

Foundations — Error in polynomial interpolation

1,888 words9 min readBack to topic

This page assumes you know nothing yet. Before you can read the error formula you must own every single symbol in it. We build them one at a time, each one earning its place before the next appears. When you finish, go read Error in polynomial interpolation.


1. — the true function we don't fully know

The picture. Draw a smooth curve on graph paper. For every horizontal position , the curve has one height — that height is .

Why the topic needs it. Interpolation is about guessing this curve when we only know a few of its heights. Without a "true curve" there is nothing to be wrong about.


2. Nodes — the dots we actually know

The picture. On the same curve, stab a few dots. Each dot sits at a known horizontal position and a known height . Everything between the dots is unknown territory.

Why the topic needs it. These dots are the only hard facts we have. The whole error story is about the gaps between them.


3. Distinct — the dots must not stack

The picture. Two dots at the exact same horizontal spot would be one dot pretending to be two — you can't fit a single unique curve through that. Spread them out sideways.

Why the topic needs it. Distinctness is what guarantees there is exactly one polynomial of degree through the dots. See Lagrange Interpolation and Newton Divided Differences for the two standard ways to build that polynomial.


4. Polynomial and "degree"

The picture. Degree is a flat horizontal line. Degree is a straight slanted line. Degree is a single U-shaped bend (a parabola). Higher degree more allowed wiggles.

Why the topic needs it. is our guess: the unique polynomial of degree that passes through all dots. The error compares this guess to the truth.


5. — the error, "truth minus guess"

The picture. At each , draw a vertical stick from the guess curve up (or down) to the true curve. The length-with-sign of that stick is . At every node the two curves touch, so the stick has zero length: .

Why the topic needs it. This is the quantity the whole parent page measures. Everything else exists to describe the shape of these vertical sticks.


6. The product — distance from the dots

Read as a signed distance. If is far from node , then is big in size; if is the node, .

The picture. is itself a polynomial that dips to zero at each dot and bulges in the gaps. In each gap it makes a hump; the biggest humps live near the ends of the interval.

Why the topic needs it. is the "how far from the dots" knob you control by choosing where to place nodes — the reason Chebyshev Nodes beat evenly spaced nodes and dodge the Runge Phenomenon.


7. Derivatives , , and — measuring twistiness

Why we suddenly need derivatives here. The straighter the true curve, the easier it is to guess between dots; the more it bends, the more it can sneak away from our polynomial between the dots. "Bending" is exactly what higher derivatives measure — that is why a derivative, and not some other tool, shows up in the error.

Why the -th derivative specifically? With dots, our guess already matches the truth in " pieces of information." The first thing it cannot control is the -th derivative — so that is precisely the leftover twistiness that leaks into the error. This mirrors Taylor's Theorem with Remainder, where the leftover term also uses the next derivative.


8. — the mystery sample point

The picture. Somewhere between the leftmost and rightmost dots there is a hidden spot whose bending value makes the formula come out exactly right. It hides at a different place for each test point , so really .

Why the topic needs it — and where it comes from. This existence guarantee is handed to us by Rolle's Theorem (the special case of the Mean Value Theorem where the endpoints have equal height). Rolle says: between two points of equal height, the slope is zero somewhere — but never says exactly where. That "somewhere" is our .


9. Factorial — the softening denominator

The picture. A staircase that gets steep fast: It grows quicker than any fixed power.

Why the topic needs it. In the error formula sits in the denominator, shrinking the error. It appears naturally in the derivation: differentiating the top power of exactly times spits out . Miss it and your bound is wildly wrong.


10. — the smoothness ticket

The picture. A curve you could draw without lifting the pen, with no sharp corners even after bending it many times over.

Why the topic needs it. The error formula secretly differentiates times. If those derivatives didn't exist or jumped around, the whole argument collapses. is the fine print that lets the machinery run.


How these feed the topic

function f

error E equals f minus p

nodes distinct

polynomial guess p

node product omega

derivatives

twistiness f n plus 1

Rolle theorem

mystery point xi

error formula

factorial n plus 1

smoothness class

Read it top to bottom: the true function and its known dots build the guess and the error; distances give ; derivatives give twistiness; Rolle gives ; the factorial and smoothness ticket finish the formula.


Equipment checklist

Cover the right side and answer each before revealing.

What does mean in one sentence?
A machine that turns each input into exactly one output height — the true curve we only partly know.
What are the nodes ?
The input positions where we actually know the true height.
Why must the nodes be distinct?
So that exactly one polynomial of degree passes through them.
What is and what is its degree?
Our polynomial guess through all the dots; degree at most .
Define the error .
, the signed vertical gap between truth and guess.
What does compute?
The product of signed distances from to every node — the node polynomial .
Where is equal to zero?
At every node .
What does mean, and why the parentheses?
The function differentiated times; parentheses signal a derivative count, not a power.
Why does a derivative appear in an error about guessing?
Because derivatives measure bending, and bending between dots is exactly what makes the guess drift.
What is and what do we know about it?
A hidden sample point inside that exists (by Rolle) but whose location we are not told.
Compute .
.
What does guarantee?
can be differentiated times on with a continuous -th derivative.

When every reveal is instant, go read Error in polynomial interpolation.