In Polynomial Interpolation, we established how to construct a unique polynomial Pn∈PnP_n \in P_n passing through n+1n+1 distinct sample points (xi,yi)(x_i, y_i).

By definition, the interpolation error vanishes at the nodes:

E(xi)=f(xi)−Pn(xi)=0,i=0,1,…,n.E(x_i) = f(x_i) - P_n(x_i) = 0, \quad i = 0, 1, \dots, n.

Yet the fundamental challenge of scientific computation lies between the nodes. When we interpolate a physical system, the model must stay accurate across the continuous domain, rather than just at isolated sample points.

Does increasing the number of sample points guarantee that the polynomial converges to the underlying function?

Surprisingly, the answer is no. For equally spaced sample points, increasing the polynomial degree often triggers severe boundary oscillations, known as the Runge phenomenon.

This note develops the analytical foundations of interpolation error [1][1] R. L. Burden and J. D. Faires, Numerical Analysis, 9th ed. Brooks/Cole, Cengage Learning, 2011., [2][2] M. U. School of Mathematics, “MTH2051: Introduction to Computational Mathematics: Course Lecture Notes and Study Workbooks,” 2026. Monash University course materials and study workbooks, Semester 2, 2026.:

  1. Rolle's Theorem Foundations: Moving from ordinary Rolle to generalised Rolle for multiple zeros;
  2. The Interpolation Error Formula: Deriving Cauchy's remainder formula via generalised Rolle;
  3. Decoupling Error Mechanisms: Separating function roughness f(n+1)(ξ)f^{(n+1)}(\xi) from nodal geometry ∏(x−xi)\prod (x - x_i);
  4. The Runge Breakdown: Analyzing why equidistant nodes destabilize high-degree global polynomials;
  5. Chebyshev Node Optimization: Exploiting the minimax property of Chebyshev polynomials to tame boundary oscillations.

Foundations: Rolle's theorem

The derivation of the interpolation error formula rests on repeated applications of Rolle's theorem.

TheoremOrdinary Rolle's theorem

Let u<vu < v. If gg is continuous on [u,v][u, v], differentiable on (u,v)(u, v), and satisfies g(u)=g(v)g(u) = g(v), then there exists some point c∈(u,v)c \in (u, v) such that

g′(c)=0.g'(c) = 0.
Proof

By the Extreme Value Theorem, the continuous function gg attains its global minimum mm and maximum MM on the compact interval [u,v][u, v].

Let L=g(u)=g(v)L = g(u) = g(v).

  • If M=m=LM = m = L, then gg is constant on [u,v][u, v], so g′(x)=0g'(x) = 0 for all x∈(u,v)x \in (u, v).
  • If M>LM > L, gg attains its maximum at some interior point c∈(u,v)c \in (u, v). By Fermat's theorem on local extrema, difference quotients from the left are non-negative and from the right are non-positive. Because gg is differentiable at cc, these one-sided limits coincide, proving g′(c)=0g'(c) = 0.
  • If m<Lm < L, the identical argument applied to the interior minimum yields g′(c)=0g'(c) = 0.
TheoremGeneralised Rolle's theorem

Let g∈Cn+1([a,b])g \in C^{n+1}([a, b]) and suppose that gg has at least n+2n+2 pairwise distinct zeros in [a,b][a, b]. Then there exists some point ξ∈(a,b)\xi \in (a, b) such that

g(n+1)(ξ)=0.g^{(n+1)}(\xi) = 0.
Proof

We proceed by induction on nn.

Base case (n=0n = 0): A function with 22 distinct zeros satisfies ordinary Rolle's theorem, guaranteeing a point where g′(c)=0g'(c) = 0.

Inductive step: Assume the statement holds for n−1n - 1. Let g∈Cn+1([a,b])g \in C^{n+1}([a, b]) have n+2n+2 distinct zeros:

z0<z1<⋯<zn+1.z_0 < z_1 < \dots < z_{n+1}.

Applying ordinary Rolle's theorem to each adjacent pair [zi,zi+1][z_i, z_{i+1}] for i=0,…,ni = 0, \dots, n produces n+1n+1 distinct points w0<w1<⋯<wnw_0 < w_1 < \dots < w_n satisfying

g′(wi)=0,wi∈(zi,zi+1).g'(w_i) = 0, \quad w_i \in (z_i, z_{i+1}).

Thus the derivative g′g' belongs to Cn([a,b])C^n([a, b]) and possesses n+1n+1 distinct zeros. By the induction hypothesis applied to g′g', there exists ξ∈(w0,wn)⊂(a,b)\xi \in (w_0, w_n) \subset (a, b) such that (g′)(n)(ξ)=g(n+1)(ξ)=0(g')^{(n)}(\xi) = g^{(n+1)}(\xi) = 0.

The interpolation error formula

TheoremCauchy-type interpolation error formula

Let f∈Cn+1([a,b])f \in C^{n+1}([a, b]) and let Pn∈PnP_n \in P_n interpolate ff at n+1n+1 distinct nodes a≤x0<x1<⋯<xn≤ba \le x_0 < x_1 < \dots < x_n \le b. For each fixed evaluation point x∈[a,b]x \in [a, b], there exists some intermediate point ξx∈(a,b)\xi_x \in (a, b) such that

f(x)−Pn(x)=f(n+1)(ξx)(n+1)!∏i=0n(x−xi).f(x) - P_n(x) = \frac{f^{(n+1)}(\xi_x)}{(n+1)!} \prod_{i=0}^n (x - x_i).
Proof

If xx is one of the nodes xix_i, then f(xi)−Pn(xi)=0f(x_i) - P_n(x_i) = 0 and the product ∏i=0n(xi−xi)=0\prod_{i=0}^n (x_i - x_i) = 0, so the identity holds trivially for any choice of ξx∈(a,b)\xi_x \in (a, b).

Now fix an arbitrary evaluation point x∈[a,b]x \in [a, b] with x≠xix \neq x_i for all ii. Define the error at xx as E(x)=f(x)−Pn(x)E(x) = f(x) - P_n(x), the nodal polynomial as

ωn+1(t)=∏j=0n(t−xj),\omega_{n+1}(t) = \prod_{j=0}^n (t - x_j),

and the auxiliary function of a variable t∈[a,b]t \in [a, b]:

G(t)=f(t)−Pn(t)−E(x)ωn+1(x)ωn+1(t).G(t) = f(t) - P_n(t) - \frac{E(x)}{\omega_{n+1}(x)} \omega_{n+1}(t).

Observe the roots of G(t)G(t):

  1. For every node xix_i (i=0,1,…,ni = 0, 1, \dots, n):
G(xi)=f(xi)−Pn(xi)−E(x)ωn+1(x)ωn+1(xi)=0−0=0.G(x_i) = f(x_i) - P_n(x_i) - \frac{E(x)}{\omega_{n+1}(x)} \omega_{n+1}(x_i) = 0 - 0 = 0.
  1. At the evaluation point t=xt = x:
G(x)=E(x)−E(x)ωn+1(x)ωn+1(x)=E(x)−E(x)=0.G(x) = E(x) - \frac{E(x)}{\omega_{n+1}(x)} \omega_{n+1}(x) = E(x) - E(x) = 0.

Because xx is distinct from all xix_i, the function G(t)G(t) has at least n+2n+2 pairwise distinct zeros in [a,b][a, b]. Furthermore, G∈Cn+1([a,b])G \in C^{n+1}([a, b]) because f∈Cn+1f \in C^{n+1} and both PnP_n and ωn+1\omega_{n+1} are polynomials.

By the generalised Rolle's theorem, there exists some ξx∈(a,b)\xi_x \in (a, b) such that

G(n+1)(ξx)=0.G^{(n+1)}(\xi_x) = 0.

We now differentiate G(t)G(t) exactly n+1n+1 times with respect to tt:

  • Since PnP_n is a polynomial of degree at most nn, its (n+1)(n+1)-st derivative vanishes identically: Pn(n+1)(t)≡0P_n^{(n+1)}(t) \equiv 0.
  • The nodal polynomial ωn+1(t)=tn+1+O(tn)\omega_{n+1}(t) = t^{n+1} + \mathcal{O}(t^n) is monic of degree n+1n+1, so its (n+1)(n+1)-st derivative is the constant (n+1)!(n+1)!.

Evaluating G(n+1)G^{(n+1)} at ξx\xi_x:

G(n+1)(ξx)=f(n+1)(ξx)−0−E(x)ωn+1(x)(n+1)!=0.G^{(n+1)}(\xi_x) = f^{(n+1)}(\xi_x) - 0 - \frac{E(x)}{\omega_{n+1}(x)} (n+1)! = 0.

Solving for E(x)=f(x)−Pn(x)E(x) = f(x) - P_n(x) yields:

f(x)−Pn(x)=f(n+1)(ξx)(n+1)!ωn+1(x)=f(n+1)(ξx)(n+1)!∏i=0n(x−xi).f(x) - P_n(x) = \frac{f^{(n+1)}(\xi_x)}{(n+1)!} \omega_{n+1}(x) = \frac{f^{(n+1)}(\xi_x)}{(n+1)!} \prod_{i=0}^n (x - x_i).

Decoupling the error mechanisms

The error formula reveals that the interpolation error decouples cleanly into two entirely independent mathematical factors:

∣f(x)−Pn(x)∣≤max⁡t∈[a,b]∣f(n+1)(t)∣(n+1)!⏟Analytical Roughness Factor⋅∏i=0n∣x−xi∣⏟Geometric Nodal Factor.|f(x) - P_n(x)| \le \underbrace{\frac{\max_{t \in [a,b]} |f^{(n+1)}(t)|}{(n+1)!}}_{\text{Analytical Roughness Factor}} \cdot \underbrace{\prod_{i=0}^n |x - x_i|}_{\text{Geometric Nodal Factor}}.
  1. Analytical Roughness Factor: Depends strictly on the higher-order derivatives of ff. It measures how rapidly the true function curves or bends.
  2. Geometric Nodal Factor:
ωn+1(x)=∏i=0n(x−xi).\omega_{n+1}(x) = \prod_{i=0}^n (x - x_i).

This term is completely independent of ff. It is governed entirely by how the sample nodes x0,…,xnx_0, \dots, x_n are positioned across [a,b][a, b].

This structural decomposition explains why polynomial interpolation can fail, and how to fix it: while we cannot alter the derivatives of ff, we have complete freedom over the placement of the nodes.

The Runge phenomenon

The most natural choice for sampling data is equidistant spacing:

xi=a+i⋅b−an,i=0,1,…,n.x_i = a + i \cdot \frac{b - a}{n}, \quad i = 0, 1, \dots, n.

In 1901, Carl Runge discovered that this seemingly natural choice can cause catastrophic divergence for smooth, well-behaved functions.

DefinitionRunge phenomenon

The Runge phenomenon refers to the divergence and explosive boundary oscillation that occurs when high-degree global polynomial interpolants are constructed on equally spaced nodes.

Runge's canonical counterexample is the bell-shaped function on [−1,1][-1, 1]:

f(x)=11+25x2.f(x) = \frac{1}{1 + 25x^2}.

Although ff is infinitely differentiable on the real axis, the interpolating polynomials Pn(x)P_n(x) constructed on uniform grids do not converge to f(x)f(x) as n→∞n \to \infty. Instead, as nn grows, Pn(x)P_n(x) develops wild, growing oscillations near the boundaries x=±1x = \pm 1, with the maximum error growing exponentially:

lim⁡n→∞max⁡x∈[−1,1]∣f(x)−Pn(x)∣=∞.\lim_{n \to \infty} \max_{x \in [-1, 1]} |f(x) - P_n(x)| = \infty.

This interactive figure needs JavaScript.

Why does this happen? The error formula provides the mathematical explanation:

  • On an equidistant grid, the nodal product ωn+1(x)=∏i=0n(x−xi)\omega_{n+1}(x) = \prod_{i=0}^n (x - x_i) is small near the center x≈0x \approx 0, but surges dramatically as xx approaches the endpoints ±1\pm 1.
  • Simultaneously, although f(x)=1/(1+25x2)f(x) = 1/(1+25x^2) is smooth on R\mathbb{R}, in the complex plane it has poles at z=±0.2iz = \pm 0.2 i. By Cauchy's integral formula, its derivatives grow at the rate ∣f(n+1)(ξ)∣∼(n+1)!⋅5n+1|f^{(n+1)}(\xi)| \sim (n+1)! \cdot 5^{n+1}.
  • When combined with the boundary surge of ωn+1(x)\omega_{n+1}(x), the error blows up exponentially.

Interpolation at nodes and between nodes. Both polynomials interpolate the chosen nodes, but Chebyshev nodes reduce the endpoint oscillations in this Runge example.

Interpolation at nodes and between nodes. Both polynomials interpolate the chosen nodes, but Chebyshev nodes reduce the endpoint oscillations in this Runge example.

Chebyshev node optimization

Since the geometric factor ωn+1(x)=∏i=0n(x−xi)\omega_{n+1}(x) = \prod_{i=0}^n (x - x_i) governs the spatial distribution of the error, can we choose the nodes x0,…,xnx_0, \dots, x_n to minimize its maximum absolute value across the interval?

Mathematically, on [−1,1][-1, 1], we seek:

min⁡x0,…,xn∈[−1,1]max⁡x∈[−1,1]∣∏i=0n(x−xi)∣.\min_{x_0, \dots, x_n \in [-1, 1]} \max_{x \in [-1, 1]} \left| \prod_{i=0}^n (x - x_i) \right|.

This optimal minimax problem is solved uniquely by Chebyshev nodes [1][1] R. L. Burden and J. D. Faires, Numerical Analysis, 9th ed. Brooks/Cole, Cengage Learning, 2011.:

DefinitionChebyshev polynomials

For x∈[−1,1]x \in [-1, 1], the Chebyshev polynomial of the first kind of degree kk is defined by

Tk(x)=cos⁡(karccos⁡x),k=0,1,2,…T_k(x) = \cos(k \arccos x), \quad k = 0, 1, 2, \dots

Using the trigonometric identity cos⁡((k+1)θ)+cos⁡((k−1)θ)=2cos⁡θcos⁡(kθ)\cos((k+1)\theta) + \cos((k-1)\theta) = 2 \cos\theta \cos(k\theta) with θ=arccos⁡x\theta = \arccos x, Chebyshev polynomials satisfy the three-term recurrence:

T0(x)=1,T1(x)=x,Tk+1(x)=2xTk(x)−Tk−1(x).T_0(x) = 1, \quad T_1(x) = x, \quad T_{k+1}(x) = 2x T_k(x) - T_{k-1}(x).

Notice that the leading coefficient of Tn+1(x)T_{n+1}(x) is 2n2^n for n≥0n \ge 0.

DefinitionChebyshev nodes

The Chebyshev nodes of degree n+1n+1 are the n+1n+1 roots of the Chebyshev polynomial Tn+1(x)T_{n+1}(x) on [−1,1][-1, 1]:

xk=cos⁡(2k+12(n+1)π),k=0,1,…,n.x_k = \cos\left( \frac{2k + 1}{2(n + 1)} \pi \right), \quad k = 0, 1, \dots, n.
TheoremMinimax property of Chebyshev nodes

Among all monic polynomials of degree n+1n+1 on [−1,1][-1, 1], the scaled Chebyshev polynomial

T~n+1(x)=12nTn+1(x)=∏k=0n(x−xk)\tilde{T}_{n+1}(x) = \frac{1}{2^n} T_{n+1}(x) = \prod_{k=0}^n (x - x_k)

uniquely minimizes the maximum absolute value on [−1,1][-1, 1]:

max⁡x∈[−1,1]∣∏k=0n(x−xk)∣=12n.\max_{x \in [-1, 1]} \left| \prod_{k=0}^n (x - x_k) \right| = \frac{1}{2^n}.
Proof

First observe that ∣Tn+1(x)∣=∣cos⁡((n+1)θ)∣≤1|T_{n+1}(x)| = |\cos((n+1)\theta)| \le 1 for all x∈[−1,1]x \in [-1, 1]. Because the leading coefficient of Tn+1T_{n+1} is 2n2^n, the monic polynomial T~n+1(x)=2−nTn+1(x)\tilde{T}_{n+1}(x) = 2^{-n} T_{n+1}(x) satisfies

max⁡x∈[−1,1]∣T~n+1(x)∣=12n.\max_{x \in [-1, 1]} |\tilde{T}_{n+1}(x)| = \frac{1}{2^n}.

Moreover, T~n+1(x)\tilde{T}_{n+1}(x) achieves its extreme values ±2−n\pm 2^{-n} with alternating signs at the n+2n+2 Chebyshev extreme points tj=cos⁡(jπn+1)t_j = \cos\left(\frac{j \pi}{n+1}\right) (j=0,1,…,n+1j = 0, 1, \dots, n+1).

Suppose there exists another monic polynomial q∈Pn+1q \in P_{n+1} such that max⁡x∈[−1,1]∣q(x)∣<2−n\max_{x \in [-1, 1]} |q(x)| < 2^{-n}. Consider the difference polynomial:

d(x)=T~n+1(x)−q(x).d(x) = \tilde{T}_{n+1}(x) - q(x).

Because both T~n+1\tilde{T}_{n+1} and qq are monic polynomials of degree n+1n+1, their leading terms cancel, so deg⁡(d)≤n\deg(d) \le n.

Now evaluate d(x)d(x) at the n+2n+2 points tjt_j:

  • When T~n+1(tj)=2−n\tilde{T}_{n+1}(t_j) = 2^{-n}, we have d(tj)=2−n−q(tj)>0d(t_j) = 2^{-n} - q(t_j) > 0 because ∣q(tj)∣<2−n|q(t_j)| < 2^{-n}.
  • When T~n+1(tj)=−2−n\tilde{T}_{n+1}(t_j) = -2^{-n}, we have d(tj)=−2−n−q(tj)<0d(t_j) = -2^{-n} - q(t_j) < 0.

Hence d(x)d(x) alternates signs across the n+2n+2 points t0,t1,…,tn+1t_0, t_1, \dots, t_{n+1}. By the Intermediate Value Theorem, d(x)d(x) must possess at least n+1n+1 distinct roots in [−1,1][-1, 1].

A non-zero polynomial of degree at most nn cannot have n+1n+1 distinct roots. Therefore d(x)≡0d(x) \equiv 0, establishing that no monic polynomial can achieve a smaller maximum magnitude.

Geometric intuition: the semicircle projection

Why do Chebyshev nodes resolve the Runge boundary oscillation?

Consider placing n+1n+1 points uniformly on the upper half of the unit circle, with angles θk=2k+12(n+1)π\theta_k = \frac{2k+1}{2(n+1)} \pi. Projecting these points vertically onto the horizontal diameter [−1,1][-1, 1] yields the Chebyshev nodes xk=cos⁡θkx_k = \cos\theta_k.

Because the circle curves down toward the horizontal axis near θ≈0\theta \approx 0 and θ≈π\theta \approx \pi, the projected nodes are naturally clustered more densely near the endpoints ±1\pm 1 and spaced more sparsely in the interior.

This edge clustering places extra constraints precisely where the nodal product ωn+1(x)\omega_{n+1}(x) previously surged, pinning down the polynomial and suppressing boundary oscillations.

For an arbitrary interval [a,b][a, b], the Chebyshev nodes are mapped by an affine transformation:

x~k=a+b2+b−a2cos⁡(2k+12(n+1)π),k=0,1,…,n.\tilde{x}_k = \frac{a + b}{2} + \frac{b - a}{2} \cos\left( \frac{2k + 1}{2(n + 1)} \pi \right), \quad k = 0, 1, \dots, n.

The frontier of interpolation

Chebyshev nodes provide the optimal global solution when we are free to select sample locations.

However, in many real-world applications, two major challenges remain:

  1. Derivative data: What if our sensors measure both function values and velocities or slopes f′(xi)f'(x_i)? How do we build polynomials matching values and derivatives simultaneously? This leads to Hermite Interpolation.
  2. Arbitrary fixed data and local control: What if we cannot choose where points are sampled, or what if we want local edits without perturbing the entire curve? Global polynomials are fundamentally stiff: moving a single point alters the entire function across the domain. Resolving this requires partitioning the interval into low-degree polynomial pieces, leading to Spline Interpolation.

References

  1. [1] R. L. Burden and J. D. Faires, Numerical Analysis, 9th ed. Brooks/Cole, Cengage Learning, 2011. a b
  2. [2] M. U. School of Mathematics, “MTH2051: Introduction to Computational Mathematics: Course Lecture Notes and Study Workbooks,” 2026. Monash University course materials and study workbooks, Semester 2, 2026. ↩