Skip to article frontmatterSkip to article content
Site not loading correctly?

This may be due to an incorrect BASE_URL configuration. See the MyST Documentation for reference.

Overview

Computers can only perform arithmetic. To work with functions like sin(x)\sin(x) or solutions to differential equations, we need approximations. Polynomials are the natural choice:

The key insight from Trefethen’s Approximation Theory and Approximation Practice is that we can work in two dual spaces:

RepresentationDescriptionAdvantages
Value spacef(x0),f(x1),,f(xn)f(x_0), f(x_1), \ldots, f(x_n)Direct sampling, differentiation matrices
Coefficient spacec0,c1,,cnc_0, c_1, \ldots, c_n in p(x)=ckTk(x)p(x) = \sum c_k T_k(x)Integration, coefficient decay analysis

The DCT (Discrete Cosine Transform) converts between them in O(nlogn)O(n \log n) operations.

Why Chebyshev?

For polynomial interpolation on [1,1][-1, 1], node placement matters enormously:

Chebyshev polynomials Tn(x)=cos(narccosx)T_n(x) = \cos(n \arccos x) are optimal in a minimax sense.

Chapter Contents

Lagrange Interpolation

The interpolation problem and barycentric formulas for stable evaluation.

Chebyshev Polynomials

Optimal node placement, minimax properties, and defeating Runge’s phenomenon.

Values and Coefficients

The dual representations and the DCT/FFT transforms between them.

Differentiation Matrices

Computing derivatives in value space—spectral differentiation.

Integration

Quadrature via Chebyshev coefficients vs. trapezoidal rule.

Spectral Accuracy

Why smooth functions achieve exponential convergence—coefficient decay theory.

Learning Outcomes

After completing this chapter, you should be able to:

Key Formulas

ConceptFormula
Chebyshev polynomialTn(x)=cos(narccosx)T_n(x) = \cos(n \arccos x)
Chebyshev nodesxk=cos(kπn)x_k = \cos\left(\frac{k\pi}{n}\right), k=0,,nk = 0, \ldots, n
Barycentric weightswk=(1)k{1/2k=0,n1otherwisew_k = (-1)^k \cdot \begin{cases} 1/2 & k = 0, n \\ 1 & \text{otherwise} \end{cases}
Values \to CoefficientsDCT (Type I)
Coefficients \to ValuesInverse DCT
Chebyshev integral11Tk(x)dx=21k2\int_{-1}^{1} T_k(x)\,dx = \frac{2}{1-k^2} (even kk)
Coefficient decayck=O(kp1)|c_k| = O(k^{-p-1}) if f(p)f^{(p)} has bounded variation

Applications

Connection to Fourier

Under the substitution x=cosθx = \cos\theta:

This connection is why Chebyshev methods achieve “spectral accuracy”—the same exponential convergence as Fourier methods, but for non-periodic functions on [1,1][-1, 1].