13. Orthogonality

Two vectors 𝑢,𝑣 are orthogonal (written 𝑢𝑣) if their dot product is zero:

𝑢𝑣𝑢𝑣=0

In 2 and 3, this is the same as perpendicular. In higher dimensions or abstract inner product spaces, orthogonality generalizes the notion.

13.1. Orthogonal sets and orthonormal sets

A set {𝑣1,,𝑣𝑘} is:

A useful concise formula uses the Kronecker delta:

𝑣𝑖𝑣𝑗=𝛿𝑖𝑗={1if𝑖=𝑗0if𝑖𝑗

13.2. Key facts

𝑥=(𝑥𝑞1)𝑞1++(𝑥𝑞𝑛)𝑞𝑛

13.3. Orthogonal complement

For a subspace 𝑊𝑛, its orthogonal complement is:

𝑊={𝑥𝑛:𝑥𝑤=0for all𝑤𝑊}

— the set of vectors orthogonal to every vector in 𝑊.

Properties:

13.4. Four fundamental subspaces (and their complements)

For an 𝑚×𝑛 matrix 𝐴, four subspaces and two pairings:

Col(𝐴)𝑚Null(𝐴𝑇)𝑚Row(𝐴)𝑛Null(𝐴)𝑛

The column space is orthogonal to the left null space; the row space (= column space of 𝐴𝑇) is orthogonal to the null space.

13.5. Orthogonal projection

For a subspace 𝑊 with orthonormal basis {𝑞1,,𝑞𝑘}, the projection of 𝑥 onto 𝑊 is:

proj𝑊(𝑥)=𝑖=1𝑘(𝑥𝑞𝑖)𝑞𝑖

In matrix form with 𝑄=[𝑞1𝑞𝑘]: proj𝑊(𝑥)=𝑄𝑄𝑇𝑥. The matrix 𝑃=𝑄𝑄𝑇 is the projection matrix — see Projection.

13.6. Why orthogonality matters

13.7. See also