First, just a definition: A monic polynomial is one whose leading coefficient is 1.
We want to find a polynomial of degree \(n\) that minimizes the least square error:
Let \(\{T_{i}\}\) be a set of orthogonal polynomials such that \(T_{i}\) is of degree \(i\), and the largest degree is \(n\). Let this set also be complete (i.e. any polynomial in \(\Pn_{n}\) can be represented in this basis).
Using the inner product notation:
Let \(a_{i}=\frac{<f,T_{i}>}{<T_{i},T_{i}>}\).
Then let \(p^{\ast}=\sum_{i=0}^{n}a_{i}T_{i}\). This is the polynomial with minimum error.
Note that the set \(\{T_{i}\}\) will depend on the choice of weight function and interval.
Proof:
For convenience, assume the \(T_{i}\) are normalized
If we compute the error with this polynomial, we get \(<f,f>-\sum_{i}<f,T_{i}>^{2}\).
Now let \(g(x)\in\Pn_{n}\). \(g(x)=\sum_{i}b_{i}T_{i}\). The error with this polynomial is:
To minimize this expression, we want to maximize:
Since the \(b_{i}\) are independent, it sufficies to maximimize each one individually. This gives \(b_{i}=<f,T_{i}>\) which gives us the same polynomial.
Now the book has examples of the following orthogonal polynomials:
Legendre Polynomials
Definition
- \(w(x)=1\)
- \([a,b]=[-1,1]\)
Defined by:
Scalar Product
For the scalar product:
Otherwise they are orthogonal. Did not derive this.
Chebyshev
Definition
- \(w(x)=1/\sqrt{1-x^{2}}\)
- \([a,b]=[-1,1]\)
It is defined by:
Scalar Product
For the scalar product:
If \(i\ne j\):
Otherwise they are orthogonal.
Explicit Form
You can write the Chebyshev polynomial explicitly:
(I did not prove this).
Roots
All \(n\) real roots are in \([-1,1]\). For proof, note that \(T_{n}(x)=\cos(n\cos^{-1}(x))\). Now the cosine is 0 for \((2k+1)\pi/2\). Thus:
And ultimately:
And we know that the cosine is in \([-1,1]\).
Extrema
There are \(n+1\) extrema for \(T_{n}(x)\). They occur at \(\cos\left(\frac{k\pi}{n}\right)\), and the values at the extrema are \(\pm 1\).
For proof, simply use the \(T_{n}(x)=\cos(n\cos^{-1}(x))\) definition and differentiate.
Minimal \(\infty\) Norm
Let’s consider all monic polynomials of degree \(n\). We want to find the polynomial that minimizes the maximum magnitude in the interval \([-1,1]\). This polynomial is actually:
To prove this, assume another monic polynomial \(w(x)\) exists that is better. Construct the following polynomial:
Note that this is an \(n-1\) degree polynomial. Now by design, we have
at the extreme points. Now this means that \(f_{n}(x)>0\) for half the exteme points, and \(f_{n}(x)<0\) for the other half. There are \(n+1\) extrema for \(T_{n}(x)\). This means that our function changes sign \(n\) times, and thus has \(n\) roots in the interval. But we know that the function is of order \(n-1\). This is a contradiction.
Now you can translate/scale this to \([a,b]\) to get:
Jacobi Polynomials
- \(w(x)=(1-x)^{\alpha}(1+x)^{\beta}\) with \((\alpha,\beta>1)\)
- Interval: \([-1,1]\)
It is explicitly given as:
The scalar product is too nasty to write.
Laguerre Polynomials
- \(w(x)=e^{-x}\)
- Interval: \([0,\infty]\)
Definition:
The scalar product is:
This was not derived.