Jaysen Tsao
Linear Algebra ›

Orthogonality and Projections

Orthogonality

Definition 95: Orthogonality of Two Vectors

Let 𝑉 be an inner product space over 𝔽. Two vectors 𝐮,𝐯∈𝑉 are orthogonal iff:

⟨𝐮,𝐯⟩=0,

in which case we say that 𝐮 is orthogonal to 𝐯, denoted 𝐮⟂𝐯.

Notation

If 𝐮 is not orthogonal to 𝐯, we write

.

Example.

Let ℝ2 be an inner product space with dot product as the inner product. Then the vectors 𝐮=(1,2) and 𝐯=(2,−1) are orthogonal because:

⟨𝐮,𝐯⟩=𝐮⋅𝐯=(1,2)⋅(2,−1)=1⋅2+2⋅(−1)=0.

Property: Orthogonality is Symmetric

Let 𝑉 be an inner product space. Then for all vectors 𝐮,𝐯∈𝑉, 𝐮⟂𝐯 if and only if 𝐯⟂𝐮.

Theorem 77: Pythagorean Theorem

Let 𝑉 be an inner product space. Then for all vectors 𝐮,𝐯∈𝑉, if 𝐮⟂𝐯, then:

⟨𝐮+𝐯,𝐮+𝐯⟩=⟨𝐮,𝐮⟩+⟨𝐯,𝐯⟩.

In terms of the induced norm ‖⋅‖, this can be expressed as:

‖𝐮+𝐯‖2=‖𝐮‖2+‖𝐯‖2.
Proof: Pythagorean Theorem.

Suppose 𝑉 is an inner product space over 𝔽, and let 𝐮,𝐯∈𝑉 such that 𝐮⟂𝐯. Then:

⟨𝐮+𝐯,𝐮+𝐯⟩=⟨𝐮,𝐮+𝐯⟩+⟨𝐯,𝐮+𝐯⟩ by linearity in the first argument =⟨𝐮,𝐮⟩+⟨𝐮,𝐯⟩+⟨𝐯,𝐮⟩+⟨𝐯,𝐯⟩ by sesquilinearity =⟨𝐮,𝐮⟩+0+0+⟨𝐯,𝐯⟩ because 𝐮⟂𝐯=⟨𝐮,𝐮⟩+⟨𝐯,𝐯⟩.∎

Definition 96: Orthogonal Set of Vectors

Let 𝑉 be an inner product space over 𝔽. A set of vectors 𝑆⊆𝑉 is orthogonal iff every pair of distinct vectors in 𝑆 is orthogonal, i.e., for all 𝐮,𝐯∈𝑆, if 𝐮≠𝐯, then 𝐮⟂𝐯:

{𝐯1,𝐯2,…,𝐯𝑝} orthogonal ⇔⟨𝐯𝑖,𝐯𝑗⟩=0 for all 𝑖,𝑗∈{1,…,𝑝} with 𝑖≠𝑗.

Theorem 78: Orthogonal Vectors are Linearly Independent

Let 𝑉 be an inner product space over 𝔽. Then any set of nonzero orthogonal vectors in 𝑉 is linearly independent.

Definition 97: Orthonormal Set of Vectors

Let 𝑉 be an inner product space over 𝔽. A set of vectors 𝑆⊆𝑉 is orthonormal iff 𝑆 is orthogonal and every vector in 𝑆 has norm 1, or equivalently:

{𝐯1,𝐯2,…,𝐯𝑝} orthonormal ⇔⟨𝐯𝑖,𝐯𝑗⟩={1 if 𝑖=𝑗0 if 𝑖≠𝑗 for all 𝑖,𝑗∈{1,…,𝑝}.

Orthogonal Complements

Definition 98: Orthogonal Complement

Let 𝑉 be an inner product space, and let 𝑊 be a subspace of 𝑉. The orthogonal complement of 𝑊 in the ambient space 𝑉, denoted 𝑊⟂, is the set of vectors in 𝑉 that are orthogonal to every vector in 𝑊:

𝑊⟂={𝐯∈𝑉|𝐯⟂𝐰 for all 𝐰∈𝑊}.

Notation: Orthogonality of Vectors to Subspaces

Let 𝑉 be an inner product space, and let 𝑊 be a subspace of 𝑉. A vector 𝐯∈𝑉 is orthogonal to 𝑊, denoted 𝐯⟂𝑊, iff 𝐯⟂𝐰 for all 𝐰∈𝑊.

The above notation allows us to express Definition 98 more succinctly as:

𝑊⟂={𝐯∈𝑉|𝐯⟂𝑊}.

Notation: Orthogonality of Subspaces to Subspaces

Let 𝑉 be an inner product space, and let 𝑋,𝑌 be subspaces of 𝑉. We say that 𝑋 is orthogonal to 𝑌, denoted 𝑋⟂𝑌, iff every vector in 𝑋 is orthogonal to every vector in 𝑌:

𝑋⟂𝑌⇔𝐱⟂𝐲 for all 𝐱∈𝑋 and 𝐲∈𝑌.

Proposition 23: Orthogonal Complements are Subspaces

Let 𝑉 be an inner product space and 𝑊 be a subspace of 𝑉. Then 𝑊⟂ is a subspace of 𝑉.

Proof: Orthogonal Complements are Subspaces.

Suppose 𝑉 is an inner product space over 𝐹, and let 𝑊 be a subspace of 𝑉.

Let 𝐮,𝐯∈𝑊⟂ and 𝛼,𝛽∈𝐹. Then for all 𝐰∈𝑊:

⟨𝛼𝐮+𝛽𝐯,𝐰⟩=𝛼⟨𝐮,𝐰⟩+𝛽⟨𝐯,𝐰⟩ by linearity in the first argument =𝛼⋅0+𝛽⋅0 because 𝐮⟂𝑊 and 𝐯⟂𝑊=0.

Thus, 𝛼𝐮+𝛽𝐯⟂𝑊, which implies that 𝛼𝐮+𝛽𝐯∈𝑊⟂. Therefore, 𝑊⟂ is closed under linear combinations, so by Theorem 11, 𝑊⟂ is a subspace of 𝑉. ∎

Theorem 79: Orthogonal Complements are Complements

Let 𝑉 be a finite-dimensional inner product space, and let 𝑊 be a subspace of 𝑉. Then:

𝑉=𝑊⊕𝑊⟂.

Corollary 41

By Corollary 10, dim(𝑉)=dim(𝑊)+dim(𝑊⟂).

This can be arranged to give a formula for the dimension of the orthogonal complement:

Corollary 42: Dimension of Orthogonal Complements

Let 𝑉 be a finite-dimensional inner product space, and let 𝑊 be a subspace of 𝑉. Then:

dim(𝑊⟂)=dim(𝑉)−dim(𝑊).

Theorem 80: Involutivity of Orthogonal Complements

Let 𝑊 be a finite-dimensional subspace of an inner product space 𝑉. Then:

(𝑊⟂)⟂=𝑊.

Theorem 81: Characterizing Orthogonal Complements using Spanning Sets

Let 𝑉 be an inner product space, and let 𝑊 be a subspace of 𝑉. Suppose 𝑆⊆𝑊 is a spanning set for 𝑊. Then 𝐯⟂𝐬 for all 𝐬∈𝑆 is a sufficient condition for 𝐯∈𝑊⟂.

Orthogonal Projections

Definition 99: Orthogonal Projection

Let 𝑉 be an inner product space, and let 𝑊 be a subspace of 𝑉. The orthogonal projection of a vector 𝐯∈𝑉 onto the subspace 𝑊, denoted proj𝑊(𝐯) or 𝐯̂, is the unique vector in 𝑊 such that:

𝐯−𝐯̂∈𝑊⟂.

Exercises

Exercise 78.
Show that for any inner product space 𝑉 and subspace 𝑊 of 𝑉, 𝑊∩𝑊⟂={𝟎}.
Exercise 79.
Show that for any inner product space 𝑉, 𝑉⟂={𝟎} and {𝟎}⟂=𝑉.
Exercise 80.
Show that if 𝑊 is a finite-dimensional subspace of an inner product space 𝑉, then 𝑈⟂={𝟎} if and only if 𝑈=𝑉.
Exercise 81.

Let 𝑋,𝑌 be subspaces of an inner product space 𝑉. Show that

if 𝑋⊆𝑌, then 𝑌⟂⊆𝑋⟂.
Exercise 82.

Let 𝑋,𝑌 be subspaces of an inner product space 𝑉. Show that:

(𝑋+𝑌)⟂=𝑋⟂∩𝑌⟂.
Exercise 83.

Let 𝑋,𝑌 be subspaces of an inner product space 𝑉. Show that:

(𝑋∩𝑌)⟂=𝑋⟂+𝑌⟂.
Exercise 84.
Prove or disprove that if 𝑉=𝑋⊕𝑌, then 𝑉=𝑋⟂⊕𝑌⟂.
Exercise 85: Converse of the Pythagorean Theorem.

Let 𝑉 be an inner product space, and let some 𝐮,𝐯∈𝑉 satisfy:

‖𝐮+𝐯‖2=‖𝐮‖2+‖𝐯‖2.

Show that if 𝑉 is a vector space over ℝ, then 𝐮⟂𝐯, but that this is not necessarily true if 𝑉 is a vector space over ℂ.

Exercise 86: Parallelogram Law.

Let 𝑉 be an inner product space, and let 𝐮,𝐯∈𝑉. Show that:

‖𝐮+𝐯‖2+‖𝐮−𝐯‖2=2‖𝐮‖2+2‖𝐯‖2.
Exercise 87.

Let 𝑉 be an inner product space, and let 𝐮,𝐯∈𝑉. Show that:

|‖𝐮‖−‖𝐯‖|≤‖𝐮−𝐯‖.
Exercise 88.
Suppose 𝑉 is an inner product space. Let {𝐪1,𝐪2,…,𝐪𝑘}⊆𝑉 be an orthonormal set with 𝑘≥2, and let 𝐯∈(span{𝐪1,𝐪2,…,𝐪𝑘})⟂. Show that if 𝐯≠𝟎, then no two distinct vectors in the set {𝐯+𝐪1,𝐯+𝐪2,…,𝐯+𝐪𝑘} are orthogonal.
Exercise 89.
Suppose 𝑉 is an inner product space and let 𝑃:𝑉→𝑉 be a linear map such that 𝑃2=𝑃 (idempotent). Show that im(𝑃)⟂ker(𝑃) if and only if ‖𝑃(𝐯)‖≤‖𝐯‖ for every 𝐯∈𝑉.