Section 18 β€” Linear Algebra (Axler)

Daily lesson from Magic Internet Math Academy: Section 18 (Linear Algebra (Axler), Section 18)

πŸ“ Today’s Lesson: Section 18 From: Linear Algebra (Axler) β€” Section 18

Chapter 6.C: Orthogonal Complements and Minimization

The orthogonal complement of a subspace and the orthogonal projection onto it are among the most powerful tools in applied mathematics. They solve the fundamental minimization problem: find the point in a subspace closest to a given vector. This section develops these ideas and connects them to the geometry of inner product spaces.

Orthogonal Complements

πŸ“– Definition β€” Orthogonal Complement

If U is a subset of an inner product space V, the orthogonal complement of U is

String.rawU^βŠ₯ = {v ∈ V : ⟨ v, u ⟩ = 0 for every u ∈ U}.

In words, U^βŠ₯ consists of all vectors orthogonal to every vector in U.

πŸ“ Theorem β€” Properties of the Orthogonal Complement

That U^βŠ₯ is a subspace follows from linearity of the inner product in the first slot. For U ∩ U^βŠ₯ = {0}: if v ∈ U ∩ U^βŠ₯, then ⟨ v, v ⟩ = 0, so v = 0 by definiteness.

Let U be a subspace of V. Then:

β€’ U^βŠ₯ is a subspace of V. β€’ {0}^βŠ₯ = V and V^βŠ₯ = {0}. β€’ U ∩ U^βŠ₯ = {0}. β€’ If U₁ βŠ† Uβ‚‚, then Uβ‚‚^βŠ₯ βŠ† U₁^βŠ₯.

Orthogonal Decomposition

πŸ“ Theorem β€” Direct Sum with Orthogonal Complement

Let e₁, …, eβ‚˜ be an orthonormal basis of U (obtained via Gram-Schmidt). For any v ∈ V, write

String.rawv = ⟨ v, e₁ ⟩ e₁ + β‹― + ⟨ v, eβ‚˜ ⟩ eβ‚˜_∈_ _U + v - ⟨ v, e₁ ⟩ e₁ - β‹― - ⟨ v, eβ‚˜ ⟩ eβ‚˜_∈_ _U_^_βŠ₯.

The second term is in U^βŠ₯ because for each eβ‚–:

String.raw⟨ v - Ξ£β±Ό ⟨ v, eβ±Ό ⟩ eβ±Ό, eβ‚– ⟩ = ⟨ v, eβ‚– ⟩ - ⟨ v, eβ‚– ⟩ = 0.

This shows V = U + U^βŠ₯. The sum is direct because U ∩ U^βŠ₯ = {0}. The dimension formula V = U + U^βŠ₯ follows from the direct sum.

Suppose U is a finite-dimensional subspace of V. Then

String.rawV = U βŠ• U^βŠ₯.

In particular, V = U + U^βŠ₯.

Double complement: An immediate consequence is that (U^βŠ₯)^βŠ₯ = U when V is finite-dimensional. The orthogonal complement is an involution on the lattice of subspaces.

Orthogonal Projection

πŸ“– Definition β€” Orthogonal Projection

Suppose U is a finite-dimensional subspace of V. The orthogonal projection of V onto U, denoted P_U, is the operator defined by: for v = u + w with u ∈ U and w ∈ U^βŠ₯,

String.rawP_U v = u.

πŸ“ Theorem β€” Properties of Orthogonal Projection

If e₁, …, eβ‚˜ is an orthonormal basis for U, then from the decomposition in the previous theorem:

String.rawP_U v = ⟨ v, e₁ ⟩ e₁ + β‹― + ⟨ v, eβ‚˜ ⟩ eβ‚˜.

This shows range P_U = U and null P_U = U^βŠ₯. Also P_UΒ² = P_U because projecting a vector already in U gives itself. Finally, v - P_U v ∈ U^βŠ₯ by construction.

Let U be a finite-dimensional subspace of V. Then:

β€’ P_U ∈ L(V) and P_UΒ² = P_U. β€’ range P_U = U and null P_U = U^βŠ₯. β€’ v - P_U v ∈ U^βŠ₯ for every v ∈ V. β€’ β€–P_U vβ€– β€–vβ€– for every v ∈ V.

✏️ Example β€” Projection in R^3

Let U = span{(1,0,0), (0,1,0)} (the xy-plane in RΒ³). For v = (3, 4, 5):

String.rawP_U v = ⟨ v, e₁ ⟩ e₁ + ⟨ v, eβ‚‚ ⟩ eβ‚‚ = 3(1,0,0) + 4(0,1,0) = (3,4,0).

The residual v - P_U v = (0, 0, 5) ∈ U^βŠ₯.

Minimization: Closest Point in a Subspace

πŸ“ Theorem β€” Minimization Principle

Let u ∈ U. Then

String.rawβ€–v - uβ€–Β² = β€–v - P_U v + P_U v - uβ€–Β².

Since v - P_U v ∈ U^βŠ₯ and P_U v - u ∈ U, the Pythagorean theorem gives

String.rawβ€–v - uβ€–Β² = β€–v - P_U vβ€–Β² + β€–P_U v - uβ€–Β² β€–v - P_U vβ€–Β².

Equality holds iff β€–P_U v - uβ€– = 0, i.e., u = P_U v.

Suppose U is a finite-dimensional subspace of V and v ∈ V. Then

String.rawβ€–v - P_U vβ€– β€–v - uβ€– for every u ∈ U.

Furthermore, equality holds if and only if u = P_U v.

The geometry: The orthogonal projection P_U v is the unique point in U closest to v. The β€œerror” vector v - P_U v is perpendicular to the subspace. This is the geometric essence of least-squares approximation.

✏️ Example β€” Least-Squares Approximation

Find the point in U = span{(1,1,0), (0,1,1)} closest to v = (1, 0, 0). First apply Gram-Schmidt to get an orthonormal basis of U:

String.rawe₁ = 1/√(2)(1,1,0), eβ‚‚ = 1/√(6)(-1, 1, 2).

Then compute the projection:

String.rawP_U v = ⟨ v, e₁ ⟩ e₁ + ⟨ v, eβ‚‚ ⟩ eβ‚‚ = 1/√(2) Β· 1/√(2)(1,1,0) + (-1)/√(6) Β· 1/√(6)(-1,1,2).

String.raw= 1/2(1,1,0) + 1/6(1,-1,-2) = (2/3, 1/3, -1/3).

One can verify: v - P_U v = (1/3, -1/3, 1/3) is orthogonal to both (1,1,0) and (0,1,1).

Key Takeaways

β€’ 1.

U^βŠ₯ is the set of all vectors orthogonal to every vector in U. It is always a subspace. β€’ 2.

Orthogonal decomposition: V = U βŠ• U^βŠ₯. Every vector splits uniquely into a component in U and a component perpendicular to U. β€’ 3.

The orthogonal projection P_U extracts the U-component. It satisfies P_UΒ² = P_U. β€’ 4.

Minimization: P_U v is the unique closest point in U to v. The error is perpendicular to the subspace. β€’ 5.

This is the mathematical foundation of least-squares methods used throughout science, engineering, and data science.


πŸ”— Interactive version: https://magicinternetmath.com

πŸ΄β€β˜ οΈ Subscribe to the Pioneers Club β€” free courses from high school algebra to elliptic curve cryptography.

⚑ fundamentals@zeuspay.com


Write a comment