Intermediate Topic 30 of 51 Math for Computing
Orthogonality and Projections
Perpendicular vectors and closest-point maps.
How it works
Two vectors are orthogonal when their dot product is zero, meaning they are perpendicular. A set of vectors is orthonormal if they are orthogonal unit vectors, and orthogonal matrices preserve lengths and angles. The projection of a vector b onto a vector a is (a dot b over a dot a) times a, and projection onto a subspace gives the closest point in it, with the residual orthogonal to the subspace. The Gram-Schmidt process builds orthonormal bases, and the QR decomposition expresses a matrix with an orthogonal factor.
Where it is used
Least-squares regression as projection of data onto the column space, signal decomposition, graphics shadows and reflections, Fourier analysis and numerically stable algorithms rely on orthogonality.
Common pitfall
Gram-Schmidt in floating point loses orthogonality, so use modified Gram-Schmidt or Householder reflections. Orthogonal in function spaces needs an appropriate inner product. Mistaking uncorrelated for independent is a related error. Check projections by verifying that the residual is orthogonal to the subspace.
Where it fits in the course
Orthogonality and Projections is topic 30 of 51 in Math for Computing, rated Intermediate. It follows Singular Value Decomposition. The next topic is Derivatives.
Practice and explore
- Open the interactive lesson, with a mini quiz.
- Take the Math for Computing quiz.
How to study this topic
- Read the explanation above and restate the definition in your own words.
- Open the interactive lesson and answer its mini quiz.
- Read the common pitfall, then write a short example that avoids it.
- Check your understanding in the Math for Computing quiz, and revisit the topic if you miss a question.
Frequently asked questions
What is Orthogonality and Projections?
Where do people use Orthogonality and Projections?
What is the most common mistake with Orthogonality and Projections?
What should I learn before this topic?
How can I practice it?
Is Orthogonality and Projections hard to learn?
How long does it take to learn Orthogonality and Projections?
Which topics are related to Orthogonality and Projections?
What should I study after Orthogonality and Projections?
Related topics
- Singular Value Decomposition (Math for Computing)
- Derivatives (Math for Computing)
- Eigenvalues and Eigenvectors (Math for Computing)
- Partial Derivatives and Gradients (Math for Computing)