Orthogonal Sets and Orthogonal Projections
An orthogonal basis makes coordinates trivial: each weight is a single dot product, no linear system required. Orthogonal and orthonormal bases give a direct projection formula onto a line and onto a subspace, the orthogonal decomposition and best-approximation theorems, and the matrix form U U-transpose of a projection.
╌╌╌╌
A basis lets us write any vector as a unique linear combination, but finding the weights normally means solving a linear system. When the basis vectors are mutually perpendicular, the work collapses: each weight is one dot product. The same orthogonality lets us drop a perpendicular from a point onto a subspace and name the closest point in it: the projection, which underlies the least-squares method.
Orthogonal sets
For , , and , all three dot products vanish, so the set is orthogonal; the three segments are mutually perpendicular. Orthogonality is a strong enough condition to guarantee independence.
Suppose . Dotting both sides with and using orthogonality kills every term except the first,
and forces . Repeating for each makes all weights zero.
An orthogonal basis gives a direct formula for the coordinates.
Dotting with leaves only the -th term, , and solving gives .
Projection onto a line
Given a nonzero , split any into a piece along and a piece perpendicular to it: , where and . The perpendicularity condition solves to .
The projection depends only on the line , not on which nonzero vector on it is used: replacing by leaves the ratio unchanged.
Orthonormal sets and matrices
The standard basis is orthonormal. Normalizing every vector of an orthogonal set produces an orthonormal one. Collecting orthonormal vectors as columns gives a matrix with a clean identity.
The entry of is , which is when (unit length) and otherwise (orthogonality) exactly when the columns are orthonormal. Such a matrix defines a length- and angle-preserving map.
A square matrix with orthonormal columns is an orthogonal matrix: it satisfies , and its rows are orthonormal as well. Orthogonal matrices represent rigid motions — rotations and reflections — and reappear throughout the diagonalization of symmetric matrices.
Projection onto a subspace
The orthogonal-basis coordinate theorem already writes a vector in as a sum of one-dimensional projections onto the axes of an orthogonal basis. The same formula projects a vector that is not in onto it.
Define by the formula. It lies in as a combination of the basis. Its residual is orthogonal to each : dotting with leaves , so . Uniqueness follows because if is another such split, then lies in both and , hence is orthogonal to itself and zero.
The projection is the sum of one-dimensional projections onto mutually orthogonal axes. In with , the two component projections along and add to the perpendicular foot of in the plane.
Best approximation
The projection is the nearest point in to .
For any , write . The first term is in and the second is in , so they are orthogonal, and the Pythagorean theorem gives
The extra term is positive unless , so strictly minimizes the distance. The value is the distance from to , and is the best approximation to by elements of . This minimizing property is what the least-squares method relies on.
The matrix form of a projection
When the basis is orthonormal, the projection formula simplifies, and it collapses into a matrix product.
Because the columns are unit vectors, the denominators are . The weights are the entries of , so is times those weights, namely . Two extremes bracket the formula:
- If is with orthonormal columns, (characterization of orthonormal columns), while is the projection onto — generally not the identity.
- If is square (), the column space is all of , the projection is the identity, and .
For hand computation the orthogonal formula of the orthogonal decomposition theorem is preferred, since the orthonormal columns usually carry square roots; the matrix form is the theoretical statement that projection is a linear map with matrix .
Decomposing a vector
Summary
| Object | Orthogonal basis | Orthonormal basis |
|---|---|---|
| Coordinate weight | ||
| Projection | ||
| Matrix identity | — |
Orthogonal bases turn coordinates and projections into dot products, and the best-approximation theorem certifies the projection as the nearest point in the subspace. Building an orthogonal basis from an arbitrary one is the Gram–Schmidt process, and using projection to solve inconsistent systems is the method of least-squares problems.1
Footnotes
- Lay, §6.2 — Orthogonal Sets (Theorems 4–7, orthogonal and orthonormal bases, orthogonal matrices) and §6.3 — Orthogonal Projections (Theorems 8–10, the orthogonal decomposition and best-approximation theorems, and the matrix form). ↩
╌╌ END ╌╌