Vector are orthonormal (orthogonal and normalized) if:

Let the columns of be : matrix with entries (the Kronecker delta)

Title

Note that may not be a square matrix. Hence, it is not necessarily the case that

are orthogonal are linearly independent (see Fact 2)

Example

Let

Definition: Orthogonal matrix

A square matrix is orthogonal if and the columns of form an orthonormal basis for .

Properties

Orthogonal matrices preserve norm and inner product of vectors

This means

Let be a subspace of and form an orthonormal basis of Then,

  • The projection matrix to is given by

Construction of Orthonormal Bases

Task

Given are basis of a subspace Find a orthonormal basis of

Gram-Schmidt Process

Idea

  • is subtract projection onto
  • For
    • subtract projection onto

Algorithm

  • For :

Proof of correctness