If for all , then for any the difference lies in and Pythagorean theorem gives
Thus is best.
Conversely, if is best, then for every the real quadratic
has its minimum at . Its linear coefficient must vanish, giving . Hence best approximation is equivalent to orthogonality of the residual to the approximation space. The weight is positive almost everywhere, so this is a genuine positive-definite inner product on continuous functions.
For the weighted inner product, . Start Gram-Schmidt process with the monomials and choose monic normalization:
Its squared norm is . Next and
Therefore
Subtracting these orthogonal projections gives orthogonality by construction; independent nonzero rescalings would give equivalent unnormalized orthogonal polynomials.
Write . orthogonality of the residual to gives
The first integral follows from ; for the second use , giving . The coefficient matrix has determinant , so solving yields
Part (a) proves this is the unique best weighted approximation. The weight is essential; using ordinary unweighted normal equations would give different coefficients.

Articles by others on the same topic (0)

There are currently no matching articles.