Conversely, if is best, then for every the real quadratichas 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 andThereforeSubtracting these orthogonal projections gives orthogonality by construction; independent nonzero rescalings would give equivalent unnormalized orthogonal polynomials.
Write . orthogonality of the residual to givesThe first integral follows from ; for the second use , giving . The coefficient matrix has determinant , so solving yieldsPart (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
There are currently no matching articles.