The nonzero orthogonal polynomials have distinct degrees and form an orthogonal basis of . Define
For each ,
Thus the residual is orthogonal to all of .
For any , write
The two terms are orthogonal, so the Pythagorean theorem in an inner-product space gives
Equality holds only for . This proves the formula and uniqueness of the least-squares polynomial in an orthogonal-polynomial basis.

Articles by others on the same topic (0)

There are currently no matching articles.