advanced28 min studyLesson 313 in Mathematics

Chebyshev nodes and interpolation stability

Use endpoint-clustered nodes to control the interpolation product while keeping derivative error bounds separate from data conditioning.

On this page

What you’ll understand

  • Distinguish Chebyshev roots from extrema nodes.
  • Derive the nodal-product bound for root nodes.
  • Compare interpolation error, data conditioning, and numerical evaluation stability.

A unique interpolating polynomial can be mathematically well defined and still be a poor approximation or a sensitive way to use data. Node placement affects both questions. Chebyshev grids concentrate points near interval endpoints, where high-degree polynomials can change rapidly. Their usefulness follows from exact extremal structure, not from a rule that all nonuniform grids are automatically safe.

Two related node families

For degree-at-most-n interpolation on [−1,1][-1,1], use n+1 distinct nodes. The roots of Tn+1T_{n+1} are cosines of equally spaced half-offset angles; none is an endpoint. Another common grid uses extrema of TnT_n, including both endpoints when n≥1n\ge1. The names first-kind and second-kind points sometimes track these conventions, so writing the formula is safer than relying only on a label. Both families cluster near the interval ends rather than remaining equally spaced in x.

The identity Tk(cos⁡θ)=cos⁡(kθ)T_k(\cos\theta)=\cos(k\theta) converts a regular angular grid into a nonuniform spatial grid. Close to zero angle, cosine changes quadratically, which explains the endpoint clustering. An affine transformation carries either family to a different finite interval. This is a design decision about where information is collected; changing the nodes after measurements have already been made is generally not free and may require a different approximation method for the available data.

xj=cos⁡ ⁣((2j+1)π2(n+1)),j=0,…,n;x^j=cos⁡ ⁣(jπn)(n≥1)x_j=\cos\!\left(\frac{(2j+1)\pi}{2(n+1)}\right),\quad j=0,\ldots,n;\qquad \widehat x_j=\cos\!\left(\frac{j\pi}{n}\right)\quad(n\ge1)
The first formula gives n+1 roots of Tₙ₊₁; the second gives n+1 extrema of Tₙ, with endpoints included.↔ Scroll wide equations horizontally.

The nodal product controls one error estimate

For f∈Cn+1([−1,1])f\in C^{n+1}([-1,1]), the degree-at-most-n interpolant has the familiar derivative remainder: the error at x is a derivative value at an intermediate point times the monic product of x minus every node, divided by a factorial. The intermediate point may depend on x. For the root grid, this monic product is 2−nTn+1(x)2^{-n}T_{n+1}(x), since that Chebyshev polynomial has the correct roots and leading coefficient 2n2^n. Its maximum magnitude is therefore exactly 2−n2^{-n}.

Among monic polynomials of degree n+1, this scaled Chebyshev polynomial has the smallest uniform norm on the interval. To see the obstruction to improvement, subtract a hypothetical smaller monic polynomial: the leading terms cancel, leaving degree at most n, but the n+2 alternating extrema force at least n+1 roots of the difference. This proves an optimal nodal-product statement. It does not say the resulting interpolant minimizes the actual error for every target, because the derivative factor also depends on the function and evaluation point.

f(x)−Inf(x)=f(n+1)(ξx)(n+1)!∏j=0n(x−xj),∥∏j=0n(x−xj)∥∞=2−nf(x)-I_nf(x)=\frac{f^{(n+1)}(\xi_x)}{(n+1)!}\prod_{j=0}^{n}(x-x_j),\qquad \left\|\prod_{j=0}^{n}(x-x_j)\right\|_\infty=2^{-n}
The remainder assumes n+1 continuous derivatives; the product equality uses the root grid on [−1,1].↔ Scroll wide equations horizontally.

Three kinds of error should not be merged

Approximation error asks how the exact interpolant differs from the exact function. Conditioning asks how perturbing the nodal values changes that interpolant, measured later by the Lebesgue constant. Algorithmic stability asks whether floating-point evaluation behaves like a nearby well-posed data problem. A good node set improves the first two in many important cases, while a suitable formula is still needed for the third. Solving a poorly scaled monomial Vandermonde system can waste the benefit of carefully chosen nodes.

For Chebyshev root and extrema grids, Lebesgue constants grow only logarithmically with degree, unlike the severe growth of equally spaced polynomial grids. This supports near-best approximation bounds but is not a universal promise of exponential convergence. Analytic continuation into a suitable complex neighborhood can produce geometric rates; finite smoothness generally produces algebraic rates. A discontinuous target cannot converge uniformly to continuous polynomials on an interval containing its jump, irrespective of how intelligently the nodes are placed.

Interpolate a cubic with three nodes

Compare degree-at-most-two interpolation of x3x^3 at the three roots of T3T_3 and at the equally spaced nodes −1,0,1-1,0,1. Compute the exact maximum errors.

  1. The root nodes are −3/2,0,3/2-\sqrt3/2,0,\sqrt3/2. At each, x3=(3/4)xx^3=(3/4)x, so uniqueness makes the interpolant 3x/43x/4. Its error is T3(x)/4T_3(x)/4, with uniform magnitude one quarter.

  2. At −1,0,1, the cubic agrees with x, so the equally spaced interpolant is x. Its residual x³−x has derivative 3x²−1, giving interior extrema at ±1/√3.

  3. The latter maximum magnitude is 2/(33)≈0.38492/(3\sqrt3)\approx0.3849, compared with 0.25 for the root grid. The root-grid interpolant is also minimax in this special example, but the general nodal-product result does not assert that coincidence for every target.

The result

The Chebyshev-root error is 0.25; the equally spaced error is approximately 0.3849.

Explore the model

Interactive lab

Interactive lab · root-finding

Locate a two-node Chebyshev grid

Pause and Reset, then set target c = 0.5 and upper bound U = 2. Predict the positive root lies between 0.7 and 0.75; Step repeatedly and compare the bracket. Its negative reflection gives the other root of T₂, namely ±√(1/2). Reset and set both c = 1 and U = 2 to compare an exactly found endpoint-node location. This bisection instrument locates quadratic roots; it does not construct or evaluate polynomial interpolants.

Locate a two-node Chebyshev gridBisection of x² − c on [0,U], capped at 50 iterations for floating-point resolution. The error bound is the maximum distance from the displayed midpoint to either bracket endpoint (half the width in exact arithmetic). Compensated square evaluation preserves the bracket when ordinary multiplication rounds a residual to zero. A truly exact endpoint or midpoint collapses the bracket. This is one monotone quadratic, not a general root solver. Current readings: Midpoint after 0 refinements: 1.5; Bracket error bound: 1.5; Computed residual · x² − c: 0.25. All parameters are adjustable with the labeled controls below.Bisection on x squared minus 2: bracket from 0 to 3 after 0 refinements.00.751.52.253−2.360.192.745.297.84x · bracket stays nonnegativef(x) = x² − cn = 0 · [ 0, 3 ]
Quadratic / midpointCurrent bracketPositive root
Midpoint after 0 refinements
1.5
Bracket error bound
1.5
Computed residual · x² − c
0.25
t = 0 s

Bisection of x² − c on [0,U], capped at 50 iterations for floating-point resolution. The error bound is the maximum distance from the displayed midpoint to either bracket endpoint (half the width in exact arithmetic). Compensated square evaluation preserves the bracket when ordinary multiplication rounds a residual to zero. A truly exact endpoint or midpoint collapses the bracket. This is one monotone quadratic, not a general root solver. Parameter changes pause playback and recompute the model at the current elapsed time. Reset restores both parameters and returns time to zero. Playback starts paused. Adjust either parameter, then choose Play or Step.

Look forRoot nodes and endpoint nodes are different designs; finding their coordinates accurately is separate from controlling interpolation error.

Check your understanding

What does the scaled-Chebyshev nodal-product theorem directly minimize?

Try it yourself

Interpolate x2x^2 by a line at the two roots of T2T_2, then at the two endpoints of [−1,1][-1,1]. Find both interpolants and their uniform errors. Explain why this comparison does not prove a universal error-minimization theorem for the grid.

Take a moment to make a prediction or work it out on paper. Open a hint when you need one.

Give me a hint

Both node pairs are symmetric, so their two function values agree. A line through equal values is constant.

Compare with the solution

At ±1/2\pm1/\sqrt2, both values are 1/2, giving the constant interpolant 1/2 and error 1/2. At ±1 both values are one, giving the constant interpolant one and maximum error one at zero. The root grid is better for this target and also gives the minimax line. A universal statement would have to account for all targets; minimizing the nodal product alone does not control the target-dependent derivative factor or its absence when the target lacks enough smoothness.

Take it with you

  • Write node formulas explicitly to distinguish roots from endpoint-including extrema.
  • Chebyshev roots minimize the monic nodal-product norm, not every target's actual error.
  • Approximation error, data conditioning, and floating-point stability are separate questions.

Read further

Original sources and deeper explanations to follow at your own pace.

Optional progress, saved in this browser when available. Revisit any lesson at any time.

Lesson not marked complete.