STEMviz
Mathematics · Linear and Abstract Algebra

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 VV is a function ⟨⋅,⋅⟩:V×V→R\langle\cdot,\cdot\rangle:V\times V\to\mathbb{R} such that for all u,v,w∈Vu,v,w\in V, a∈Ra\in\mathbb{R}:

  1. ⟨u,v⟩=⟨v,u⟩\langle u,v\rangle = \langle v,u\rangle (symmetry);
  2. ⟨u+v,w⟩=⟨u,w⟩+⟨v,w⟩\langle u+v,w\rangle = \langle u,w\rangle+\langle v,w\rangle and ⟨au,v⟩=a⟨u,v⟩\langle au,v\rangle = a\langle u,v\rangle (linearity in the first argument — combined with symmetry, this gives linearity in the second argument too);
  3. ⟨v,v⟩≥0\langle v,v\rangle \ge 0, with equality iff v=0v=0 (positive-definiteness).

A vector space with a chosen inner product is an inner product space. The norm is ∥v∥:=⟨v,v⟩\|v\| := \sqrt{\langle v,v\rangle} (well-defined and real by positive-definiteness). The standard example is Rn\mathbb{R}^n with the dot product ⟨u,v⟩=uTv=∑uivi\langle u,v\rangle = u^Tv = \sum u_iv_i; another is C[a,b]C[a,b] (continuous functions on [a,b][a,b]) with ⟨f,g⟩:=∫abf(x)g(x) dx\langle f,g\rangle := \int_a^b f(x)g(x)\,dx — the positive-definiteness here uses that a nonzero continuous function has ∫f2>0\int f^2 > 0.

Keep reading: Inner Product Spaces and Gram-Schmidt Orthogonalisation

This chapter is Premium. Unlock every Mathematics lesson — theory, interactive visualizations, quizzes, exercises and flashcards — with a one-time purchase or a monthly plan, or get every subject at once with the Full Course Bundle. The first 2 chapters of every block are free with an account.