Linear Algebra · Advanced · 5 min
Gram–Schmidt
Remove the part of a vector that points along another. What remains is perpendicular.
WHAT HAPPENS IF…Does subtracting half the projection make the remainder perpendicular?
Preparing your experiment…
For u≠0, dot the expression for w with u. It gives v·u−(v·u)/(u·u)(u·u)=0. Thus w is orthogonal to u. If w≠0, divide u and w by their respective lengths to obtain an orthonormal pair with the same span as the original vectors.
A detail that matters
If the original vectors are dependent, w=0 and cannot be normalized. Zero is orthogonal to every vector but cannot be a basis vector.
A bridge to another ideaFirst, find the part pointing along u ↗Orthogonalization subtracts precisely that projection.
Keep the connection going
More linear algebra ↗