For a positive weight , the weighted inner product of functions is . It is the usual inner product in the L2 space for the measure . A Sturm-Liouville eigenfunction expansion uses this weight to make its eigenfunctions orthogonal.
The weight specifies how different locations contribute to a squared error: . More weight makes an error in that region more costly. The weighted Euclidean inner product makes the same choice for a finite list of coordinates.
For an explicit real-function example on , let and approximate by a constant function. The orthogonal projection onto a finite-dimensional subspace spanned by the function gives
The best unweighted constant is . Giving greater weight to larger moves the best constant upward, so a weighting choice changes the approximation even though the allowed family of functions is unchanged.
A positive measurable weight defines the displayed norm on the L2 space for the measure , with functions identified when equal almost everywhere. This is the norm induced by the weighted inner product. Changing changes the contribution of each region to approximation error. If are nonzero mutually orthogonal real functions, completing squares shows that the unique best approximation to real in their linear span has coefficients .
A symmetric positive-definite matrix defines an inner product on real coordinate vectors by
For diagonal , positive diagonal entries weight the squared coordinate errors. This is the finite-coordinate version of a weighted inner product; the positive-definite matrix example appears in Francis Narcowich, Inner Products and Norms, standard inner products, example 8.
For , the squared norm of is . A first-coordinate error of one costs as much as a second-coordinate error of two. The unit sphere is the ellipse , and orthogonality means . Thus “closest” and “perpendicular” depend on the chosen inner product. The orthogonal projection residual example shows how this changes a best approximation.

Ancestors (6)

  1. Inner product
  2. Linear algebra
  3. Algebra
  4. Area of mathematics
  5. Mathematics
  6. Home

Discussion (0)

New discussion

There are no discussions about this article yet.

Articles by others on the same topic (0)

There are currently no matching articles.