Section04 Orthonormal Bases and Gram-Schmidt
- Why orthogonality?
- The dot product of two orthogonal vectors is zero.
- When the columns of are orthonal to each other. The result of is a diagonal matrix.
- It's easier to compute the solution to
- Orthonormal
- orthonal unit vectors.
- The vector are orthonormal if
- A matrix with orthonormal columns is denoted as .
- When is square, means that : transpose = inverse.
- Multiplication by any orthonormal matrix , lengths and angles don't change. ()
- Three types orthonormal matrix
- Rotation matrix
- Permutation Matrix
- Every permutation matrix is an orthogonal matrix.
- Reflection
Projections Using Orthonormal Bases: Replaces
Why
- When the orthonormal matrix replaces :
- When is square:
- Application: Transform: (Break vector or functions into perpendicular pieces.) Fourier series.
The Gram-Schmidt Process
- Goal: three independent vectors to three orthogonal vectors
Steps
- Choosing
- Choose whose direcion is perpendicular to . ( subtract its projection along )
- Choose whose direction is perpendicular to and . ( subtract its peojection along and )
- ......
Idea
- Subtract from every new vector its projection in the directions already set.
The Factorization
- is upper triangular matrix, because is orthogonal to the first columns of
Application in LSQ
Properties from Exerciese
- If and are orthonormal matrices. Their product is also an orthonormal matrix.
- The Pivots for must be the squares of diagonal entries of .
- is an orthogonal matrix when is an orthogonal matrix.
- Reflection matrix
- Suppose ( and are orthogonal.)
- Reflection matrix reflect a vector across the hyperplane which is orthogonal to
- If is by with rank , it could be factorized as
- The first columns of () are an orthonormal basis for column space.
- The last columns of () are an orthonormal basis for left nullspace.