Orthogonal Sets
Nonzero vectors that are all perpendicular to each other can't be redundant, so they're automatically independent. And in an orthogonal basis you don't need row reduction to find coordinates: each weight is just a dot product divided by a length squared.
What the symbols mean
- Weight
How much of u_j is in y: its projection's coefficient.
Explanation
An orthogonal set is simply a group of vectors where every pair is perpendicular, like the , and axes. ("Orthogonal" is the formal word for perpendicular, from the Greek for "right angle.") What it's good for: when your basis vectors are all at right angles, finding the coordinates of a vector stops being a system of equations and becomes one quick calculation per coordinate. All we're really saying here is that in , the top, , measures how much lines up with , and the bottom, , is 's length squared, which corrects for how long happens to be. That's the whole formula: one dot product over another.
Think about how you've found coordinates so far. To write in a basis, you row reduced , because every weight affected every equation. With an orthogonal basis the weights stop interfering with each other.
Why the formula works: dot both sides of with . Every term with vanishes, because , and you're left with . Divide and you're done. The same trick shows why an orthogonal set of nonzero vectors is independent: dot a relation with and you get , so every is .
Projection onto a line. Each term is the shadow of on the line through . For a single vector , that shadow is , and what's left over, , is perpendicular to . That leftover piece is going to matter a lot in the next few lessons.
Orthonormal sets are orthogonal with unit lengths. Then every is , and the formula gets even simpler: .
Orthogonal matrices have orthonormal columns: , so . That's because entry of is column dotted with column , which is on the diagonal and everywhere else. They preserve lengths and angles: they're rotations and reflections.
A common mistake. It's tempting to think an orthogonal matrix only needs orthogonal columns, because that's what the name says. It isn't enough: the columns have to be orthonormal, unit length as well. With columns that are merely orthogonal, comes out diagonal but not , and fails.
There's an animation further down that shows a vector split into its two perpendicular pieces, one weight per dot product.
See it
Worked examples
Write in the orthogonal basis , , .
- 1
The basis is orthogonal, so each weight is , with no row reduction: , , .
Practice
Type your answer and check it. Solve them all to complete the lesson.
Give the coordinates of in the orthogonal basis of the example.
Project onto .
Find the component of orthogonal to .
Is an orthogonal set of nonzero vectors always linearly independent?
For an orthogonal matrix , what is ?
An audio codec splits each 3-sample snippet into a "steady" pattern , a "ramp" and a "wiggle" , which are mutually orthogonal. Find the weights for the snippet .
The hardest one here. Get it, and you've got this lesson.
For which and is an orthogonal matrix?
Where it's used
Fourier analysis is coordinates in an orthogonal basis of sines and cosines, which is why each frequency's strength is just one integral (a dot product).