Orthogonal Decomposition — Definition, Formula & Examples
Orthogonal decomposition is the process of writing a vector as the sum of two parts: one that lies in a given subspace and one that is perpendicular to that subspace.
Given a subspace of and a vector , the orthogonal decomposition of is , where and . This decomposition is unique.
Key Formula
Where:
- = The vector being decomposed
- = The orthogonal projection of y onto subspace W
- = The component of y perpendicular to W
- = Orthogonal basis vectors of subspace W
How It Works
To decompose a vector with respect to a subspace , you first find the orthogonal projection onto . If is an orthogonal basis for , then . The perpendicular component is simply . You can verify correctness by checking that for every basis vector of .
Worked Example
Problem: Decompose with respect to where .
Step 1: Compute the projection of y onto W using the projection formula.
Step 2: Find the perpendicular component by subtracting.
Step 3: Verify orthogonality: . Confirmed.
Answer: , where the first vector is in and the second is in .
Why It Matters
Orthogonal decomposition underlies least-squares regression, which finds the best-fit line or curve when a system of equations has no exact solution. It is also central to the Gram-Schmidt process and QR factorization, tools used heavily in numerical computing, data science, and signal processing.
Common Mistakes
Mistake: Using a basis for W that is not orthogonal in the projection formula.
Correction: The summation formula requires an orthogonal basis. If your basis is not orthogonal, first apply the Gram-Schmidt process to orthogonalize it, or use the matrix formula instead.
