Orthogonality for Functions
Use real continuous functions on a finite interval and an integrable weight that is positive in the interval interior. Integrable endpoint singularities are allowed, as in the Chebyshev weight below.
The weighted inner product and its induced norm are
Two functions are orthogonal when . This weighted geometry measures the weighted squared error across the interval.
By contrast, the maximum norm measures the largest pointwise error.
Orthogonal projection minimizes the weighted error. Chebyshev polynomials also have a separate minimax property. The weighted inner product and the maximum norm measure different errors.
Projection onto an Orthogonal Basis
Suppose are mutually orthogonal. The degree- projection of is
Because cross terms vanish, each coefficient can be computed independently. This is the functional analogue of resolving a vector along perpendicular coordinate axes.
Building the Sequence Step by Step
Applying Gram-Schmidt to produces a monic orthogonal sequence . Under a positive inner product it satisfies
The recurrence coefficients are
The three-term recurrence and apply for .
Multiplication by raises the degree by one. Orthogonality removes every component below , so the recurrence needs only three terms.
Chebyshev Polynomials of the First Kind
On , choose
Their weighted orthogonality is
Since on and the leading coefficient is for , the monic polynomial has the smallest maximum norm among all monic degree- polynomials. It therefore solves the minimax approximation problem for monic polynomials of degree .
Legendre Polynomials
For the unweighted inner product on ,
For this inner product, the standard Legendre polynomials satisfy
Their orthogonality and normalization are
For example,
The second identity gives the exact orthogonal expansion.
Changing the Interval of Orthogonal Polynomials
To map the interval to , use the following affine change of variables.
If is orthonormal on , then
The function is orthonormal on because
Connection to Gaussian Quadrature
Let be the degree- polynomial orthogonal for the same positive weight and interval as an integral. Its roots are the Gaussian quadrature nodes. Suitable positive weights then give
The rule is exact for every polynomial of degree at most . Legendre roots produce Gauss-Legendre quadrature for the weight . Chebyshev roots produce Gauss-Chebyshev quadrature for .
For two Gauss-Legendre nodes, gives and both weights are 1. Check the quadratic integral directly:
| Basis | Weight on | Best suited to |
|---|---|---|
| Chebyshev | stable interpolation grids, near-minimax approximation, spectral methods | |
| Legendre | unweighted projection and Gauss-Legendre quadrature |
Always match the polynomial family, inner product, approximation objective, and quadrature weight. Changing one of them changes the problem being solved.