Inner Product Spaces and Gram-Schmidt Orthogonalisation
A vector space alone has no notion of length or angle — Chapters 1 through 7 never used either, and Chapter 8 only borrowed the dot product as a tool. An inner product adds exactly this structure, and with it come the Cauchy-Schwarz inequality, orthogonality, and the Gram-Schmidt process, which manufactures an orthonormal basis out of any basis whatsoever. This chapter proves each of these rigorously and ends with orthogonal projection, the tool behind least-squares approximation.
Have to hand: basis and span (Chapter 3), and comfort with real (and occasionally complex) arithmetic.
1. Inner Product Spaces
Definition. An inner product on a real vector space is a function such that for all , :
- (symmetry);
- and (linearity in the first argument — combined with symmetry, this gives linearity in the second argument too);
- , with equality iff (positive-definiteness).
A vector space with a chosen inner product is an inner product space. The norm is (well-defined and real by positive-definiteness). The standard example is with the dot product ; another is (continuous functions on ) with — the positive-definiteness here uses that a nonzero continuous function has .